Class: Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::JSONModelFeature
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::JSONModelFeature
- Includes:
- MsRestAzure
- Defined in:
- lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb
Overview
Exported Model - Phraselist Model Feature.
Instance Attribute Summary collapse
-
#activated ⇒ Boolean
Indicates if the feature is enabled.
-
#enabled_for_all_models ⇒ Boolean
in the application.
-
#mode ⇒ Boolean
list of synonyms for training.
-
#name ⇒ String
The Phraselist name.
-
#words ⇒ String
Phraselist.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JSONModelFeature class as Ruby Hash.
Instance Attribute Details
#activated ⇒ Boolean
Returns Indicates if the feature is enabled.
16 17 18 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb', line 16 def activated @activated end |
#enabled_for_all_models ⇒ Boolean
in the application. Default value: true .
37 38 39 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb', line 37 def enabled_for_all_models @enabled_for_all_models end |
#mode ⇒ Boolean
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.
33 34 35 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb', line 33 def mode @mode end |
#name ⇒ String
Returns The Phraselist name.
19 20 21 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb', line 19 def name @name end |
#words ⇒ String
Phraselist.
23 24 25 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb', line 23 def words @words end |
Class Method Details
.mapper ⇒ Object
Mapper for JSONModelFeature class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JSONModelFeature', type: { name: 'Composite', class_name: 'JSONModelFeature', model_properties: { activated: { client_side_validation: true, required: false, serialized_name: 'activated', type: { name: 'Boolean' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, words: { client_side_validation: true, required: false, serialized_name: 'words', type: { name: 'String' } }, mode: { client_side_validation: true, required: false, serialized_name: 'mode', type: { name: 'Boolean' } }, enabled_for_all_models: { client_side_validation: true, required: false, serialized_name: 'enabledForAllModels', default_value: true, type: { name: 'Boolean' } } } } } end |