/infinitai-bot

Chatbot for infinitai.io website

Primary LanguageC#

infinitai-bot

Chatbot for infinitai.io website

Basic Bot template

This bot has been created using Microsoft Bot Framework,

Basic Bot template

This bot has been created using Microsoft Bot Framework,

b3045a4e084d01c8626c9bdcfb0a976713d25097

  • Use LUIS to implement core AI capabilities
  • Implement a multi-turn conversation using Dialogs
  • Handle user interruptions for such things as Help or Cancel
  • Prompt for and validate requests for information from the user

Prerequisite to run this bot locally

<<<<<<< HEAD

  • Download the bot code from the Build blade in the Azure Portal
  • Update the appsettings.json file in the root of the bot project with the botFilePath and botFileSecret
  • You can find the botFilePath and botFileSecret in the Azure App Service application settings.

Your appsettings.json file should look like this

=======

  • Download the bot code from the Build blade in the Azure Portal
  • Update the appsettings.json file in the root of the bot project with the botFilePath and botFileSecret
  • You can find the botFilePath and botFileSecret in the Azure App Service application settings.

Your appsettings.json file should look like this

b3045a4e084d01c8626c9bdcfb0a976713d25097

{
    "botFilePath": "<copy value from App settings>",
    "botFileSecret": "<copy value from App settings>"
}

<<<<<<< HEAD

Run in Visual Studio

  • Open the .sln file with Visual Studio.
  • Press F5.

Run in Visual Studio Code

  • Open the bot project folder with Visual Studio Code.
  • Bring up a terminal.
  • Type 'dotnet run'.

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.

  • Install the Bot Framework Emulator from here.

Connect to bot using Bot Framework Emulator

=======

Run in Visual Studio

  • Open the .sln file with Visual Studio.
  • Press F5.

Run in Visual Studio Code

  • Open the bot project folder with Visual Studio Code.
  • Bring up a terminal.
  • Type 'dotnet run'.

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.

  • Install the Bot Framework Emulator from here.

Connect to bot using Bot Framework Emulator

b3045a4e084d01c8626c9bdcfb0a976713d25097

  • Launch the Bot Framework Emulator
  • File -> Open bot and navigate to the bot project folder
  • Select <your-bot-name>.bot file

Deploy this bot to Azure

<<<<<<< HEAD

Publish from Visual Studio

=======

Publish from Visual Studio

b3045a4e084d01c8626c9bdcfb0a976713d25097

  • Open the .PublishSettings file you find in the PostDeployScripts folder
  • Copy the userPWD value
  • Right click on the Project and click on "Publish..."
  • Paste the password you just copied and publish

Publish using the CLI tools

<<<<<<< HEAD

You can use the MSBot Bot Builder CLI tool to clone and configure any services this sample depends on. To install all Bot Builder tools -

You can use the MSBot Bot Builder CLI tool to clone and configure any services this sample depends on. To install all Bot Builder tools -

b3045a4e084d01c8626c9bdcfb0a976713d25097

Ensure you have Node.js version 8.5 or higher

npm i -g msbot chatdown ludown qnamaker luis-apis botdispatch luisgen

<<<<<<< HEAD

To clone this bot, run

msbot clone services -f deploymentScripts/msbotClone -n <BOT-NAME> -l <Azure-location> --subscriptionId <Azure-subscription-id>

Further reading

======= To clone this bot, run

msbot clone services -f deploymentScripts/msbotClone -n <BOT-NAME> -l <Azure-location> --subscriptionId <Azure-subscription-id>

Further reading

b3045a4e084d01c8626c9bdcfb0a976713d25097

b3045a4e084d01c8626c9bdcfb0a976713d25097