luis-cli
v1.0.1
Published
CLI for Microsoft LUIS API
Downloads
6
Readme
Luis Command-line Interface
Simple command-line interface to interact with Microsoft LUIS APIs.
Usage
This CLI uses LUIS APIs to automate following tasks:
- export an existing LUIS app to the specified local json file.
- create (import) a new LUIS app from a local json file.
- update the utterances (or examples) of an existing LUIS App as specified in a local json file.
Note:
- This tool assumes the use of "native LUIS app json files", the ones you get when you export an app. You must follow that schema.
- For the moment, when updating, it only considers utterances. It modifies existing ones, creates new ones and removes obsolete ones as needed.
- App update also automatically triggers training and app publishment.
Usage: ./bin/luis-cli [options]
Options:
-h, --help Show usage information
-e, --export [filename] Export application to JSON file. You need to specify an appid.
-i, --import [filename] Import application from JSON file. You will get a new appid, don't have to specify one.
-u, --update [filename] Update application from JSON file. You need to specify an appid.
-a, --appid [application_id] Microsoft LUIS application id. Optional depending on what you want to do.
-s, --subid [subscription_id] Microsoft LUIS subscription id. Always REQUIRED.
-n, --appname [subscription_name] Microsoft LUIS subscription name. Only needed for importing.
-v, --verbose Enable verbose mode