
Multi-Retriever Workflows
Choosing the right database.
Multi-Retriever Workflows
You often have multiple knowledge bases (Technical Docs, Marketing Notion, Sales Salesforce).
The Router Approach
- Start: User asks a question.
- ClassifierNode: "Is this Technical or Sales?"
- Route:
- Sales ->
SalesRetrieverNode - Tech ->
TechRetrieverNode
- Sales ->
The Ensemble Approach
- Fan-Out: Query both retrievers in parallel.
- Fan-In: The
ReRankerNodetakes all results, scores them, and keeps the top 5. - Generate.
The graph structure makes implementing these complex pipelines trivial.