Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::IntentsSuggestionExample
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::IntentsSuggestionExample
- Includes:
- MsRestAzure
- Defined in:
- lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb
Overview
Predicted/suggested intent.
Instance Attribute Summary collapse
-
#entity_predictions ⇒ Array<EntityPrediction>
Predicted/suggested entities.
-
#intent_predictions ⇒ Array<IntentPrediction>
Predicted/suggested intents.
-
#text ⇒ String
in seattle?“.
-
#tokenized_text ⇒ Array<String>
The tokenized utterance.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IntentsSuggestionExample class as Ruby Hash.
Instance Attribute Details
#entity_predictions ⇒ Array<EntityPrediction>
Returns Predicted/suggested entities.
26 27 28 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb', line 26 def entity_predictions @entity_predictions end |
#intent_predictions ⇒ Array<IntentPrediction>
Returns Predicted/suggested intents.
23 24 25 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb', line 23 def intent_predictions @intent_predictions end |
#text ⇒ String
in seattle?“
17 18 19 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb', line 17 def text @text end |
#tokenized_text ⇒ Array<String>
Returns The tokenized utterance.
20 21 22 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb', line 20 def tokenized_text @tokenized_text end |
Class Method Details
.mapper ⇒ Object
Mapper for IntentsSuggestionExample class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 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 98 99 100 101 102 103 |
# File 'lib/2.0/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 |