BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Support LuisRecognizerOptionsV2 and/or LuisPredictionOptions for LuisRecognizer in Composer

Open Erry91 opened this issue 2 years ago • 2 comments

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).

Erry91 avatar Jul 19 '22 13:07 Erry91

Hi @Erry91, I'm investigating this issue.

ramfattah avatar Jul 19 '22 16:07 ramfattah

Hi @Erry91

Thank you for engaging with the Composer project. We'll add this work item to the backlog for future iterations. We do not have an ETA at this time for when this feature will be available.

ramfattah avatar Aug 16 '22 18:08 ramfattah