Harrison
Harrison3mo ago

Website Agent not pulling from knowledge base

Any help would be great. It seems like my widget agent isn't pulling information from the knowledge base when I ask it quesions. It just gives a generic answer. This isn't the case when I test it in voiceflow. When I test it in voiceflow, I get the correct answers. This wasn't the case a few days ago, either. Not sure what happened. It is published to production.
9 Replies
Tico | Voiceflow Assistant
Here are the quickest things to check when the chat widget suddenly stops using your Knowledge Base while the same project still works inside the Voiceflow test tool: 1. Verify the Agent step still has the Knowledge Base toggle ON in the version you published. • If you recently turned the toggle off (or duplicated the step) and hit “Publish”, the widget will load that new version and ignore the KB. 2. Make sure your latest change was published to the Production environment and that the web page is pointing to that same environment ID. • After each publish, clear the page cache / hard-refresh so the widget downloads the new script. 3. Use the KB “Preview” inside Creator for the exact user question. • If no sources are returned, the KB can’t find relevant chunks → refine the question or add more material. • If sources are returned but the agent still replies with a generic answer, the AI model judged that the answer isn’t inside those chunks. Try a different model or tweak your system / user prompt. 4. Confirm the “Not-found path” behaviour. • When enabled the user is routed to your custom “Not found” path; when disabled the assistant shows the default “Unable to find a relevant answer” message (docs.voiceflow.com › Knowledge Base > Debugging the KB). Typical fixes • Re-publish after re-enabling the KB toggle. • Add or re-chunk documents so the relevant text is easier to match. • Switch the Agent step to GPT-4 o or Claude-3 if the current model is too short-context. Links Docs – Knowledge Base & Debugging: https://docs.voiceflow.com/docs/knowledge-base#/
Docs – Agent step: https://docs.voiceflow.com/docs/agents#/
Voiceflow
Knowledge base
The Knowledge Base (KB) in Voiceflow is a vector database that allows you to leverage your own documents and website data to power answers and define variables on your Voiceflow Assistant. How it works At a high level, the KB functions in the following way When you upload a document, it is turned …
Voiceflow
Agent step
Handle user input, search the knowledge base, call tools, and follow exit conditions — all in one step
Harrison
HarrisonOP3mo ago
I've tried all of these things. It works correctly on voiceflow.com, but not on the website it's published to. @San any idea why this may be happening?
Pablo Pietropinto
Hi, im having the same problem my agent dont work anymore with KB on my website
Harrison
HarrisonOP3mo ago
Let me know if you figure it out. Thanks!
iljush
iljush3mo ago
Came here same thing 🙁 please also let me know once you found a solution. @Tico | Voiceflow Assistant maybe another idea? this seems to be a recent issue as well
mutiso_
mutiso_3mo ago
@Tico | Voiceflow Assistant I'm experiencing the same issue with the agent step. It retrieves from KB properly within the canvas but not in production, yet the KB is turned on within the agent step. This is a recent issue I'm facing and it's really a big huddle since I have a client meeting to showcase progress tomorrow morning. Kindly assist.
iljush
iljush3mo ago
I contacted support and referenced this chat, maybe it'll help
mutiso_
mutiso_3mo ago
Thanks @iljush, hopefully they come through.
rkb
rkb3mo ago
Hey guys - the issue has been identified and VF is working on it now. In the interest of not double-threading, keep an eye on this thread for updates: https://discord.com/channels/1079548823610871889/1419765518851768380 If you need anything regarding this topic, please use that thread (link above) and ignore this one Thanks!

Did you find this page helpful?