Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38202,7 +38202,7 @@ components:
$ref: "#/components/schemas/LLMObsAnnotationItem"
type: array
content_id:
description: Identifier of the content for this interaction.
description: Identifier of the content (trace ID or session ID) for this interaction.
example: "trace-abc-123"
type: string
id:
Expand Down Expand Up @@ -38405,7 +38405,7 @@ components:
description: A single interaction to add to an annotation queue.
properties:
content_id:
description: Identifier of the content (such as trace ID) for this interaction.
description: Identifier of the content (trace ID or session ID) for this interaction.
example: "trace-abc-123"
type: string
type:
Expand All @@ -38422,7 +38422,7 @@ components:
example: false
type: boolean
content_id:
description: Identifier of the content for this interaction.
description: Identifier of the content (trace ID or session ID) for this interaction.
example: "trace-abc-123"
type: string
id:
Expand Down Expand Up @@ -39941,11 +39941,13 @@ components:
enum:
- trace
- experiment_trace
- session
example: trace
type: string
x-enum-varnames:
- TRACE
- EXPERIMENT_TRACE
- SESSION
LLMObsLabelSchema:
description: Schema definition for a single label in an annotation queue.
properties:
Expand Down Expand Up @@ -109649,7 +109651,7 @@ paths:
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions:
get:
description: Retrieve all interactions and their annotations for a given annotation queue.
description: Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
operationId: GetLLMObsAnnotatedInteractions
parameters:
- $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter"
Expand Down Expand Up @@ -109710,7 +109712,7 @@ paths:
/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions:
post:
description: |-
Add one or more interactions (traces) to an annotation queue.
Add one or more interactions (traces or sessions) to an annotation queue.
At least one interaction must be provided.
operationId: CreateLLMObsAnnotationQueueInteractions
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ public LLMObsAnnotationQueueInteractionsResponse createLLMObsAnnotationQueueInte
}

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

/**
* Retrieve all interactions and their annotations for a given annotation queue.
* Retrieve all interactions (traces and sessions) and their annotations for a given annotation
* queue.
*
* @param queueId The ID of the LLM Observability annotation queue. (required)
* @return ApiResponse&lt;LLMObsAnnotatedInteractionsResponse&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public LLMObsAnnotatedInteractionItem contentId(String contentId) {
}

/**
* Identifier of the content for this interaction.
* Identifier of the content (trace ID or session ID) for this interaction.
*
* @return contentId
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public LLMObsAnnotationQueueInteractionItem contentId(String contentId) {
}

/**
* Identifier of the content (such as trace ID) for this interaction.
* Identifier of the content (trace ID or session ID) for this interaction.
*
* @return contentId
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public LLMObsAnnotationQueueInteractionResponseItem contentId(String contentId)
}

/**
* Identifier of the content for this interaction.
* Identifier of the content (trace ID or session ID) for this interaction.
*
* @return contentId
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
public class LLMObsInteractionType extends ModelEnum<String> {

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

public static final LLMObsInteractionType TRACE = new LLMObsInteractionType("trace");
public static final LLMObsInteractionType EXPERIMENT_TRACE =
new LLMObsInteractionType("experiment_trace");
public static final LLMObsInteractionType SESSION = new LLMObsInteractionType("session");

LLMObsInteractionType(String value) {
super(value, allowedValues);
Expand Down
Loading