Skip to content

Commit

Permalink
Update HTTP-API.md (pengzhile#261)
Browse files Browse the repository at this point in the history
歧义修复
  • Loading branch information
F-Unction authored May 20, 2023
1 parent 656f928 commit 246ee50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/HTTP-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* **JSON字段:**
* `prompt` 提问的内容。
* `model` 对话使用的模型,通常整个会话中保持不变。
* `message_id` 消息ID,首次通常使用`str(uuid.uuid4())`来生成一个。
* `message_id` 消息ID,通常使用`str(uuid.uuid4())`来生成一个。
* `parent_message_id` 父消息ID,首次同样需要生成。之后获取上一条回复的消息ID即可。
* `conversation_id` 首次对话可不传。`ChatGPT`回复时可获取。
* `stream` 是否使用流的方式输出内容,默认为:`True`
Expand All @@ -82,4 +82,4 @@
* `conversation_id` 会话ID。
* `stream` 是否使用流的方式输出内容,默认为:`True`
* **接口描述:**`ChatGPT`讲之前的恢复继续下去。


0 comments on commit 246ee50

Please sign in to comment.