### Answer
Yes, when a knowledge base is linked to an agent, the agent will always try to retrieve information from the knowledge base before responding—it happens automatically for every response generation. [(1) ](
)
However, there are a few reasons why it might appear not to trigger:
1. Similarity Threshold Filtering
The retrieval uses a similarity threshold (default: 0.6) . A higher setting gives you fewer, but more similar, matches. If the transcript content doesn't closely match the knowledge base content, chunks may not meet the threshold and won't be returned.
2. Timeout Issues
There have been instances where the knowledge base timed out and then was not used. [(2) ](
) This was identified as a root cause for erratic behavior in the past.
3. Agent Version Locking
If your agent is published, it locks on the old KB state. You cannot edit a published agent, so you need to create a new version of it to pick up KB changes. [(3) ](
)
4. KB Not Properly Attached
Double-check that the knowledge base is actually attached to your agent—there have been cases where users thought it was attached but it wasn't. [(2) ](
)
You can configure retrieval settings via "Adjust KB Retrieval Chunks and Similarity" after connecting a knowledge base to your agent:
- **Chunks to retrieve**: Max number of chunks (1-10, default: 3)
- **Similarity Threshold**: How strict the matching is (default: 0.6) [(1) ](
)