/products/orchestration-protocols/confidence-router
reaatech/confidence-router
SEED
Packages
@reaatech/confidence-router-classifiers
This package provides pluggable classifier implementations (keyword matching, embedding similarity, and LLM-based) for the confidence-router, along a registry for fallback chain execution, with zero runtime dependencies beyond Node.js native fetch.
pnpm add @reaatech/confidence-router-classifiers
@reaatech/confidence-router-languages
This package provides multi-language clarification prompts for confidence-router, with 47 built-in locale configurations including prompt templates, formatting conventions, and RTL support, and depends on `@reaatech/confidence-router-core`.
pnpm add @reaatech/confidence-router-languages
@reaatech/confidence-router-core
Core package for the confidence-router ecosystem providing type definitions, error classes, configuration utilities, and a `DecisionEngine` for confidence-based routing decisions. It has zero runtime dependencies and serves as the single source of truth for types across all `@reaatech/confidence-router-*` packages.
pnpm add @reaatech/confidence-router-core
@reaatech/confidence-router-evaluation
Provides threshold optimization and evaluation for confidence-router, performing grid search over threshold combinations to maximize F1 score against labeled datasets and reporting accuracy, precision, recall, and confusion matrices. Depends on `@reaatech/confidence-router-core` for types and works with any `RouterInterface` implementation.
pnpm add @reaatech/confidence-router-evaluation
@reaatech/confidence-router
A lightweight, pluggable routing engine that uses classification confidence scores to decide whether to route, clarify, or fallback. It bundles the `core`, `classifiers`, `languages`, and `evaluation` sub-packages with zero external runtime dependencies, relying only on native Node.js APIs.
pnpm add @reaatech/confidence-router
