Routers
Routers route queries or documents to a pipeline branch that can handle them best.
The following routers are available:
- ConditionalRouter: Routes data based on the conditions you define using Jinja2 expressions.
- FileTypeRouter: Routes files or byte streams based on their type.
- MetadataRouter: Routes files based on the filters you set. Filter syntax must match the syntax of the OpenSearch document store.
- TextLanguageRouter: Routes queries based on their language.
- TransformersTextRouter: Routes text based on a model-defined categorization label.
- TransformersZeroShotTextRouter: Routes text based on user-defined categorization label.
Updated 3 months ago