Chat Tab
The Chat tab enables RAG (Retrieval-Augmented Generation) conversations with your indexed documents. Ask natural language questions and receive AI-generated answers that are grounded in your document content.
Prerequisites for Chat
Before using the Chat tab, ensure you have:
- Vector store configured: Set up in Settings > Vector Store
- Embedding provider set up: Set up in Settings > Embedding Model (API key saved for cloud providers; Ollama settings saved with a reachable server)
- LLM provider configured: Set up in Settings > LLM Model with API key
- Documents synced: At least one document must be indexed in your vector store
If the LLM is not configured, you'll see a prompt directing you to the LLM settings page.
If Chat Shows an Error
Chat shows a short message instead of the provider's own error text, which can include request IDs, model names or internal addresses. The server logs a redacted record of the failure for support.
| Message | What to do |
|---|---|
| Your LLM provider rejected the API key | Check the key in Settings > LLM Model. |
| Your LLM provider could not find the selected model | Choose an available model in Settings > LLM Model. |
| Your LLM provider needs credits or a paid plan for this request | Add credits or upgrade with the provider (for example OpenRouter credits or a Hugging Face plan), then retry. |
| Your LLM or embedding provider is limiting requests | Wait a moment, then retry. |
| Your embedding provider rejected the API key | Check the key in Settings > Embedding Model. |
| The vector store rejected its credentials | Check the credentials in Settings > Vector Store. |
| Chat failed, Search failed, or the provider could not answer | Retry. If it keeps happening, contact support. |
Using RAG Chat
- Navigate to Playground from the sidebar
- Click the Chat tab
- Enter a question about your documents
- Example: "What is the refund policy?"
- Example: "How do I configure two-factor authentication?"
- Click Send or press Enter
- Watch the response stream in real-time
How RAG Chat Works
When you send a question:
- Context Retrieval: The system searches your vector store for relevant document chunks
- Context Display: Retrieved chunks are shown in a collapsible panel with similarity scores
- AI Generation: The LLM receives your question along with the relevant context
- Streaming Response: The answer streams in real-time, grounded in your documents