For an overview of Resources, click here.
Overview
The voice input resource allows the author to trigger events in response to voice input from the learner.
Required Fields
Field Name | Description |
---|---|
Options - Speech Recognizer | Add an intent or a key phrase with the event and this option will fire. |
Optional Fields
Field Name | Description |
---|---|
Prompt - Text | If you want to include a prompt for the learner to give them a hint on what they need to say, include it here. |
Event | Determine an event or Custom Event to fire along with any other events that would normally fire. This field is generally used to distinguish between different options for branching. |
Persistent | Will stay open and continue listening for intents and keyphrases specified and will continue to fire events generated by those options. |
Events
Complete, Close (if not persistent), and Custom.
Example in the Headset
In this example, I want to greet the character Chad in the scenario, so I need my greeting to be recognized so that I can author a response from Chad. Here are the steps:
Create an Intent. In my case, I created an Intent for “Greetings”:
Add Training Phrases to the Intent and ensure the AI Agent is up to date. Here are the training phrases I’ve added to the Greeting Intent:
Add a Voice Input Resource to the script
In this example:
1. Added a Prompt that the learner will see in the headset (optional).
2. Added the Recognizer - in this case it is the Intent “Greeting” that was previously created (mandatory).
3. Added the desired confidence level. This is the level of confidence that the user has said something related to the Intent.
Once this is saved, this is what it would look like in the headset:
In the above video you can:
See the prompt for the learner to greet Chad
Hear the learner’s voice greeting Chad
See the microphone icon turn green as the learner is speaking
See the text of what the learner is saying on the screen
There is no response from the character as it has not yet been scripted in Storyflow.