Skip to content

Commit 9b047fc

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

6 files changed

Lines changed: 16 additions & 12 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:

src/main/java/com/datadog/api/client/v2/api/LlmObservabilityApi.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ public LLMObsAnnotationQueueInteractionsResponse createLLMObsAnnotationQueueInte
269269
}
270270

271271
/**
272-
* Add one or more interactions (traces) to an annotation queue. At least one interaction must be
273-
* provided.
272+
* Add one or more interactions (traces or sessions) to an annotation queue. At least one
273+
* interaction must be provided.
274274
*
275275
* @param queueId The ID of the LLM Observability annotation queue. (required)
276276
* @param body Add interactions payload. (required)
@@ -2493,7 +2493,8 @@ public CompletableFuture<LLMObsAnnotatedInteractionsResponse> getLLMObsAnnotated
24932493
}
24942494

24952495
/**
2496-
* Retrieve all interactions and their annotations for a given annotation queue.
2496+
* Retrieve all interactions (traces and sessions) and their annotations for a given annotation
2497+
* queue.
24972498
*
24982499
* @param queueId The ID of the LLM Observability annotation queue. (required)
24992500
* @return ApiResponse&lt;LLMObsAnnotatedInteractionsResponse&gt;

src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public LLMObsAnnotatedInteractionItem contentId(String contentId) {
9393
}
9494

9595
/**
96-
* Identifier of the content for this interaction.
96+
* Identifier of the content (trace ID or session ID) for this interaction.
9797
*
9898
* @return contentId
9999
*/

src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public LLMObsAnnotationQueueInteractionItem contentId(String contentId) {
4949
}
5050

5151
/**
52-
* Identifier of the content (such as trace ID) for this interaction.
52+
* Identifier of the content (trace ID or session ID) for this interaction.
5353
*
5454
* @return contentId
5555
*/

src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionResponseItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public LLMObsAnnotationQueueInteractionResponseItem contentId(String contentId)
8181
}
8282

8383
/**
84-
* Identifier of the content for this interaction.
84+
* Identifier of the content (trace ID or session ID) for this interaction.
8585
*
8686
* @return contentId
8787
*/

src/main/java/com/datadog/api/client/v2/model/LLMObsInteractionType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@
2323
public class LLMObsInteractionType extends ModelEnum<String> {
2424

2525
private static final Set<String> allowedValues =
26-
new HashSet<String>(Arrays.asList("trace", "experiment_trace"));
26+
new HashSet<String>(Arrays.asList("trace", "experiment_trace", "session"));
2727

2828
public static final LLMObsInteractionType TRACE = new LLMObsInteractionType("trace");
2929
public static final LLMObsInteractionType EXPERIMENT_TRACE =
3030
new LLMObsInteractionType("experiment_trace");
31+
public static final LLMObsInteractionType SESSION = new LLMObsInteractionType("session");
3132

3233
LLMObsInteractionType(String value) {
3334
super(value, allowedValues);

0 commit comments

Comments
 (0)