Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Type Alias MetricOutputType

    MetricOutputType: "binary" | "float" | "categorical"

    metricTemplates.ts — Pre-built evaluation metric templates for agent assessment.

    Provides a validated metric library of reusable, composable metrics that can be applied to any agent trace or output.

    Metric types:

    • Binary (pass/fail): compliance, safety, PII detection
    • Float (0-1 continuous): accuracy, coherency, relevance
    • Categorical: intent classification, sentiment

    Metrics can be:

    • Applied to individual spans or entire traces
    • Combined into MetricGroups for batch evaluation
    • Customized with parameters (thresholds, patterns, weights)
    • Extended with user-defined custom metrics