Class: DatadogAPIClient::V2::LLMObsLabelSchema
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsLabelSchema
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
Description of the label.
-
#has_assessment ⇒ Object
Whether this label includes an assessment field.
-
#has_reasoning ⇒ Object
Whether this label includes a reasoning field.
-
#id ⇒ Object
Unique identifier of the label schema.
-
#is_assessment ⇒ Object
Whether the boolean label represents an assessment.
-
#is_integer ⇒ Object
Whether score values must be integers.
-
#is_required ⇒ Object
Whether this label is required for an annotation.
-
#max ⇒ Object
Maximum value for score-type labels.
-
#min ⇒ Object
Minimum value for score-type labels.
-
#name ⇒ Object
readonly
Name of the label.
-
#type ⇒ Object
readonly
Type of a label in an annotation queue label schema.
-
#values ⇒ Object
Allowed values for categorical-type labels.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#description ⇒ Object
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_assessment ⇒ Object
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_reasoning ⇒ Object
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 |
#id ⇒ Object
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_assessment ⇒ Object
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_integer ⇒ Object
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_required ⇒ Object
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 |
#max ⇒ Object
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 |
#min ⇒ Object
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 |
#name ⇒ Object
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 |
#type ⇒ Object
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 |
#values ⇒ Object
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 |