https://retellai.com/?utm_source=discord&utm_medium=seo logo
I created a node to be a question handler - for an...
# ❓・ai-evy-support
j
@AI Evy I created a node to be a question handler - for any question during the conversation the node transition to it and using a logic split a loop back to the handler until no question is ask and trantion to the node where we left off in the conversation - but the agent only pull information on the first question in the KB after it all other request, there are no KB ------ what triggers the KB retrival and what can I do to handle this best?
a
Thanks for tagging me @japhetgan. I'll look through relevant sources and get back to you shortly.
### Answer This is a known issue with Knowledge Base retrieval in conversation flows [(1) ]() [(2) ]() . Knowledge Base retrieval is triggered automatically for every response generation when a knowledge base is linked to your agent [(3) ]() . The system uses the transcript so far (prompt is not included) to find the most relevant chunks from the knowledge base and feeds them to the LLM as context . However, several users have reported similar issues where KB retrieval works inconsistently in conversation flows: - Knowledge base retrieval may work on the first question but not subsequent ones [(1) ]() [(2) ]() - Web pages configured in KB may not be consulted properly, while uploaded documents work fine [(1) ]() - The issue appears more prominent in conversation flow agents compared to single-prompt agents Recent updates have introduced Knowledge Base retrieval visibility in the Test LLM feature, allowing you to view Knowledge Base retrieval chunks directly [(4) ]() . This provides greater visibility into how the Knowledge Base is being used and helps check if questions are retrieving the correct information . For your specific loop-back question handler setup, the inconsistent KB retrieval appears to be a platform issue rather than a configuration problem. You might want to: 1. Check the Knowledge Base retrieval visibility in Test LLM to see what's being retrieved 2. Consider using uploa
ded documents instead of web URLs if applicable, as they seem more reliable [(1) ]() 3. Monitor if the issue persists with your specific conversation flow structure The Retell team is aware of these KB retrieval inconsistencies in conversation flows and working on improvements [(1) ]() [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Knowledge base retrieval is not happening](https://discord.com/channels/1186424376300679209/1352014353922002975) [[2] Knowledge Base Retrieval Inconsistent](https://discord.com/channels/1186424376300679209/1318027595266396210) [[3] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[4] Important Pricing Adjustments, New Voice Models, and More!](https://www.retellai.com/changelog/important-pricing-adjustments-new-voice-models-and-more) ​