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.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_templateObject

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

#labelsObject

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_idObject

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_uuidObject

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

#templateObject

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

#versionObject

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