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.
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 role and content messages.
-
#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.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 42 def additional_properties @additional_properties end |
#chat_template ⇒ Object
Chat template for this prompt version, as a list of role and content messages. Omitted for text templates.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 25 def chat_template @chat_template end |
#labels ⇒ Object
Labels attached to the selected version.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 28 def labels @labels end |
#prompt_id ⇒ Object
Customer-provided identifier of the prompt.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 31 def prompt_id @prompt_id end |
#prompt_version_uuid ⇒ Object
Unique identifier of this prompt version.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 34 def prompt_version_uuid @prompt_version_uuid end |
#template ⇒ Object
Text template for this prompt version. Omitted for chat templates.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 37 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.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 40 def version @version end |