diff --git a/content/en/api/v2/llm-observability/examples.json b/content/en/api/v2/llm-observability/examples.json index c7b7d003a9c..f54dbadfa65 100644 --- a/content/en/api/v2/llm-observability/examples.json +++ b/content/en/api/v2/llm-observability/examples.json @@ -889,7 +889,9 @@ } ], "content_id": "trace-abc-123", + "created_at": "2024-01-15T10:30:00Z", "id": "interaction-456", + "modified_at": "2024-01-15T10:30:00Z", "type": "trace" } ] @@ -898,7 +900,7 @@ "type": "annotated_interactions" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for annotated interactions.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes containing the list of annotated interactions.

\n
\n
\n
\n
\n
\n

annotated_interactions [required]

\n
\n

[object]

\n

List of interactions with their annotations.

\n
\n
\n
\n
\n
\n

annotations [required]

\n
\n

[object]

\n

List of annotations for this interaction.

\n
\n
\n
\n
\n
\n

created_at [required]

\n
\n

date-time

\n

Timestamp when the annotation was created.

\n
\n \n
\n
\n
\n
\n
\n

created_by [required]

\n
\n

string

\n

Identifier of the user who created the annotation.

\n
\n \n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

Unique identifier of the annotation.

\n
\n \n
\n
\n
\n
\n
\n

interaction_id [required]

\n
\n

string

\n

Identifier of the interaction this annotation belongs to.

\n
\n \n
\n
\n
\n
\n
\n

label_values [required]

\n
\n

object

\n

The label values for this annotation.

\n
\n \n
\n
\n
\n
\n
\n

modified_at [required]

\n
\n

date-time

\n

Timestamp when the annotation was last modified.

\n
\n \n
\n
\n
\n
\n
\n

modified_by [required]

\n
\n

string

\n

Identifier of the user who last modified the annotation.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

content_id [required]

\n
\n

string

\n

Identifier of the content for this interaction.

\n
\n \n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

Unique identifier of the interaction.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of interaction in an annotation queue. \nAllowed enum values: trace,experiment_trace

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The queue ID.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Resource type for annotated interactions. \nAllowed enum values: annotated_interactions

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for annotated interactions.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes containing the list of annotated interactions.

\n
\n
\n
\n
\n
\n

annotated_interactions [required]

\n
\n

[object]

\n

List of interactions with their annotations.

\n
\n
\n
\n
\n
\n

annotations [required]

\n
\n

[object]

\n

List of annotations for this interaction.

\n
\n
\n
\n
\n
\n

created_at [required]

\n
\n

date-time

\n

Timestamp when the annotation was created.

\n
\n \n
\n
\n
\n
\n
\n

created_by [required]

\n
\n

string

\n

Identifier of the user who created the annotation.

\n
\n \n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

Unique identifier of the annotation.

\n
\n \n
\n
\n
\n
\n
\n

interaction_id [required]

\n
\n

string

\n

Identifier of the interaction this annotation belongs to.

\n
\n \n
\n
\n
\n
\n
\n

label_values [required]

\n
\n

object

\n

The label values for this annotation.

\n
\n \n
\n
\n
\n
\n
\n

modified_at [required]

\n
\n

date-time

\n

Timestamp when the annotation was last modified.

\n
\n \n
\n
\n
\n
\n
\n

modified_by [required]

\n
\n

string

\n

Identifier of the user who last modified the annotation.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

content_id [required]

\n
\n

string

\n

Identifier of the content for this interaction.

\n
\n \n
\n
\n
\n
\n
\n

created_at [required]

\n
\n

date-time

\n

Timestamp when the interaction was added to the queue.

\n
\n \n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

Unique identifier of the interaction.

\n
\n \n
\n
\n
\n
\n
\n

modified_at [required]

\n
\n

date-time

\n

Timestamp when the interaction was last updated.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of interaction in an annotation queue. \nAllowed enum values: trace,experiment_trace

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The queue ID.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Resource type for annotated interactions. \nAllowed enum values: annotated_interactions

\n
\n \n
\n
\n
\n
" }, "400": { "json": { @@ -997,7 +999,9 @@ { "already_existed": false, "content_id": "trace-abc-123", + "created_at": "2024-01-15T10:30:00Z", "id": "00000000-0000-0000-0000-000000000000", + "modified_at": "2024-01-15T10:30:00Z", "type": "trace" } ] @@ -1006,7 +1010,7 @@ "type": "interactions" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for the interaction addition response.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes of the interaction addition response.

\n
\n
\n
\n
\n
\n

interactions [required]

\n
\n

[object]

\n

List of interactions that were processed.

\n
\n
\n
\n
\n
\n

already_existed [required]

\n
\n

boolean

\n

Whether this interaction already existed in the queue.

\n
\n \n
\n
\n
\n
\n
\n

content_id [required]

\n
\n

string

\n

Identifier of the content for this interaction.

\n
\n \n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

Unique identifier of the interaction.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of interaction in an annotation queue. \nAllowed enum values: trace,experiment_trace

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The queue ID the interactions were added to.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Resource type for annotation queue interactions. \nAllowed enum values: interactions

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for the interaction addition response.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes of the interaction addition response.

\n
\n
\n
\n
\n
\n

interactions [required]

\n
\n

[object]

\n

List of interactions that were processed.

\n
\n
\n
\n
\n
\n

already_existed [required]

\n
\n

boolean

\n

Whether this interaction already existed in the queue.

\n
\n \n
\n
\n
\n
\n
\n

content_id [required]

\n
\n

string

\n

Identifier of the content for this interaction.

\n
\n \n
\n
\n
\n
\n
\n

created_at [required]

\n
\n

date-time

\n

Timestamp when the interaction was added to the queue.

\n
\n \n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

Unique identifier of the interaction.

\n
\n \n
\n
\n
\n
\n
\n

modified_at [required]

\n
\n

date-time

\n

Timestamp when the interaction was last updated.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of interaction in an annotation queue. \nAllowed enum values: trace,experiment_trace

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The queue ID the interactions were added to.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Resource type for annotation queue interactions. \nAllowed enum values: interactions

\n
\n \n
\n
\n
\n
" }, "400": { "json": { diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index 9bd31c59af9..933e715d506 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -37867,16 +37867,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: @@ -38083,10 +38095,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: @@ -38094,6 +38116,8 @@ components: - type - content_id - already_existed + - created_at + - modified_at type: object LLMObsAnnotationQueueInteractionsDataAttributesRequest: description: Attributes for adding interactions to an annotation queue.