https://retellai.com/?utm_source=discord&utm_medium=seo logo
what does the global prompt knowlege base do
# ❓・ai-evy-support
v
@AI Evy what does the global prompt knowlege base do ? is it okay if i put lnowledge base only on the nodes?
a
Thanks for tagging me @vyyy_20754. I'll look through relevant sources and get back to you shortly.
### Answer In Retell AI's Conversation Flow agents, you can configure knowledge bases at both the agent level (global) and at individual node levels [(1) ]() . Agent-Level (Global) Knowledge Base: When you connect a knowledge base at the agent level, it provides context across the entire conversation flow . The retrieved knowledge base content will be appended to the LLM prompt under the header "## Related Knowledge Base Contexts" . Node-Level Knowledge Base: For Conversation Flow agents, you can also configure knowledge base at the Conversation Node level . Node level knowledge base will be combined with agent global knowledge base to provide more accurate context for a specific topic . Yes, you can use knowledge base only on nodes - the system supports both approaches . However, the recommended practice is typically to use: - Global knowledge base for information relevant across the entire conversation - Node-level knowledge base for topic-specific information that's only relevant at certain conversation stages Node level knowledge bases are combined with global knowledge bases, so they work together rather than replacing each other .
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
v
@AI Evy i have one big knowledge base, and ive connected that to nodes requireing to answer from it. thats okay right?
a
Thanks for the follow-up, @vyyy_20754. I'll get back to you soon.
### Answer Yes, that's a valid approach [(1) ]() . You can connect the same knowledge base to multiple nodes in your Conversation Flow agent . For Conversation Flow agents, node-level knowledge base will be combined with agent global knowledge base to provide more accurate context for a specific topic . This means you can: - Connect your one big knowledge base to specific nodes that need it - Skip connecting it to the agent level if you only want it active at certain nodes - The system will retrieve relevant information from that knowledge base when those specific nodes are active The knowledge base retrieval happens automatically when the agent is about to respond, using the transcript so far to find the most relevant chunks . Retrieved knowledge base content will be appended to the LLM prompt under the header ## Related Knowledge Base Contexts . Just keep in mind the knowledge base limits: at max 500 URLs, at max 50 text snippets, and at max 25 files with each file at max 50MB . You can create multiple knowledge bases if you need to overcome these limits .
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](https://docs.retellai.com/build/knowledge-base) ​