Skip to content

Advanced‐Features

Tejas edited this page May 30, 2026 · 4 revisions

Advanced Features

Confidence-Aware Routing

In production, you don't always want to trust a model prediction if the probability is low.

Example Pattern:

tool = ModelTool(
    model=clf,
    confidence_threshold=0.85,
    on_low_confidence="fallback",
    fallback_tool=human_review_tool
)

Clone this wiki locally