This bot is a simple bot that accepts input from the user and echoes it back. This bot has been created using Microsoft Bot Framework,
- [Retorts] - Model class of retorts holds fast question-answer dictionary with JSON file as data source and call limited to one line.
- Visual Studio 2017 15.7 or newer installed.
- .Net Core 2.1 or higher installed.
- Bot Framework Emulator 4.1 or newer installed
This bot has prerequisite requirements in order to deploy the bot to Azure.
This document will enumerate the required prerequisites and show how to install them.
There are a small set of CLI tools that will automate the process of deploying this bot to Azure. These CLI tools are only require for deployment. If you only plan to run the bot locally, these prerequisites are not required.
- If you don't have an Azure subscription, create a free account.
- Install the latest version of the Azure CLI tool. Version 2.0.52 or higher.
- Install the latest
botservice
extension for the Azure CLI tool. Version 0.4.3 or higher.- Ensure any previous version of the
botservice
extension is removed.az extension remove -n botservice
- Install the latest
botservice
extension.az extension add -n botservice
- Verify you are running version 0.4.3 or higher of the
botservice
extension.To verify the extension version, you should see the following:az extension list
{ "extensionType": "whl", "name": "botservice", "version": "0.4.3" }
- Ensure any previous version of the
- Install latest version of the
MSBot
CLI tool. Version 4.2.0 or higher.
- Open VoicyBot1.csproj in Visual Studio.
- Run the project (press
F5
key).
Microsoft Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework emulator.
- Launch the Bot Framework Emulator.
- File -> Open bot and open VoicyBot1.bot.
See Deploy your C# bot to Azure for instructions.
The deployment process assumes you have an account on Microsoft Azure and are able to log into the Microsoft Azure Portal.
If you are new to Microsoft Azure, please refer to Getting started with Azure for guidance on how to get started on Azure.