Skip to content

ttrzcinski/VoicyBot1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VoicyBot1

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,

Added features

  • [Retorts] - Model class of retorts holds fast question-answer dictionary with JSON file as data source and call limited to one line.

Prerequisites

Azure Deployment Prerequisites

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.

Overview

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.

Prerequisites

  • 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.
    1. Ensure any previous version of the botservice extension is removed.
      az extension remove -n botservice
    2. Install the latest botservice extension.
      az extension add -n botservice
    3. Verify you are running version 0.4.3 or higher of the botservice extension.
      az extension list
      To verify the extension version, you should see the following:
      {
          "extensionType": "whl",
          "name": "botservice",
          "version": "0.4.3"
      }
  • Install latest version of the MSBot CLI tool. Version 4.2.0 or higher.

Running Locally

Visual Studio

  • Open VoicyBot1.csproj in Visual Studio.
  • Run the project (press F5 key).

Testing the bot using Bot Framework Emulator

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.

Connect to bot using Bot Framework Emulator V4

  • Launch the Bot Framework Emulator.
  • File -> Open bot and open VoicyBot1.bot.

Deploy the bot to Azure

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.

Further reading

About

Microsoft Bot V4 with added features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published