Class: DatadogAPIClient::V2::LLMObsSpanAttributes

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

Overview

Attributes of an LLM Observability span.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



81
82
83
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 81

def additional_properties
  @additional_properties
end

#durationObject

Duration of the span in nanoseconds.



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

def duration
  @duration
end

#evaluationObject

Evaluation metrics keyed by evaluator name.



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

def evaluation
  @evaluation
end

#inputObject

Input or output content of an LLM Observability span.



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

def input
  @input
end

#intentObject

Detected intent of the span.



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

def intent
  @intent
end

#metadataObject

Arbitrary metadata associated with the span.



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

def 
  @metadata
end

#metricsObject

Numeric metrics associated with the span (e.g., token counts).



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

def metrics
  @metrics
end

#ml_appObject

Name of the ML application this span belongs to.



43
44
45
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 43

def ml_app
  @ml_app
end

#model_nameObject

Name of the model used in this span.



46
47
48
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 46

def model_name
  @model_name
end

#model_providerObject

Provider of the model used in this span.



49
50
51
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 49

def model_provider
  @model_provider
end

#nameObject

Name of the span.



52
53
54
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 52

def name
  @name
end

#outputObject

Input or output content of an LLM Observability span.



55
56
57
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 55

def output
  @output
end

#parent_idObject

Identifier of the parent span, if any.



58
59
60
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 58

def parent_id
  @parent_id
end

#span_idObject

Unique identifier of the span.



61
62
63
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 61

def span_id
  @span_id
end

#span_kindObject

Kind of span (e.g., llm, agent, tool, task, workflow).



64
65
66
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 64

def span_kind
  @span_kind
end

#start_nsObject

Start time of the span in nanoseconds since Unix epoch.



67
68
69
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 67

def start_ns
  @start_ns
end

#statusObject

Status of the span (e.g., ok, error).



70
71
72
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 70

def status
  @status
end

#tagsObject

Tags associated with the span.



73
74
75
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 73

def tags
  @tags
end

#tool_definitionsObject

Tool definitions available to the span.



76
77
78
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 76

def tool_definitions
  @tool_definitions
end

#trace_idObject

Trace identifier this span belongs to.



79
80
81
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 79

def trace_id
  @trace_id
end