Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telefonica/luis-cli

Package Overview
Dependencies
Maintainers
18
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telefonica/luis-cli

CLI for Microsoft LUIS API

  • 1.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
18
Weekly downloads
 
Created
Source

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.
npm install @telefonica/luis-cli

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

LICENSE

Copyright 2016 Telefónica I+D

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Keywords

FAQs

Package last updated on 12 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc