Voiceflow PartnersVPVoiceflow Partners
Powered by
nursing-limeN
Voiceflow Partners•2y ago•
3 replies
nursing-lime

Creating Memory for a Bot Referencing a KB

I am making a bot to help customer service agents get information on different products quickly while they are on a call with customers. In order to make the conversation more natural I want to use memory so that the bot knows that if the user asked about the product "Blood Sugar Protector" then the follow up questions would also be about "Blood Sugar Protector"...

For example:

Q: "What is Blood Sugar Protector?"
A: "Blood Sugar Protector is a blood sugar supplement..."

Q: "What ingredients does it contain?"
A: "Blood Sugar Protector contains..."

Q: "What are some benefits?"
A: "Benefits of Blood Sugar Protector include..."

The way I set this up is to set the question i.e. {last_utterance} to a new variable {memory} in one block and then instruct my response AI block to answer {last_utterance} based on the variable {memory} in the next block.

When the user goes to ask a second question I push the bot again to the response AI block hoping that it'll use memory to answer the question without the user needing to specify the product name again. This flow is on a loop so the user can keep asking questions.

This set up has been working for the second question every time but on the third and fourth question the bot sometimes forgets the context and answers the question referencing a different product than what was initially asked in the first question.

Any idea what's going on or how I can trouble shoot this?

Thank you all in advance
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

KB Memory
technological-jadeTtechnological-jade / ❓┃ask-a-question
3y ago
_memory_ & KB tags
awake-maroonAawake-maroon / ❓┃ask-a-question
3y ago
vf_memory without KB info etc...
MoDaQuiMMoDaQui / ❓┃ask-a-question
5mo ago
KB optimization for FAQ
technological-jadeTtechnological-jade / ❓┃ask-a-question
3y ago