Skip to content

Commit 14d0f7f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3c4929a of spec repo
1 parent 2b81865 commit 14d0f7f

6 files changed

Lines changed: 14 additions & 10 deletions

.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:
@@ -109649,7 +109651,7 @@ paths:
109649109651
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
109650109652
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions:
109651109653
get:
109652-
description: Retrieve all interactions and their annotations for a given annotation queue.
109654+
description: Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
109653109655
operationId: GetLLMObsAnnotatedInteractions
109654109656
parameters:
109655109657
- $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter"
@@ -109710,7 +109712,7 @@ paths:
109710109712
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions:
109711109713
post:
109712109714
description: |-
109713-
Add one or more interactions (traces) to an annotation queue.
109715+
Add one or more interactions (traces or sessions) to an annotation queue.
109714109716
At least one interaction must be provided.
109715109717
operationId: CreateLLMObsAnnotationQueueInteractions
109716109718
parameters:

api/datadogV2/api_llm_observability.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (a *LLMObservabilityApi) CreateLLMObsAnnotationQueue(ctx _context.Context,
120120
}
121121

122122
// CreateLLMObsAnnotationQueueInteractions Add annotation queue interactions.
123-
// Add one or more interactions (traces) to an annotation queue.
123+
// Add one or more interactions (traces or sessions) to an annotation queue.
124124
// At least one interaction must be provided.
125125
func (a *LLMObservabilityApi) CreateLLMObsAnnotationQueueInteractions(ctx _context.Context, queueId string, body LLMObsAnnotationQueueInteractionsRequest) (LLMObsAnnotationQueueInteractionsResponse, *_nethttp.Response, error) {
126126
var (
@@ -1320,7 +1320,7 @@ func (a *LLMObservabilityApi) DeleteLLMObsProjects(ctx _context.Context, body LL
13201320
}
13211321

13221322
// GetLLMObsAnnotatedInteractions Get annotated queue interactions.
1323-
// Retrieve all interactions and their annotations for a given annotation queue.
1323+
// Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
13241324
func (a *LLMObservabilityApi) GetLLMObsAnnotatedInteractions(ctx _context.Context, queueId string) (LLMObsAnnotatedInteractionsResponse, *_nethttp.Response, error) {
13251325
var (
13261326
localVarHTTPMethod = _nethttp.MethodGet

api/datadogV2/model_llm_obs_annotated_interaction_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
type LLMObsAnnotatedInteractionItem struct {
1515
// List of annotations for this interaction.
1616
Annotations []LLMObsAnnotationItem `json:"annotations"`
17-
// Identifier of the content for this interaction.
17+
// Identifier of the content (trace ID or session ID) for this interaction.
1818
ContentId string `json:"content_id"`
1919
// Unique identifier of the interaction.
2020
Id string `json:"id"`

api/datadogV2/model_llm_obs_annotation_queue_interaction_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// LLMObsAnnotationQueueInteractionItem A single interaction to add to an annotation queue.
1414
type LLMObsAnnotationQueueInteractionItem struct {
15-
// Identifier of the content (such as trace ID) for this interaction.
15+
// Identifier of the content (trace ID or session ID) for this interaction.
1616
ContentId string `json:"content_id"`
1717
// Type of interaction in an annotation queue.
1818
Type LLMObsInteractionType `json:"type"`

api/datadogV2/model_llm_obs_annotation_queue_interaction_response_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
type LLMObsAnnotationQueueInteractionResponseItem struct {
1515
// Whether this interaction already existed in the queue.
1616
AlreadyExisted bool `json:"already_existed"`
17-
// Identifier of the content for this interaction.
17+
// Identifier of the content (trace ID or session ID) for this interaction.
1818
ContentId string `json:"content_id"`
1919
// Unique identifier of the interaction.
2020
Id string `json:"id"`

api/datadogV2/model_llm_obs_interaction_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ type LLMObsInteractionType string
1717
const (
1818
LLMOBSINTERACTIONTYPE_TRACE LLMObsInteractionType = "trace"
1919
LLMOBSINTERACTIONTYPE_EXPERIMENT_TRACE LLMObsInteractionType = "experiment_trace"
20+
LLMOBSINTERACTIONTYPE_SESSION LLMObsInteractionType = "session"
2021
)
2122

2223
var allowedLLMObsInteractionTypeEnumValues = []LLMObsInteractionType{
2324
LLMOBSINTERACTIONTYPE_TRACE,
2425
LLMOBSINTERACTIONTYPE_EXPERIMENT_TRACE,
26+
LLMOBSINTERACTIONTYPE_SESSION,
2527
}
2628

2729
// GetAllowedValues reeturns the list of possible values.

0 commit comments

Comments
 (0)