Difference between revisions of "DES/Current/Designer/SpeechGrammarsBar"

From Genesys Documentation
Jump to: navigation, search
(Published)
 
m (Ed.jamer@genesys.com moved page PEC-ROU/Current/Designer/SpeechGrammarsBar to DES/Current/Designer/SpeechGrammarsBar: Text replacement - "PEC-ROU/Current/Designer/" to "DES/Current/Designer/")
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Article
 
{{Article
 
|Standalone=No
 
|Standalone=No
|DisplayName=Grammars & Bots
+
|DisplayName=Speech Grammars
|TocName=Grammars & Bots
+
|TocName=Speech Grammars
|Context=Learn how to manage your Speech Grammars and Bot Registry.
+
|Context=A '''speech grammar''' defines the list of phrases or options that the caller can input when they use your application.
 
|ComingSoon=No
 
|ComingSoon=No
|Platform=PureEngage
+
|Platform=GenesysEngage-cloud
 
|Role=Administrator
 
|Role=Administrator
 
|Application=Designer
 
|Application=Designer
 
|Section={{Section
 
|Section={{Section
|alignment=Vertical
 
|structuredtext=From the '''Grammars & Bots''' menu you can manage your {{Link-SomewhereInThisManual|topic=SpeechGrammarsBar|anchor=Speech_Grammars|display text=Speech Grammars}} and the {{Link-SomewhereInThisManual|topic=SpeechGrammarsBar|anchor=Bot_Registry|display text=Bot Registry}}.
 
|Status=No
 
}}{{Section
 
|sectionHeading=Speech Grammars
 
|anchor=SpeechGrammars
 
 
|alignment=Vertical
 
|alignment=Vertical
 
|structuredtext=Click '''Speech Grammars''' to upload and manage speech grammars for use in your applications. Genesys Designer supports '''voice''' and '''dtmf''' speech grammars in either '''SRGS''' (GRXML) or '''SLM''' format.
 
|structuredtext=Click '''Speech Grammars''' to upload and manage speech grammars for use in your applications. Genesys Designer supports '''voice''' and '''dtmf''' speech grammars in either '''SRGS''' (GRXML) or '''SLM''' format.
Line 22: Line 16:
 
For example, an automotive company might upload a speech grammar that contains phrases that a caller might use when they contact the company, such as "I want the parts department" or "I am interested in buying a new car." Your application can use these phrases to determine the best routing target for this customer.
 
For example, an automotive company might upload a speech grammar that contains phrases that a caller might use when they contact the company, such as "I want the parts department" or "I am interested in buying a new car." Your application can use these phrases to determine the best routing target for this customer.
  
===Creating a Speech Grammar===
+
<br />
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Creating a speech grammar
 +
|anchor=create
 +
|alignment=Vertical
 +
|structuredtext=Click '''Add Grammar''' to create a speech grammar. In the pop-up window, enter a name for the speech grammar and click '''OK'''.
  
Click '''Add Grammar''' to create a speech grammar. In the pop-up window, enter a name for the speech grammar and click '''OK'''.
+
You can now upload your speech grammar file. In the '''Grammar detail''' area, click the '''Language''' drop-down to select the language of the speech grammar. Next, click the '''Choose file to upload''' button that appears when you hover over the '''No file''' text.  
  
You can now upload your speech grammar file. In the '''Grammar detail''' area, click the '''Language''' drop-down to select the language of the speech grammar. Next, click the '''Choose file to upload''' button that appears when you hover over the '''No file''' text. Choose a file to upload.
+
Choose a file to upload (note that the size of the uploaded file cannot exceed 10 MB).
  
After the speech grammar file has uploaded, you can click [[File:des_grammar_showcontents.png|link=]] to view the contents of the grammar file in a read-only window.
+
After the speech grammar file has uploaded, you can click the '''Show Contents''' button ([[File:Des_grammar_showcontents.png]]) to view the contents of the grammar file in a read-only window.
  
 
Next, you can tag the speech grammar or enter a description. You can also specify the format and mode of the speech grammar.
 
Next, you can tag the speech grammar or enter a description. You can also specify the format and mode of the speech grammar.
Line 34: Line 34:
 
{{NoteFormat|Genesys Designer does not validate the contents of the speech grammar. The '''Grammar Format''' and '''Grammar Mode''' settings only determine how Designer treats the speech grammar in an application.}}
 
{{NoteFormat|Genesys Designer does not validate the contents of the speech grammar. The '''Grammar Format''' and '''Grammar Mode''' settings only determine how Designer treats the speech grammar in an application.}}
  
When you are done, click '''Save''' to save your changes.
+
When you are done, click '''Save'''.
 
+
|Status=No
===Using Speech Grammars===
+
}}{{Section
You can use the {{Link-SomewhereInThisManual|topic=UserInput|anchor=top|display text=User Input}} block to reference your speech grammars in applications.
+
|sectionHeading=Using speech grammars
 +
|anchor=using
 +
|alignment=Vertical
 +
|structuredtext=You can use the {{Link-SomewhereInThisManual|topic=UserInput|anchor=top|display text=User Input}} block to reference your speech grammars in applications.
  
 
In the '''Input''' tab, you can select '''External Grammars''' and click '''Add Grammar''' to add your speech grammar to the block. You can use multiple speech grammars at once.
 
In the '''Input''' tab, you can select '''External Grammars''' and click '''Add Grammar''' to add your speech grammar to the block. You can use multiple speech grammars at once.
Line 43: Line 46:
 
In the '''ASR Settings''' tab, you can enable the '''Use application-wide ASR settings''' check box to use the default ASR (Automatic Speech Recognition) settings. You can define these settings by clicking '''Settings''' in the Toolbar.
 
In the '''ASR Settings''' tab, you can enable the '''Use application-wide ASR settings''' check box to use the default ASR (Automatic Speech Recognition) settings. You can define these settings by clicking '''Settings''' in the Toolbar.
  
Alternatively, you can disable the '''Use application-wide ASR settings''' check box to fine-tune the ASR settings for this '''User Input''' block.  
+
Alternatively, you can disable the '''Use application-wide ASR settings''' check box to fine-tune the ASR settings for this '''User Input''' block.
  
 
Refer to the {{Link-SomewhereInThisManual|topic=UserInput|anchor=top|display text=User Input}} block page for more information.
 
Refer to the {{Link-SomewhereInThisManual|topic=UserInput|anchor=top|display text=User Input}} block page for more information.
|Status=No
 
}}{{Section
 
|sectionHeading=Bot Registry
 
|anchor=BotRegistry
 
|alignment=Vertical
 
|structuredtext=The '''Bot Registry''' contains the bot resources you've defined. You can add them to your applications using the {{Link-SomewhereInThisManual|topic=BotBlock|anchor=top|display text=Bot block}}.
 
 
===Defining a new bot===
 
Click '''Add Bot Definition''' and enter the details for your bot. Give the bot a '''Name''' and select a '''Type''' from the list. Designer currently supports '''Lex''' (Amazon), '''Dialogflow''' (Google), and '''Dialog Engine''' (Genesys) bot types.
 
 
[[file:des_define_new_bot.png]]
 
 
{{NoteFormat|You must have an account with the provider of the selected bot type to configure the properties for your bot resource.}}
 
 
After you have added the bot to the registry, you can select it to configure and manage its properties.
 
 
[[file:des_bot_registry.png]]
 
 
|Status=No
 
|Status=No
 
}}
 
}}
 
}}
 
}}

