Can't make Intention card working correctly
# 🤝help
c
I have a simple use case for an intention card. Need to detect an inquiry about price of a product. Can't be simpler than that. Whatever I try - does not work. Just doesn't detect the pricing inquiry intention. Please help.

https://cdn.discordapp.com/attachments/1133474110979178676/1133474111549612122/image.png

f
Hi, What statments did you use for the inquiry?
c
Here is a simple flow. (Actual pricing info is coming from KB, but the intent card doesn't detect pricing inquiry there.) I tried many expressions in the intent card - it can't figure it out!

https://cdn.discordapp.com/attachments/1133474110979178676/1133576033824682014/image.png

https://cdn.discordapp.com/attachments/1133474110979178676/1133576034109882378/image.png

f
First the number of the utterances is not enough, I would recommend to increase that to 20
Second, do you have multiple products or only one?
c
I can't even come up with 20 utterances. It's just a pricing thing - "how much?" , "what's the price?" - I can't imagine too many more. It makes no sense that it can't recognize pricing inquiry intention.
f
Why don't you use the AI Task and prompt it with something like:
Check if the user intention is to ask about the pricing. If yes then store 'true' in 'intentionPricing' variable, if no then store 'false' in 'intentionPricing' variable. Also extract from the user input, what product are they asking about and store it in the 'intentionProduct' variable
Then create those two variables, the first 'intentionPricing' of type boolean, and 'intentionProduct' of type text or string
c
I probably can, but intent card if a simple and useful tool. I am trying to figure out how to use it. After all it seems to malfunction in such a simple case.
got it. thank you. (AI card works just perfect for that - took me a minute to make it working...)
6 Views