Evaluate Hybrid Search for Legal Question-Answering using Qdrant & BM25/mxbai
    100%
    Automation
    0(0 reviews)
    4 downloads

    Evaluate Hybrid Search for Legal Question-Answering using Qdrant & BM25/mxbai

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    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 on a Qdrant collection using questions and text chunks (containing answers) from the LegalQAEval dataset (isaacus). On a small subset of questions, it shows: How to set up hybrid retrieval in Qdrant with: BM25-based keyword retrieval; mxbai-embed-large-v1 semantic retrieval; Reciprocal Rank Fusion (RRF), a simple zero-shot fusion of the two searches; How to run a basic evaluation: Calculate hits@1 — the percentage of evaluation questions where the top-1 retrieved text chunk contains the correct answer After running this pipeline, you will have a quality estimate of a simple hybrid retrieval setup. From there, you can reuse Qdrant’s Query Points node to build a legal RAG chatbot. Embedding Inference By default, this pipeline uses Qdrant Cloud Inference to convert questions to embeddings. You can also use an external embedding provider (e.g. OpenAI). In that case, minimally update the pipeline, similar to the adjustments showed in Part 1: Indexing. Prerequisites Completed Part 1 pipeline*, *"Hybrid Search with Qdrant & n8n, Legal AI: Indexing", and the collection created in it; All the requirements of Part 1 pipeline; Hybrid Search The example here is a basic hybrid query. You can extend/enhance it with: Reranking strategies; Different fusion techniques; Score boosting based on metadata; ... More details: Hybrid Queries in Qdrant. P.S. To ask retrieval in Qdrant-related questions, join the Qdrant Discord. Star Qdrant n8n community node repo <3

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 15-30 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought