# Hierarchical Chains with Multi-Level Abstention

This repository implements the HCMA framework, which uses model-intrinsic uncertainty to delegate queries across a hierarchy of LLMs. HCMA enables efficient, adaptive routing that reduces error and cost by allowing each model in the chain to abstain on high-risk queries.
