Jump to: navigation, search

Natural Language Audio Streaming Menu

Important

The Natural Language Audio Streaming feature is available only for Early Adaptor Customers and availability is under Product Manager Control. Contact your Account Executive for further information on using this feature.

The Natural Language Audio Streaming Menu microapp allows direct streaming of audio to Bot Engines using Nexus, GWS, and Google Dialogflow. Currently, Google Dialogflow Essentials is supported.

You can import the Natural Language Audio Streaming as a new product into Intelligent Automation and use it in your callflows.

Important
  • This feature does not support passing Intelligent Automation context to the Dialogflow bot.


Prerequisites for Audio Streaming

You must have the following prerequisites available and configured before you can use the app:

  • Genesys Intelligent Automation with Conversation AI Orchestration
  • Genesys Digital (Nexus)
  • Genesys Web Services and Applications 9
  • Genesys Voice Portal
    • The latest MCP Linux release (Windows is not supported)
    • Voice Self Service Applications
    • vXML Interpreter
  • Google Dialogflow

Configuring the Natural Language Audio Streaming Menu Microapp

To enable this feature, configure the following Server Settings:

  • Nexus Api Key - Enter the API Key to access the Nexus API.
  • Nexus BaseURL - Enter the URL of the Nexus server.

GAAP DefaultServerSettings NexusConfig.png

To allow GVP to invoke Nexus for audio streaming, Intelligent Automation uses the following VXML properties:

  • <property name="com.genesyslab.asrengine" value="nexus"/>
  • <property name="com.genesyslab.asr.botName" value="<bot-name>"/> - This property can be configured in the bot or intent settings.
  • <property name="com.genesyslab.asr.sessionid" gvp:expr="sessionid"/>
  • <property name="com.genesyslab.asr.x-api-key" gvp:expr="<apikey>"/>


After the options are configured, a new Bot Registry tab is available. the Bot Registry tab lists all bots that are available in the Nexus server.

GAAP BotRegistry.png

You can also add a new bot using the + Add Bot Details option.

Using the Natural Language Audio Streaming Menu Microapp

  • Navigate to Applications and select Create a new Menu.
  • Select the Natural Language Audio Streaming Menu Template option.
  • Enter a name for the new module and select Create.
  • Select the new module.

The audio streaming module has two additional tabs, Nexus Configuration and Show All Intents.

The Nexus Configuration tab displays the current Nexus configuration setting for the call flow.

GAAP AudioStreaming NexusConfig.png

If your callflow requires any additional configuration, you can override the settings configured in the Default Server Settings:

  • BotName - Enter the name for the Bot.
  • NexusAPIKey - Enter the API Key to access the Nexus API.
  • Nexus URL - Enter the URL of the Nexus server.

When enabled, the Use Nexus config in Default Server Settings setting will use the information configured in the Default Server Settings options.

You can also specify the maximum attempts values by enabling the Enable MaximumAttempts Counter field.

To allow unrecognized intents to be handled, enable the Enable unrecognized intent option. You can configure the module that will be triggered when an intent is unrecognized.

The Show All Intents tab lists all intents available for the bot.

Important
Intents cannot be configured from within Intelligent Automation. The intents are fetched from Nexus and available for use within GIA.

System Variables

<assign name="NLIntent" expr="nexus_form_Response.data.intent" />
<assign name="NLSlots" expr="JSON.stringify(nexus_form_Response.data.slots)" />
<assign name="NLTextResponse" expr="nexus_form_Response.data.message" />
<assign name="NLInputText" expr="nexus_form_Response.data.inputTranscript" />
This page was last edited on June 2, 2021, at 14:16.
blog comments powered by Disqus