Sample UWP app to showcase the speech platform in the Universal Windows Platform including our favorite digital assistant. Detailed blog post here
- Ensure Cortana is signed in with an MSA account. This can be achieved by opening Cortana once and following the sign-in process.
- Set the API key and botID in BestFriendService/Bot.cs. (I used PersonalityForge bot as it was the fastest)
- Run the application normally once (eg, via F5 debug or deploy/launch). This installs the voice command definitions.
- Close the app.
- Click on the microphone icon in Cortana's search bar.
- Say one of the supported voice commands (see below)
(Note: it may take a small amount of time for Cortana to refresh its installed voice commands.)
When Cortana is listening, any of the following voice commands are supported.
- "Best Friend, I want to talk" - opens the app and starts conversation with voice
- "Best Friend, let me tell you, {message}" - sends a message to the bot without opening the app. The response is returned in canvas
There are more commands supported, but you should find them youself.
- Cortana requires an appropriate recording device, and the system must be associated with a Microsoft Account in order for Cortana to function.
- Windows 10 RTM
- Visual Studio 2015 Community or higher