play-chatgpt
所属分类:GPT/ChatGPT
开发工具:JavaScript
文件大小:50KB
下载次数:0
上传日期:2023-01-09 03:47:37
上 传 者:
sh-1993
说明: 玩 Chat软件,,
(play-chatgpt,,)
文件列表:
LICENSE (1066, 2023-01-09)
index.mjs (1542, 2023-01-09)
package-lock.json (186432, 2023-01-09)
package.json (106, 2023-01-09)
# play-chatgpt
## Usage
### Install dependencies
```bash
npm i
```
### Run
```bash
OPENAI_EMAIL="" OPENAI_PASSWORD="" node index.mjs
# a browser window will open, if it can't login automatically, you can help it by logging in manually
```
### Usage
```bash
# then try it with
curl "http://localhost:8661/?q=hello"
# >> {answer: "xxx", sameConversationUrlComponent: "&conversationId=123&parentMessageId=456"}
# then try it with
curl "http://localhost:8661/?q=hello&conversationId=123&parentMessageId=456"
```
## Credits
https://github.com/transitive-bullshit/chatgpt-api
近期下载者:
相关文件:
收藏者: