Skip to content

Commit bb89a98

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 671a215 of spec repo
1 parent 7b859dc commit bb89a98

3 files changed

Lines changed: 68 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38266,16 +38266,28 @@ components:
3826638266
description: Identifier of the content (trace ID or session ID) for this interaction.
3826738267
example: "trace-abc-123"
3826838268
type: string
38269+
created_at:
38270+
description: Timestamp when the interaction was added to the queue.
38271+
example: "2024-01-15T10:30:00Z"
38272+
format: date-time
38273+
type: string
3826938274
id:
3827038275
description: Unique identifier of the interaction.
3827138276
example: "interaction-456"
3827238277
type: string
38278+
modified_at:
38279+
description: Timestamp when the interaction was last updated.
38280+
example: "2024-01-15T10:30:00Z"
38281+
format: date-time
38282+
type: string
3827338283
type:
3827438284
$ref: "#/components/schemas/LLMObsInteractionType"
3827538285
required:
3827638286
- id
3827738287
- type
3827838288
- content_id
38289+
- created_at
38290+
- modified_at
3827938291
- annotations
3828038292
type: object
3828138293
LLMObsAnnotatedInteractionsDataAttributesResponse:
@@ -38486,17 +38498,29 @@ components:
3848638498
description: Identifier of the content (trace ID or session ID) for this interaction.
3848738499
example: "trace-abc-123"
3848838500
type: string
38501+
created_at:
38502+
description: Timestamp when the interaction was added to the queue.
38503+
example: "2024-01-15T10:30:00Z"
38504+
format: date-time
38505+
type: string
3848938506
id:
3849038507
description: Unique identifier of the interaction.
3849138508
example: "00000000-0000-0000-0000-000000000000"
3849238509
type: string
38510+
modified_at:
38511+
description: Timestamp when the interaction was last updated.
38512+
example: "2024-01-15T10:30:00Z"
38513+
format: date-time
38514+
type: string
3849338515
type:
3849438516
$ref: "#/components/schemas/LLMObsInteractionType"
3849538517
required:
3849638518
- id
3849738519
- type
3849838520
- content_id
3849938521
- already_existed
38522+
- created_at
38523+
- modified_at
3850038524
type: object
3850138525
LLMObsAnnotationQueueInteractionsDataAttributesRequest:
3850238526
description: Attributes for adding interactions to an annotation queue.

src/datadog_api_client/v2/model/llm_obs_annotated_interaction_item.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
datetime,
1112
)
1213

1314

@@ -25,19 +26,30 @@ def openapi_types(_):
2526
return {
2627
"annotations": ([LLMObsAnnotationItem],),
2728
"content_id": (str,),
29+
"created_at": (datetime,),
2830
"id": (str,),
31+
"modified_at": (datetime,),
2932
"type": (LLMObsInteractionType,),
3033
}
3134

3235
attribute_map = {
3336
"annotations": "annotations",
3437
"content_id": "content_id",
38+
"created_at": "created_at",
3539
"id": "id",
40+
"modified_at": "modified_at",
3641
"type": "type",
3742
}
3843

3944
def __init__(
40-
self_, annotations: List[LLMObsAnnotationItem], content_id: str, id: str, type: LLMObsInteractionType, **kwargs
45+
self_,
46+
annotations: List[LLMObsAnnotationItem],
47+
content_id: str,
48+
created_at: datetime,
49+
id: str,
50+
modified_at: datetime,
51+
type: LLMObsInteractionType,
52+
**kwargs,
4153
):
4254
"""
4355
An interaction with its associated annotations.
@@ -48,15 +60,23 @@ def __init__(
4860
:param content_id: Identifier of the content (trace ID or session ID) for this interaction.
4961
:type content_id: str
5062
63+
:param created_at: Timestamp when the interaction was added to the queue.
64+
:type created_at: datetime
65+
5166
:param id: Unique identifier of the interaction.
5267
:type id: str
5368
69+
:param modified_at: Timestamp when the interaction was last updated.
70+
:type modified_at: datetime
71+
5472
:param type: Type of interaction in an annotation queue.
5573
:type type: LLMObsInteractionType
5674
"""
5775
super().__init__(kwargs)
5876

5977
self_.annotations = annotations
6078
self_.content_id = content_id
79+
self_.created_at = created_at
6180
self_.id = id
81+
self_.modified_at = modified_at
6282
self_.type = type

src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_response_item.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
datetime,
1112
)
1213

1314

@@ -23,18 +24,31 @@ def openapi_types(_):
2324
return {
2425
"already_existed": (bool,),
2526
"content_id": (str,),
27+
"created_at": (datetime,),
2628
"id": (str,),
29+
"modified_at": (datetime,),
2730
"type": (LLMObsInteractionType,),
2831
}
2932

3033
attribute_map = {
3134
"already_existed": "already_existed",
3235
"content_id": "content_id",
36+
"created_at": "created_at",
3337
"id": "id",
38+
"modified_at": "modified_at",
3439
"type": "type",
3540
}
3641

37-
def __init__(self_, already_existed: bool, content_id: str, id: str, type: LLMObsInteractionType, **kwargs):
42+
def __init__(
43+
self_,
44+
already_existed: bool,
45+
content_id: str,
46+
created_at: datetime,
47+
id: str,
48+
modified_at: datetime,
49+
type: LLMObsInteractionType,
50+
**kwargs,
51+
):
3852
"""
3953
A single interaction result.
4054
@@ -44,15 +58,23 @@ def __init__(self_, already_existed: bool, content_id: str, id: str, type: LLMOb
4458
:param content_id: Identifier of the content (trace ID or session ID) for this interaction.
4559
:type content_id: str
4660
61+
:param created_at: Timestamp when the interaction was added to the queue.
62+
:type created_at: datetime
63+
4764
:param id: Unique identifier of the interaction.
4865
:type id: str
4966
67+
:param modified_at: Timestamp when the interaction was last updated.
68+
:type modified_at: datetime
69+
5070
:param type: Type of interaction in an annotation queue.
5171
:type type: LLMObsInteractionType
5272
"""
5373
super().__init__(kwargs)
5474

5575
self_.already_existed = already_existed
5676
self_.content_id = content_id
77+
self_.created_at = created_at
5778
self_.id = id
79+
self_.modified_at = modified_at
5880
self_.type = type

0 commit comments

Comments
 (0)