Disambiguating intents
# 🤝help
e
I have intents that look a lot like each other, specially the first word. How can I check if the bot is not 100% sure of the intent, and if so proceed to a disambiguation node to prompt the user which of the actions they want to take?
a
You could probably make a "Before Outgoing Message" or "After Incoming Message" hook that looks in the
event.nlu
object for confidence. I'm just not sure how you would redirect or change the decision. Maybe you could try setting
event.nlu.decision
to None? I'm just brainstorming here, but that's the direction I'd start in, @early-train-33247
e
Okay, will try this out, tx!
2 Views