RobertF
RobertF3mo ago

Why doesn't my knowledge base search work?

I'm trying to duplicate this lesson on Querying the Knowledge Base. I've followed the instructions but it's not working. Can anyone tell me why? Here is what's happening. https://ibb.co/tgBhwDx I've built the KB using Voiceflow's documentation. https://ibb.co/TxTqQkgV I save the entire user reply to {last_utterance} in the Capture step. https://ibb.co/fVhShF5f I create a KB Search step to search the knowledge base using {last_utterance}. https://ibb.co/3Y16hhbY I use a Prompt step to generate an answer. https://ibb.co/60N1Gzv2 Here's the prompt. https://ibb.co/VcfPjyH2
2 Replies
Steve B. | IntelleSync.ai
@RobertF Looking at your prompt, you've only provided the data but haven't given any instructions on what to do with it. Also no need to link to images you can attach them directly to your post.
RobertF
RobertFOP3mo ago
Thank you for your reply. I followed the tutorial to the letter but I get a different result. Are you saying I need to add another block, or step to one of the existing blocks, to give instructions on what to do with the data? Also, I don't quite understand what you mean by attaching images directly to the post. I'm a bit of a Discord noob. Thanks again. I found the solution on my own. I had to enter a Prompt step right after the first Knowledge Base step with input set to {last_utterance} and output set to {response}. I deleted the separate Prompt step block. I still don't how to handle the Not Found step in this new configuration, but that's a problem for another day.

Did you find this page helpful?