Latest revision as of 13:57, April 21, 2021

This topic is part of the manual Designer User's Guide for version Current of Designer.

A speech grammar defines the list of phrases or options that the caller can input when they use your application.

Related documentation:

Click Speech Grammars to upload and manage speech grammars for use in your applications. Genesys Designer supports voice and dtmf speech grammars in either SRGS (GRXML) or SLM format.

A speech grammar defines the list of phrases or options that the caller can input when they use your application. You might use a voice speech grammar to tell your application which words or phrases might be used by the caller, to help the application determine how the call should be routed.

For example, an automotive company might upload a speech grammar that contains phrases that a caller might use when they contact the company, such as "I want the parts department" or "I am interested in buying a new car." Your application can use these phrases to determine the best routing target for this customer.


Creating a speech grammar

Click Add Grammar to create a speech grammar. In the pop-up window, enter a name for the speech grammar and click OK.

You can now upload your speech grammar file. In the Grammar detail area, click the Language drop-down to select the language of the speech grammar. Next, click the Choose file to upload button that appears when you hover over the No file text.

Choose a file to upload (note that the size of the uploaded file cannot exceed 10 MB).

After the speech grammar file has uploaded, you can click the Show Contents button (Des grammar showcontents.png) to view the contents of the grammar file in a read-only window.

Next, you can tag the speech grammar or enter a description. You can also specify the format and mode of the speech grammar.

Important
Genesys Designer does not validate the contents of the speech grammar. The Grammar Format and Grammar Mode settings only determine how Designer treats the speech grammar in an application.

When you are done, click Save.

Using speech grammars

You can use the User Input block to reference your speech grammars in applications.

In the Input tab, you can select External Grammars and click Add Grammar to add your speech grammar to the block. You can use multiple speech grammars at once.

In the ASR Settings tab, you can enable the Use application-wide ASR settings check box to use the default ASR (Automatic Speech Recognition) settings. You can define these settings by clicking Settings in the Toolbar.

Alternatively, you can disable the Use application-wide ASR settings check box to fine-tune the ASR settings for this User Input block.

Refer to the User Input block page for more information.

Comments or questions about this documentation? Contact us for support!