For more information, refer to GitHub.
What Does This Plugin Do?
This plugin allows you to integrate Watson Assistant v2 in your Botonic project.
Once installed within your project, this plugin will send the user input to a workspace and receive a response.
The plugin retrieves the call results to enhance the
input object. You can then use this data in your routes and actions.
Example of an
input object received from a user:
Example of the same
input object after being processed by this plugin:
- Install the plugin from npm (or yarn):
- Add it to the
src/plugins.jsfile by using the following options from Watson:
You can use it in your routes like any other NLU plugins: