class Azure::CognitiveServices::LuisRuntime::V2_0::Models::IntentModel
An intent detected from the utterance.
Attributes
intent[RW]
@return [String] Name of the intent, as defined in LUIS.
score[RW]
@return [Float] Associated prediction score for the intent (float).
Public Class Methods
mapper()
click to toggle source
Mapper for IntentModel
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2.0/generated/azure_cognitiveservices_luisruntime/models/intent_model.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IntentModel', type: { name: 'Composite', class_name: 'IntentModel', model_properties: { intent: { client_side_validation: true, required: false, serialized_name: 'intent', type: { name: 'String' } }, score: { client_side_validation: true, required: false, serialized_name: 'score', constraints: { InclusiveMaximum: 1, InclusiveMinimum: 0 }, type: { name: 'Double' } } } } } end