This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
317 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## Ask | ||
### 请求 | ||
1. 网址: /claude/ask. | ||
2. 方式: GET/POST. | ||
3. 格式: JSON(当方式为POST时). | ||
4. 参数: | ||
|
||
名称|类型|必填|说明 | ||
---|---|---|--- | ||
question|String|是| | ||
token|String|否|填则为连续对话,不填则为新对话,值可在响应中获取 | ||
### 响应 | ||
1. 格式: JSON. | ||
2. 参数: | ||
|
||
名称|类型|说明 | ||
---|---|--- | ||
code|Integer| | ||
message|String| | ||
data|Object| | ||
answer|String| | ||
token|String|用于连续对话 | ||
3. 示例: | ||
```json | ||
{ | ||
"code": 200, | ||
"message": "success", | ||
"data": { | ||
"answer": "你好,我是Claude。", | ||
"token": "3153d67b-eac2-457e-a2ee-fedc8ba53588" | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
fastapi | ||
uvicorn | ||
gevent | ||
gunicorn | ||
asyncio | ||
bardapi | ||
re_edge_gpt | ||
requests | ||
unofficial-claude2-api | ||
easy-ernie |
Oops, something went wrong.