Skip to content

Tune search settings

Knowledge-base search settings control how Chatevo retrieves chunks during RAG. They apply at the KB level; assistants can add overrides in RAG settings.

SettingWhat it doesStarting point
similarity_thresholdMinimum vector similarity for a chunk to be included0.7 — raise if answers pull weak matches; lower if answers miss obvious content
max_resultsMaximum chunks returned to the Response Synthesizer58 for focused FAQs; 1015 for long policy docs
boost_recentPrefer newer snapshots when multiple versions existEnable when docs update frequently (release notes, pricing)
retention_daysHow long old snapshots are kept before purgeAlign with your compliance policy; longer retention preserves audit history
  1. Go to Knowledge bases and open a knowledge base.
  2. Open Search settings (or Retrieval).
  3. Adjust values and Save.
  1. Open an assistant with this KB attached.
  2. Use Test chat with questions that previously missed or over-fetched context.
  3. Iterate on similarity_threshold and max_results until citations look right.

Retrieval always runs dense + keyword search in Qdrant, merged with RRF. Threshold and max results apply after fusion:

Query Strategist rewrite
→ Hybrid search (dense + keyword → RRF)
→ Filter by similarity_threshold
→ Trim to max_results
→ Optional boost_recent reorder
→ Chunks to Response Synthesizer

On Starter+ plans, the Query Strategist can rewrite vague questions before search. See Smart query understanding.

KB typeSuggestion
Short FAQHigher threshold, fewer max results
Large manualsSlightly lower threshold, more max results
Frequently updated site crawlEnable boost_recent; pair with Auto-retrain on Standard+