Extended CLI to support Bing's Chatbot and updated README
This commit is contained in:
parent
dcb724f902
commit
379374d097
2 changed files with 29 additions and 8 deletions
12
README.md
12
README.md
|
@ -14,3 +14,15 @@ You need an API key for the official ChatGPT API.
|
|||
### Unofficial API for Bing Chatbot
|
||||
|
||||
This requires your Cookies to be exported to a json file. See [EdgeGPT's README](https://github.com/acheong08/EdgeGPT) for more infos.
|
||||
|
||||
## CLI
|
||||
|
||||
Using the official API via ChatGPT:
|
||||
```
|
||||
OPENAI_API_KEY="..." ./cli.py Hello
|
||||
```
|
||||
|
||||
Using Bing's Chatbot:
|
||||
```
|
||||
BING_COOKIES_FILE="~/cookies.json" ./cli.py bing Hello
|
||||
```
|
||||
|
|
Reference in a new issue