Intent is not working.
# šŸ¤help
e
Hey, I have two nodes which are exactly the same, however, the intent in one of them does not work as shown in the picture.

https://cdn.discordapp.com/attachments/1133157080950394960/1133157081176883220/IMG_4080.jpgā–¾

???
@bright-magazine-792 @early-train-33247 @bumpy-butcher-41910 @crooked-van-25152 @User @User @User
The intent just wonā€™t work in my chatbot, it only works on one node, the rest of them it works sometimes and other times it doesnā€™t, I can write the intent word for word and it still wonā€™t process it.
r
@eager-australia-26534 are the two intents "inline", or are they "library" ? if they are the same intent, they must be in the library and not inline, because otherwise they will compete between each other in the same workflow
e
Neither of them are in the library, however, I have two other nodes which also both have a ā€˜humanā€™ intent and neither of them work even though they are in the library. Even if I write the things word for word the intent still does not trigger.

https://cdn.discordapp.com/attachments/1133157080950394960/1133536909856092160/IMG_4088.jpgā–¾

https://cdn.discordapp.com/attachments/1133157080950394960/1133536910363594822/IMG_4089.jpgā–¾

r
@eager-australia-26534 can you check here and show me the content of intents and elected facts when the intent fails?

https://cdn.discordapp.com/attachments/1133157080950394960/1133537935573135380/image.pngā–¾

e

https://cdn.discordapp.com/attachments/1133157080950394960/1133543250788098118/IMG_4090.jpgā–¾

https://cdn.discordapp.com/attachments/1133157080950394960/1133543251136233584/IMG_4091.jpgā–¾

r
@eager-australia-26534 need it expanded like in my screenshot
e
Apologies, here you go.

https://cdn.discordapp.com/attachments/1133157080950394960/1133548358800265326/IMG_4092.jpgā–¾

https://cdn.discordapp.com/attachments/1133157080950394960/1133548359131594823/IMG_4093.jpgā–¾

Also side note, Iā€™ve now turned everything into a library intent, before I sent you these last 2 JSON log pics.
r
@eager-australia-26534 thanks, can you also expand the first 2-3 items inside "top facts" ?
e
There you go, appreciate the time youā€™re taking out to help me šŸ¤ŸšŸ½

https://cdn.discordapp.com/attachments/1133157080950394960/1133551151653064764/IMG_4094.jpgā–¾

https://cdn.discordapp.com/attachments/1133157080950394960/1133551151988617246/IMG_4095.jpgā–¾

r
oh! it seems like you have two conflicting intents indeed. can you check and make sure that insaide your library you only have have one "Main Menu" intent and that both transition cards are pointing to the same one?
e
I only have one intent in the library for Main Menu. Every single ā€˜main menuā€™ intent function in my workflow is connected to exactly this library intent.

https://cdn.discordapp.com/attachments/1133157080950394960/1133554189960740864/IMG_4097.jpgā–¾

Yea and both are connected to the main menu node.
Any update? @rich-battery-69172
b
Hey @eager-australia-26534 Did you gave me access to your workspace on intercom? I can recall this issue
c
@eager-australia-26534 sorry I had to delete your message since you added Rohan's email.
@eager-australia-26534 : Sure Rohan, Iā€™ve given you developer access on my bot, itā€™s called Original AirBnB Chatbot. Also I was experiencing another problem where AI Task is not returning the same answer in telegram as it is in the emulator.
e
Oh jeez I didnā€™t even clock that, thatā€™s my bad.
As Sabrina mentioned above, Iā€™ve shared the bot with you Rohan and given you developer access. (Original AirBnB Chatbot)
c
All good!
Rohan will probably get back to you later during the day. But he'll look into it, don't worry! We have busy schedules as you can imagine! Thanks for your patience @eager-australia-26534 šŸš€
b
hey
I did some fixes to your bot
can you test it now?
@eager-australia-26534
e
Will do.
Give me a couple minutes
b
sure
e
Hey Rohan, the main menu intent is only working on the nodes Question and MoreQuery, however it is not working on the nodes Activities and MoreActivity. Additionally the intent Human isnā€™t working either. If you could explain to me exactly why the intents are not working, maybe I could fix them myself.
b
we're fixing this issue. it is not able to display the detected intent. But the workaround I did is similar to it. an I'm using the detected intent's id from the JSON object for the transition expression
event.nlu.intents[0]?.id === 'ins-22db2f22c5'

