(ChatGPTH) (英语). 客户端使用 OpenAI API
A simple Node.js module for creating ChatGPT using OpenAI official API.
To install the package, run the following command:
npm install chatgpt-officialimport { ChatGPT } from "chatgpt-official";
let bot = new ChatGPT("");
let response = await bot.ask("Hello?");
console.log(response);import { OpenAI } from "chatgpt-official";
let bot = new OpenAI("");
let response = await bot.ask("Hello?");
console.log(response);……暂无开放 Issues,或尚未同步最近议题。