Class: DatadogAPIClient::V2::LLMObsPromptChatMessage

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

Overview

A single chat message in a prompt template.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_chat_message.rb', line 30

def additional_properties
  @additional_properties
end

#contentObject

Content of the message.



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

def content
  @content
end

#roleObject

Role of the message (for example system, user, or assistant).



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

def role
  @role
end