Class: DatadogAPIClient::V2::LLMObsPromptSDKDataAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsPromptSDKDataAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb
Overview
Attributes of a flattened prompt version returned for SDK consumption. Exactly one of template and chat_template is returned. Empty config is omitted when configuration authoring is disabled for the organization. Non-empty saved configuration is always returned.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#chat_template ⇒ Object
Chat template for this prompt version, as a list of messages and named message placeholders.
-
#config ⇒ Object
Versioned prompt configuration is in Preview.
-
#labels ⇒ Object
Labels attached to the selected version.
-
#prompt_id ⇒ Object
Customer-provided identifier of the prompt.
-
#prompt_version_uuid ⇒ Object
Unique identifier of this prompt version.
-
#template ⇒ Object
Text template for this prompt version.
-
#version ⇒ Object
Version identifier for this prompt version.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 46 def additional_properties @additional_properties end |
#chat_template ⇒ Object
Chat template for this prompt version, as a list of messages and named message placeholders. Omitted for text templates. Preview: Message placeholders are available in Preview. To request access, contact Datadog Support or your Customer Success Manager.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 26 def chat_template @chat_template 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.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 29 def config @config end |
#labels ⇒ Object
Labels attached to the selected version.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 32 def labels @labels end |
#prompt_id ⇒ Object
Customer-provided identifier of the prompt.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 35 def prompt_id @prompt_id end |
#prompt_version_uuid ⇒ Object
Unique identifier of this prompt version.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 38 def prompt_version_uuid @prompt_version_uuid end |
#template ⇒ Object
Text template for this prompt version. Omitted for chat templates.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 41 def template @template end |
#version ⇒ Object
Version identifier for this prompt version. This is the sequential version number unless a user-supplied version identifier was set, in which case that identifier is used instead.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 44 def version @version end |