Class: DatadogAPIClient::V2::LLMObsCreatePromptVersionDataAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb

Overview

Attributes for creating a new version of an Agent Observability prompt. template is required; all other attributes are optional. If config is omitted, the latest version's configuration is carried forward. An explicit empty object clears it. Configuration authoring must be enabled for your organization to supply config. Otherwise, supplying it, including an empty object, returns HTTP 403. Omitting config still carries forward the latest configuration.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



44
45
46
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 44

def additional_properties
  @additional_properties
end

#config ⇒ Object

Versioned prompt configuration is in Preview. To request access, contact Datadog Support or your Customer Success Manager. Customer-owned configuration delivered with a prompt version. Datadog stores and returns the object without interpolating it, validating provider-specific keys, or applying it to model calls. Do not include secrets.



25
26
27
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 25

def config
  @config
end

#description ⇒ Object

Optional description of this version.



28
29
30
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 28

def description
  @description
end

#env_ids ⇒ Object

Optional feature-flag environment UUIDs the service attempts to enable and configure to use this version as their default after creation.



31
32
33
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 31

def env_ids
  @env_ids
end

#labels ⇒ Object

Optional labels to attach to this version. Do not use this attribute for new integrations.



34
35
36
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 34

def labels
  @labels
end

#template ⇒ Object

A text template, a list of chat messages, or an authored chat object. Text can include an exact prompt version with {{>prompt-id version=N}}; other text, including {{>...}} sequences without a version, remains literal. Use an authored chat object when including prompts as chat messages. Preview: Prompt composition is available in Preview. To request access, contact Datadog Support or your Customer Success Manager. Without access, inline references remain literal text and structured includes are unsupported. Previously compiled prompt versions remain available for execution.



39
40
41
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 39

def template
  @template
end

#user_version ⇒ Object

Optional user-supplied version identifier for this version.



42
43
44
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb', line 42

def user_version
  @user_version
end