Prerequisites
- Workspace enabled (
suite.enabled: true) - RAG enabled (
rag.enabled: true) - A connector encryption key set (
connectors.encryption_key)
Add documents (option A: upload files directly)
Upload files directly to the knowledge base:Or ingest from a URL or YouTube video:
Sync from an external source (option B: connector)
For continuously updated content, create a connector. This example syncs a Confluence space:Trigger the first sync immediately:
Test retrieval
Query the KB directly to verify your documents are indexed and relevant chunks are returned:
Improve retrieval quality
After your KB is populated, tune retrieval in Admin → Settings → RAG:- Hybrid search — combine BM25 keyword scoring with vector search via RRF for better coverage of exact terms
- Rerank model — add a cross-encoder for more precise document ranking after initial retrieval
- Relevance filter — use an LLM to classify and filter low-quality chunks before they reach the context window
- Standard answers — curate QA pairs that short-circuit RAG for common questions your team asks