Bot doesnt capture intent
# 🤝help
e
Evening legends. Just ran into a problem. I have added a chatgpt style ai loop for my specific use case in a single node, but it fails to capture intent. It captured the intent correctly in that node prior to me changing the ai task within that node. Don't know what to do 😦 thanks in advance!

https://cdn.discordapp.com/attachments/1140711991674142720/1140711991971958885/Screenshot_2023-08-14_at_20.17.26.png

f
Hey, what are you doing with the AiAnswer card? and when you say that it fails, what is happening exactly?
e
Hey sorry for late reply, I am using this aianswer card to give the ai a personality (a physical therapist) and to answer the users questions. I kind of fixed it by disabling the translator agent and changing the intents to english. But then I can't use it anymore since the whole bot is in Dutch. So I didn't actually fixed it for my use case haha
f
So you're saying that the translator agent is preventing the input capture card from working? Let try to reproduce that and get back to you
Hey, I tried testing on my end and it seems that your problem is that your intents don't match the user's language, is that correct?
So if I use english intents
no, never, etc
and I'm talking to the bot in french the transitions will not work because the intents don't catch
If you want better coverage, as in, if your bot will be talking in a lot of languages, you should try using an ai task to trigger a transition instead of an intent
e
Hey, yes I tried different things, and now it seems to be working. I changed the intent to a single word. I am talking to my bot in Dutch and the intents are in Dutch as well. Sometimes it still doesnt catch the intent but its much more consistent now
How exactly would that work? I tried something like this. I used ai task to let de ai say a certain phrase whenever that intent should be caught and then used expression card whenever that phrase would be spit out by the ai it would change nodes
f
Did this work?
What are the cases where it fails?
e
Kind of. But I fixed it now 🙂 for some reason only using a single word as the top intent did the trick. From "Make appointment" to "Appointment"
f
Great
22 Views