AutomationMart
Home/Browse/Index legal documents for hybrid search with Qdrant, OpenAI & BM25
n8n

Index legal documents for hybrid search with Qdrant, OpenAI & BM25

n8nn8n30 modulesv1.0
DiscordOpenAIHugging Face

Index Legal Dataset to Qdrant for Hybrid Retrieval This pipeline is the first part of "Hybrid Search with Qdrant & n8n, Legal AI". The second part, "Hybrid Search with Qdrant & n8n, Legal AI: Retrieval", covers retrieval and simple evaluation. Overview This pipeline transforms a Q&A legal corpus from Hugging Face (isaacus) into vector

At a glance

Index legal documents for hybrid search with Qdrant, OpenAI & BM25 is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Discord, OpenAI, Hugging Face. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Discord, OpenAI, Hugging Face
Modules
30
Price
Free
Version
v1.0
Index legal documents for hybrid search with Qdrant, OpenAI & BM25 workflow diagram

About this workflow

Index Legal Dataset to Qdrant for Hybrid Retrieval This pipeline is the first part of "Hybrid Search with Qdrant & n8n, Legal AI". The second part, "Hybrid Search with Qdrant & n8n, Legal AI: Retrieval", covers retrieval and simple evaluation. Overview This pipeline transforms a Q&A legal corpus from Hugging Face (isaacus) into vector representations and indexes them to Qdrant, providing the foundation for running Hybrid Search, combining: - Dense vectors (embeddings) for semantic similarity search; - Sparse vectors for keyword-based exact search. After running this pipeline, you will have a Qdrant collection with your legal dataset ready for hybrid retrieval on BM25 and dense embeddings: either mxbai-embed-large-v1 or text-embedding-3-small. Options for Embedding Inference This pipeline equips you with two approaches for generating dense vectors: 1. Using Qdrant Cloud Inference, conversion to vectors handled directly in Qdrant; 2. Using external provider, e.g. OpenAI for generating embeddings. Prerequisites - A cluster on Qdrant Cloud - Paid cluster in the US region if you want to use Qdrant Cloud Inference - Free Tier Cluster if using an external provider (here OpenAI) - Qdrant Cluster credentials: - You'll be guided on how to obtain both the URL and APIKEY from the Qdrant Cloud UI when setting up your cluster; - An OpenAI API key (if you’re not using Qdrant’s Cloud Inference); P.S. - To ask retrieval in Qdrant-related questions, join the Qdrant Discord. - Star Qdrant n8n community node repo <3

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Validate concert ticket bookings and orchestrate fan experience with GPT-4o, Gmail, Slack and Google Sheets

How It Works This workflow automates end-to-end concert ticket booking validation and fan experience management using two coordinated AI agents. It is designed for ticketing platforms, event operators, and venue operations teams that must prevent fraud, manage inventory accurately, and deliver seamless customer communication at scale. The workflow solves key challenges such as duplicate bookings, bot-driven purchases, payment failures, overbooking, and inconsistent refund handling. When a boo

Free

Building your first WhatsApp chatbot

This n8n template builds a simple WhatsApp chabot acting as a Sales Agent. The Agent is backed by a product catalog vector store to better answer user's questions. This template is intended to help introduce n8n users interested in building with WhatsApp. How it works This template is in 2 parts: creating the product catalog vector store and building the WhatsApp AI chatbot. A product brochure is imported via HTTP request node and its text contents extracted. The text contents are the

Free

Vacation planning agent

Vacation Planning Agent - n8n Workflow Overview This n8n workflow creates an intelligent vacation planning chatbot that helps users find and book the perfect hotel accommodations. The agent acts as a professional travel consultant, systematically gathering travel requirements and providing personalized hotel recommendations through an interactive chat interface. Core Functionality The workflow provides a conversational AI agent that: - Conducts structured information gathering through natural co

Free

Send data to ChatGPT assistant and trigger a custom webhook action

Automatically send data to ChatGPT assistant from a triggered custom webhook, and perform an HTTP action for seamless integration and automation.

Free

Plan AI-powered travel itineraries with Apify, OpenAI, and Google Docs

Who is this for Travel agencies, freelance travel planners, or anyone who wants to automate personalized trip planning by combining real-time hotel and flight data with AI-generated recommendations. What this workflow does - Collects travel details (airports, dates, travelers) through an n8n form - Scrapes the top 5 hotels from Booking.com sorted by review score via Apify - Scrapes the best available flights from Google Flights via Apify - Generates restaurant, attraction, and day-by-day itinera

Free

Generate social media content across platforms with GPT-4 and auto-scheduler

AI Social Media Content Generator & Scheduler Transform your social media strategy with AI-powered content generation that creates platform-specific posts in seconds! 🚀 What It Does This workflow uses AI to generate optimized content for multiple social media platforms from a single topic input. Perfect for marketers, content creators, and businesses looking to maintain consistent social media presence. ✨ Key Features - Multi-Platform Support: LinkedIn, Twitter/X, Instagram, Fac

Free

Convert Fathom meeting transcripts to formatted Google Docs with AI summaries

Transcript → AI Analysis → Formatted Doc This workflow automatically converts Fathom meeting transcripts into beautifully formatted Google Docs with AI-generated summaries, key points, decisions, and action items. Good to know - Works fully with Fathom free account - Webhook responds immediately to prevent Fathom timeout and duplicate triggers - Validates transcript quality (3+ conversation turns) before AI processing to save costs - Uses Google Gemini API (generous free tier a

Free

Customer support WhatsApp bot with Google Docs knowledge base and Gemini AI

Document-Aware WhatsApp AI Bot for Customer Support Google Docs-Powered WhatsApp Support Agent 24/7 WhatsApp AI Assistant with Live Knowledge from Google Docs 📝Description Template Smart WhatsApp AI Assistant Using Google Docs Help customers instantly on WhatsApp using a smart AI assistant that reads your company’s internal knowledge from a Google Doc in real time. Built for clubs, restaurants, agencies, or any business where clients ask questions based on a policy, FAQ, or servi

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free