Voice Input Resource
For an overview of Resources, click here.
Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.
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:
Added a Prompt that the learner will see in the headset (optional).
Added the Recognizer - in this case it is the Intent “Greeting” that was previously created (mandatory).
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.
Related Articles