Class: DatadogAPIClient::V2::LLMObsExperimentMetric

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

Overview

A metric associated with an LLM Observability experiment span.

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_metric.rb', line 63

def additional_properties
  @additional_properties
end

#assessmentObject

Assessment result for an LLM Observability experiment metric.



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

def assessment
  @assessment
end

#boolean_valueObject

Boolean value. Used when metric_type is boolean.



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

def boolean_value
  @boolean_value
end

#categorical_valueObject

Categorical value. Used when metric_type is categorical.



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

def categorical_value
  @categorical_value
end

#errorObject

Error details for an experiment metric evaluation.



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

def error
  @error
end

#json_valueObject

JSON value. Used when metric_type is json.



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

def json_value
  @json_value
end

#labelObject

Label or name for the metric.



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

def label
  @label
end

#metadataObject

Arbitrary metadata associated with the metric.



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

def 
  
end

#metric_typeObject

Type of metric recorded for an LLM Observability experiment.



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

def metric_type
  @metric_type
end

#reasoningObject

Human-readable reasoning for the metric value.



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

def reasoning
  @reasoning
end

#score_valueObject

Numeric score value. Used when metric_type is score.



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

def score_value
  @score_value
end

#span_idObject

The ID of the span this metric measures.



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

def span_id
  @span_id
end

#tagsObject

List of tags associated with the metric.



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

def tags
  @tags
end

#timestamp_msObject

Timestamp when the metric was recorded, in milliseconds since Unix epoch.



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

def timestamp_ms
  @timestamp_ms
end