Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to get auto speech adaption to work

(this is actually Dialogflow ES, wouldn't let me label it that way)

 

Trying to get dialogflow auto speech adaption to take a 9 digit number consistently when being spoken.  But no matter what I do it keeps trying to convert what I say to a 10 digit phone number (adding in extra numbers).  I am speaking as slow as I possibly can clearly delineating the numbers, yet it'll add an extra number randomly to make it a phone number.  Any assistance would be helpful.

I have a relatively empty dialogflow agent (enabled for ES/speech adaption/all the right settings turned on). with a single intent 

The single intent is set to highest priority, no input contexts, The NineDigitNumber entity is set up as a parameter that is marked as required, no matter what I do a number like 200733201 is getting turned into 2007-332-201.  I've tried using input contexts, spot filling, tried using synonyms to define (2007) as a prefix entity and 0-9 as "number" entities and do "@prefix @number @number" etc, nothing seems to work.  I have another entity where it starts R12345678 and that one works fine, i just can't get dialogflow to just stop turning 9 digit numbers into phone numbers.  Any ideas would be appreciated.  Even if there was a way to use CSTT rather than Dialogflow to do the transcription is acceptable, but needing to get the engine to preference a 9 digit response.

morelup_0-1675799979219.png

 

 

0 2 347
2 REPLIES 2

You may try using @sys.number-sequence as shown below on my test intent.

aaronscottb_0-1675892269352.png

This is the my output during my testing using speech adaptation:

 
 

Screenshot 2023-02-09 5.38.31 AM.png

 

You may refer to this documentation for more information. 

My issue is that i'm also doing alpha numeric, so I want the system to be aware that I want a specific length, and want possibly HA200733201.  And want it to only recognize exactly 9 digits no more no less......unless it begins with an R then 8 digits....