https://retellai.com/?utm_source=discord&utm_medium=seo logo
Does Retell AI takes knowledge base file title to ...
# ❓・ai-evy-support
a
Does Retell AI takes knowledge base file title to determine which one to read when answering a question @AI Evy Like would it try to access FAQ.txt when answering caller's enquiry isntead of looking for an answer in GENERAL_BUSINESS_INFO.txt?
a
Thanks for tagging me @anton333_50203. I'll look through relevant sources and get back to you shortly.
### Answer No, Retell AI does not use knowledge base file titles to determine which one to read when answering questions [(1) ]() . The knowledge base name is for display purposes only and is not included in the retrieval process . When your agent responds to queries, it searches across all connected knowledge base content regardless of file names or titles . So whether you have files named "FAQ.txt" or "GENERAL_BUSINESS_INFO.txt", the system will search through all the content to find the most relevant information to answer the caller's question . The retrieved knowledge base content is appended to the LLM prompt under the header "///## Related Knowledge Base Contexts" , and the system uses semantic search rather than filename-based retrieval.
​ 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.
a
What type of instructions are meant to be in the global prompt? @AI Evy
a
Thanks for the follow-up, @anton333_50203. I'll get back to you soon.
) ]() .
### Answer The global prompt in Retell AI is designed to contain your agent's foundational characteristics that apply throughout the entire conversation. The global prompt should specify the agent's persona, identity, and guardrails [(1) ]() [(2) ]() . This set of text will be available in every node and will influence all response generation . More specifically, the global prompt is used for: - Overall personality and tone [(3) ]() [(4) ]() - Agent identity [(1) ]() [(2) ]() - Universal rules that apply throughout the conversation [(3) ]() [(4) ]() - General guardrails [(1) ]() [(2) ]() In contrast, conversation flow nodes should contain step-by-step logic, specific questions, and transitions [(4) ]() . Node prompts take precedence over the global prompt when both are present [(3) ]() . The best practice is to avoid duplication - use the global prompt as the default foundation, and use node prompts as overrides for specific actions or logic per step [(3) ]() [(4
​ To learn more, see the sources I considered: [[1] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[3] Which takes precedence: The Global Prompt OR Nodes?](https://discord.com/channels/1186424376300679209/1400673644065325149) [[4] CONVERSATION FLOW AGENT - GLOBAL PROMPT](https://discord.com/channels/1186424376300679209/1371534043157500025) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Is it best to split knowledge base into separate documents? Like Business information, FAQ, Provided Services? Or keeping everything in one document is fine? @AI Evy
a
Thanks for the follow-up, @anton333_50203. I'll get back to you soon.
### Answer Based on the official documentation, there are several considerations for organizing your knowledge base content: Best Practices for Organization: The documentation recommends grouping relevant information together in one chunk to improve retrieval accuracy [(1) ]() . This suggests that keeping related information together is beneficial for the system's ability to find and use the content effectively. Technical Considerations: You can create multiple knowledge bases to overcome individual limits, and an agent can have more than one knowledge base linked to it . Each knowledge base has specific limits: - Text: at max 50 text snippets - File: at max 25 files, with each file at max 50MB Community Perspective: There's also a relevant discussion in the Discord community where someone asked about organizing objections handling - whether to put each objection in its own document or have one long document with all objections included [(2) ]() . The user was considering response delay and cost implications, noting that cost is the same whether using one or multiple knowledge bases . Recommendation: The system uses semantic search rather than filename-based retrieval, so organization should focus on content relevance rather than file names. For your use case with Business Information, FAQ, and Provided Services, you could either: 1. Keep them as separate documents if they're substantial and distinct topics 2. Combine them if they're closely related and would benefit from being retrieved together The key is ensuring that related information that should be considered together is grouped appropriately for better retrieval accuracy [(1) ]() .
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) [[2] Discord message from @pkleb on 2025-04-18](https://discord.com/channels/1186424376300679209/1294891368505937952/1362644989699559696) ​
a
Why doesn't my agent follows explicit instructions fo a "custom message" when greeting the user? I have set it to say "Hello, you’re through to Rachel at . How can I help you today?" but instead it does all kinds of variations of "Hello! Thanks for calling . How can I help you today?" @AI Evy
a
Thanks for the follow-up, @anton333_50203. I'll get back to you soon.
### Answer Based on the available sources, there are several potential reasons why your agent isn't following the exact custom greeting you've set: If using Conversation Flow: In conversation flow agents, you can set instructions for nodes using either a Prompt or Static Sentence approach [(1) ]() . If you want the agent to say exactly "Hello, you're through to Rachel at . How can I help you today?", you should use the Static Sentence option rather than a prompt . With Static Sentence, the agent will say the fixed sentence first, and if it stays in that node, it will generate content dynamically based on the static sentence set . Global Prompt vs Node Instructions: The global prompt is used for your agent's overall personality, tone, and universal rules [(2) ]() . However, conversation flow nodes should contain step-by-step logic, questions, and transitions . If you're setting the greeting in the global prompt instead of in the first conversation node, this could cause the variability you're experiencing. Configuration Location: Make sure you're configuring the greeting in the right place: - For conversation flow agents, set the exact greeting as a Static Sentence in your first conversation node [(1) ]() - The global prompt should contain the agent's persona and identity, not specific scripted responses [(3) ]() Dynamic Variables: If you're using
<company name>
as a dynamic variable, ensure it's properly configured in your default_dynamic_variables settings [(4) ]() [(5) ](
retellai.com/api-references/get-conversation-flow) [(6) ]() . The key is using Static Sentence for exact scripted responses rather than prompts, which allow for dynamic generation and variation.
​ To learn more, see the sources I considered: [[1] Conversation Node](https://docs.retellai.com/build/conversation-flow/conversation-node) [[2] CONVERSATION FLOW AGENT - GLOBAL PROMPT](https://discord.com/channels/1186424376300679209/1371534043157500025) [[3] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[4] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[5] Get Conversation Flow](https://docs.retellai.com/api-references/get-conversation-flow) [[6] Update Conversation Flow](https://docs.retellai.com/api-references/update-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.