Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

4.8 Bot Framework CLI Tools

Compare
Choose a tag to compare
@cleemullins cleemullins released this 04 May 22:22
03afaab

Changelog for v4.8.0:

bf plugins command group

New Commands: This group of commands allow the user to dynamically install Bot Framework preview commands .

bf plugins
Install, uninstall and show installed plugins

USAGE
  $ bf plugins

OPTIONS
  --help  Display plugins commands help.

COMMANDS
  plugins:install    Installs a plugin into the BF CLI
  plugins:list       List installed plugins
  plugins:uninstall  Removes a plugin from the BF CLI

bf luis:build

New Command: Build lu files to train and publish luis applications

USAGE
  $ bf luis:build

OPTIONS
  -f, --force                      If --dialog flag is provided, overwirtes relevant dialog file
  -h, --help                       show CLI help
  -i, --in=in                      Lu file or folder

  -o, --out=out                    Output file or folder name. If not specified, current directory will be used as
                                   output

  --authoringKey=authoringKey      (required) LUIS authoring key

  --botName=botName                Bot name

  --defaultCulture=defaultCulture  Culture code for the content. Infer from .lu if available. Defaults to en-us

  --dialog                         Write out .dialog files

  --fallbackLocale=fallbackLocale  Locale to be used at the fallback if no locale specific recognizer is found. Only
                                   valid if --dialog is set

  --log                            write out log messages to console

  --luConfig=luConfig              Path to config for lu build

  --region=region                  [default: westus] LUIS authoring region [westus|westeurope|australiaeast]

  --suffix=suffix                  Environment name as a suffix identifier to include in LUIS app name. Defaults to
                                   current logged in useralias

EXAMPLE

       $ bf luis:build --in {INPUT_FILE_OR_FOLDER} --authoringKey {AUTHORING_KEY} --botName {BOT_NAME} --dialog {true}

bf luis:generate

Added support for luis new schema 6.0.0

@microsoft/bf-lu v2 API

New API v2 and decoupling of oclif libraries to improve performance.

CI compatibility

The CLI now detects CI environments by reading BF_CLI_TELEMETRY environment variable
--json flag added to luis commands which can be consumed as JSON

