Class: DatadogAPIClient::V2::LLMObsExperimentEvalMetricEvent
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsExperimentEvalMetricEvent
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb
Overview
An evaluation metric event associated with an 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.
-
#eval_source_type ⇒ Object
Source type of the evaluation.
-
#id ⇒ Object
Unique identifier of the evaluation metric event.
-
#json_value ⇒ Object
JSON value.
-
#label ⇒ Object
Label or name for the metric.
-
#metadata ⇒ Object
Arbitrary metadata associated with the metric.
-
#metric_source ⇒ Object
Source of the metric.
-
#metric_type ⇒ Object
Type of metric recorded for an LLM Observability experiment.
-
#reasoning ⇒ Object
Human-readable reasoning for the metric value.
-
#score_value ⇒ Object
Numeric score.
-
#span_id ⇒ Object
Span ID this metric is associated with.
-
#tags ⇒ Object
Tags associated with the metric.
-
#timestamp_ms ⇒ Object
Timestamp when the metric was recorded, in milliseconds since Unix epoch.
-
#trace_id ⇒ Object
Trace ID linking this metric to a span.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
72 73 74 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 72 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_eval_metric_event.rb', line 25 def assessment @assessment end |
#boolean_value ⇒ Object
Boolean value. Present when metric_type is boolean.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 28 def boolean_value @boolean_value end |
#categorical_value ⇒ Object
Categorical value. Present when metric_type is categorical.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 31 def categorical_value @categorical_value end |
#eval_source_type ⇒ Object
Source type of the evaluation.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 34 def eval_source_type @eval_source_type end |
#id ⇒ Object
Unique identifier of the evaluation metric event.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 37 def id @id end |
#json_value ⇒ Object
JSON value. Present when metric_type is json.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 40 def json_value @json_value end |
#label ⇒ Object
Label or name for the metric.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 43 def label @label end |
#metadata ⇒ Object
Arbitrary metadata associated with the metric.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 46 def @metadata end |
#metric_source ⇒ Object
Source of the metric. Either custom (user-submitted) or summary (experiment-level aggregate).
49 50 51 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 49 def metric_source @metric_source end |
#metric_type ⇒ Object
Type of metric recorded for an LLM Observability experiment.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 52 def metric_type @metric_type end |
#reasoning ⇒ Object
Human-readable reasoning for the metric value.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 55 def reasoning @reasoning end |
#score_value ⇒ Object
Numeric score. Present when metric_type is score.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 58 def score_value @score_value end |
#span_id ⇒ Object
Span ID this metric is associated with.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 61 def span_id @span_id end |
#tags ⇒ Object
Tags associated with the metric.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 64 def @tags end |
#timestamp_ms ⇒ Object
Timestamp when the metric was recorded, in milliseconds since Unix epoch.
67 68 69 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 67 def @timestamp_ms end |
#trace_id ⇒ Object
Trace ID linking this metric to a span.
70 71 72 |
# File 'lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb', line 70 def trace_id @trace_id end |