Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Create command: bf luis:application:list #308

Copy link
Copy link
@munozemilio

Description

@munozemilio
Issue body actions

This command should expose this request exposed in the azure sdk client

e.g

const msRest = require("ms-rest");
const LUISAuthoringClient = require("azure-cognitiveservices-luis-authoring");
const subscriptionKey = "xxxxxxxxxx";
const token = { 
    "inHeader": { 
        'Ocp-Apim-Subscription-Key': subscriptionKey 
    }
};
const creds = new msRest.ApiKeyCredentials(token);
const client = new LUISAuthoringClient(creds, 'https://westus.api.cognitive.microsoft.com');
const appId = 'xxxxxxxxxx'
const versionId = "xxx";

client.baseUri = 'https://westus.api.cognitive.microsoft.com/luis/authoring/v3.0-preview/';

const exportVersion = async function(){
    let result = await client.versions.exportMethod(appId, versionId)
    console.log(JSON.stringify(result, null, 2)); 
}

const listPhraseLists = async function(){
    let result = await client.features.listPhraseLists(appId, versionId)
    console.log(JSON.stringify(result, null, 2)); 
}

exportVersion()
listPhraseLists()

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

LUIS APIsFor LUIS Authoring APIsFor LUIS Authoring APIsP0Must Fix. Release-blockerMust Fix. Release-blockerR7Release 7 - December 10th, 2019Release 7 - December 10th, 2019

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.