A metric associated with an LLM Observability experiment span.

Hierarchy

  • LLMObsExperimentMetric

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. Used when metric_type is boolean.

categoricalValue?: string

Categorical value. Used when metric_type is categorical.

Error details for an experiment metric evaluation.

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

JSON value. Used 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

Type of metric recorded for an LLM Observability experiment.

reasoning?: string

Human-readable reasoning for the metric value.

scoreValue?: number

Numeric score value. Used when metric_type is score.

spanId: string

The ID of the span this metric measures.

tags?: string[]

List of tags associated with the metric.

timestampMs: number

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

Generated using TypeDoc