JSONModelFeature Class

Exported Model - Phraselist Model Feature.

Inheritance
JSONModelFeature

Constructor

JSONModelFeature(*, activated: Optional[bool] = None, name: Optional[str] = None, words: Optional[str] = None, mode: Optional[bool] = None, enabled_for_all_models: bool = True, **kwargs)

Parameters

activated
bool
Required

Indicates if the feature is enabled.

name
str
Required

The Phraselist name.

words
str
Required

List of comma-separated phrases that represent the Phraselist.

mode
bool
Required

An interchangeable phrase list feature serves as a list of synonyms for training. A non-exchangeable phrase list serves as separate features for training. So, if your non-interchangeable phrase list contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-interchangeable phrase list as an additional bag of words to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn't. Default value is true.

enabled_for_all_models
bool
Required

Indicates if the Phraselist is enabled for all models in the application. Default value: True .