🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

botfuel-module-input-states-collect

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botfuel-module-input-states-collect

Collect all the states for each inputs in a given CSV input file and generate an JSON output file

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

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',
};

Keywords

botfuel-dialog

FAQs

Package last updated on 14 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts