watsonx Assistant

 View Only

How to use Service Orchestration Engine (SOE)?

  • 1.  How to use Service Orchestration Engine (SOE)?

    Posted Wed November 01, 2023 09:44 AM

    I am trying to implement SOE to Voicegateway but have not been able to do so, the documentation is years old and has not been updated.
    I am using SOE through python. I updated the CONVERSATION_URL variable from: https://gateway.watsonplatform.net/conversation/api to the Watson Assistant URL: https://api.us-south.assistant.watson.cloud.ibm.com/instances/xxxxxxxx- xxxx-xxxx-xxxx-xxxxxxxxxxxx (Otherwise the proxy is not raised)

    I have this error:

    2023-10-31 17:45:45,443 - INFO - API Call -> SessionID: 8959ef96-0ac5-45f3-b3cd-115825eab47e
    2023-10-31 17:45:45,650 - CRITICAL - 


    Output node is not in the JSON object. Something serious is wrong

    2023-10-31 17:45:45,650 - INFO - 172.18.0.2 - - [31/Oct/2023 17:45:45] "POST /v1/workspaces/<CONVERSATION_WORKSPACE_ID>/message?version=2021-06-14 HTTP/1.1" 200 -
    2023-10-31 17:45:50,269 - INFO - API Call -> SessionID: 8959ef96-0ac5-45f3-b3cd-115825eab47e
    2023-10-31 17:45:50,350 - CRITICAL - 


    Output node is not in the JSON object. Something serious is wrong

    2023-10-31 17:45:50,350 - INFO - 172.18.0.2 - - [31/Oct/2023 17:45:50] "POST /v1/workspaces/<CONVERSATION_WORKSPACE_ID>/message?version=2021-06-14 HTTP/1.1" 200 -
    2023-10-31 17:45:51,644 - INFO - API Call -> SessionID: 8959ef96-0ac5-45f3-b3cd-115825eab47e
    2023-10-31 17:45:51,718 - CRITICAL - 


    Output node is not in the JSON object. Something serious is wrong

    2023-10-31 17:45:51,718 - INFO - 172.18.0.2 - - [31/Oct/2023 17:45:51] "POST /v1/workspaces/<CONVERSATION_WORKSPACE_ID>/message?version=2021-06-14 HTTP/1.1" 200 -

    When calling VGW it is not able to connect with Watson Assistant and it is not able to retrieve the welcome message for the TTS to synthesize audio

    Any ideas on how to solve it?
    Is there updated SOE documentation?



    ------------------------------
    Nigel Haro
    ------------------------------