RAG Chat
TrustRAG's RAG (Retrieval-Augmented Generation) chat lets you ask questions about your uploaded documents and receive grounded answers with citations.
How It Works
- You ask a question in a workspace conversation
- Hybrid retrieval searches your documents using vector similarity + full-text search
- Relevant chunks are retrieved and ranked using Reciprocal Rank Fusion (RRF)
- The LLM generates an answer grounded in the retrieved chunks
- Citations are extracted and stored, linking each claim to its source
Supported LLM Providers
TrustRAG supports any OpenAI-compatible API:
- OpenAI (GPT-4, GPT-3.5)
- Ollama (local models)
- Anthropic
- Custom endpoints
Configure providers in Settings → Model Configuration.
Streaming Responses
Chat responses stream in real-time via Server-Sent Events (SSE). Citations are processed and stored after the response completes.
