https://retellai.com/?utm_source=discord&utm_medium=seo logo
Agents do not consult the knowledge base
# ❓・bug-report
c
I need your help. My agents stop working for extended periods if I make even minor changes to the agent or the prompt, and it's because they're not querying the knowledge base. One agent that was working perfectly stopped working after I only changed the voice prompt. In another case, I adjusted a function, and the same thing happened. It never queries the knowledge base, and it's causing me a lot of problems. I came across your solution because it seemed like the best, but you've only been charging me for testing (which I find ABSURD). It hasn't even started making real-time calls, and the knowledge base query keeps stopping. What do I need to do to make it work? I was told the problem was that I was using an XLS file. I switched to a Drive XLS file, and it was the same. Then I was told I needed a .doc or .pdf file so it could better read the context, but that didn't work either. I was told to try an .md file, and that it wouldn't fail... and it still doesn't work! I'm desperate, I don't know what to do to make it work. https://cdn.discordapp.com/attachments/1439549867583213588/1439552324568743966/KB.jpg?ex=691aef13&is=69199d93&hm=db1e2fd906a7b97757e308c7e422bca6d719f6321d43a4e3cc64e3ceeb21a0a1&
And before you tell me I don't have the knowledge base linked, here's the proof: when I force the agent to consult the knowledge base, it always says the same thing: "I don't have direct access to that database from here right now," but it's clear that it does have access and it is linked.
s
Hi @confident_hummingbird_64643
Have you mentioned exactly where to trigger knowledge base search
Is this kn base file is big file have alot of data inside ?
c
Yes, the prompt clearly defines when and how to search the knowledge base for information, and no, it's not too much information; it's a table of properties for sale. In an XLS table, it's 13x23, or in the case of an .MD file, it's only 15.7 KB.