Client Referencerouters
semantic_router.routers.compose
compose routers: fall through a chain, or merge several opinions into one.
Chain Objects
class Chain(BaseRouter)try routers in order; the first whose best confidence clears its bar answers.
Merge Objects
class Merge(BaseRouter)ask every router at once and take a weighted mean of their confidences per route.