Tutorial: Create (typescript)
Invoke your skill
In order to confirm that the skill connection with the Virtual Assistant was correctly made, you can test the communication using the Bot Framework Emulator, sending an utterance from the Virtual Assistant that should be recognized by the Skill (e.g., “Run sample dialog”). You will see how the Skill starts the workflow, and when the skill is finished it will send the control back to the Virtual Assistant.
- Open your Virtual Assistant in your desired IDE (e.g: Visual Studio Code)
- Run
npm run start
- Open the Bot Framework Emulator.
-
Select Open Bot.
-
Provide the messaging endpoint of your running Virtual Assistant (e.g: http://localhost:3978/api/messages), the Microsoft App ID and Microsoft App Password values from its
appsettings.json
file. - The greeting card of your Virtual Assistant should appear.
-
Write your name, and invoke your skill writing “Run sample dialog”.
- Congratulations, you’ve invoked your skill through your Virtual Assistant!