Skip to content

DirkSonguer/bot-framework-examples

Repository files navigation

bot-framework-examples

A number of sample projects for the Microsoft Bot Framework. All these are node.js based and work locally against the emulator without any need to create a bot in the Bot Framework Manager. Of course they can also run them live.

Note that each sub-project is meant as an easy example to showcase one specific aspect of the bot framework.

For more information you could look here: http://randomdev.tumblr.com/tagged/bots

Samples

  • bot-sample-booking-process: This bot will run through a booking dialog as a demo (without any backend integration). It is meant to showcase an end-to-end guided dialog with multiple types of interactions.
  • bot-sample-cards: This will show you a simple bot that utilises cards to send rich information to a user. Cards provide flexible layouts that might contain images, titles, subtitles, text and action buttons.
  • bot-sample-dialogs: This will show you a simple bot that utilises dialogs to guide the user through the conversation.
  • bot-sample-intentdialogs: This will show you a simple bot that utilises intent dialogs to understand and guide the user through the conversation. IntendDialogs can be called based on matching the input of the user against regular expressions.
  • bot-sample-luisdialogs: This will show you a simple bot that utilises the LUIS.ai platform to manage its intent dialogs to understand and guide the user through the conversation. LUIS is used to understand the users input and extract the intents and entities from their natural language requests.
  • bot-sample-prompts: This will show you a simple bot that interacts with the user via several types of promts. Promts are messages by bots, which then wait for user interaction and proceed to the next waterfall step.

Prerequisites

How to run locally

  • Clone this repository
  • Open a console and change into a specific sub-project
  • Install node-modules with "npm install"
  • Run sample with "node ./server.js"
  • Open the MS Bot Framework Channel Emulator
  • Start chatting with the bot

About

A sample project for the Microsoft Bot Framework to showcase a dialog based bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published