Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

refine doc about API: completion (#829)

KevinHuSh2bfacd0469e5
diff --git a/docs/conversation_api.md b/docs/conversation_api.md
index bc40983e37..8166ec2673 100644
--- a/docs/conversation_api.md
+++ b/docs/conversation_api.md
@@ -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