Loading...
Loading...
Loading...
You can create an Architect bot and incorporate third-party ASR grammars for use with call flows. Create the bot from within the call flow, or create it separately and then call it from the call flow.
| Language | Region | Language tag |
|---|---|---|
| Basque | European Union | eu-ES |
| Catalan | Spain | ca-ES |
| Dutch | Netherlands | nl-NL |
| Chinese | Simplified - People's Republic of China | zh-CN |
| Traditional - Hong Kong S.A.R. | cn-HK | |
| English | Australia | en-AU |
| Great Britain | en-GB | |
| India | en-IN | |
| United States | en-US | |
| French | Belgium | fr-BE |
| Canada | fr-CA | |
| France | fr-FR | |
| German | Germany | de-DE |
| Switzerland | de-CH | |
| Galician | Spain | gl-ES |
| Italian | Italy | it-IT |
| Japanese | Japan | ja-JP |
| Korean | Korea | ko-KR |
| Portuguese | Brazil | pt-BR |
| Portugal | pt-PT | |
| Russian | Russia | ru-RU |
| Spanish | Spain | es-ES |
| United States and Latin America | es-US | |
| Valencian | Spain | va-ES |
Add your third-party ASR engine integration. The example in this article uses the Nuance Recognizer as a Service integration.
To configure the Nuance Recognizer as a Service integration for one Nuance language group, perform the following steps:
nr-apac4.api.nuance.com. nr-wu2.api.nuance.eu. For more information, see Language groups by region in the Nuance Recognizer documentation. nuance.eu, use the client ID of your mix.nuance.eu credentials. If the URI ends in nuance.com, use the client ID of your mix.nuance.com credentials.nr-apac4.api.nuance.com. If your bot only supports one language, use the URI of a language group that includes the language and is closest to your organization’s location. For example, if your bot supports fr-FR by default and your organization is based in Switzerland, use nr-wu2.api.nuance.eu. For more information, see Language groups by region in the Nuance Recognizer documentation. {
"endpointMappings": {
"ca-ES": "nr-wu1.api.nuance.eu",
"es-ES": "nr-wu1.api.nuance.eu",
"es-US": "nr-na1.api.nuance.com",
"gl-ES": "nr-wu1.api.nuance.eu",
"va-ES": "nr-wu1.api.nuance.eu",
"fr-FR": "nr-wu5.api.nuance.eu",
"en-GB": "nr-wu1.api.nuance.eu",
"eu-ES": "nr-wu1.api.nuance.eu"
}
}
nuance.eu, use the client ID of your mix.nuance.eu credentials. If the URI ends in nuance.com, use the client ID of your mix.nuance.com credentials.Add grammar from your third-party engine to Architect.
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="fruits">
<rule id="fruits" scope="public">
<one-of>
<item>apple</item>
<item>banana</item>
<item>blueberry</item>
<item>cherry</item>
<item>grape</item>
<item>peach</item>
<item>pear</item>
<item>pineapple</item>
<item>strawberry</item>
<item>watermelon</item>
</one-of>
</rule>
</grammar>The example in this article uses DTMF grammar. For details and an example of voice grammar, see Add a grammar for a bot flow in Architect.
Click the image to enlarge.
This procedure describes how to create a bot for an inbound call flow. In this example, build the bot flow to ask users what they want to do. They can pay their outstanding bill or order fruit.
Click the image to enlarge.
Click the image to enlarge.
Click the image to enlarge.
Click the image to enlarge.
Complete the bot configuration, then save and publish it.
Click the image to enlarge.
Create an inbound call flow that calls your new bot flow.
The following example flow illustrates a scenario where a customer calls a fruit company and the call transfers to the bot flow that you created in Section 3. If the bot detects that the customer wants to reach an agent, the call transfers to an appropriate queue. If the bot detects that the customer intends to place an order, the call transfers the customer to a secure call flow to complete the order, and passes information to the secure call flow about the customer’s fruit of choice and account number.
Task.ExitReason == "AgentRequestedByUser" in the Decision action’s Expression field. Task.Intent == "Fruit order" in the Decision action’s Expression field.Append(Task.FruitToOrder, ",", Task.CustomerAccountNumber)and then in the secure call flow, you can use the following to access them separately:Split(Flow.InvocationData, ",")[0] -> Fruit Type Split(Flow.InvocationData, ",")[1] -> Account Number
Now you can test and implement a bot flow that uses your third-party ASR grammar in an Architect inbound call flow.
Click the image to enlarge.
Get user feedback about articles.