Skip to content

Commit

Permalink
refine doc about API: completion (infiniflow#829)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?
infiniflow#808 

### Type of change

- [x] Documentation Update
  • Loading branch information
KevinHuSh committed May 17, 2024
1 parent b3c923d commit 2bfacd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/conversation_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,10 @@ This will be called to get the answer to users' questions.
| name | type | optional | description|
|------|-------|----|----|
| 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 |
| 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
```json
Expand Down

0 comments on commit 2bfacd0

Please sign in to comment.