Page 1 of 1
Using <tag>
Posted: Fri Mar 31, 2017 3:25 pm
by clydewallace
I want to be able to set variable names based on inputs, and I wanted to know the format using fuse...
Here is how I am trying to use it now:
https://www.screencast.com/t/KJ2yhVhX2bv
Re: Using <tag>
Posted: Mon Apr 03, 2017 10:46 am
by support
Your grammar should be like this
Code: Select all
<grammar type="application/srgs+xml" root="ROOT" mode="voice">
<rule id="ROOT">
<one-of>
<item>Mister Ahmed<tag>providername="Fawad Ahmed"</tag></item>
<item>Doctor Ahmed<tag>providername="Fawad Ahmed"</tag></item>
</one-of>
</rule>
</grammar>
providername will be "Fawad Ahmed" if the caller says "Mister Ahmed" or "Doctor Ahmed"