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
Headers
Path Parameters
Body
application/json
Request model for document chat completion.
Response
200
application/json
Successful Response
The response is of type any
.