https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do I use the knowledge databases
# ❓・ai-evy-support
a
@AI Evy How do I use the knowledge databases?
a
Thanks for tagging me @alonsobrena_26588. I'll look through relevant sources and get back to you shortly.
### Answer To use knowledge bases in Retell AI, follow these steps: 1. Create a Knowledge Base [(1) ]() Navigate to your dashboard, select the "Knowledge Base" tab, and click "Add" . You can add three types of sources : - **URL**: Import content from web pages (supports single pages or entire websites) - **File**: Upload documents in formats like PDF, TXT, DOCX, etc. (max 50MB) - **Text**: Add custom content by pasting or typing directly 2. Connect to Your Agent Open the agent editor, locate the "Knowledge Base" section, and select the knowledge base items you want to use . 3. Configure Retrieval Settings After connecting a knowledge base, you can adjust: - **Chunks to retrieve**: Max number of chunks (1-10, default: 3) - **Similarity Threshold**: How strict matching is (default: 0.6) 4. Optional: Node-Level Knowledge Base For Conversation Flow agents, you can configure knowledge bases at the node level for more specific context . Click the Conversation Node you want to configure and add knowledge base items . Best Practices : - Prefer
.md
(Markdown) files over
.txt
for better chunking and retrieval - Use clear, descriptive headings and keep sections focused - Group related information within the same section - Use specific references (names, dates, units) and avoid ambiguous pronouns The agent will automatically retrieve information from the knowledge base during calls without needing prompt changes . Retrieved content appears under the header "Related Knowledge Base Contexts" . **
​ 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.