0.5.0 • Published 7 years ago

watsn-conversation-tool v0.5.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

watsn-conversation-tool

An assortment of tools for working with conversation workspace files exported from IBM Watson Conversation Service

Build Status

Setup

NPM

Install via npm:

npm install watsn-conversation-tool -g

This will make the command watsncv available on your console.

Usage

Run watsncv --help for list of commands.

Run watsncv <command> -h for help on a specific command.

For example to output a conversation having only intents with the word 'hello' and pretty print the output:

watsncv search --only --intents --pretty car_workspace.json hello

watsncv search --context <context variable> --pretty car_workspace.json Will search for nodes that contain the search string within its context object (if exists)

watsncv search -h will show you all search options.

To search for a specific node within your JSON file, you need the m or --node flags. First pass in the node ID (case sensitive), then the filename of the JSON. For example: watsncv search --node node_123456 car_workspace.json

Debugging

watsn-conversation-tool uses the debug module to output debug messages to the console. To output all debug messages, set the DEBUG environment variable:

DEBUG=app:watsncv

This will output debugging messages from the tool.

Contributing

Contributions are welcome and the tool is designed to accept contributions for new commands. New commands can be placed inside the src/cassettes folder and will be loaded automatically. See the src/cassettes folder for more information on how to create a cassette.

License

Apache 2.0

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago