@kiina/dialogflow-to-botmaster

1.4.1 • Public • Published

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);
...

/@kiina/dialogflow-to-botmaster/

    Package Sidebar

    Install

    npm i @kiina/dialogflow-to-botmaster

    Weekly Downloads

    0

    Version

    1.4.1

    License

    ISC

    Unpacked Size

    5.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • asalgado
    • eder_kiina
    • antunesmg
    • marcojardim