Middleware extends botmaster with additional functionality. Because of their modular nature they are great for extending your bots with functionality very quickly. Read more about how they work here
- Watson Conversation Ware - Create a bot that communicates with Watson Conversation. Whenever an incoming text update comes
in, it will be forwarded to your specified Watson Conversation service and the
Watson response will be added to the update object. It will add the following to
update.session.watsonContext. As you can guess from that last part, in order to use Watson Conversation Ware, you'll need to be using Session Ware too. Install with. Install it with:
yarn add botmaster-watson-conversation-wareor
npm i --save botmaster-watson-conversation-ware.
- Fulfill - Declarative markup API and engine to integrate internal or external APIs with botmaster. install it with
yarn add botmaster-fullfillor
npm i botmaster-fulfill -S.
- Session Ware - Add a
persistent session to your bot. If used,
update.sessionwill exist. Install it with
yarn add botmaster-session-wareor
npm i --save botmaster-session-ware