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

@telefonica/luis-cli

Package Overview
Dependencies
Maintainers
14
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

  • 5.3.0
  • Source
  • npm
  • Socket score

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

Luis Command-line Interface

Simple command-line interface to interact with Microsoft LUIS APIs.

Install

$ npm install -g @telefonica/luis-cli

Usage

This CLI uses the LUIS API to automate the following tasks:

  • update an existing LUIS app with the model of a local json file.
  • export an existing LUIS app to the specified local json file.

Notes:

  • This tool assumes the use of "native LUIS app json files", the ones you get when you export an app.
  • When updating, it update utterances, intents, entities and phrase lists, creating the new ones and deleting the ones no longer used. It also train an publish the app.

Type ./bin/luis-cli -h to get more info about the available commands and general options. To know more about one command, type ./bin/luis-cli <command> -h.

For example: to update, to train and to publish a concrete LUIS application version based on a new LUIS model: ./bin/luis-cli update -s aac4012305e94ffebe2fa8408954aab3 -a b073cd3d-3b86-4367-813a-638840c83e3c -m ./training_model.json -v 0.3 -r westus -t false

Or to test a model: ./bin/luis-cli test -s aac4012305e94ffebe2fa8408954aab3 -a b073cd3d-3b86-4367-813a-638840c83e3c -m ./training_model.json -e ./errors.json -q 3

For additional information about LUIS training models, please visit: https://github.com/Telefonica/language-model-converter

LICENSE

Copyright 2017 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 27 Oct 2017

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