https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> Do Conversations blocks sup...
# ❓・ai-evy-support
k
@AI Evy Do Conversations blocks support RAG (Knowledge Base)?
a
Thanks for tagging me @kradllit. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Knowledge Base]() * [Custom LLM Best Practices]() * [Retell AI | The Ultimate Guide to AI Hallucinations in Voice Agents (and How to Mitigate Them!)]() * [Knowledge base feature does not seem to work]() -----------------------------
### Answer Retell AI does support Knowledge Base functionality, which works as a RAG (Retrieval-Augmented Generation) system. According to the documentation, Knowledge Base is automatically used when linked to an agent - there's no need to change your prompt for it to trigger. [(1)]() How Knowledge Base works: When a knowledge base is linked to an agent, the agent will retrieve information from the knowledge base before responding. During calls, the system uses the transcript to find relevant chunks from the knowledge base and feeds them to the LLM as context. Retell AI's Conversation Flow feature can also help enhance reliability by providing a more structured framework for managing conversations, which can be useful alongside Knowledge Base/RAG to reduce hallucinations. [(2)]() Best practices for Knowledge Base: 1. Use markdown format with clear paragraphs for better chunking and retrieval [(1)]() 2. Group relevant information together in one chunk 3. Avoid ambiguity and use specificity in references 4. Tabular data or image data may yield suboptimal results [(1)]() [(3)]() Limitations to be aware of: - Table information will not perform well in the Knowledge Base [(3)]() - For menu websites with mostly short words and images, the LLM may have difficulty understanding the content [(4)]() - The Knowledge Base reliability is "far from perfect in most examples for now" according to co
mmunity feedback [(3)]() For using past conversation context (which is different from traditional RAG), you would need to use dynamic variables in your prompt rather than Knowledge Base. [(5)]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.