Loading...
Loading...
Loading...
In Architect, you can use a grammar-based automatic speech recognition (ASR) third-party engine, for example Nuance Recognizer as a Service integration, to customize grammar recognition and capture the result. Currently, you can use Nuance only.
Add the grammar-based Nuance Recognizer as a Service integration and then choose from the Nuance voice and language options in Architect’s Ask for Slot action for Genesys Dialog Engine Bot Flows.
<?xml version="1.0" encoding="UTF-8"?><grammar xmlns="http://www.w3.org/2001/06/grammar"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/06/grammar http://www.w3.org/TR/speech-grammar/grammar.xsd"
version="1.0"
mode="dtmf"
xml:lang="en-US"
tag-format="semantics/1.0"
root="ROOT">
<rule id="ROOT" scope="public">
<one-of>
<!-- checking-->
<item>
<one-of>
<item>1</item>
</one-of>
<tag> out = "checking" </tag>
</item>
<!-- savings-->
<item>
<one-of>
<item>2</item>
</one-of>
<tag> out = "savings" </tag>
</item>
</one-of>
</rule></grammar><?xml version="1.0" encoding="UTF-8"?><grammar version="1.0"
xmlns="http://www.w3.org/2001/06/grammar"
mode="voice"
xml:lang="en-US"
tag-format="swi-semantics/1.0"
root="ROOT">
<rule id="ROOT" scope="public">
<one-of>
<!-- checking-->
<item>
<one-of>
<item>
<item repeat="0-1">
<one-of>
<item>a</item>
<item>the</item>
<item>my</item>
</one-of>
</item>
<item>
<one-of>
<item>checking</item>
<item>check</item>
</one-of>
</item>
<item repeat="0-1">account</item>
<item repeat="0-1">please</item>
</item>
</one-of>
<tag> SWI_meaning = "checking" </tag>
</item>
<!-- savings-->
<item>
<one-of>
<item>
<item repeat="0-1">
<one-of>
<item>a</item>
<item>the</item>
<item>my</item>
</one-of>
</item>
<item>
<one-of>
<item>savings</item>
<item>saving</item>
</one-of>
</item>
<item repeat="0-1">account</item>
<item repeat="0-1">please</item>
</item>
</one-of>
<tag> SWI_meaning = "savings" </tag>
</item>
</one-of>
</rule></grammar>Click the image to enlarge.
To add an uncompiled grammar to Architect, follow these steps:
grammars.grxml.upload.bytes.max in Limits in the Genesys Cloud Developer Center.grammars.gram.upload.bytes.max in Limits in the Genesys Cloud Developer Center.Get user feedback about articles.