Class: DatadogAPIClient::V2::LLMObsPromptVersionDataAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsPromptVersionDataAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb
Overview
Attributes of a specific version of an Agent Observability prompt. For a composed version, authoring_template contains its pinned include-bearing source; ordinary versions omit that attribute. 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.
-
#author ⇒ Object
UUID of the user who authored this version.
-
#authoring_template ⇒ Object
A text template, a list of chat messages, or an authored chat object.
-
#config ⇒ Object
Versioned prompt configuration is in Preview.
-
#created_at ⇒ Object
Timestamp stored on this prompt version.
-
#datasets ⇒ Object
Datasets observed in runs associated with this prompt version.
-
#description ⇒ Object
Description of this version.
-
#labels ⇒ Object
Labels attached to this version (for example
development,staging,production). -
#last_seen_at ⇒ Object
Timestamp of the most recent observed run of this prompt version.
-
#ml_app ⇒ Object
The ML application this prompt is associated with.
-
#ml_apps ⇒ Object
ML applications observed running this prompt version.
-
#prompt_id ⇒ Object
readonly
Customer-provided identifier of the parent prompt.
-
#prompt_uuid ⇒ Object
readonly
Unique identifier of the parent prompt.
-
#tags ⇒ Object
Tags observed on runs of this prompt version.
-
#template ⇒ Object
readonly
A text template, a list of chat messages, or an authored chat object.
-
#user_version ⇒ Object
User-supplied identifier for this version.
-
#version ⇒ Object
readonly
Sequential version number.
-
#version_created_at ⇒ Object
Timestamp when this version was created.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
79 80 81 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 79 def additional_properties @additional_properties end |
#author ⇒ Object
UUID of the user who authored this version.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 25 def @author end |
#authoring_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.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 30 def @authoring_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.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 33 def config @config end |
#created_at ⇒ Object
Timestamp stored on this prompt version.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 36 def created_at @created_at end |
#datasets ⇒ Object
Datasets observed in runs associated with this prompt version.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 39 def datasets @datasets end |
#description ⇒ Object
Description of this version.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 42 def description @description end |
#labels ⇒ Object
Labels attached to this version (for example development, staging, production).
45 46 47 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 45 def labels @labels end |
#last_seen_at ⇒ Object
Timestamp of the most recent observed run of this prompt version.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 48 def last_seen_at @last_seen_at end |
#ml_app ⇒ Object
The ML application this prompt is associated with.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 51 def ml_app @ml_app end |
#ml_apps ⇒ Object
ML applications observed running this prompt version.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 54 def ml_apps @ml_apps end |
#prompt_id ⇒ Object
Customer-provided identifier of the parent prompt.
57 58 59 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 57 def prompt_id @prompt_id end |
#prompt_uuid ⇒ Object
Unique identifier of the parent prompt.
60 61 62 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 60 def prompt_uuid @prompt_uuid end |
#tags ⇒ Object
Tags observed on runs of this prompt version.
63 64 65 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 63 def @tags 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.
68 69 70 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 68 def template @template end |
#user_version ⇒ Object
User-supplied identifier for this version.
71 72 73 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 71 def user_version @user_version end |
#version ⇒ Object
Sequential version number.
74 75 76 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 74 def version @version end |
#version_created_at ⇒ Object
Timestamp when this version was created.
77 78 79 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb', line 77 def version_created_at @version_created_at end |