class Azure::CognitiveServices::LuisRuntime::V3_0::Models::Intent

Represents an intent prediction.

Attributes

child_app[RW]

@return [Prediction] The prediction of the dispatched application.

score[RW]

@return [Float] The score of the fired intent.

Private Class Methods

mapper() click to toggle source

Mapper for Intent class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/3.0/generated/azure_cognitiveservices_luisruntime/models/intent.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Intent',
    type: {
      name: 'Composite',
      class_name: 'Intent',
      model_properties: {
        score: {
          client_side_validation: true,
          required: false,
          serialized_name: 'score',
          type: {
            name: 'Double'
          }
        },
        child_app: {
          client_side_validation: true,
          required: false,
          serialized_name: 'childApp',
          type: {
            name: 'Composite',
            class_name: 'Prediction'
          }
        }
      }
    }
  }
end