Giter Site home page Giter Site logo

multilingual-uber-bot's Introduction

Multilingual Uber-Bot

This project is an example of how to develop a bot using bot framework while providing a solution for:

  1. An Uber-Bot that can orchestrate and route into multiple Sub-Bots.
  2. Developing a bot that uses LUIS intent dialogs and offers a communication in multiple languages.

For a full description of this case study click here.

This link will be avilable shortly

Execution

Run npm start.

You can run this sample locally as is and communicate with it using bot emulator. You can also connect this bot to your own registered bot by copying the file config/dev.sample.json to config/dev.private.json

and change:

{
  "BOT_MicrosoftAppId": "<GUID for registered bot id>",
  "BOT_MicrosoftAppPassword": "<Password for registered bot>",
  "LUIS_modelBaseURL":"https://api.projectoxford.ai/luis/v1/application",
  "LUIS_applicationId_en":"<You can use as is or replace with a LUIS app id for your own english model>",
  "LUIS_applicationId_es":"<You can use as is or replace with a LUIS app id for your own spanish model>",
  "LUIS_subscriptionKey":"<You can use as is or replace with your own LUIS subscription id>"
}

Testing

Run npm test.

Scenarios

Try one of the following Scenarios

Using a LUIS Dialog Sub-Bot

You can perform this scenario in english or spanish:

  • Type: Change languages
  • Type: English
  • Type: history
  • Type: Tell me about Einstein
  • Type: Go back to 1983

This enters the context of history bot and remains there until you type either 'go home' or 'cancel'.

Context Switching

  • Type: history
  • Type: go feedback
  • Type: go home
  • Type: history
  • Type: cancel

This is an example of both switching between bots and ending a current bot conversation and going up to the upper level.

multilingual-uber-bot's People

Contributors

morsh avatar

Stargazers

Brijraj Singh avatar

Watchers

Brijraj Singh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.