An Custom Bot to use IBM's Watson Conversation service with Misocroft's Bot Framework
npm i -S botframework-watson-bot
First, create your Intents, Entities and Dialogs in Watson's UI.
Then, create a bot instance like you would with UniversalBot
, but only Watson's service credentials and Workspace Id are needed:
let bot = new WatsonBot(connector, { password: '<your-password>', username: 'your-<username>', workspace: '<workspace-id>' });
- text messages between Conversation service and the bot
- quick replies
- attachments
- custom actions using
bot.beginDialogAction
(alows you to react to facebook's get started button)
- Unit tests