瀏覽代碼

refine doc about API: completion (#829)

### What problem does this PR solve?
#808 

### Type of change

- [x] Documentation Update
tags/v0.6.0
KevinHuSh 1 年之前
父節點
當前提交
2bfacd0469
No account linked to committer's email address
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      docs/conversation_api.md

+ 3
- 1
docs/conversation_api.md 查看文件

| name | type | optional | description| | name | type | optional | description|
|------|-------|----|----| |------|-------|----|----|
| conversation_id| string | No | This is from calling /new_conversation.| | conversation_id| string | No | This is from calling /new_conversation.|
| messages| json | No | All the conversation history stored here including the latest user's question.|
| messages| json | No | The latest question, such as `[{"role": "user", "content": "How are you doing!"}]`|
| quote | bool | Yes | Default: true | | quote | bool | Yes | Default: true |
| stream | bool | Yes | Default: true |
| doc_ids | string | Yes | Document IDs which is delimited by comma, like `c790da40ea8911ee928e0242ac180005,c790da40ea8911ee928e0242ac180005`. The retrieved content is limited in these documents. |
### Response ### Response
```json ```json

Loading…
取消
儲存