Nameless
11/27/2026, 3:11 AMAI Evy
11/27/2026, 3:11 AMAI Evy
11/27/2026, 3:11 AMAI Evy
11/27/2026, 3:11 AMAI Evy
11/27/2026, 3:11 AMkb_config object with top_k and filter_score settings, which control how many results are retrieved and the score threshold used to filter them:
json
"knowledge_base_ids": [
"<string>"
],
"kb_config": {
"top_k": 3,
"filter_score": 0.6
},
[(1)]()
If you're trying to improve retrieval quality, tuning top_k and filter_score is the documented lever I can point to.
Check out these potentially useful sources: [Create Retell LLM](), [Documentation](), [Hire certified Retell partner]()
If you'd like, I can try a general answer about rerankers based on my own knowledge instead.Nameless
11/27/2026, 3:12 AMAI Evy
11/27/2026, 3:12 AMAI Evy
11/27/2026, 3:12 AM.md files over .txt. Well-structured Markdown is chunked and retrieved more accurately.[(1)]()
- Use clear, descriptive headings and keep each section focused and short. If a section gets long, split it into multiple sections.[(1)]()
- Write short paragraphs and lists to separate concepts, and avoid walls of text.[(1)]()
- Group related information in the same section so chunks stay cohesive.[(1)]()
- Avoid ambiguous references like "it" or "this", since the neighboring chunk may not be retrieved with it. Include names, dates, and units.[(1)]()
- Tables and image-heavy content can retrieve less reliably. Add explanatory text so related information stays in the same chunk.[(1)]()
- Use the knowledge base for supporting information, and put agent instructions in the prompt.[(1)]()
Tune retrieval
Under the agent's Advanced Settings, you can adjust "Chunks to retrieve" (1-10, default 3) and "Similarity Threshold" (default 0.6). More chunks give the LLM more context but lengthen the prompt and can hurt generation quality.[(1)]()
You can also set a Knowledge Base Instruction (up to 500 characters) to guide how the search query is built from the recent conversation. It shapes the query only and does not filter or rewrite chunks.[(1)](AI Evy
11/27/2026, 3:12 AMAI Evy
11/27/2026, 3:12 AMAI Evy
11/27/2026, 3:12 AM