diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dd229dc55f7b..953f1ff2a959 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -37856,16 +37856,28 @@ components: description: Identifier of the content for this interaction. example: "trace-abc-123" type: string + created_at: + description: Timestamp when the interaction was added to the queue. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string id: description: Unique identifier of the interaction. example: "interaction-456" type: string + modified_at: + description: Timestamp when the interaction was last updated. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string type: $ref: "#/components/schemas/LLMObsInteractionType" required: - id - type - content_id + - created_at + - modified_at - annotations type: object LLMObsAnnotatedInteractionsDataAttributesResponse: @@ -38072,10 +38084,20 @@ components: description: Identifier of the content for this interaction. example: "trace-abc-123" type: string + created_at: + description: Timestamp when the interaction was added to the queue. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string id: description: Unique identifier of the interaction. example: "00000000-0000-0000-0000-000000000000" type: string + modified_at: + description: Timestamp when the interaction was last updated. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string type: $ref: "#/components/schemas/LLMObsInteractionType" required: @@ -38083,6 +38105,8 @@ components: - type - content_id - already_existed + - created_at + - modified_at type: object LLMObsAnnotationQueueInteractionsDataAttributesRequest: description: Attributes for adding interactions to an annotation queue. diff --git a/services/llm_observability/src/v2/models/LLMObsAnnotatedInteractionItem.ts b/services/llm_observability/src/v2/models/LLMObsAnnotatedInteractionItem.ts index 093eb53d54b8..e5a1194d7e62 100644 --- a/services/llm_observability/src/v2/models/LLMObsAnnotatedInteractionItem.ts +++ b/services/llm_observability/src/v2/models/LLMObsAnnotatedInteractionItem.ts @@ -15,10 +15,18 @@ export class LLMObsAnnotatedInteractionItem { * Identifier of the content for this interaction. */ "contentId": string; + /** + * Timestamp when the interaction was added to the queue. + */ + "createdAt": Date; /** * Unique identifier of the interaction. */ "id": string; + /** + * Timestamp when the interaction was last updated. + */ + "modifiedAt": Date; /** * Type of interaction in an annotation queue. */ @@ -48,11 +56,23 @@ export class LLMObsAnnotatedInteractionItem { type: "string", required: true, }, + createdAt: { + baseName: "created_at", + type: "Date", + required: true, + format: "date-time", + }, id: { baseName: "id", type: "string", required: true, }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + required: true, + format: "date-time", + }, type: { baseName: "type", type: "LLMObsInteractionType", diff --git a/services/llm_observability/src/v2/models/LLMObsAnnotationQueueInteractionResponseItem.ts b/services/llm_observability/src/v2/models/LLMObsAnnotationQueueInteractionResponseItem.ts index 5c56c37fa17a..9a7ab3f4ceb0 100644 --- a/services/llm_observability/src/v2/models/LLMObsAnnotationQueueInteractionResponseItem.ts +++ b/services/llm_observability/src/v2/models/LLMObsAnnotationQueueInteractionResponseItem.ts @@ -14,10 +14,18 @@ export class LLMObsAnnotationQueueInteractionResponseItem { * Identifier of the content for this interaction. */ "contentId": string; + /** + * Timestamp when the interaction was added to the queue. + */ + "createdAt": Date; /** * Unique identifier of the interaction. */ "id": string; + /** + * Timestamp when the interaction was last updated. + */ + "modifiedAt": Date; /** * Type of interaction in an annotation queue. */ @@ -47,11 +55,23 @@ export class LLMObsAnnotationQueueInteractionResponseItem { type: "string", required: true, }, + createdAt: { + baseName: "created_at", + type: "Date", + required: true, + format: "date-time", + }, id: { baseName: "id", type: "string", required: true, }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + required: true, + format: "date-time", + }, type: { baseName: "type", type: "LLMObsInteractionType",