Document Chat
Ask questions about your uploaded documents and get answers grounded in the actual content with source attribution.
Features
Multi-Document Chat
Select multiple documents and chat with them together. The system retrieves context from all selected sources.
Hybrid Retrieval
Combines keyword and semantic search to find the most relevant chunks across your knowledge base.
Source Attribution
Every answer includes citations showing which document and chunk the information came from.
Document Chat API
/api/documents/chatSend a chat message against selected documents.
{
"query": "What are the key findings about neural networks?",
"documentIds": ["doc_abc123", "doc_def456"],
"topK": 5
}UI Experience
In the Documents page, select one or more documents and click "Chat with Selected". The chat interface supports Markdown rendering, streaming responses, and source cards that link back to the original document chunks.
Configuration
Document chat settings are managed per-user in Settings under Knowledge Assistant. You can configure the provider, model override, top-K retrieval, and temperature. The feature is enabled by default when a provider is available.