https://retellai.com/?utm_source=discord&utm_medium=seo logo
theres a bug right now where after a user asks a q...
# ❓・ai-evy-support
x
@AI Evy theres a bug right now where after a user asks a question and then after an answer is provided when the user asks a second question it pulls the knowledge base chunks relevant for the first question instead of the second
a
Thanks for tagging me @xmangomelon. I'll look through relevant sources and get back to you shortly.
### Answer You're describing a known issue that has been reported by other users. This behavior where the knowledge base retrieval pulls chunks from the previous question instead of the current one has been documented in the community [(1) ]() . According to user reports, when testing through "Test LLM" (via text chat) , the related chunk appears in the next message sent rather than in the message of the question itself . For example, if you ask about WiFi and then ask about parking, the parking response will include the WiFi chunk instead of parking-related information . This issue appears to have emerged relatively recently, with users noting they hadn't observed this behavior until about 2 weeks prior to their reports . The Retell team has acknowledged similar knowledge base issues and has been working on fixes [(2) ]() . If you're experiencing this issue, I recommend: 1. Collecting your call ID for the problematic conversation 2. Noting your knowledge base ID 3. Contacting support with these details for investigation You can visit [Contact Sales]() or [) for additional support channels.
​ To learn more, see the sources I considered: [[1] Knowledge Base - RAG - Wrong Chunks](https://discord.com/channels/1186424376300679209/1351121214323822654) [[2] knowledge base missing chunks](https://discord.com/channels/1186424376300679209/1397593183210180690) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
x
@AI Evy how would i fix this
a
Thanks for the follow-up, @xmangomelon. I'll get back to you soon.
### Answer Based on the available sources, there isn't a definitive user-side fix for this knowledge base chunk retrieval bug. The community reports indicate this is a platform-level issue that the Retell team has been working to resolve [(1) ]() [(2) ]() . However, here are some potential workarounds you can try: Immediate Steps: 1. Collect diagnostic information - Note your call ID and knowledge base ID when the issue occurs [(1) ]() 2. Try recreating your knowledge base - Some users have attempted deleting and recreating their knowledge bases, though results have been mixed [(2) ]() 3. Test with different knowledge base formats - Users report that uploaded documents may work better than web page sources [(3) ]() Knowledge Base Structure Optimization: Based on the available guidance, ensure your knowledge base follows best practices [(4) ]() : - Keep individual knowledge base entries focused and well-structured - Use clear question-answer formatting when possible - Consider whether to use multiple separate knowledge base entries or combine related content into single documents [(5) ]() Contact Support: Since this appears to be a platform-level issue that the Retell team has acknowledged and been working on [(2) ]() , your best option is to report the specific instances with your call IDs and knowledge b
ase IDs. You can visit [Contact Sales]() or [) for support channels. The Retell team has indicated they've made fixes to knowledge base issues in the past , so reporting your specific case will help them address this retrieval timing bug.
​ To learn more, see the sources I considered: [[1] Knowledge Base - RAG - Wrong Chunks](https://discord.com/channels/1186424376300679209/1351121214323822654) [[2] knowledge base missing chunks](https://discord.com/channels/1186424376300679209/1397593183210180690) [[3] Knowledge base retrieval is not happening](https://discord.com/channels/1186424376300679209/1352014353922002975) [[4] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[5] Discord message from @pkleb on 2025-04-18](https://discord.com/channels/1186424376300679209/1294891368505937952/1362644989699559696) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
x
@AI Evy im not using web page sources mainly formatted text based files, is this a bug
a
Thanks for the follow-up, @xmangomelon. I'll get back to you soon.
### Answer Yes, this appears to be a confirmed bug affecting formatted text-based files as well [(1) ]() . The issue you're describing - where the knowledge base pulls chunks from the first question when answering the second question - has been documented by multiple users experiencing the same problem . One user specifically reported testing with a knowledge base composed of questions separated in files, where each question goes into a chunk, and they still experienced this timing issue where "the chunk always refers to the previous question and not to the one he is answering" . This behavior has been observed in the "Test LLM" (via text chat) where the related chunk appears in the next message sent rather than in the message of the question itself . Users have noted they hadn't observed this behavior until approximately 2 weeks prior to their reports, suggesting this is a relatively recent issue . The Retell team has acknowledged knowledge base issues and has been investigating them [(2) ]() . In some cases, file format issues have been identified as contributing factors - for example, when XML files were uploaded with .md extensions, causing processing errors . For your specific case with formatted text-based files, I recommend: 1. Collecting your call ID when the issue occurs 2. Noting your knowledge base ID 3. Checking that your file extensions match their actual format 4. Reporting the issue with these details to support You can visit [Contact Sales]() or [) for additional support channels.
​ To learn more, see the sources I considered: [[1] Knowledge Base - RAG - Wrong Chunks](https://discord.com/channels/1186424376300679209/1351121214323822654) [[2] Knowledge base bug](https://discord.com/channels/1186424376300679209/1395139321622958160) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.