{ "question": "标题是什么", "mode": "hybrid", "top_k": 60, "document_ids": [ 1004 ], "history": [] }
curl --location --request POST '/rag/chat' \ --header 'X-User-ID: {{X-User-ID}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "question": "标题是什么", "mode": "hybrid", "top_k": 60, "document_ids": [ 1004 ], "history": [] }'
data: {"role": "assistant", "content": "机器"} data: {"role": "assistant", "content": "学习"} data: {"role": "assistant", "content": "是一种"} data: {"role": "assistant", "content": "人工智能的分支..."} data: [DONE]