Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.83 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.83 KB

BestFriend

Sample UWP app to showcase the speech platform in the Universal Windows Platform including our favorite digital assistant. Detailed blog post here

Setup

  1. Ensure Cortana is signed in with an MSA account. This can be achieved by opening Cortana once and following the sign-in process.
  2. Set the API key and botID in BestFriendService/Bot.cs. (I used PersonalityForge bot as it was the fastest)
  3. Run the application normally once (eg, via F5 debug or deploy/launch). This installs the voice command definitions.
  4. Close the app.
  5. Click on the microphone icon in Cortana's search bar.
  6. 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.)

Usage

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.

Related topics

System requirements

  • 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