Skip to content

gurvsing/LaligaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LUIS_QnA_LaLiga

Welcome to the La Liga Bot Demo!

To run the transcript directly, download Bot Framework Emulator and open the Transcript.transcript file in the Emulator.

To run the demo locally, follow the steps below.

Prerequisites

Setting up QnA Maker

  • Follow instructions here to create a QnA Maker service.
  • Follow instructions here to import and publish the LaligaQnAMaker.tsv to your newly created QnA Maker service.
  • Update LaLiga.bot with your kbid (KnowledgeBase Id) and endpointKey in the "qna" services section. You can find this information under "Settings" tab for your QnA Maker Knowledge Base at QnAMaker.ai
  • (Optional) Follow instructions here to set up the QnA Maker CLI to deploy the model.

Setting up LUIS

  • Navigate to LUIS Portal
  • Click the Sign in button
  • Click on My apps button
  • Click on Import new app
  • Click on the Choose File and select LaLiagaLUIS.json.
  • Update LaLiga.bot file with your AppId, SubscriptionKey, Region and Version. You can find this information under "Manage" tab for your LUIS application at LUIS portal.
    • The AppID can be found in "Application Information"
    • The SubscriptionKey can be found in "Keys and Endpoints", under the Key 1 column
    • The region can be found in "Keys and Endpoints", under the Region column
  • In Luis Service, update SubscriptionKey(line: 28) and AppID(line: 29).

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

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

Basic Bot template

This bot has been created using Microsoft Bot Framework,

  • 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

Further reading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •