@@ -19,34 +19,32 @@ This package is intended for Microsoft use only and should be consumed through @
1919
2020# Commands
2121<!-- commands -->
22- - [ @microsoft/bf-luis-cli ] ( #microsoftbf-luis-cli )
23- - [ Relevant docs] ( #relevant-docs )
24- - [ Commands] ( #commands )
25- - [ ` bf luis ` ] ( #bf-luis )
26- - [ ` bf luis:application:create ` ] ( #bf-luisapplicationcreate )
27- - [ ` bf luis:application:delete ` ] ( #bf-luisapplicationdelete )
28- - [ ` bf luis:application:import ` ] ( #bf-luisapplicationimport )
29- - [ ` bf luis:application:list ` ] ( #bf-luisapplicationlist )
30- - [ ` bf luis:application:publish ` ] ( #bf-luisapplicationpublish )
31- - [ ` bf luis:application:query ` ] ( #bf-luisapplicationquery )
32- - [ ` bf luis:application:rename ` ] ( #bf-luisapplicationrename )
33- - [ ` bf luis:application:show ` ] ( #bf-luisapplicationshow )
34- - [ ` bf luis:build ` ] ( #bf-luisbuild )
35- - [ ` bf luis:convert ` ] ( #bf-luisconvert )
36- - [ ` bf luis:cross-train ` ] ( #bf-luiscross-train )
37- - [ ` bf luis:endpoints:list ` ] ( #bf-luisendpointslist )
38- - [ ` bf luis:test ` ] ( #bf-luistest )
39- - [ ` bf luis:generate:cs ` ] ( #bf-luisgeneratecs )
40- - [ ` bf luis:generate:ts ` ] ( #bf-luisgeneratets )
41- - [ ` bf luis:train:run ` ] ( #bf-luistrainrun )
42- - [ ` bf luis:train:show ` ] ( #bf-luistrainshow )
43- - [ ` bf luis:translate ` ] ( #bf-luistranslate )
44- - [ ` bf luis:version:clone ` ] ( #bf-luisversionclone )
45- - [ ` bf luis:version:delete ` ] ( #bf-luisversiondelete )
46- - [ ` bf luis:version:export ` ] ( #bf-luisversionexport )
47- - [ ` bf luis:version:import ` ] ( #bf-luisversionimport )
48- - [ ` bf luis:version:list ` ] ( #bf-luisversionlist )
49- - [ ` bf luis:version:rename ` ] ( #bf-luisversionrename )
22+ * [ ` bf luis ` ] ( #bf-luis )
23+ * [ ` bf luis:application:assignazureaccount ` ] ( #bf-luisapplicationassignazureaccount )
24+ * [ ` bf luis:application:create ` ] ( #bf-luisapplicationcreate )
25+ * [ ` bf luis:application:delete ` ] ( #bf-luisapplicationdelete )
26+ * [ ` bf luis:application:import ` ] ( #bf-luisapplicationimport )
27+ * [ ` bf luis:application:list ` ] ( #bf-luisapplicationlist )
28+ * [ ` bf luis:application:publish ` ] ( #bf-luisapplicationpublish )
29+ * [ ` bf luis:application:query ` ] ( #bf-luisapplicationquery )
30+ * [ ` bf luis:application:rename ` ] ( #bf-luisapplicationrename )
31+ * [ ` bf luis:application:show ` ] ( #bf-luisapplicationshow )
32+ * [ ` bf luis:build ` ] ( #bf-luisbuild )
33+ * [ ` bf luis:convert ` ] ( #bf-luisconvert )
34+ * [ ` bf luis:cross-train ` ] ( #bf-luiscross-train )
35+ * [ ` bf luis:endpoints:list ` ] ( #bf-luisendpointslist )
36+ * [ ` bf luis:generate:cs ` ] ( #bf-luisgeneratecs )
37+ * [ ` bf luis:generate:ts ` ] ( #bf-luisgeneratets )
38+ * [ ` bf luis:test ` ] ( #bf-luistest )
39+ * [ ` bf luis:train:run ` ] ( #bf-luistrainrun )
40+ * [ ` bf luis:train:show ` ] ( #bf-luistrainshow )
41+ * [ ` bf luis:translate ` ] ( #bf-luistranslate )
42+ * [ ` bf luis:version:clone ` ] ( #bf-luisversionclone )
43+ * [ ` bf luis:version:delete ` ] ( #bf-luisversiondelete )
44+ * [ ` bf luis:version:export ` ] ( #bf-luisversionexport )
45+ * [ ` bf luis:version:import ` ] ( #bf-luisversionimport )
46+ * [ ` bf luis:version:list ` ] ( #bf-luisversionlist )
47+ * [ ` bf luis:version:rename ` ] ( #bf-luisversionrename )
5048
5149## ` bf luis `
5250
@@ -62,6 +60,36 @@ OPTIONS
6260
6361_ See code: [ src/commands/luis/index.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/index.ts ) _
6462
63+ ## ` bf luis:application:assignazureaccount `
64+
65+ Assign a LUIS azure accounts to an application
66+
67+ ```
68+ USAGE
69+ $ bf luis:application:assignazureaccount
70+
71+ OPTIONS
72+ -h, --help show CLI help
73+ --accountName=accountName (required) Account name
74+ --appId=appId (required) LUIS application Id (defaults to config:LUIS:appId)
75+
76+ --armToken=armToken (required) The bearer authorization header to use; containing the user`s
77+ ARM token used to validate azure accounts information
78+
79+ --azureSubscriptionId=azureSubscriptionId (required) Azure Subscription Id
80+
81+ --endpoint=endpoint LUIS endpoint hostname
82+
83+ --json Display output as JSON
84+
85+ --resourceGroup=resourceGroup (required) Resource Group
86+
87+ --subscriptionKey=subscriptionKey (required) LUIS cognitive services subscription key (default:
88+ config:LUIS:subscriptionKey)
89+ ```
90+
91+ _ See code: [ src/commands/luis/application/assignazureaccount.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/application/assignazureaccount.ts ) _
92+
6593## ` bf luis:application:create `
6694
6795Creates a new LUIS application
@@ -311,38 +339,40 @@ USAGE
311339 $ bf luis:build
312340
313341OPTIONS
314- -f, --force If --dialog flag is provided, overwirtes relevant dialog file
342+ -f, --force If --dialog flag is provided, overwrites relevant dialog file
315343 -h, --help show CLI help
316344 -i, --in=in Lu file or folder
317345
318346 -o, --out=out Output file or folder name. If not specified, current directory will be used as
319347 output
320348
321- --authoringKey=authoringKey (required) LUIS authoring key
349+ --authoringKey=authoringKey LUIS authoring key
322350
323351 --botName=botName Bot name
324352
325353 --defaultCulture=defaultCulture Culture code for the content. Infer from .lu if available. Defaults to en-us
326354
327- --deleteOldVersion Delete old version of LUIS application after building new one.
328-
329- --dialog [default: multiLanguage]Write out .dialog files whose recognizer type [multiLanguage|crosstrained] is specified by --dialog
355+ --deleteOldVersion Delete old version of LUIS application after building new one.
356+
357+ --dialog=dialog [default: multiLanguage] Write out .dialog files whose recognizer type
358+ [multiLanguage|crosstrained] is specified by --dialog
330359
331360 --fallbackLocale=fallbackLocale Locale to be used at the fallback if no locale specific recognizer is found. Only
332361 valid if --dialog is set
333362
334363 --log write out log messages to console
335364
336- --luConfig=luConfig Path to config for lu build
365+ --luConfig=luConfig Path to config for lu build which can contain switches for arguments
337366
338367 --region=region [default: westus] LUIS authoring region [westus|westeurope|australiaeast]
339368
340369 --suffix=suffix Environment name as a suffix identifier to include in LUIS app name. Defaults to
341- current logged in useralias
370+ current logged in user alias
342371
343372EXAMPLE
344373
345- $ bf luis:build --in {INPUT_FILE_OR_FOLDER} --authoringKey {AUTHORING_KEY} --botName {BOT_NAME} --dialog multiLanguage
374+ $ bf luis:build --in {INPUT_FILE_OR_FOLDER} --authoringKey {AUTHORING_KEY} --botName {BOT_NAME} --dialog
375+ multiLanguage
346376```
347377
348378_ See code: [ src/commands/luis/build.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/build.ts ) _
@@ -381,14 +411,23 @@ USAGE
381411 $ bf luis:cross-train
382412
383413OPTIONS
384- -h, --help cross-train command help
385- -i, --in source lu and qna files folder
386- -o, --out output folder name. If not specified, the cross trained files will be wrote to cross-trained folder under folder of current command
387- --config path to config file of mapping rules which is relative to folder specified by --in. If not specified, it will read default config.json from the folder specified by --in
388- --intentName Interruption intent name. Default: _Interruption
414+ -h, --help luis:cross-train help
415+ -i, --in=in source lu and qna files folder
416+
417+ -o, --out=out output folder name. If not specified, the cross trained files will be wrote to cross-trained
418+ folder under folder of current command
419+
420+ --config=config path to config file of mapping rules which is relative to folder specified by --in. If not
421+ specified, it will read default config.json from the folder specified by --in
422+
423+ --intentName=intentName [default: _Interruption] Interruption intent name
424+
425+ --rootDialog=rootDialog rootDialog file path which is relative to folder specified by --in. If --config not
426+ specified, cross-trian will automatically construct the config from file system based on root
427+ dialog file
389428```
390429
391- _ See code: [ src/commands/luis/cross-train.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker /src/commands/luis/cross-train.ts ) _
430+ _ See code: [ src/commands/luis/cross-train.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis /src/commands/luis/cross-train.ts ) _
392431
393432## ` bf luis:endpoints:list `
394433
@@ -420,33 +459,6 @@ EXAMPLE
420459
421460_ See code: [ src/commands/luis/endpoints/list.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/endpoints/list.ts ) _
422461
423- ## ` bf luis:test `
424-
425- Test a .lu file or LUIS application JSON model against a published LUIS model
426-
427- ```
428- USAGE
429- $ bf luis:test
430-
431- OPTIONS
432- -a, --appId=appId (required) LUIS application Id
433- -h, --help luis:test help
434- -i, --in=in Source .lu file or LUIS application JSON model for testing
435- -o, --out=out Output file or folder name. If not specified stdout will be used as output
436- -s, --subscriptionKey=subscriptionKey (required) LUIS cognitive services subscription key
437- --allowIntentsCount=allowIntentsCount [default: 1] Top-scoring intent or top n Intent with score to show in the result
438- --endpoint=endpoint [default: https://westus.api.cognitive.microsoft.com] LUIS endpoint hostname
439- --force If --out flag is provided with the path to an existing file, overwrites that file
440- --intentOnly Only test intent
441- --staging Presence of flag targets the staging app, if no flag passed defaults to production
442-
443- EXAMPLE
444-
445- $ bf luis:test -i {TESTDATA.lu} -o {RESULT.lu} --endpoint {ENDPOINT} --subscriptionKey {SUBSCRIPTION_KEY} --appId {APP_ID}
446- ```
447-
448- _ See code: [ src/commands/luis/test.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/test.ts ) _
449-
450462## ` bf luis:generate:cs `
451463
452464Generate: cs generates a strongly typed C# source code from an exported (json) LUIS model.
@@ -483,6 +495,37 @@ OPTIONS
483495
484496_ See code: [ src/commands/luis/generate/ts.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/generate/ts.ts ) _
485497
498+ ## ` bf luis:test `
499+
500+ Test a .lu file or LUIS application JSON model against a published LUIS model
501+
502+ ```
503+ USAGE
504+ $ bf luis:test
505+
506+ OPTIONS
507+ -a, --appId=appId (required) LUIS application Id
508+ -h, --help luis:test help
509+ -i, --in=in Source .lu file or LUIS application JSON model for testing
510+ -o, --out=out Output file or folder name. If not specified stdout will be used as output
511+ -s, --subscriptionKey=subscriptionKey (required) LUIS cognitive services subscription key
512+
513+ --allowIntentsCount=allowIntentsCount [default: 1] Top-scoring intent or top n Intent with score to show in the
514+ result
515+
516+ --endpoint=endpoint [default: https://westus.api.cognitive.microsoft.com] LUIS endpoint hostname
517+
518+ --force If --out flag is provided with the path to an existing file, overwrites that
519+ file
520+
521+ --intentOnly Only test intent
522+
523+ --staging Presence of flag targets the staging app, if no flag passed defaults to
524+ production
525+ ```
526+
527+ _ See code: [ src/commands/luis/test.ts] ( https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/test.ts ) _
528+
486529## ` bf luis:train:run `
487530
488531Issues asynchronous training request for LUIS application
0 commit comments