Class: DatadogAPIClient::V2::LLMObsExperimentSpanWithEvals

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

Overview

An experiment span enriched with its associated evaluation metrics.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



63
64
65
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_span_with_evals.rb', line 63

def additional_properties
  @additional_properties
end

#dataset_record_idObject

ID of the dataset record this span evaluated.



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

def dataset_record_id
  @dataset_record_id
end

#durationObject

Duration of the span in nanoseconds.



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

def duration
  @duration
end

#eval_metricsObject

Evaluation metrics associated with this span.



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

def eval_metrics
  @eval_metrics
end

#idObject

Unique identifier of the span.



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

def id
  @id
end

#metaObject

Metadata associated with an experiment span.



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

def meta
  @meta
end

#metricsObject

Numeric metrics attached to the span.



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

def metrics
  @metrics
end

#nameObject

Name of the span.



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

def name
  @name
end

#parent_idObject

Parent span ID, if any.



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

def parent_id
  @parent_id
end

#span_idObject

Span ID.



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

def span_id
  @span_id
end

#start_nsObject

Start time in nanoseconds since Unix epoch.



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

def start_ns
  @start_ns
end

#statusObject

Status of the span.



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

def status
  @status
end

#tagsObject

Tags associated with the span.



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

def tags
  @tags
end

#trace_idObject

Trace ID.



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

def trace_id
  @trace_id
end