document
Complete Document Chat
Stream a chat completion response for a document chat conversation.
Args: chat_id: Identifier of the document chat conversation. request: The chat request containing the user message. auth: Authentication context. redis: Redis connection for chat history storage.
Returns: StreamingResponse with the assistant's response.
post/document/chat/{chat_id}/complete
Path parameters
chat_idstring required
Headers
authorizationstring
Request body
Response
Successful Response
{"stackTrail":"paths:/document/chat/{chat_id}/complete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}