Evaluate hybrid search for legal question-answering using Qdrant & BM25/mxbai
UnknownWhat this workflow does
This workflow has 14 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Qdrant (community). It also calls datasets-server.huggingface.co over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Dataset Splits (HTTP Request): calls datasets-server.huggingface.co
- Split Them All Out (Split Out): splits a list into separate items
- Keep Test Split (Filter): keeps only the items that match a condition
- Get Test Queries (HTTP Request): calls an HTTP API
- Divide Per Row (Split Out): splits a list into separate items
- Keep Questions with Answers in the Dataset (Filter): keeps only the items that match a condition
- Keep Questions & IDs (Edit Fields (Set)): sets 2 fields: id_qa, question
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Merge: merges the data from its input branches
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: datasets-server.huggingface.co
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-qdrant is verified or supports 3.0 (used in Query Points).
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Qdrant
n8n-nodes-qdrant.qdrant - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate
From the author
Evaluate Hybrid Search on Legal Dataset This is the second part of "Hybrid Search with Qdrant & n8n, Legal AI." The first part, "Indexing", covers preparing and uploading the dataset to Qdrant. Overview This pipeline demonstrates how to perform Hybrid Search…