Class: DatadogAPIClient::V2::LLMObsPromptSDKDataAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

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_prompt_sdk_data_attributes.rb', line 45

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

#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.



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

def config
  @config
end

#labels ⇒ Object

Labels attached to the selected version.



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

def labels
  @labels
end

#prompt_id ⇒ Object

Customer-provided identifier of the prompt.



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

def prompt_id
  @prompt_id
end

#prompt_version_uuid ⇒ Object

Unique identifier of this prompt version.



37
38
39
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 37

def prompt_version_uuid
  @prompt_version_uuid
end

#template ⇒ Object

Text template for this prompt version. Omitted for chat templates.



40
41
42
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 40

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.



43
44
45
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data_attributes.rb', line 43

def version
  @version
end