https://retellai.com/?utm_source=discord&utm_medium=seo logo
I had a few questions
# ❓・ai-evy-support
g
@AI Evy I had a few questions. 1. How do I ensure certain KBs are fetched for certain questions such that relevant information is available for accurate answers? 2. How do I ensure that an agent follows a line of question if a caller talks about a certain topic? 3. Do I need to remove a KB and add it back if the documents in the KB are changed?
a
Thanks for tagging me @gitfudge. I'll look through relevant sources and get back to you shortly.
### Answer Here are answers to your questions: 1. Ensuring Relevant KB Retrieval For Conversation Flow agents, you can configure Node Level Knowledge Base to ensure specific knowledge bases are retrieved for certain topics [(1) ]() . This allows you to assign a specific knowledge base to a particular node in your conversation flow [(2) ]() . Node level knowledge bases are combined with agent global knowledge bases to provide more accurate context for specific topics [(1) ]() . You can also adjust retrieval settings via "Adjust KB Retrieval Chunks and Similarity" : - **Chunks to retrieve**: Set the max number of chunks (range 1-10, default: 3) - **Similarity Threshold**: Adjust how strict matching is (default: 0.6) The system uses the transcript so far to find the most relevant chunks from the knowledge base and feed them to the LLM as context . 2. Following Question Lines for Specific Topics For Conversation Flow agents, you can use Node Level Knowledge Base at specific conversation nodes [(1) ]() [(2) ]() . When you click a Conversation Node, you can select and add knowledge base items relevant to that specific topic [(1) ]() . This ensures the agent has the right context when the conversation reaches that node. 3. Updating Changed Documents You can enable auto-refreshing for URL sources, which re-fetches all URLs every 24 hours to ensure the latest content is reflected [(1) ]() [(2) ]() . You can also enable auto-crawling for specific URL paths, which automatically crawls pages every 24 hours [(1) ](htt
ps://docs.retellai.com/build/knowledge-base) . For manually uploaded files or text, you would need to use the Add Knowledge Base Sources API to add updated content [(3) ]() . The sources don't explicitly state you need to remove and re-add, but you can add new sources to existing knowledge bases .
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Add Knowledge Base Sources](https://docs.retellai.com/api-references/add-knowledge-base-sources) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
g
@AI Evy For conversational flow agents, is it recommended to have a single node for any questions the caller might have?
a
Thanks for the follow-up, @gitfudge. I'll get back to you soon.
### Answer For Conversation Flow agents, breaking down complex conversations into multiple focused nodes is generally recommended over using a single node [(1) ]() . The documentation explains that you should consider breaking down a node when: - The node handles multiple complex logic paths - The LLM struggles with consistency (hallucinations or incorrect responses) - You need different settings (model, temperature) for different parts - The conversation flow becomes hard to follow or debug Breaking complex nodes into smaller, focused nodes often improves reliability . Each node type serves a specific purpose - Conversation Nodes handle dialogue and user interactions, while other node types handle actions, call control, and logic . This modular approach gives you: - **Precise Control**: Define exact behavior for each conversation scenario - **Better Performance**: Fine-tune specific parts without affecting others - **Easier Debugging**: Isolate and fix issues in specific conversation paths - **Reusability**: Connect nodes in different ways for various flows So rather than having a single node try to handle all possible caller questions, it's better to structure your flow with multiple nodes that each handle specific topics or conversation stages.
​ To learn more, see the sources I considered: [[1] Node Overview](https://docs.retellai.com/build/conversation-flow/node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.