Class: DatadogAPIClient::V2::LLMObsSpanAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsSpanAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#duration ⇒ Object
readonly
Duration of the span in nanoseconds.
-
#evaluation ⇒ Object
Evaluation metrics keyed by evaluator name.
-
#input ⇒ Object
Input or output content of an LLM Observability span.
-
#intent ⇒ Object
Detected intent of the span.
-
#metadata ⇒ Object
Arbitrary metadata associated with the span.
-
#metrics ⇒ Object
Numeric metrics associated with the span (e.g., token counts).
-
#ml_app ⇒ Object
readonly
Name of the ML application this span belongs to.
-
#model_name ⇒ Object
Name of the model used in this span.
-
#model_provider ⇒ Object
Provider of the model used in this span.
-
#name ⇒ Object
readonly
Name of the span.
-
#output ⇒ Object
Input or output content of an LLM Observability span.
-
#parent_id ⇒ Object
Identifier of the parent span, if any.
-
#span_id ⇒ Object
readonly
Unique identifier of the span.
-
#span_kind ⇒ Object
readonly
Kind of span (e.g., llm, agent, tool, task, workflow).
-
#start_ns ⇒ Object
readonly
Start time of the span in nanoseconds since Unix epoch.
-
#status ⇒ Object
readonly
Status of the span (e.g., ok, error).
-
#tags ⇒ Object
Tags associated with the span.
-
#tool_definitions ⇒ Object
Tool definitions available to the span.
-
#trace_id ⇒ Object
readonly
Trace identifier this span belongs to.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#duration ⇒ Object
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 |
#evaluation ⇒ Object
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 |
#input ⇒ Object
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 |
#intent ⇒ Object
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 |
#metadata ⇒ Object
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 |
#metrics ⇒ Object
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_app ⇒ Object
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_name ⇒ Object
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_provider ⇒ Object
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 |
#name ⇒ Object
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 |
#output ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_kind ⇒ Object
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_ns ⇒ Object
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 |
#status ⇒ Object
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 |
#tags ⇒ Object
Tags associated with the span.
73 74 75 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb', line 73 def @tags end |
#tool_definitions ⇒ Object
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_id ⇒ Object
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 |