Skip to content
Open
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
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55239,7 +55239,6 @@ components:
type: string
required:
- name
- project_id
type: object
LLMObsAnnotationQueueDataAttributesResponse:
description: Attributes of an LLM Observability annotation queue.
Expand Down Expand Up @@ -158838,7 +158837,8 @@ paths:
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
post:
description: |-
Create an annotation queue. The `name` and `project_id` fields are required.
Create an annotation queue. The `name` field is required.
Optionally associate the queue with a project by providing `project_id`.
An optional `annotation_schema` can be provided to define the labels for the queue.
Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`,
and `modified_at` are inferred by the backend.
Expand Down
3 changes: 2 additions & 1 deletion src/datadog_api_client/v2/api/llm_observability_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,8 @@ def create_llm_obs_annotation_queue(
) -> LLMObsAnnotationQueueResponse:
"""Create an LLM Observability annotation queue.

Create an annotation queue. The ``name`` and ``project_id`` fields are required.
Create an annotation queue. The ``name`` field is required.
Optionally associate the queue with a project by providing ``project_id``.
An optional ``annotation_schema`` can be provided to define the labels for the queue.
Fields such as ``created_by`` , ``owned_by`` , ``created_at`` , ``modified_by`` ,
and ``modified_at`` are inferred by the backend.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def openapi_types(_):
def __init__(
self_,
name: str,
project_id: str,
annotation_schema: Union[LLMObsAnnotationSchema, UnsetType] = unset,
description: Union[str, UnsetType] = unset,
project_id: Union[str, UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -57,13 +57,14 @@ def __init__(
:type name: str

:param project_id: Identifier of the project this queue belongs to.
:type project_id: str
:type project_id: str, optional
"""
if annotation_schema is not unset:
kwargs["annotation_schema"] = annotation_schema
if description is not unset:
kwargs["description"] = description
if project_id is not unset:
kwargs["project_id"] = project_id
super().__init__(kwargs)

self_.name = name
self_.project_id = project_id
Loading