Class: DatadogAPIClient::V2::LLMObsCustomEvalConfigPromptMessage

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_message.rb

Overview

A message in the prompt template for a custom LLM judge evaluator.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_message.rb', line 33

def additional_properties
  @additional_properties
end

#contentObject

Text content of the message.



25
26
27
# File 'lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_message.rb', line 25

def content
  @content
end

#contentsObject

Multi-part content blocks for the message.



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

def contents
  @contents
end

#roleObject

Role of the message author.



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

def role
  @role
end