Skip to content

florianldt/Trivi-Bot

Repository files navigation

Multi-turn dialog for QnA Maker

This sample demonstrates a multi-turn dialog for QnA Maker bot with ASP.Net Core 2.

#Concepts introduced in this sample The QnA Maker Service enables you to build, train and publish a multi-turn question and answer bot based on FAQ URLs, structured documents or editorial content in minutes. In this sample, we demonstrate how to a create a multi-turn dialog to interact with your knowledge base.

Prerequisites

  • Follow the documentation here to understand the QnA Maker multi-turn scenario and create a QnA Maker Service.

#To try this sample

  • Clone the samples repository
  • Update .env in the sample with your QnA Maker endpoint details (QnAEndpointHostName, QnAEndpointKey and QnAKnowledgebaseId). You can find this information under "Settings" tab of your QnA Maker Knowledge Base at QnAMaker.ai

Running Locally

  • Clone the repository

    git clone https://github.com/microsoft/botbuilder-samples.git
  • Navigate to the sample directory

  • Install modules

    npm install
  • Start the bot

    npm start

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 -> New Bot Configuration (Provide your local bot endpoint details).

Deploy the bot to Azure

See Deploy your C# bot to Azure for instructions.

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published