Skip to main content

Interface: MetricValue

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:32

A single metric measurement.

Properties

confidence?

optional confidence: number

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:44

Confidence in the measurement (0-1)


metadata?

optional metadata: Record<string, unknown>

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:48

Additional context


name

name: string

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:34

Metric name


normalized

normalized: boolean

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:40

Whether value is normalized (0-1)


timestamp

timestamp: string

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:46

Timestamp


type

type: MetricType

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:36

Metric type


unit?

optional unit: string

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:42

Unit of measurement


value

value: number

Defined in: packages/agentos/src/core/evaluation/IEvaluator.ts:38

Numeric value (0-1 for normalized, raw otherwise)