https://cdn.discordapp.com/attachments/1133157080950394960/1133826754574819429/image.pngā–¾

can you check now? I fixed the other nodes as well
human intent works
e
The main menu intent is now working on all nodes , however, the human intent isnā€™t working on Activities mode or MoreActivity node as shown in the picture.

https://cdn.discordapp.com/attachments/1133157080950394960/1133827919312076971/IMG_4099.jpgā–¾

b
add your utterances here

https://cdn.discordapp.com/attachments/1133157080950394960/1133830907254550598/image.pngā–¾

it works if you just type
human

https://cdn.discordapp.com/attachments/1133157080950394960/1133831110703448145/image.pngā–¾

so you need to add more utterances to the intent to work properly
just like
Copy code
Hand me over to a real person
take me to a human agent
Can I speak to human?
e
It still isnā€™t working properly. Iā€™ve added up to 20 utterances. Iā€™m saying the utterance word for word yet it still doesnā€™t trigger.

https://cdn.discordapp.com/attachments/1133157080950394960/1133832576637865984/IMG_4101.jpgā–¾

b
can you test it now?
e
Still not working.

https://cdn.discordapp.com/attachments/1133157080950394960/1133834212189929532/IMG_4102.jpgā–¾

b
try refreshing

https://cdn.discordapp.com/attachments/1133157080950394960/1133834451827306577/image.pngā–¾

e
Started as new user, it is still not working.

https://cdn.discordapp.com/attachments/1133157080950394960/1133835366659530752/IMG_4103.jpgā–¾

Itā€™s inconsistent even though Iā€™m saying it word for word. Itā€™s not case sensitive right with capital letters or anything?

https://cdn.discordapp.com/attachments/1133157080950394960/1133835663318462484/IMG_4104.jpgā–¾

b

https://cdn.discordapp.com/attachments/1133157080950394960/1133836594357473310/image.pngā–¾

how does it do here?
can you share a screenshot like i did?
e

https://cdn.discordapp.com/attachments/1133157080950394960/1133840062673604750/IMG_4105.jpgā–¾

Itā€™s still inconsistent
AI task is also considering something completely different as an intent to speak to a human. Nothing I said is even remotely related to the dictionary in the library for intern ā€œhumanā€

https://cdn.discordapp.com/attachments/1133157080950394960/1133959911563350036/IMG_4108.jpgā–¾

Hey @bright-magazine-792 if I want to add any other intents how do I go about doing that it they are not working in general. I have no clue how you made them work but I do not understand the code.
The intents are not working @bright-magazine-792

https://cdn.discordapp.com/attachments/1133157080950394960/1134555708571000842/IMG_4128.jpgā–¾

@rich-battery-69172
b
hello hello!
excellent timing, I just uploaded this:

https://www.youtube.com/watch?v=t5jALY0RlDAā–¾

let me know if this helps?
e
Hey @bumpy-butcher-41910 , I know how intents work and Rohan does too, I think the intent function itself might have a bug because it is just not working hereā€™s a pic of what Rohan did to my intent to try and make it work, however it still isnā€™t functioning properly, some of them work on and off while others donā€™t even work at all.

https://cdn.discordapp.com/attachments/1133157080950394960/1134602678022967487/IMG_4129.jpgā–¾

@bumpy-butcher-41910 If you go over my conversation with Rohan, you can see that my intents looked exactly as you want them to be before Rohan made the changes, they werenā€™t working before and they arenā€™t working now. I believe it might be a bug. Iā€™m not coming at Rohan, heā€™s a great dude and has helped me in the past to fix other problems.
e
Hey @eager-australia-26534 you could try deleting all of your global intents and intent expressions. Then adding them over again, using only global (library) intents!
e
I could but i want Rohan to take a look first as I donā€™t want to ruin what heā€™s done so far.
Hey @early-train-33247, I did exactly that just now, made a copy of my bot and deleted all the intents from nodes and library. I then added them back, however the problem still persists, the bot is not catching the intents even when I say the intent word for word. It just doesnā€™t trigger. It HAS to be a bug. @bright-magazine-792
Would you be able to take a look into this matter further @bright-magazine-792
@early-train-33247 & @rich-battery-69172 any update?
e
Alright @eager-australia-26534, thanks for testing this. I'm gonna create an task in our system about this issue!
e
Thanks @early-train-33247 however, how do I find a solution as of right now?
2 Views