PR History

  • Luis output format CI compatible [PR 646]
  • fix lu build bug when training empty intents [PR 643]
  • Switch to chrimc62 packages. [PR 642]
  • Removing unused libraries [PR 639]
  • Bf-LU test cleanup and other fixes [PR 638]
  • Make Tag Build conditional on IsFork [PR 637]
  • Add link for full command usage documentation [PR 636]
  • Bot is now integral to az, not an extension [PR 634]
  • Verbose Build Tests [PR 631]
  • Adding nightly build instructions [PR 628]
  • bf-lu: update some function to support load file content directly [PR 626]
  • Emimunoz/clarify documentation [PR 625]
  • Update CONTRIBUTING.md [PR 624]
  • Composite entity definitions can now be split across different .lu files [PR 622]
  • Switch to interface/implements in dialog:merge. [PR 621]
  • Switch to using ${} instead of @{} [PR 618]
  • bf-luis moving username to dependency [PR 617]
  • Vishwac/lu recursive resolve [PR 615]
  • Updating tests [PR 607]
  • removing bin [PR 606]
  • formatting multilines [PR 604]
  • Fixing bf-lu required files [PR 603]
  • Fixed typos [PR 602]
  • cross-train core library in bf-lu [PR 601]
  • inline functions [PR 600]
  • Refactor lu api [PR 597]
  • Cleanup docs [PR 596]
  • Nigao/boolean [PR 595]
  • Remove CI telemetry instructions [PR 594]
  • fix the name bug in read form [PR 590]
  • Fix for various LU bugs [PR 585]
  • Deleting commands from lu api package [PR 584]
  • Nigao/splitlibrary [PR 583]
  • Spliting commands from lu-cli to luis and qnamaker [PR 581]
  • Updated specs [PR 580]
  • Correct 2 wording issues [PR 579]
  • fixed 2 spelling issues [PR 578]
  • Fixed typos [PR 577]
  • [Lubuild] fix multiple bugs: case sensitive issue, default version issue and exception not throw out issue [PR 576]
  • Update to current .lu file format [PR 575]
  • Nigao/renaming [PR 573]
  • LG spec [PR 572]
  • Fixing tslint issue on build command [PR 569]
  • LU CLI separation from lib [PR 568]
  • Update usage of B_CLI_TELEMETRY flag in CI pipelines [PR 563]
  • add numberSetdimension.dialog [PR 560]
  • Fixes #550, #255 [PR 558]
  • Update issue templates [PR 557]
  • bf-lu perf updates [PR 554]
  • Silent ci install [PR 551]
  • Fix bug that prevented late expansion in schema. [PR 546]
  • build: remove lerna.json [PR 545]
  • Adding config:set command and standardizing set behavior [PR 542]
  • streamline dispatcher IO and clean up after unit tests [PR 541]
  • Fix chatdown broken link [PR 539]
  • Changes to support Luis schema v6.0.0 [PR 534]
  • Builds for Win & Mac [PR 532]
  • Handle duplicate utterances with entity definition [PR 531]
  • Adding docs to chatdown [PR 530]
  • Setting qnamaker:kb:export to default environment to Prod [PR 524]
  • Update merge to include string in union [PR 522]
  • fix file content unit tests, add entries to index.ts [PR 521]
  • add number validation [PR 520]
  • LU improvements for R8 [PR 514]
  • Fix bug - pass array by value [PR 513]
  • Add force flag to config:set:luis [PR 512]
  • Adding '--wait' flag to luis:train:run' to print completion status [PR 511]
  • Add multi-turn support in qna file format [PR 508]
  • Axsuarez/onerror cs serializer [PR 506]
  • fixed namespace scenario for lugen cs [PR 501]
  • Add the ability to override generated templates [PR 500]
  • Upgrade azure auth and runtime clients [PR 497]
  • Update luis:build and dialog:generate [PR 496]
  • build: bump rush 5.19.1 [PR 495]
  • ci: ignore doc changes for CI [PR 494]
  • build: update rush 5.19, pnpm 4.8 [PR 493]
  • Fix LU parser to handle pattern.any any definitions added by prebuilt domain import [PR 492]
  • Updating roadmap and mapping for release schedule [PR 491]
  • fix a bug in file name [PR 487]
  • Nigao/ordinaldatetime [PR 486]
  • add phonenumber to unittests [PR 485]
  • fix a bug in genCopy, add = for all set property [PR 484]
  • Doc fix qnamaker:convert [PR 483]
  • LU file Format Doc: fix escape character in code blocks [PR 481]
  • [lubuild] optimize lu lexer and parser [PR 480]
  • [LU Parser] Optimize error messages [PR 478]
  • [Lubuild] Expose lu build core for composer [PR 477]
  • Fix bug where empty array was indexed in build. [PR 474]
  • Fix bug that would prevent creating first model. [PR 471]
  • fix sandwich schema. remove mapping from number to dimension [PR 470]
  • Update documentation and switch to bf luis:build [PR 469]
  • Optimize section operator and lu parser for managed lu requirements [PR 466]
  • [lubuild] cli param typo optimization, bug fixes and test optimization [PR 465]
  • add Luis TestDevSpec [PR 464]
  • Nigao/readselection [PR 463]
  • Chrimc/entities [PR 460]
  • Nigao/priority [PR 459]
  • Chrimc/entities [PR 458]
  • Bf cli luis functional tests [PR 457]
  • [Spec] QnA Maker BUILD [PR 456]
  • Adding Plugins command group to manage plugins at runtime [PR 455]
  • change section id to specific pattern [PR 454]
  • Call posttest script in build, fix lint issues [PR 451]
  • Change order of plugin includes [PR 447]
  • fix bugs [PR 446]
  • fix a bug [PR 443]
  • Update urls in cli readme [PR 442]
  • Updating readme, fixurl script & cmd descriptions [PR 440]
  • Switch to public versions of botframework-expressions and botbuilder-lg. [PR 437]
  • Nigao/moneyschema [PR 435]
  • Use name flag val to override name in app json if present [PR 432]
  • Add pre-generation schema expression eval. [PR 431]
  • Nigao/moneyschema [PR 430]
  • Chrimc/utterance [PR 429]
  • Various qa fixes [PR 427]
  • Chrimc/utterance [PR 426]
  • Nigao/testschema [PR 425]
  • Enable template: as a $ref protocol. [PR 424]
  • lubuild support in bf cli [PR 422]
  • fix bugs of lu lexer [PR 421]
  • Formatting publish response json [PR 419]
  • Explicitly generate LUIS recognizer to support getting $instance [PR 418]
  • Fixing casing on createkb require [PR 413]
  • Adding 'endpoint' to config init [PR 411]
  • Adding version unit tests [PR 410]
  • build: fix install issues [PR 405]
  • Make this pipeline run at midnight local time [PR 402]
  • Adding luis:init cmd [PR 401]
  • ci: publish artifacts [PR 396]