Genesys Cloud - Main

 View Only

Sign Up

  • 1.  AI Studio not getting the same respond from data action

    Posted 08-15-2025 14:41

    Hi,

    For some reason my AI Studio when calling my data action is not returning the same value as if I execute the data action manually.

    For example the AI Studio capture street number and postal code properly and combine both variable into a single variable call SearchTerm (Same input variable name as in the data action).

    I'm able to confirm that the combine value is "5820H1K2Z7".

    The AI Studio respond after calling the data action is: 5820 Main Street - Anytown, ON, H1K 2Z7

    The data action respond when running it manually is: 5820 Av Azilda - Anjou, QC, H1K 2Z7

    I can't understand where the discrepancy is coming from....


    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Sebastien Arpin
    Sales engineer
    ------------------------------


  • 2.  RE: AI Studio not getting the same respond from data action

    Posted 08-17-2025 16:49

    Hi Sebastien, seeing as it also returns a completely different province in AI Studio, and the "Anytown", how certain are you that it is actually calling the same data action?



    ------------------------------
    Vaun McCarthy
    ------------------------------



  • 3.  RE: AI Studio not getting the same respond from data action

    Posted 08-18-2025 07:43
    Edited by Sebastien Arpin 08-18-2025 09:00

    Hi Vaun,

    I'm 100% certain as its the only data action proving this kind of information and its the only data action use in the prompt.

    I also did another test using message flow, and again the result are not correct but this time the result is different. Look like an hallucination to me..

    SearchTerm(merge of the postal code and address number, use as input for the data action): 5820H1K2Z7
    postalCode(capture by the bot): H1K2Z7
    FullAddress: 5820 Main Street - Montreal, Quebec, H1K2Z7
    addressNum(capture by the bot): 5820
    Again if I run manually the data action with 5820H1K2Z7, I'm getting the right address: 5820 Av Azilda - Anjou, QC, H1K 2Z7



    ------------------------------
    Sebastien Arpin
    Sales engineer
    ------------------------------



  • 4.  RE: AI Studio not getting the same respond from data action

    Posted 08-18-2025 17:47

    Bing shows H1K 2Z7 as Montreal, Quebec...



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 5.  RE: AI Studio not getting the same respond from data action

    Posted 08-19-2025 07:36
    Edited by Sebastien Arpin 08-19-2025 08:51

    If Genesys AI Studio query the Web and not the data action your asking to use... then we have an issue! The Data Action I'm calling is taking full addressee from Canada Post API.



    ------------------------------
    Sebastien Arpin
    Sales engineer
    ------------------------------



  • 6.  RE: AI Studio not getting the same respond from data action

    Posted 08-18-2025 21:34

    Are you outputting as a variable the input the guide is using just to ensure it is really using the same input?

    Have you tried asking the guide to provide the exact output from the data action, unchanged and unedited. Just to be explicit about getting the raw data back? 



    ------------------------------
    Anton Vroon
    ------------------------------



  • 7.  RE: AI Studio not getting the same respond from data action

    Posted 08-19-2025 08:14

    I just did another test by being more explicit into the prompt to use raw data of the data action output. It work once and on my next try it failed again... I'm not getting the same experience from one test to the other... even the wording changes. 



    ------------------------------
    Sebastien Arpin
    Sales engineer
    ------------------------------



  • 8.  RE: AI Studio not getting the same respond from data action

    Posted 08-19-2025 10:15

    When you look at the Execution Data in the architect flow, what does it show in Communication and the variable values for input to and output from the Data Action?

    Guides are not good for reproducing a specific format every time for a response - they are designed to be conversational, so if you want to use the exact same format every time (say, for displaying a specific address format or presenting a disclaimer message with specific wording) you need to us a Virtual Agent or standard bot functionality to do so outside of the Guide, and just use the Guide to gather information. Hybrid flow.



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 9.  RE: AI Studio not getting the same respond from data action

    Posted 08-19-2025 22:10

    @Sebastien Arpin You mentioned "even the wording changes." 

    Yes...that is the benefit of using a Guide...the response wording can change every time because it is conversational, not set in stone. 



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------