DocumentationAPI ReferenceπŸ““ TutorialsπŸ§‘β€πŸ³ Cookbook🀝 IntegrationsπŸ’œ Discord

Routing

Have a look at what rooting pipeline components are available in Haystack. You can use them to route queries or documents to other nodes that can handle them best.

ComponentAvailable ClassesDescription
QueryClassifierTransformersQueryClassifierCategorizes queries.
Example usage:
Distinguishing between keyword queries and natural language questions and routing them to the retrievers that can handle them best.
RouteDocumentsRouteDocumentsRoutes documents to different branches of your pipeline based on their content type or metadata field.
Example usage:
Routing table data to TableReader and text data to TransfomersReader for better handling.