Class: DatadogAPIClient::V2::LLMObsCreatePromptDataAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsCreatePromptDataAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb
Overview
Attributes for creating an LLM Observability prompt and its first version. prompt_id and template are required; all other attributes are optional.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
Optional description of the prompt.
-
#env_ids ⇒ Object
Optional feature-flag environment UUIDs the service attempts to enable and configure to use the first version as their default after creation.
-
#labels ⇒ Object
Optional labels to attach to the first version.
-
#prompt_id ⇒ Object
readonly
Customer-provided identifier for the new prompt.
-
#template ⇒ Object
readonly
A text template or a list of chat messages.
-
#title ⇒ Object
Optional title of the prompt.
-
#user_version ⇒ Object
Optional user-supplied version identifier for the first version.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 45 def additional_properties @additional_properties end |
#description ⇒ Object
Optional description of the prompt.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 25 def description @description end |
#env_ids ⇒ Object
Optional feature-flag environment UUIDs the service attempts to enable and configure to use the first version as their default after creation.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 28 def env_ids @env_ids end |
#labels ⇒ Object
Optional labels to attach to the first version. Do not use this attribute for new integrations.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 31 def labels @labels end |
#prompt_id ⇒ Object
Customer-provided identifier for the new prompt.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 34 def prompt_id @prompt_id end |
#template ⇒ Object
A text template or a list of chat messages.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 37 def template @template end |
#title ⇒ Object
Optional title of the prompt.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 40 def title @title end |
#user_version ⇒ Object
Optional user-supplied version identifier for the first version.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 43 def user_version @user_version end |