Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Bot not recognizing letters correctly

    Posted 11-30-2023 18:28

    Hi, I'm working on building a voice bot to take a customer's tracking number and return the status of the shipment.

    I have the bot working, but sometimes I'm running into the issue where its not recognizing the input when someone says C (it thinks they said D or V) or an O (it automatically translates it to zero instead of the letter O). 

    Is there:

    a) a way that I can adjust how it resolves the speech input or 
    b) train it to not translate the letter O to a zero?




    Craig Gillett
    CEVA Logistics U.S., Inc.

  • 2.  RE: Bot not recognizing letters correctly

    Posted 12-09-2023 16:10

    The c and v issue is always going to be tricky.  How many times have you as a human has had to repeat or clarify letters like that or b and d and p?  If you want the best be sure to use a very strict REGEX pattern.   What are the patterns for the tracking number?


    /\b(1Z ?[0-9A-Z]{3} ?[0-9A-Z]{3} ?[0-9A-Z]{2} ?[0-9A-Z]{4} ?[0-9A-Z]{3} ?[0-9A-Z]|[\dT]\d\d\d ?\d\d\d\d ?\d\d\d)\b/


    /\b((98\d\d\d\d\d?\d\d\d\d|98\d\d) ?\d\d\d\d ?\d\d\d\d( ?\d\d\d)?)\b/



    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects

Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources