class Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::PhraselistCreateObject
Object model for creating a phraselist model.
Attributes
@return [Boolean] Indicates if the Phraselist is enabled for all models in the application. Default value: true .
@return [Boolean] 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. Default value: true .
@return [String] The Phraselist name.
@return [String] List of comma-separated phrases that represent the Phraselist.
Private Class Methods
Mapper for PhraselistCreateObject
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb, line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PhraselistCreateObject', type: { name: 'Composite', class_name: 'PhraselistCreateObject', model_properties: { phrases: { client_side_validation: true, required: false, serialized_name: 'phrases', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, is_exchangeable: { client_side_validation: true, required: false, serialized_name: 'isExchangeable', default_value: true, type: { name: 'Boolean' } }, enabled_for_all_models: { client_side_validation: true, required: false, serialized_name: 'enabledForAllModels', default_value: true, type: { name: 'Boolean' } } } } } end