Class: DatadogAPIClient::V2::LLMObsAnnotationLabelValue

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/llm_obs_annotation_label_value.rb

Overview

A single label value entry in an annotation. The value type must match the label schema type:

  • score: a number within the schema min/max range (integer if is_integer is true).
  • categorical: a string that is one of the schema values.
  • boolean: true or false.
  • text: any non-empty string.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



41
42
43
# File 'lib/datadog_api_client/v2/models/llm_obs_annotation_label_value.rb', line 41

def additional_properties
  @additional_properties
end

#assessmentObject

Assessment result for a label value.



30
31
32
# File 'lib/datadog_api_client/v2/models/llm_obs_annotation_label_value.rb', line 30

def assessment
  @assessment
end

#label_schema_idObject

ID of the label schema this value corresponds to.



33
34
35
# File 'lib/datadog_api_client/v2/models/llm_obs_annotation_label_value.rb', line 33

def label_schema_id
  @label_schema_id
end

#reasoningObject

Free text reasoning for this label value.



36
37
38
# File 'lib/datadog_api_client/v2/models/llm_obs_annotation_label_value.rb', line 36

def reasoning
  @reasoning
end

#valueObject

The value for this label. Must comply with the label schema type constraints.



39
40
41
# File 'lib/datadog_api_client/v2/models/llm_obs_annotation_label_value.rb', line 39

def value
  @value
end