Knowledge base responding on selection
# 🤝help
g
Faced an issue where you enable knowledge base on a node and also ask options, then on typing question....it respond from KB and also give the options again. I want that when user type question it gives answer from KB only and in case of clicking option, it follows the flow. Anyone faced such an issue? If yes, how you solved it?
f
Could you share a picture of your workflow or the bot? Are you usign a single choice or? Also how are your nodes setup from start to end?
g
Hi @fresh-fireman-491 It is single choice. I want to move to specific nodes when any option is selected. Although when instead of selecting any option, If user entered some text in input box, then display the text came from knowledge base and move to different card. Kindly guide or share some sample code to solve this problem.

https://cdn.discordapp.com/attachments/1143839081118318663/1143974664746569838/image.png

f
I think it should answer it
Acutally. I think i was to fast there. I would do it differently since its a single choice card i believe.
I would simply just use the answer manually feature under the knowledge agent

https://cdn.discordapp.com/attachments/1143839081118318663/1143984407217188936/image.png

g
I tried Answer manually option, didn't work for me. When I provide any text input instead of selecting an option, bot press selects an option by itself (best matching) and flow moves towards next node for selection, instead of moving to next card after single choice card.
f
yea that is true and i face the same issue. You could add retries maybe?
g
Retries are not suitable for my use case. I just want a simple flow. 1. If user selects an option -> moves to next node pointed by selected item. 2. Instead of selecting, if user entered some text, provide response from knowledge base.
f
Oh i see.
Im having a bit of the same issue. If i find a solution to it i will let you know
g
Cool, thanks @fresh-fireman-491
Hi @fresh-fireman-491, I am able to solve this issue. I have set advanced setting options in single select with number of retries to 0. This will stop bot from selecting best suited option.
f
Ah okay. Thank you