Sample bot using Microsoft BotBuilder and Botfuel QnA
npm install
-
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 it, you need a server (your bot, you can see the implementation in app.js) and a chat interface.
Run it with:
node app.js
You can use Microsoft Bot Framework channel emulator:
- Download, install and run it;
- Enter your bot endpoint:
http://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.
See the LICENSE file.