Class: DatadogAPIClient::V2::LLMObsUpsertAnnotationItem

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

Overview

A single annotation to create or update. The annotation is matched by interaction_id and the requesting user's identity.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#annotator ⇒ Object

Caller-supplied name or identifier for the external person or automated system that produced the labels. The value is an opaque string with no required format. Use a stable, recognizable value for the same producer across annotations. The value is stored and returned as provided. It is not a Datadog user ID or login, and it is not resolved against Datadog users. Omit this field or set it to null to preserve existing attribution. Set it to an empty string to clear attribution.



32
33
34
# File 'lib/datadog_api_client/v2/models/llm_obs_upsert_annotation_item.rb', line 32

def annotator
  @annotator
end

#interaction_id ⇒ Object

ID of the interaction to annotate.



35
36
37
# File 'lib/datadog_api_client/v2/models/llm_obs_upsert_annotation_item.rb', line 35

def interaction_id
  @interaction_id
end

#label_values ⇒ Object

Label values for this annotation. Each entry references a label schema by ID and provides the corresponding value validated against the schema type constraints.



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

def label_values
  @label_values
end