Class: DatadogAPIClient::V2::LLMObsPromptChatMessage
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsPromptChatMessage
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#content ⇒ Object
readonly
Content of the message.
-
#role ⇒ Object
readonly
Role of the message (for example
system,user, orassistant).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#content ⇒ Object
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 |
#role ⇒ Object
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 |