An evaluation metric event associated with an experiment span.

Hierarchy

  • LLMObsExperimentEvalMetricEvent

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any

Assessment result for an LLM Observability experiment metric.

booleanValue?: boolean

Boolean value. Present when metric_type is boolean.

categoricalValue?: string

Categorical value. Present when metric_type is categorical.

evalSourceType?: string

Source type of the evaluation.

id?: string

Unique identifier of the evaluation metric event.

jsonValue?: {
    [key: string]: any;
}

JSON value. Present when metric_type is json.

Type declaration

  • [key: string]: any
label?: string

Label or name for the metric.

metadata?: {
    [key: string]: any;
}

Arbitrary metadata associated with the metric.

Type declaration

  • [key: string]: any
metricSource?: string

Source of the metric. Either custom (user-submitted) or summary (experiment-level aggregate).

Type of metric recorded for an LLM Observability experiment.

reasoning?: string

Human-readable reasoning for the metric value.

scoreValue?: number

Numeric score. Present when metric_type is score.

spanId?: string

Span ID this metric is associated with.

tags?: string[]

Tags associated with the metric.

timestampMs?: number

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

traceId?: string

Trace ID linking this metric to a span.

Generated using TypeDoc