Skip to content
Cortana/Voice enabled Bot
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


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


  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.)


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
You can’t perform that action at this time.