https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi Retell Support,I’m using the Knowledge Base Ret...
# ❓・ai-evy-support
f
@AI Evy Hi Retell Support, I’m using the Knowledge Base Retrieval feature for my phone-order assistant, but I noticed that the system currently only returns 3 chunks from the KB per query. this sometimes causes missing matches because the relevant chunk is not retrieved. Could you please advise: Whether it’s possible to increase the number of KB chunks returned per retrieval (e.g., from 3 to 8–10)? If yes, where in the dashboard or API can I configure this? Are there any performance or cost implications of increasing the chunk limit? Thanks in advance for your help.
a
Thanks for tagging me @fantastic_monkey_54547. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, I don't have specific information about configuring the number of knowledge base chunks returned per retrieval or the default limit of 3 chunks you mentioned. The knowledge base documentation explains how the retrieval system works: when an agent is about to respond, it uses the transcript so far to find the most relevant chunks from the knowledge base and feeds them to the LLM as context [(1) ]() . However, the sources don't specify the exact number of chunks retrieved or provide configuration options for adjusting this parameter. For retrieving knowledge base contents after a call, you can access the
knowledge_base_retrieved_contents_url
which contains the response ID and retrieved contents related to each response [(2) ]() [(3) ]() . This can help you analyze what was actually retrieved during your calls. I'd recommend checking these potentially useful sources for more detailed configuration options: - [Knowledge Base]() - [Create Knowledge Base]() Would you like me to try to provide a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] Update Call](https://docs.retellai.com/api-references/update-call) [[3] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.