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 lib/datadog_api_client/v2/api/llm_observability_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ def create_llm_obs_annotation_queue(body, opts = {})

# 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 @@ -31,7 +31,7 @@ class LLMObsAnnotationQueueDataAttributesRequest
attr_reader :name

# Identifier of the project this queue belongs to.
attr_reader :project_id
attr_accessor :project_id

attr_accessor :additional_properties

Expand Down Expand Up @@ -97,7 +97,6 @@ def initialize(attributes = {})
# @!visibility private
def valid?
return false if @name.nil?
return false if @project_id.nil?
true
end

Expand All @@ -111,16 +110,6 @@ def name=(name)
@name = name
end

# Custom attribute writer method with validation
# @param project_id [Object] Object to be assigned
# @!visibility private
def project_id=(project_id)
if project_id.nil?
fail ArgumentError, 'invalid value for "project_id", project_id cannot be nil.'
end
@project_id = project_id
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Loading