### Answer
When a knowledge base is linked to an agent, the agent will always try to retrieve information from the knowledge base before responding [(1) ](
) . There's no built-in mechanism to selectively trigger KB retrieval—it happens automatically for every response generation .
However, you can restrict KB usage through your prompt. According to community discussions, adding explicit instructions in your general prompt is usually enough to control when the agent should or shouldn't use KB information [(2) ](
) . For example, you could instruct the agent to only reference KB content for specific types of questions.
Regarding the slower responses: the KB retrieval process uses the transcript to find relevant chunks and feeds them to the LLM as context [(1) ](
) . You can adjust the KB retrieval settings to potentially improve performance by configuring the "Chunks to retrieve" (range 1-10, default 3) and "Similarity Threshold" (default 0.6) . Increasing chunks gives more context but also increases prompt length, which can affect generation quality and speed .
If you need more granular control, consider using node-level knowledge bases in Conversation Flow agents, where you can configure KB at the conversation node level for specific topics .
**