DocumentationAPI Reference📓 Tutorials🧑‍🍳 Cookbook🤝 Integrations💜 Discord🎨 Studio (Waitlist)
Documentation

Routers

Routers is a group of components that route queries or documents to other components that can handle them best.

ComponentDescription
ConditionalRouterRoutes data based on specified conditions.
FileTypeRouterRoutes file paths or byte streams based on their type further down the pipeline.
MetadataRouterRoutes documents based on their metadata field values.
TextLanguageRouterRoutes queries based on their language.
TransformersTextRouterRoutes text input to various output connections based on a model-defined categorization label.
TransformersZeroShotTextRouterRoutes text input to various output connections based on user-defined categorization label.

Related Links