https://retellai.com/?utm_source=discord&utm_medium=seo logo
Agent fails to read the whole database
# ❓・bug-report
v
Agent fails to read the whole database, reading chunk 1 only and therefore gives wrong data to the caller. Also, agent sometimes can't read all files from database. Why is this happening and how can it be fixed? Call ID: call_d11b2d4c1fc1e7a60d21cc4dd1c
i
@Omar Ashraf | Community Lead could you please check this?
o
Hello @vladimirdujin_29201 , @id081198 I hope you guys are doing fine
Can you share a screenshot of what you mean
i
@Omar Ashraf | Community Lead thanks, we are doing fine. Hope you're doing well to. Sure, so the first image is where the agent retreives just chunk 1 and that is where issue occurs. Because he did not retrieved whole database (as in exampple 03.png) so he did not find answer to the question asked and just made up something. In the image 04.png are our database settings. https://cdn.discordapp.com/attachments/1435243420053540997/1436078073962299544/02.png?ex=690e4b6d&is=690cf9ed&hm=e4575e0743ce836bdb62e38c5873c278d43145e7a6fbf56f10589f027a00b080& https://cdn.discordapp.com/attachments/1435243420053540997/1436078074289590293/03.png?ex=690e4b6d&is=690cf9ed&hm=55a1584bc3b9da79fad10e191c6a1d0ffef9958cbc27fb82bda4257e264d49d7& https://cdn.discordapp.com/attachments/1435243420053540997/1436078074591707217/04.png?ex=690e4b6e&is=690cf9ee&hm=59706ae8f1b2e90208b7cb72cef8278ca5ec42c7945a71423d6a96f3ca645076&
Hi @Omar Ashraf | Community Lead any news on this? We are having a real trouble with our clients because agent just does not use the database. We need here some resolution ASAP.
Now the agent stopped using database completely. Please check this screenshot. We can provide more data if necessary, but this one was a disaster. https://cdn.discordapp.com/attachments/1435243420053540997/1437727971489087519/01.png?ex=69144c04&is=6912fa84&hm=9feda6f3e72c48b2fd01b8ef014dabbc4c983f8f8c0ef9a306137af754f52bf3&
a
@Omar Ashraf | Community Lead I also face this same issue where the knowledgebase retrieval doesnt even work for every node. call_29d8f3352c88153fd348397a98f
o
Hello Guys , you can increase the Chunks to retrieve a little bit and decrease the Similarity Threshold.
i
Hi Omar, settings change hepled with finding the correct answer to the question,Tnaks! But as you see in the second message sometimes the database is not being called at all - in this screenshot not even once (it should be called each time before the agent answers) and that is really problematic. Do you knw how to fix this? Were there some changes on your side regarding database calls?
o
Hello @id081198 , what type of agent is this ?
i
Hi @Omar Ashraf | Community Lead it is a conversational flow agent