New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

luis-cli

CLI for Microsoft LUIS API


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 23 Sep 2016

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