@kiina/dialogflow-to-botmaster
v1.4.1
Published
This package contains a function that makes the mapping between the models which come from Dialogflow to the models expected by the Botmaster framework to make it possible to directly send the content to the Bot.
Downloads
9
Keywords
Readme
Dialogflow to Botmaster
This package contains a function that makes the mapping between the models which come from Dialogflow to the models expected by the Botmaster framework to make it possible to directly send the content to the Bot.
Installation
Add this dependency in the section dependencies
of the project's package.json
{
...
"dependencies": {
...
"dialogflow-to-botmaster": "[email protected]/teamadm/dialogflow-to-botmaster.git"
}
}
And then (re)install the dependencies
npm install
Usage
const dialogflowToBotmaster = require('dialogflow-to-botmaster');
const dialogflowModel = { ... };
const contentModel = dialogflowToBotmaster(dialogflowModel);
...