Class: DatadogAPIClient::V2::LLMObsInferenceMessage

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

Overview

A single message in an LLM inference conversation.

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_inference_message.rb', line 42

def additional_properties
  @additional_properties
end

#contentObject

Plain text content of the message.



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

def content
  @content
end

#contentsObject

List of structured content blocks in a message.



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

def contents
  @contents
end

#idObject

Unique identifier for the message.



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

def id
  @id
end

#roleObject

The role of the message author.



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

def role
  @role
end

#tool_callsObject

List of tool calls in a message.



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

def tool_calls
  @tool_calls
end

#tool_resultsObject

List of tool results in a message.



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

def tool_results
  @tool_results
end