Document retrieval architecture
When a visitor asks a question that needs your knowledge base, Chatevo runs a retrieval pipeline before the LLM writes an answer.
Overview
Section titled “Overview”User message → Smart query understanding (plan-gated) → Hybrid search (dense + keyword) → Top chunks + citations → LLM synthesisIndexing
Section titled “Indexing”- Extract text from PDF, DOCX, TXT, HTML, or crawled URL.
- Chunk using rule-based and optional semantic chunking.
- Embed chunks with an embedding model.
- Store vectors in Qdrant with metadata.
Hybrid search
Section titled “Hybrid search”| Retriever | What it finds |
|---|---|
| Dense (semantic) | Passages similar in meaning |
| Sparse (keyword) | Passages matching exact terms |
Results merge via Reciprocal Rank Fusion (RRF).
Smart query understanding
Section titled “Smart query understanding”Plan tiers: basic (Starter) · full (Standard+). See Smart query understanding.