๐Ÿ” Evaluate hybrid search for legal question-answering using Qdrant & BM25/mxbai

โšก 2,075 views ยท ๐Ÿ” AI RAG & Knowledge Retrieval

Description

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:

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

Prerequisites

The example here is a basic hybrid query. You can extend/enhance it with:

More details: Hybrid Queries in Qdrant.

P.S.

๐Ÿ”— Nodes Used

HTTP Request, Filter

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup