0.0.4 • Published 5 years ago

botfuel-module-input-states-collect v0.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Botfuel module input states collect

This module allow to simulate user inputs using a CSV input file that will be processed and generate an output file with the different input transformation steps.

Install

npm i -D botfuel-module-input-states-collect

How to use

Configuration

To make it work your configuration file must:

  • include the module
  • use the adapter provided in the module
  • use the nlu module provided in the module
  • provide the path of the CSV input file
// config.js
module.exports = {
  adapter: {
    name: 'collect',
    files: {
      input: './input.csv',
      output: './output.json', // optional
    },
  },
  nlu: {
    name: 'botfuel-collect',
  },
  modules: ['botfuel-module-input-states-collect'],
  logger: 'info',
};