I need to create an utterance where the user needs to say either a 4, 5 or 6 character code. Each code is alphanumeric.
How do I design the utterance so that a variable length code can be used?
For the six-digit code, I have the following:
MySkill look up code {XXX_ONE} {XXX_TWO} {XXX_THREE} {XXX_FOUR} {XXX_FIVE} {XXX_SIX}
where the slots are defined as :
"slots": [
{
"name": "XXX_ONE",
"type": "ALPHANUM"
},
{
"name": "XXX_TWO",
"type": "ALPHANUM"
},
{
"name": "XXX_THREE",
"type": "ALPHANUM"
},
{
"name": "XXX_FOUR",
"type": "ALPHANUM"
},
{
"name": "XXX_FIVE",
"type": "ALPHANUM"
},
{
"name": "XXX_SIX",
"type": "ALPHANUM"
}
],