generous-apricot
generous-apricot15mo ago

Instructions for chatbot to understand word "OK"

My chatbot is working fine for the most part, but if someone replies with "OK" it responds with the standard response I have programmed it to respond with, if it doesn't understand. Through my Knowledge Base (Word doc) I am trying to get it to respond with something different if someone replies with "OK". I have tried explaining that OK is similar to THANKS, and I have also put in a Q & A if someone types in Q, but without success. Is anyone able to tell me what I am doing wrong?
No description
5 Replies
Tico | Voiceflow Assistant
The Knowledge Base (KB) in Voiceflow allows you to leverage your own documents and website data to power answers and define variables on your Voiceflow Assistant. When you upload a document, it is turned into 'chunks' or pieces of text. When a question is sent to the KB, it determines which 'chunks' are most similar. Then, the system combines those chunks, the question, the custom instructions, and system prompt you provided into a structured wrapper prompt. This entire package is sent to the AI model and an answer is returned. For example, if you're using Voiceflow with a chatbot and the user types something, the user's text request and current state are sent via webhook to the Dialog Management API. The Dialog Management goes through each block/flow and updates the user state. It generates a trace and new state of the user, and sends back a response. The client interprets the API response, and saves the new state to use with the next response. This process is repeated each time a user speaks/types to the prototype tool, to perform a conversation. If you're integrating Voiceflow with Telegram, for instance, you can replace the 'hi' utterance for a regex like '.+'. This means that the bot will hear for everything. All the text received will be passed directly to Voiceflow and then the state of the conversation is managed. Please note that all requests to any Knowledge Base APIs require a Dialog Manager API Key. To obtain this key, go to the Integration tab on the project you uploaded data sources to and click the Copy API key button.
flat-fuchsia
flat-fuchsia15mo ago
Where did you put this Did you put these instructions in the knowledge base?
generous-apricot
generous-apricotOP15mo ago
Hi Iziela, yes I put these instructions in the knowledge base (word doc)
flat-fuchsia
flat-fuchsia15mo ago
You aren't supposed to put response instructions in the knowledge base The knowledge base is only for pulling data based on a question It chunks So you should instead do that instruction in your AI step in System
Steve B. | IntelleSync.ai
@Jakeh Additionally to what @whipabenz has suggested, use your {vf_memory} variable to remind the AI on what conversation is taking place and to respond appropriately and then give it some examples. The more training you give it and direction the better the results.

Did you find this page helpful?