Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
tracyboehrer 64f07e41da
Added Codeql settings (#1353)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2022-11-04 09:57:57 -07:00
Tien Suwandy e7d2e8f64e
beta->main merge (#1165)
* added dispatcher package

* added orchestratorlib

* added orchestrator cli package

* make orchestrator cli installed with bf cli install

* cleaned up dependency, removed extra file

* Update package.json

* Update pnpm-lock.yaml

updated reference to bf-lu in dispatcher to local reference (from "next")

* Addressed review comments

- Updated orchestrator unit test code to use test base model URL, so not to confuse our download stats for customers
- Updated dispatcher and orchestratorlib readme to include internal MS use only text
- Updated dispatcher package.json to exclude oclif
- Removed unecessary files

* fullEmbeddings parameter should be taken from env var

* Added missing scripts per Emilio's PR comment and removed unneeded dependencies from orchestratorlib

* Update package.json

fixed posttest script

* Refactored base model download for testing

* Addressed review feedback

1. Added orchestrator command documentation on main cli package
2. Removed travil.yml from orchestrator package
3. Removed .vscode from orchestrator package
4. Removed "return 0;" from the command sources

* Updated Orchestrator package README

Removed specific install instructions for Linux Ubuntu.

* fixed build errors

* new interfaces and strengthed null-exception logic

* remove composer sampler tests and reduce unnecessary "as"

* Remove functional tests

* updated orchestrator core package, added versions script to orchestrator package

* Removed debugging logs

* correct index.ts

* fixed build error

* remove no longer required tests

* README.md and command documents

* Update orchestrator bf-cli to point at release candidate

* fix eslint issues

* remove the eslint map testcase

* Update pnpm-lock.yaml

* more refactoring to interfaces

* Update pnpm-lock.yaml

* Update orchestratorhelper.ts

removed unecessary comments

* clean up comments

* refactor comments

* more comment refactoring

* removing unused imports

* more interfaces and others

Co-authored-by: Hung-chih Yang <hunyang@microsoft.com>
Co-authored-by: Dave Taniguchi <daveta@microsoft.com>
Co-authored-by: daveta <6182197+daveta@users.noreply.github.com>
2021-04-01 14:05:01 -07:00
Chris McConnell f65dcf426d
Fix bug in luis:build and support operations in generator (#641)
This is in preparation to move this to experimental and out of CLI.
Fix a bug in luis:build where --dialog generates $type instead of $kind.
Redo how the generator works so that less is in the code and more in the templates. In particular templates can generate the default $entities and include other templates.
Added templates to support manipulating enum arrays including add/remove/clear/show.
Added hash codes to all generated files.

Co-authored-by: Chris Anderson <chrande@microsoft.com>
Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
2020-04-03 13:47:30 -07:00
Christopher Anderson ecbfe12015 chore: fix dialog debugging (#387) 2019-11-22 17:40:26 -08:00
Christopher Anderson 4c685ed3c8 chore: swap to rush/pnpm & azure-pipelines.yml (#381)
* wip: added rush to command and chatdown

* chore: remove lerna

* chore: add rush

* chore: fix build & test for rush

* chore: add azure-pipeline [WIP]

* fix: use correct rush package in ci

* chore: bump timeouts on tests

* chore: disable linting on tests where it doesn't work

* chore: implicityAny enabled on tests for config

* chore: disable flakey test

* chore: disable parallelism on coverage

* chore: use Node 12

* chore: rearrange ci steps

* chore: swap to windows

* chore: disable bad tests

* chore: allow warnings

* chore: disable reporting coverage to coveralls

* chore: address dialog changes

* chore: add pr and cron triggers

* docs: update contributing docs

* chore: fix branches in azure-pipelines.yml

* fix: types

* fix: flakey test
2019-11-22 14:38:35 -08:00
Chris McConnell 91881c3be6
Initial check-in of dialog generation. (#353)
* Intermediate check-in before inverting
template/prop loops.

* Working generator with incomplete templates.

* Basic .lu files working.

* Update to generate single .lu file.

* Fix cli issues.

* Fix CLI issues with template resources.

* Clean up lint warnings.

* Fix lint errors.

* Generate composite .lu

* Add dialog and multi-language support.

* shortcut to debug

* Add per-locale .lg file.

* Update debug config to use temp directory.
Generate multilingual .lg file.

* Update to include schema prefix on names.

* Fix bugs in .lg genertion.

* try help

* help and cancel

* Copy schema to output directory.

* help and cancel version 1

* separate help.lu

* several fixes

* remove help enum

* reset launch.json

* remove empty line

* Add the ability to copy library dialog files.

* Add ability to specify schema and multiple
templates.

* Rename resources.
Support multiple templates.
Add *PROPN** pattern.

* Fix bug in striingify call.

* Generate schema.main.dialog and update config.

* Update templates to newest format.

* Update templates to match names.

* add .dialogs for several basic rules

* Update templates to use $ and add begindialog as a hack to work around ada
ptive issue.

* add .dialogs for several basic rules

* fix comments

* merge from origin

* small changes

* Add formCopy cmd file.

* Adjust for bug in templates.

* fix path

* Version 1 of contact.form.dialog

* Same info is modeled for both Home and Work.
* List of state abbreviations and their spelled-out names are specified in the separate state.en-us.lu, and used in the $mappings specifications.
* Latitude and Longitude should be auto-filled if the corresponding address are filled.
* Validation patterns are specified for zip codes and phone numbers.

* Fixed contact.form.dialog and added activity.form.dialog

* contact.form.dialog
  - Fixed spelling
  - Use phonenumber prebuilt entity type
* activity.form.dialog: the second scenario from Darren "An employee working for a customer wants to add a quick update to a customer record after a call. This update will then be available for other people working with that customer to see".

* Added opportunity.form.dialog

For Darren's scenario "An employee working with a customer has had a meeting and needs to create a new opportunity."

* change names

* Revert "change names"

This reverts commit 64ffaff455.

* change names

* basic work done for ask, set and help

* cancel confirmation

* cancel confirmation done, unexpected property set confirmation in progress

* improve unexpected property test

* Version 1 of contact.form.dialog

* Same info is modeled for both Home and Work.
* List of state abbreviations and their spelled-out names are specified in the separate state.en-us.lu, and used in the $mappings specifications.
* Latitude and Longitude should be auto-filled if the corresponding address are filled.
* Validation patterns are specified for zip codes and phone numbers.

* Fixed contact.form.dialog and added activity.form.dialog

* contact.form.dialog
  - Fixed spelling
  - Use phonenumber prebuilt entity type
* activity.form.dialog: the second scenario from Darren "An employee working for a customer wants to add a quick update to a customer record after a call. This update will then be available for other people working with that customer to see".

* Added opportunity.form.dialog

For Darren's scenario "An employee working with a customer has had a meeting and needs to create a new opportunity."

* rename state.lu

* prebuilt lu templates

* remove choose entity

we only have chooseProperty and clarifyEntity

* Switch to event expected.

* Update templates for latest runtime and add ask for
multiple properties.

* Add **NAMES/**NAME** and generate property names.

* fix unexpected property confirmation usage

* change unexpected property action from ask to sendactivity

* all done confirmation

* Update names to support chooseProperty.

* Check-in bread value hack.

* Fix template bug around clarify.

* Update templates to use names and start numbers.

* complete the new forms

* contextual help

* activity schema working fine

* add meta info to opportunity schema

* opportunity semi-working

cannot use phonenumber;
properties not in required also got asked;
in stringset, default value is not expression, cannot get the value for @email

* three schemas working

sandwich, activity, opportunity

* contact schema working

Adding welcome message in beginDialog,
Add help message for non-enum properties,
All three CDS schemas working

* Sync changes for demo.

* Before adding mapping templates

* Getting close to E2e.

* Largely working with some template debugging.

* Update the readme.

* Update to latest expression and lg packages.
Support app schema.

* Update standard schema.

* Finish merge.

* Show metaschema.

* Fix readme typo.

* several changes (#299)

* several changes

(1) remove unused old files;
(2) change incorrect file names;
(3) add string ask templates;
(4) remove meta properties from schemas;
(5) fix an error in calculating optional properties

* fix help property bug

* Add string templates.

* a few changes (#318)

(1) fix the cancel.lu bug
(2) add datetime.lu
(2) stringSetdatetime.dialog.lg

* Add template for not understood.

* Connect to bf cli.

* Add basic role support.

* Nigao/newtemplate (#321)

* a few changes

(1) fix the cancel.lu bug
(2) add datetime.lu
(2) stringSetdatetime.dialog.lg

* autohelp for new templates

* Update to use @{} everywhere and remove auto-help
since it required post-ask action.

* Nigao/newtemplate (#323)

* a few changes

(1) fix the cancel.lu bug
(2) add datetime.lu
(2) stringSetdatetime.dialog.lg

* autohelp for new templates

* add $requires, and datetime entity sets

* add all stringSet for prebuilt entities explicitly

* change prebuilt-entity.lu.lg files

* Switch to using a triggerIntent instead of none for entities.
Cleanup filename expressions.

* Fix bug in status.

* Switch from dialog:form to dialog:generate

* Add top-level documentation.

* Update tests to use dialog:generate.

* Rename tests to generator.

* Fixing linting errors

* Generate confirmation card.

* Fix reference regex ot not match structured lg.
2019-11-15 13:03:23 -08:00
Emilio Munoz 8eb4a746d6 Fixing readme.md rendering issues 2019-09-25 14:31:59 -07:00
Tom Laird-McConnell 26ea601f61 couple of feedback tweaks 2019-08-19 14:10:09 -07:00
Emilio Munoz e48a1364e5 Fixing PR comments 2019-08-13 14:38:55 -07:00
Emilio Munoz 6ddc43f343 Removing package-lock from repo 2019-08-12 11:19:29 -07:00
Bruce Haley de0b96293e Add package-lock.json, update package.json 2019-05-23 09:57:32 -07:00
Emilio Munoz 41309be4ef Changing chatdown package name 2019-05-17 15:15:55 -07:00
Microsoft GitHub User 037747fcb2
Initial commit 2019-05-16 10:58:21 -07:00