Skip to content

Commit 48a0ba7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 323b4ed of spec repo
1 parent d6a61c4 commit 48a0ba7

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
@@ -38173,7 +38173,7 @@ components:
3817338173
$ref: "#/components/schemas/LLMObsAnnotationItem"
3817438174
type: array
3817538175
content_id:
38176-
description: Identifier of the content for this interaction.
38176+
description: Identifier of the content (trace ID or session ID) for this interaction.
3817738177
example: "trace-abc-123"
3817838178
type: string
3817938179
id:
@@ -38376,7 +38376,7 @@ components:
3837638376
description: A single interaction to add to an annotation queue.
3837738377
properties:
3837838378
content_id:
38379-
description: Identifier of the content (such as trace ID) for this interaction.
38379+
description: Identifier of the content (trace ID or session ID) for this interaction.
3838038380
example: "trace-abc-123"
3838138381
type: string
3838238382
type:
@@ -38393,7 +38393,7 @@ components:
3839338393
example: false
3839438394
type: boolean
3839538395
content_id:
38396-
description: Identifier of the content for this interaction.
38396+
description: Identifier of the content (trace ID or session ID) for this interaction.
3839738397
example: "trace-abc-123"
3839838398
type: string
3839938399
id:
@@ -39912,11 +39912,13 @@ components:
3991239912
enum:
3991339913
- trace
3991439914
- experiment_trace
39915+
- session
3991539916
example: trace
3991639917
type: string
3991739918
x-enum-varnames:
3991839919
- TRACE
3991939920
- EXPERIMENT_TRACE
39921+
- SESSION
3992039922
LLMObsLabelSchema:
3992139923
description: Schema definition for a single label in an annotation queue.
3992239924
properties:
@@ -104738,7 +104740,7 @@ paths:
104738104740
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
104739104741
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions:
104740104742
get:
104741-
description: Retrieve all interactions and their annotations for a given annotation queue.
104743+
description: Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
104742104744
operationId: GetLLMObsAnnotatedInteractions
104743104745
parameters:
104744104746
- $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter"
@@ -104787,7 +104789,7 @@ paths:
104787104789
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions:
104788104790
post:
104789104791
description: |-
104790-
Add one or more interactions (traces) to an annotation queue.
104792+
Add one or more interactions (traces or sessions) to an annotation queue.
104791104793
At least one interaction must be provided.
104792104794
operationId: CreateLLMObsAnnotationQueueInteractions
104793104795
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)