@kiina/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.

Stats

StarsIssuesVersionUpdatedCreatedSize
@kiina/dialogflow-to-botmaster
1.4.12 years ago3 years agoMinified + gzip package size for @kiina/dialogflow-to-botmaster in KB

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": "git@bitbucket.org/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);
...

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.