Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Readback of Numbers using AI Guide

    Posted 23 days ago

    I am trying to get my AI Guide to readback a string of numbers stored as an input variable as individual numbers.  

    Example - variable is set as Integer with a value of 59956423.  The guide is reading back as 59 million, 564 thousand, 423.  I would like for it to read each number individually. Anyone have an example of how to do that?


    #AIConfiguration

    ------------------------------
    John Eyre
    Unknown
    ------------------------------


  • 2.  RE: Readback of Numbers using AI Guide

    Posted 22 days ago

    Hi João

    I think this happens because the variable is defined as an Integer, so the TTS engine reads it as a full numeric value (e.g., 59 million…).

    If you want it read digit by digit (5 9 9 5 6 4 2 3), you need to treat it as a string, not a number.

    Instead of using an Integer variable, store the value as a String.
    The TTS engine will then read each character individually.

    But, If you must keep it as a number, convert it to string and insert spaces between each digit before playback. For example: 5 9 9 5 6 4 2 3

    This forces the TTS to read each digit separately.



    ------------------------------
    Kaio Oliveira
    GCP - GCQM - GCS - GCA - GCD - GCO - GPE & GPR - GCWM

    PS.: I apologize if there are any mistakes in my English; my primary language is Portuguese-Br.
    ------------------------------



  • 3.  RE: Readback of Numbers using AI Guide

    Posted 22 days ago

    @Kaio Oliveira is spot on here. I would also recommend including:

    • A guideline at the top of your Guide instructions to always read that variable back as individual characters.
    • Instructions within the variable description that the input should be stored with a space between each character (to Kaio's point) or each character read back individually during playback.


    ------------------------------
    Brian T. Jones | Ascension | Senior Specialist - Technology | Colossians 3:23-24
    ------------------------------



  • 4.  RE: Readback of Numbers using AI Guide

    Posted 20 days ago

    Thank you both for throwing out some options.  Tried it as a string as well with no luck.  I had thought of the adding Spaces or comma's between the numbers, was just hoping to have it read it like I want. 

    Do either of you know where I can find some examples of a Guideline at the top of the guide? I have been getting most everything I need to work using the Description area of the Variables. 

    Here is the sting attempt. 



    ------------------------------
    John Eyre
    Unknown
    ------------------------------



  • 5.  RE: Readback of Numbers using AI Guide

    Posted 20 days ago

    Here's an example of a guideline I have at the top of a Guide where we were testing adding a space between each letter. I presume you could do the same for your number string.

    # You must store the caller's name with a space between each letter.



    ------------------------------
    Brian T. Jones | Ascension | Senior Specialist - Technology | Colossians 3:23-24
    ------------------------------



  • 6.  RE: Readback of Numbers using AI Guide

    Posted 20 days ago

    Thank you!!! Talk about a million ways to skin a cat, I was able to create a second variable as a string with the instructions to add a space between the digits. I then did a Store to both variables after collecting the number, this way my outputs are one in String Format for readback in the next guide, and one in integer format for a data action that needs to be performed. Now no need to manipulate one or the other after they exit the guide. 

    • Store in {{Variable.confirmationNumber}} and {{Variable.confirmationNumberString}}

    Also huge thank you for the # piece to set instructions, I have not found that or examples of it in any documentation. 



    ------------------------------
    John Eyre
    Unknown
    ------------------------------



  • 7.  RE: Readback of Numbers using AI Guide

    Posted 20 days ago

    Yeah--to your point, there wasn't any documentation that referenced the "guideline rules", so I didn't figure out the # part until they switched to Guides v2. I was generating a Guide from a prompt and saw it did that, so I kept doing it 😆



    ------------------------------
    Brian T. Jones | Ascension | Senior Specialist - Technology | Colossians 3:23-24
    ------------------------------