Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Sample bot using Microsoft BotBuilder and Botfuel QnA

License

Notifications You must be signed in to change notification settings

Botfuel/sample-bot-botbuilder-qna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-bot-botbuilder-qna

Sample bot using Microsoft BotBuilder and Botfuel QnA

To install and setup

Install it

npm install

Create your (free) QnA bot on Botfuel's portal

  • Create an account here;

  • Once logged, create an app, select your plan and option Botfuel QnA;

  • Once on the App dashboard, copy your app credentials and set them in app.js:

// Botfuel App credentials
const appId = '<YOUR_APP_ID>';
const appKey = '<YOUR_APP_KEY>';
  • Scroll down to services and click QnA button to reach the QnA back office.

To run

To run it, you need a server (your bot, you can see the implementation in app.js) and a chat interface.

The bot

Run it with:

node app.js

The test interface

You can use Microsoft Bot Framework channel emulator:

  • Download, install and run it;
  • Enter your bot endpoint: http:https://localhost:3978/api/messages;
  • You don't need Microsoft credentials to run it locally, so just click Connect.

You should now be able to talk to your bot on this interface. If not, don't hesitate to create an issue, we'll do our best to help.

License

See the LICENSE file.

About

Sample bot using Microsoft BotBuilder and Botfuel QnA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published