Class: DatadogAPIClient::V2::LLMObsLabelSchema

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

Overview

Schema definition for a single label in an annotation queue.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



60
61
62
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 60

def additional_properties
  @additional_properties
end

#descriptionObject

Description of the label.



25
26
27
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 25

def description
  @description
end

#has_assessmentObject

Whether this label includes an assessment field.



28
29
30
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 28

def has_assessment
  @has_assessment
end

#has_reasoningObject

Whether this label includes a reasoning field.



31
32
33
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 31

def has_reasoning
  @has_reasoning
end

#idObject

Unique identifier of the label schema. Assigned by the server if not provided.



34
35
36
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 34

def id
  @id
end

#is_assessmentObject

Whether the boolean label represents an assessment. Requires has_assessment to be true.



37
38
39
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 37

def is_assessment
  @is_assessment
end

#is_integerObject

Whether score values must be integers. Applicable to score-type labels.



40
41
42
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 40

def is_integer
  @is_integer
end

#is_requiredObject

Whether this label is required for an annotation.



43
44
45
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 43

def is_required
  @is_required
end

#maxObject

Maximum value for score-type labels.



46
47
48
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 46

def max
  @max
end

#minObject

Minimum value for score-type labels.



49
50
51
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 49

def min
  @min
end

#nameObject

Name of the label. Must match the pattern ^[a-zA-Z0-9_-]+$ and be unique within the queue.



52
53
54
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 52

def name
  @name
end

#typeObject

Type of a label in an annotation queue label schema.



55
56
57
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 55

def type
  @type
end

#valuesObject

Allowed values for categorical-type labels. Must contain at least one non-empty, unique value.



58
59
60
# File 'lib/datadog_api_client/v2/models/llm_obs_label_schema.rb', line 58

def values
  @values
end