teralomaniac commited on
Commit
865123b
·
1 Parent(s): 2a528ca

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -40
README.md DELETED
@@ -1,40 +0,0 @@
1
- # ChatSydney
2
-
3
- ## Installation
4
-
5
- First, you need to have Python 3.11 or higher installed. Then, you can install the required dependencies using pip:
6
-
7
- ```bash
8
- pip install -r requirements.txt --upgrade
9
- ```
10
-
11
- ## How to get cookies.json
12
- same as EdgeGPT https://github.com/acheong08/EdgeGPT#getting-authentication-required
13
-
14
- ## Usage
15
-
16
- After saving `cookies.json` in current directory, you can run this project using the Python command line:
17
-
18
- ```bash
19
- python main.py
20
- ```
21
-
22
- Then, you can open `http://localhost:65432` in your browser to start chatting.
23
-
24
- ## Command Line Arguments
25
-
26
- - `--host` or `-H`: The hostname and port for the server, default is `localhost:65432`.
27
- - `--proxy` or `-p`: Proxy address, like `http://localhost:7890`, default is empty.
28
-
29
- ## WebSocket API
30
-
31
- The WebSocket API accepts a JSON object containing the following fields:
32
-
33
- - `message`: The user's message.
34
- - `context`: The context of the conversation, can be any string.
35
-
36
- The WebSocket API returns a JSON object containing the following fields:
37
-
38
- - `type`: The type of the message, can be the type from Bing response or `error`.
39
- - `message`: The response from EdgeGPT.
40
- - `error`: If an error occurs, this field will contain the error message.