Original Message:
Sent: 07-23-2025 03:13
From: Shubham Dhareshwar
Subject: Not able to identify intent using ASK FOR INTENT for collecting account number
Thanks for the reply Jason.
Initially the regex that i was using was ^\d{6}$ and still it was not working .Now as per your suggestion i used ^[0-9]{6}$ as well still the issue persists the same. It is not classifying as the utterances are numeric for all intents ,might be Genesys inbuilt NLU model not able to classify.
Could you please help me further solution as I am doing the correct regex pattern earlier as well.
------------------------------
Shubham Dhareshwar
NA
Original Message:
Sent: 07-22-2025 13:51
From: Jason Kleitz
Subject: Not able to identify intent using ASK FOR INTENT for collecting account number
Hello Shubham,
You may want to revisit your regex. If you are searching for a 6 digit number, it will be found within an 8 or 10 digit number.
For instance, ^[0-9]{6} will check for a 6 digit number at the beginning of a line. This will include the first 6 digits of an 8 and 10 digit number as well.
If you are looking specifically for ONLY 6 digits, you would need something like this ^[0-9]{6}$ to exclude any further digits afterwards. I've included a link to regex101 for both of those expressions that show how the expressions will include and exclude a few different digit lengths.
------------------------------
Jason Kleitz
Online Community Manager/Moderator
Original Message:
Sent: 07-22-2025 13:09
From: Shubham Dhareshwar
Subject: Not able to identify intent using ASK FOR INTENT for collecting account number
Hi Team,
I am working on Genesys Bot flow where i need to collect and classify account number based on their length 6 digit ,8 digit , 10 digit etc.
Initially i tried using multiple intent (eg. sixdigitintent, eightdigitintent , tendigitintent) with regex based slot types ,however it is misclassification when user enters the number .For example , if user enters 8 digit in ask for intent , still it sometimes identifies sixdigitintent which is wrong.
I explored using ask for intent block to capture number but unable to classify numeric utterances with its length ,please let me know any best practice to achieve this functionality.
Thanks for help in advance.
#ConversationalAI(Bots,AgentAssist,etc.)
------------------------------
Shubham Dhareshwar
NA
------------------------------