https://discord.gg/botpress logo
Capture Information issue
# 🤝help
b
Hello, I currently have a major issue. I set up a capture information card in Single Choice mode. There are different buttons, and when those buttons are not selected and instead the user asks a question, the question is supposed to go to another node, as shown in the picture with the output circled in red. Unfortunately, when the user's question is similar to one of the button options, it selects the button instead of treating it as a question. Example: I have a button = "Book a room" The user's question is = "Can I book a room without a credit card?" Instead of answering the user's question, it takes the "Book a room" path. How can I prevent the AI from interfering here? Thank you. https://cdn.discordapp.com/attachments/1368147679703466045/1368147680143999096/image.png?ex=68172a51&is=6815d8d1&hm=892d4cc2c26eaad5c55633ad079d6116b933a591da90d631fafc3acf34ab7d8b&
l
@big-wire-17689 - I did answer your question of why it takes a path based on the users input. In this case it will still take a path. if you want the bot to answer AI has to interfere and provide an answer from the knowledge base, you have disabled KB search on this card
b
That's what i did, and the problem is the same
I think that's a new bug. Because i didn't see this issue before
l
did you enable KB search?
b
No i disable it
l
can you enable and try, it ideally should work
b
it work but it do both
answer question and go to the path
I need to have something clear: if the buttons are not selected and the user asks a question (even if it's related to one of the buttons), it should go to a specific node to answer the question.
l
Instead of Single Choice try Raw input
b
With Raw Input, it works. However, what no longer works is when the language changes and the translation agent steps in to translate the buttons. Everything works fine up to that point, except when a translated button is clicked — the path is not recognized. Example: Original button (Bonjour): when you click it, the flow goes to the correct defined path. Translated button (Hello): when you click it, it doesn’t recognize the path because it’s expecting "Bonjour" and not "Hello".
l
what do you see in the logs? it should ideally have worked, since you are clicking on a button
b
I see anything special in the log
"Yes, learn more" it's "Oui, en savoir plus" translated but when i click on the translate button it goes to the third exit and not the first @User https://cdn.discordapp.com/attachments/1368147679703466045/1368191974162563245/image.png?ex=68175392&is=68160212&hm=a84289fe87292f65208ebd1c665b0be93c59130ae188166c6b20a07011384cb0&
l
I tried this yesterday, however in my case only the prompt was translated the options remain in the original language, hence could not replicate your use case
b
Can i send you my bot template ?
l
sure
b
I sended you a friend request