Bot is treating Multiple Choice as Knowledge base ...
# 🤝help
p
I want the option of having KB enabled and able to click a multiple choice if they'd like. The problem i'm having is the bot is treating the click of a button as a request ot the knowlege base. What code would I use for the bot to ignore "Tech info" for example and not ask the knowledge base
a
Hey @powerful-helicopter-39371 👋 have you tried using the new Knowledge Agent configuration setting Answer Manually? Might be a good workaround. Here's a rundown of how it works: https://discord.com/channels/1108396290624213082/1116045108614287380/1122958978905804832
p
Hey @acoustic-hair-60678, I haven't but i'm a bit confused by the Answer Manually config, is this some sort of code to put inside of an expression?
a
Yes, the Answer Manually config makes it so that KB answer is saved in the variable {{turn.KnowledgeAgent.answer}}. To have it show up in the convo you'd have to put that variable inside of a Send Message card for example
b
@acoustic-hair-60678 like this?:
I cannot get my bot to retreive from the KB for the life of me since they released the manual answering.
I also put that var in the AI Task Input
I tried adding a Text card thinking i may be storing the var wrong but its not resolving the issue
a
Let me see what's going on!
@bulky-television-29485 this convo pattern is related to the type of behavior you want for your bot: https://discord.com/channels/1108396290624213082/1124468589559283723/1124470866940538920
p
@acoustic-hair-60678 Excuse my ignorance but i've basically got to have one node which has the question, then the next node will have a send text node that includes {{turn.KnowledgeAgent.answer}}, I understand it stores the information of the answer, but how do I tell the bot to reply or not to reply
12 Views