mirror of
https://github.com/missuo/FreeGPT35.git
synced 2025-10-15 23:20:38 +00:00
docs: update
This commit is contained in:
26
README.md
26
README.md
@@ -1,7 +1,7 @@
|
|||||||
# FreeGPT35
|
# FreeGPT35
|
||||||
Utilize the unlimited free **GPT-3.5-Turbo** API service provided by the login-free ChatGPT Web. Forked from [https://github.com/skzhengkai/free-chatgpt-api](https://github.com/skzhengkai/free-chatgpt-api).
|
Utilize the unlimited free **GPT-3.5-Turbo** API service provided by the login-free ChatGPT Web. Forked from [https://github.com/skzhengkai/free-chatgpt-api](https://github.com/skzhengkai/free-chatgpt-api).
|
||||||
|
|
||||||
## Usage
|
## Deploy
|
||||||
### Node
|
### Node
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -10,6 +10,10 @@ node app.js
|
|||||||
```
|
```
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -p 3040:3040 ghcr.io/missuo/freegpt35
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 3040:3040 missuo/freegpt35
|
docker run -p 3040:3040 missuo/freegpt35
|
||||||
```
|
```
|
||||||
@@ -21,3 +25,23 @@ mkdir freegpt35 && cd freegpt35
|
|||||||
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose.yaml
|
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose.yaml
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Request Example
|
||||||
|
|
||||||
|
**You don't have to pass Authorization, of course, you can also pass any string randomly.**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl http://127.0.0.1:3040/v1/chat/completions \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-H "Authorization: Bearer any_string_you_like" \
|
||||||
|
-d '{
|
||||||
|
"model": "gpt-3.5-turbo",
|
||||||
|
"messages": [
|
||||||
|
{
|
||||||
|
"role": "user",
|
||||||
|
"content": "Hello!"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stream": true
|
||||||
|
}'
|
||||||
|
```
|
Reference in New Issue
Block a user