Class: DatadogAPIClient::V2::LLMObsExperimentMetric
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsExperimentMetric
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#assessment ⇒ Object
Assessment result for an LLM Observability experiment metric.
-
#boolean_value ⇒ Object
Boolean value.
-
#categorical_value ⇒ Object
Categorical value.
-
#error ⇒ Object
Error details for an experiment metric evaluation.
-
#json_value ⇒ Object
JSON value.
-
#label ⇒ Object
readonly
Label or name for the metric.
-
#metadata ⇒ Object
Arbitrary metadata associated with the metric.
-
#metric_type ⇒ Object
readonly
Type of metric recorded for an LLM Observability experiment.
-
#reasoning ⇒ Object
Human-readable reasoning for the metric value.
-
#score_value ⇒ Object
Numeric score value.
-
#span_id ⇒ Object
readonly
The ID of the span this metric measures.
-
#tags ⇒ Object
List of tags associated with the metric.
-
#timestamp_ms ⇒ Object
readonly
Timestamp when the metric was recorded, in milliseconds since Unix epoch.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#assessment ⇒ Object
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_value ⇒ Object
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_value ⇒ Object
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 |
#error ⇒ Object
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_value ⇒ Object
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 |
#label ⇒ Object
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 |
#metadata ⇒ Object
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_type ⇒ Object
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 |
#reasoning ⇒ Object
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_value ⇒ Object
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_id ⇒ Object
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 |
#tags ⇒ Object
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 end |
#timestamp_ms ⇒ Object
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 end |