Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Cannot Upload Utterances using Language Understanding APIs

    Posted 05-19-2025 02:26
    Hello team,
    My Issue is related to the usage of the platform language APIs. My main purpose is to upload training utterances to the NLU model using the platform APIs.
    I created a digital bot flow, added an intent with more than 2 utterances, and saved the project.
    Then, to upload other utterances, I applied the following (in order):
    1- Using the (GET /api/v2/languageunderstanding/domains) endpoint, I successfully fetched the existing (draft) NLU domain information (See 1-NLU Domain Information.JPG)
    Thus, here are the domain info:
    Domain ID: ddced537-6240-4837-9b57-833c2fa2d358
    Domain Version ID: 765ae867-6c2c-4e4a-b74b-73629afdd060
    2- I used (GET /api/v2/languageunderstanding/domains/{domainId}/versions) endpoint to make sure of the current status of the NLU domain. It showed the utterances I uploaded using Architect. (See all_domain_versions.txt)
    3- I used the (PUT /api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}) endpoint to upload new utterances. I added two more utterances to the intent already existing (Place Order) and created a new intent with 2 utterances (see Update NLU Domain (Request).txt).
    The status code of my request was 200 with a response containing the updated information (See Update NLU Domain (Response).txt)
    The problem here is that the utterances I uploaded using the above steps don't show in the architect's intents section.
    I'll include all the mentioned attachments in a reply after submitting the ticket.
    Could you please support me here?

    #API/Integrations
    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Alaa Abbas
    ------------------------------

    Attachment(s)



  • 2.  RE: Cannot Upload Utterances using Language Understanding APIs

    Posted 05-19-2025 11:53

    Hi Alaa,

    I am going to move this to the Genesys Cloud Developer Community to see if they can help clarify the API and expectations from the request you ran.



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: Cannot Upload Utterances using Language Understanding APIs

    Posted 05-20-2025 06:01

    Thanks @Samuel Jillard



    ------------------------------
    Alaa Abbas
    ------------------------------