Skip to content

Support LuisRecognizerOptionsV2 and/or LuisPredictionOptions for LuisRecognizer in Composer #9312

Open

Description

I was trying to wrap my head around the fact that I would like to specify options in the LuisRecognizer class in Composer, but that doesn't seem possible.
These options (whether they are LuisRecognizerOptionsV2 or LuisRecognizerOptionsV3) are supported properties when constructing a luis recognizer (ref. https://docs.microsoft.com/en-us/javascript/api/botbuilder-ai/luisrecognizer?view=botbuilder-ts-latest)

In the Bot Composer schema for LuisRecognizer we only support the following properties:
image

Personally, I am specifically interested in including options such as spellCheck, bingSpellCheckSubscriptionKey and ideally customHeaders to overcome problems like culture and language for such features. (the reference for the prediction options is here https://docs.microsoft.com/en-us/javascript/api/botbuilder-ai/luispredictionoptions?view=botbuilder-ts-latest#botbuilder-ai-luispredictionoptions-customheaders)

I am wondering if there is currently a way to implement a LuisRecognizer to which we pass these custom options (not listed in the schema) in Composer (v2.1.2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    BacklogBacklog items - not in current milestoneBot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Needs-triageA new issue that require triagecustomer-reportedRequired for internal Azure reporting. Do not delete.feature-requestA request for new functionality or an enhancement to an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions