Codyx
02/05/2026, 9:18 PMAI Evy
02/05/2026, 9:18 PMAI Evy
02/05/2026, 9:19 PMkb_config settings. You can adjust two key parameters to control when and how chunks are retrieved: [(1) ]() [(2) ]()
- **`filter_score`**: This sets a minimum relevance threshold (0 to 1) . Chunks scoring below this value won't be returned. Increasing this value will filter out less relevant chunks.
- **`top_k`**: This controls how many chunks are retrieved. Reducing this number limits the amount of KB content pulled per query.
Example configuration:
javascript
kb_config: {
top_k: 3,
filter_score: 0.6
}
[(1) ]()
Additionally, the Knowledge Base 2.0 update introduced smarter recall where agents focus on the most relevant parts of each conversation to retrieve accurate answers, and improved ranking so irrelevant chunks no longer show up ahead of correct information. [(3) ]()
If your agent is still retrieving KB content when it shouldn't, consider:
1. Raising the filter_score to require higher relevance before chunks are returned
2. Lowering top_k to reduce the number of chunks retrieved
3. Using Node KB (if using Conversation Flow) to assign a specific knowledge base only to nodes that actually need it, rather than having it available globally
Node KB allows you to retrieve more accurate answers based on context and respond with lower latency by narrowing the search space.AI Evy
02/05/2026, 9:19 PMAI Evy
02/05/2026, 9:19 PMCodyx
02/05/2026, 9:20 PMCodyx
02/05/2026, 9:20 PMAI Evy
02/05/2026, 9:20 PMAI Evy
02/05/2026, 9:20 PMkb_config settings are part of the Retell LLM configuration. You can find and modify them via the API when creating or updating a Retell LLM. [(1) ]() [(2) ]()
The configuration includes: [(1) ]()
- **`top_k`**: Number of chunks to retrieve (e.g., 3)
- **`filter_score`**: Minimum relevance threshold from 0 to 1 (e.g., 0.6)
Example from the API response/request:
json
"kb_config": {
"top_k": 3,
"filter_score": 0.6
}
To update these settings programmatically, use the [Update Retell LLM]() endpoint. [(2) ]()
If you're using the dashboard, these settings should be accessible within your agent's LLM configuration where you attach knowledge bases.AI Evy
02/05/2026, 9:20 PMAI Evy
02/05/2026, 9:20 PM