Skip to content

Commit 25ce205

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 3c4929a of spec repo (#3290)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 84e553c commit 25ce205

6 files changed

Lines changed: 13 additions & 10 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38202,7 +38202,7 @@ components:
3820238202
$ref: "#/components/schemas/LLMObsAnnotationItem"
3820338203
type: array
3820438204
content_id:
38205-
description: Identifier of the content for this interaction.
38205+
description: Identifier of the content (trace ID or session ID) for this interaction.
3820638206
example: "trace-abc-123"
3820738207
type: string
3820838208
id:
@@ -38405,7 +38405,7 @@ components:
3840538405
description: A single interaction to add to an annotation queue.
3840638406
properties:
3840738407
content_id:
38408-
description: Identifier of the content (such as trace ID) for this interaction.
38408+
description: Identifier of the content (trace ID or session ID) for this interaction.
3840938409
example: "trace-abc-123"
3841038410
type: string
3841138411
type:
@@ -38422,7 +38422,7 @@ components:
3842238422
example: false
3842338423
type: boolean
3842438424
content_id:
38425-
description: Identifier of the content for this interaction.
38425+
description: Identifier of the content (trace ID or session ID) for this interaction.
3842638426
example: "trace-abc-123"
3842738427
type: string
3842838428
id:
@@ -39941,11 +39941,13 @@ components:
3994139941
enum:
3994239942
- trace
3994339943
- experiment_trace
39944+
- session
3994439945
example: trace
3994539946
type: string
3994639947
x-enum-varnames:
3994739948
- TRACE
3994839949
- EXPERIMENT_TRACE
39950+
- SESSION
3994939951
LLMObsLabelSchema:
3995039952
description: Schema definition for a single label in an annotation queue.
3995139953
properties:
@@ -109631,7 +109633,7 @@ paths:
109631109633
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
109632109634
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions:
109633109635
get:
109634-
description: Retrieve all interactions and their annotations for a given annotation queue.
109636+
description: Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
109635109637
operationId: GetLLMObsAnnotatedInteractions
109636109638
parameters:
109637109639
- $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter"
@@ -109692,7 +109694,7 @@ paths:
109692109694
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions:
109693109695
post:
109694109696
description: |-
109695-
Add one or more interactions (traces) to an annotation queue.
109697+
Add one or more interactions (traces or sessions) to an annotation queue.
109696109698
At least one interaction must be provided.
109697109699
operationId: CreateLLMObsAnnotationQueueInteractions
109698109700
parameters:

lib/datadog_api_client/v2/api/llm_observability_api.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def create_llm_obs_annotation_queue_interactions(queue_id, body, opts = {})
109109

110110
# Add annotation queue interactions.
111111
#
112-
# Add one or more interactions (traces) to an annotation queue.
112+
# Add one or more interactions (traces or sessions) to an annotation queue.
113113
# At least one interaction must be provided.
114114
#
115115
# @param queue_id [String] The ID of the LLM Observability annotation queue.
@@ -1100,7 +1100,7 @@ def get_llm_obs_annotated_interactions(queue_id, opts = {})
11001100

11011101
# Get annotated queue interactions.
11021102
#
1103-
# Retrieve all interactions and their annotations for a given annotation queue.
1103+
# Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
11041104
#
11051105
# @param queue_id [String] The ID of the LLM Observability annotation queue.
11061106
# @param opts [Hash] the optional parameters

lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class LLMObsAnnotatedInteractionItem
2424
# List of annotations for this interaction.
2525
attr_reader :annotations
2626

27-
# Identifier of the content for this interaction.
27+
# Identifier of the content (trace ID or session ID) for this interaction.
2828
attr_reader :content_id
2929

3030
# Unique identifier of the interaction.

lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_item.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class LLMObsAnnotationQueueInteractionItem
2222
include BaseGenericModel
2323

24-
# Identifier of the content (such as trace ID) for this interaction.
24+
# Identifier of the content (trace ID or session ID) for this interaction.
2525
attr_reader :content_id
2626

2727
# Type of interaction in an annotation queue.

lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class LLMObsAnnotationQueueInteractionResponseItem
2424
# Whether this interaction already existed in the queue.
2525
attr_reader :already_existed
2626

27-
# Identifier of the content for this interaction.
27+
# Identifier of the content (trace ID or session ID) for this interaction.
2828
attr_reader :content_id
2929

3030
# Unique identifier of the interaction.

lib/datadog_api_client/v2/models/llm_obs_interaction_type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ class LLMObsInteractionType
2323

2424
TRACE = "trace".freeze
2525
EXPERIMENT_TRACE = "experiment_trace".freeze
26+
SESSION = "session".freeze
2627
end
2728
end

0 commit comments

Comments
 (0)