Spaces:
Runtime error
Runtime error
:pencil: [Doc] Update commands and expected results, and add thanks
Browse files- README.md +13 -5
- docs/bing-chat-api-cli.png +0 -0
- docs/bing-chat-api-server.png +0 -0
- docs/bing-chat-api-ui.png +0 -0
README.md
CHANGED
@@ -15,6 +15,7 @@ Chat with Bing like what you do with OpenAI API.
|
|
15 |
- [EdgeGPT](https://github.com/acheong08/EdgeGPT) by [@acheong08](https://github.com/acheong08)
|
16 |
- [bingo](https://github.com/weaigc/bingo) by [@weaigc](https://github.com/weaigc)
|
17 |
- [@ninomae](https://github.com/NINOMAE1995)
|
|
|
18 |
|
19 |
## Features
|
20 |
|
@@ -36,16 +37,18 @@ Chat with Bing like what you do with OpenAI API.
|
|
36 |
|
37 |
🔨 In progress:
|
38 |
- [ ] Enhance performance and reduce session create requests
|
39 |
-
- [ ] Use auto proxies to enable create in restricted servers
|
40 |
-
- This is moved to another repo, and would release it when it is ready.
|
41 |
- [ ] Authentication with API key
|
42 |
|
43 |
|
44 |
-
##
|
45 |
|
46 |
-
|
47 |
|
48 |
-
|
|
|
|
|
|
|
|
|
49 |
|
50 |
### Run in Command Line
|
51 |
|
@@ -59,7 +62,12 @@ pip install -r requirements.txt
|
|
59 |
**Run API:**
|
60 |
|
61 |
```bash
|
|
|
62 |
python -m apis.chat_api
|
|
|
|
|
|
|
|
|
63 |
```
|
64 |
|
65 |
## Run via Docker
|
|
|
15 |
- [EdgeGPT](https://github.com/acheong08/EdgeGPT) by [@acheong08](https://github.com/acheong08)
|
16 |
- [bingo](https://github.com/weaigc/bingo) by [@weaigc](https://github.com/weaigc)
|
17 |
- [@ninomae](https://github.com/NINOMAE1995)
|
18 |
+
- [@Harry-zklcdc][https://github.com/Harry-zklcdc]
|
19 |
|
20 |
## Features
|
21 |
|
|
|
37 |
|
38 |
🔨 In progress:
|
39 |
- [ ] Enhance performance and reduce session create requests
|
|
|
|
|
40 |
- [ ] Authentication with API key
|
41 |
|
42 |
|
43 |
+
## Run API service
|
44 |
|
45 |
+
### Expected results
|
46 |
|
47 |
+
After running the API service, you should be able to see the following UI and server logs.
|
48 |
+
|
49 |
+
![](docs/bing-chat-api-ui.png)
|
50 |
+
|
51 |
+
![](docs/bing-chat-api-server.png)
|
52 |
|
53 |
### Run in Command Line
|
54 |
|
|
|
62 |
**Run API:**
|
63 |
|
64 |
```bash
|
65 |
+
# on product mode
|
66 |
python -m apis.chat_api
|
67 |
+
|
68 |
+
# on develop mode
|
69 |
+
python -m apis.chat_api -d
|
70 |
+
|
71 |
```
|
72 |
|
73 |
## Run via Docker
|
docs/bing-chat-api-cli.png
DELETED
Binary file (78.2 kB)
|
|
docs/bing-chat-api-server.png
CHANGED
docs/bing-chat-api-ui.png
ADDED