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.
Component | Available Classes | Description |
---|---|---|
QueryClassifier | TransformersQueryClassifier | Categorizes queries. Example usage: Distinguishing between keyword queries and natural language questions and routing them to the retrievers that can handle them best. |
RouteDocuments | RouteDocuments | Routes 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. |
Updated over 1 year ago