This repository was archived by the owner on Jul 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
feat: use Recognizer uischema fields to customize Recognizer instance
#4433
Open
yeze322
wants to merge
1,287
commits into
microsoft:main
Choose a base branch
from
yeze322:uischema/recognizer-seed
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
a-b-r-o-w-n
previously approved these changes
Nov 17, 2020
Contributor
a-b-r-o-w-n
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool. I'd like to see our usage of the expression evaluation expanded.
Member
|
@yeze322 conflicts |
Co-authored-by: Dong Lei <[email protected]> Co-authored-by: Andy Brown <[email protected]>
…lishing (microsoft#4521) * check if port in use before showing success message on local publishing * change to dev dependency * fix build error Co-authored-by: Chris Whitten <[email protected]> Co-authored-by: Andy Brown <[email protected]>
* updated js runtime to match the latest sdk * updated composerbot of js runtime * updated sdk to 4.11.0-rc1 * fixed test failure for js runtime * updated sdk to 4.11 rc3 * added schemas in node runtime * copy schemas folder while ejecting * added sample for custom action * inline comments and converters * updated update-schema script * more inline comments * updated js runtime to 4.11.0 Co-authored-by: Lu Han <[email protected]> Co-authored-by: Chris Whitten <[email protected]>
Co-authored-by: Dong Lei <[email protected]>
Co-authored-by: Ben Yackley <[email protected]>
…osoft#5020) * Updated installOneAuth script to target correct version. * Better refactor
* expressions menu * Fixing aligment of menu * PR comments Co-authored-by: Soroush <[email protected]>
* fix * Improved handling of focus when leveraging an Intellisense suggestion * comments on wrong lines
* refactor the luis build in azure publish * update the orchestrator path * update the cleanup * fix typo * catch the build error * remove qna endpoint * remove console * add qnaconfig
* fix: refinde the error message when the bot is deleted * change the message * update the string
Co-authored-by: Chris Whitten <[email protected]>
* project tree menu item for remote skill * fix react render list key warning * lint
* keyboard move err * lint * add id for div * lint * move DOM opt inside useEffect Co-authored-by: Lu Han <[email protected]> Co-authored-by: zeye <[email protected]>
…5474) * unify display name function in client, visual editor * dialog displayName from $designer.name * lint * use getFriendlyName * unify manager type in design page * refactor type enums * conflict * specs failed * spcs * refactor code * refactor Co-authored-by: zhixzhan <[email protected]> Co-authored-by: zeye <[email protected]> Co-authored-by: Lu Han <[email protected]>
* consume some env variables from bash instead of JS * update DEV_CERT_ID to be consumed in bash
…p 2) (microsoft#5673) * use designPage only * add router for link * remove unused code * add empty check Co-authored-by: Srinaath Ravichandran <[email protected]>
…ilt-in function map (microsoft#5599) * update package version * fix version and add sqrt and abs
… header (microsoft#5700) Co-authored-by: Chris Whitten <[email protected]> Co-authored-by: Andy Brown <[email protected]>
…ish (microsoft#5688) * fix: No exception thrown when unsupported locale is set for Luis publish * fix unit tests * filter unsupport language when create cross train config Co-authored-by: Dong Lei <[email protected]>
* fix cursor err * refactor code style with other property * lint * use type Co-authored-by: Dong Lei <[email protected]> Co-authored-by: Lu Han <[email protected]>
Co-authored-by: Lu Han <[email protected]>
Co-authored-by: Lu Han <[email protected]>
…ndition) (microsoft#5693) * add 100px marign right for branching nodes * fix UT * UT: switch node size Co-authored-by: Lu Han <[email protected]>
Co-authored-by: Lu Han <[email protected]>
* Update NuGet.Config * Update NuGet.Config * Remove clear Signed-off-by: Srinaath Ravichandran <[email protected]> * Added back clear Signed-off-by: Srinaath Ravichandran <[email protected]> Co-authored-by: Srinaath Ravichandran <[email protected]> Co-authored-by: Srinaath Ravichandran <[email protected]>
Co-authored-by: Chris Whitten <[email protected]>
…ns inaccessible issue on Project Tree (microsoft#5722) * save for tmp use * save tmp code * save for tmp use * add two more buttons * update calculation for treeitem text maxwidth * show parent icons if a link selected * fix resize bug * fix resize bug * remove unused file * handle comments * fix truncated treeitem width bug * remove addTrigger and addDialog Icons Co-authored-by: Dong Lei <[email protected]>
Contributor
Author
|
blocked by CI process, out of memory error as a low priority feature, target it to R13 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Description
#minor
refs #4135
closes #4433
In JS format, Recognizer's uischema can use the
seedNewRecognizermethod to customize how to initalize an instance.However, in pure JSON format, we cannot define a function as the value of
seedNewRecognizer.This PR defines a new property
fieldsin recognizer uischema to provide the ability to define how to initalize a recognizer instance in JSON format.Definitions
With
fields, the type of recognizer uischema is defined asThe
fieldsis consumed byresolveSeedNewRecognizer.ts.Examples
To generate dynamic instances,
fieldsis integrated with bf-lg. It consumes theShellDataas the context.As an example
will generate instances like this
{ "$kind": "Microsoft.SomeRecognizer", "projectId": "MyProject", "dialogId": "Dialog1", "locale": "en-us" }PVA
In PVA scenario, we want the recognizer object contain an
idfield which equals to'${dialogName}.lu'.With the
fieldsproperty, we can define its uischema as below:Then the instance of PVA recongizer will become

Task Item
Screenshots