Commit 9fe2708d by 范立洲

feat: update README

parent 3f53302e
# yunheBot # yunheBot
## 问答接口 ## 问答接口
url: /api/v1/completion
url: /api/v1/completion methon: POST
methon: POST request:
request:
```json ```json
{ {
"prompt": "your question here", // 提问 "prompt": "your question here", // 提问
...@@ -13,7 +12,7 @@ request: ...@@ -13,7 +12,7 @@ request:
"stream": false // 是否流式返回,预留 "stream": false // 是否流式返回,预留
} }
``` ```
Response: Response:
```json ```json
{ {
"code": 200, // 状态码,200为请求成功,其余为失败 "code": 200, // 状态码,200为请求成功,其余为失败
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论