class Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::IntentsSuggestionExample
Predicted/suggested intent.
Attributes
entity_predictions[RW]
@return [Array<EntityPrediction>] Predicted/suggested entities.
intent_predictions[RW]
@return [Array<IntentPrediction>] Predicted/suggested intents.
text[RW]
@return [String] The utterance. For example, “What's the weather like in seattle?”
tokenized_text[RW]
@return [Array<String>] The tokenized utterance.
Private Class Methods
mapper()
click to toggle source
Mapper for IntentsSuggestionExample
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IntentsSuggestionExample', type: { name: 'Composite', class_name: 'IntentsSuggestionExample', model_properties: { text: { client_side_validation: true, required: false, serialized_name: 'text', type: { name: 'String' } }, tokenized_text: { client_side_validation: true, required: false, serialized_name: 'tokenizedText', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, intent_predictions: { client_side_validation: true, required: false, serialized_name: 'intentPredictions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'IntentPredictionElementType', type: { name: 'Composite', class_name: 'IntentPrediction' } } } }, entity_predictions: { client_side_validation: true, required: false, serialized_name: 'entityPredictions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EntityPredictionElementType', type: { name: 'Composite', class_name: 'EntityPrediction' } } } } } } } end