lancedb
vectordb-recipes
Jupyter Notebook

Resource, examples & tutorials for multimodal AI, RAG and agents using vector search and LLMs

Last updated Aug 10, 2026
972
Stars
171
Forks
4
Issues
+2
Stars/day
Attention Score
90
Language breakdown
Jupyter Notebook 92.6%
Python 3.7%
JavaScript 3.0%
TypeScript 0.3%
CSS 0.2%
HTML 0.2%
Files click to expand
README

VectorDB-recipes


Dive into building GenAI applications! This repository contains examples, applications, starter code, & tutorials to help you kickstart your GenAI projects.
  • These are built using LanceDB, a free, open-source, serverless vectorDB that requires no setup.
  • It integrates into Python data ecosystem so you can simply start using these in your existing data pipelines in pandas, arrow, pydantic etc.
  • LanceDB has native Typescript SDK using which you can run vector search in serverless functions!


Join our community for support - DiscordTwitter


This repository is divided into 2 sections:

  • Examples - Get right into the code with minimal introduction, aimed at getting you from an idea to PoC within minutes!
  • Applications - Ready to use Python and web apps using applied LLMs, VectorDB and GenAI tools

The following examples are organized into different tables to make similar types of examples easily accessible.

Sections

  • Build from Scratch - Step-by-step guides to create AI applications from scratch.
  • Multimodal - Build apps that process and search across both text and images.
  • RAG - Combine document retrieval with LLM-powered responses.
  • Vector Search - Learn to efficiently find relevant documents using vector-based search.
  • Chatbot - Create AI chatbots that fetch information and generate intelligent replies.
  • Evaluation - Measure the quality and accuracy of AI-generated answers.
  • AI Agents - Build LLM-driven applications where multiple agents collaborate and interact.
  • Recommender Systems - Develop AI-powered recommendation systems for personalized suggestions.
  • Concepts - Tutorials and explanations of key techniques used in AI applications.

🌟 New 🌟

Stay up to date with the latest projects, tools, and improvements added to the repository.
  • V-JEPA Video Search - Open In Colab

Build from Scratch

Start with the basics! These examples guide you through creating AI applications from the ground up using LanceDB for efficient document retrieval and search.

| Build from Scratch    | Interactive Notebook & Scripts   | |-------- | -------------: | ||| | Build RAG from Scratch | Open In Colab LLM beginner| | | Local RAG from Scratch with Llama3 | Python local LLM beginner| | | Multi-Head RAG from Scratch | Python LLM local LLM beginner| | | Fintech AI Agent from Scratch |Open In Colab LLM advanced|Ghost | ||||

MultiModal

Search across different types of data (text, images, and more). Build powerful search applications that work with diverse inputs.

| Multimodal    | Interactive Notebook & Scripts   | Blog | | --------- | -------------------------- | ----------- | |||| | V-JEPA Video Search | Open In Colab | | | Multimodal CLIP: DiffusionDB | Open In Colab Python LLM beginner| Ghost| | Multimodal CLIP: Youtube videos | Open In Colab Python LLM beginner|Ghost| | Cambrian-1: Vision centric exploration of images | Kaggle LLM intermediate| Ghost| | Multimodal Jina CLIP-V2 : Food Search | Open In Colab Python beginner| | Multimodal vector search: Voyage AI X LanceDB | Open In Colab beginner|| ||||

RAG

Generated Responses by retrieving relevant documents before answering. This section covers different approaches to implementing RAG in your projects.

| RAG    | Interactive Notebook & Scripts | Blog | | --------- | -------------------------- | ----------- | |||| | RAG using Deepseek R1 vs OpenAI o1 | Python Analysis | | RAG On PDF | Open In Colab LLM beginner| | RAG with Contextual Retrieval and Hybrid search | Open In Colab LLM intermediate| Ghost | | RAG with Matryoshka Embeddings and LlamaIndex | Open In Colab LLM intermediate|| | RAG with IBM Watsonx | Open In Colab LLM watsonx LLM beginner|| | RAG with MiniMax | Open In Colab Python LLM beginner|| | Cognee RAG | Open In Colab || | Improve RAG with Re-ranking | Open In Colab LLM beginner|Ghost| Improve RAG with HyDE | Open In Colab LLM intermediate|Ghost| | Improve RAG with LOTR | Open In Colab LLM intermediate|Ghost| | Advanced RAG: Context Enrichment Window | Open In Colab LLM intermediate|Ghost| | Advanced RAG: Late Chunking | Open In Colab LLM intermediate|Ghost| | Corrective RAG with Langgraph | Open In Colab LLM intermediate| Ghost| | Contextual-Compression-with-RAG | Open In Colab local LLM intermediate|Ghost | | Improve RAG with FLARE | Open In Colab local LLM LLM advanced|Ghost | | Agentic RAG | Open In Colab LLM advanced| | GraphRAG | Open In Colab LLM intermediate|Ghost| | GraphRAG with CSV File | Open In Colab LLM intermediate|Ghost| | GraphRAG with cognee - Multimedia | Open In Colab LLM intermediate|| ||||

Vector Search

Find relevant documents quickly! These projects show how to use vector-based search techniques to make AI-powered searches faster and smarter.

| Vector Search    | Interactive Notebook & Scripts   | Blog | | --------- | -------------------------- | ----------- | |||| | Inbuilt Hybrid Search |Open In Colab LLM beginner|| | Hybrid search BM25 & lancedb | Open In Colab LLM beginner |Ghost| | NER powered Semantic Search | Open In Colab local LLM beginner| Ghost | | Vector Arithmetic with LanceDB | Open In Colab LLM beginner |Ghost| | Summarize and Search Reddit Posts | Open In Colab beginner| | Imagebind demo app | hf spaces intermediate| | Search Within Images | Open In Colab local LLM intermediate| Ghost| | Zero Shot Object Detection with CLIP | Open In Colab intermediate| | Vector Search with TransformersJS |JS LLM advanced| | | Geospatial Recommendation System | Open In Colab LLM intermediate| | Accelerate Vector Search Applications Using OpenVINO | Open In Colab local LLM advanced| Ghost| ||||

Chatbot

Create chatbots that understand user queries and fetch relevant responses using LanceDB’s vector search capabilities.

| Chatbot    | Interactive Notebook & Scripts   | Blog  | | --------- | -------------------------- | ----------- | |||| | Databricks DBRX Website Bot | Python Databricks LLM beginner| | CLI-based SDK Manual Chatbot with Phidata | Python local LLM beginner| | Youtube transcript search bot | Open In Colab Python JS LLM intermediate|| | Langchain: Code Docs QA bot | Open In Colab Python JS LLM intermediate|| | Chatbot with any website using Crawl4AI | Open In Colab Python LLM beginner| | Context-Aware Chatbot using Llama 2 & LanceDB | Open In Colab local LLM advanced| Ghost | ||||

Evaluation

These projects provide tools to compare AI-generated responses against reference data and fine-tune accuracy.

| Evaluation    | Interactive Notebook & Scripts   | Blog | | --------- | -------------------------- | ----------- | |||| | Monitoring and Tracing RAG using HoneyHive | Open In Colab LLM beginner| | | Evaluating RAG with RAGAs | Open In Colab LLM intermediate| | ||||

AI Agents

Build applications where multiple AI agents interact to complete tasks efficiently. These projects show how agents can collaborate, exchange data, and automate workflows.

| AI Agents    | Interactive Notebook & Scripts   | Blog | | --------- | -------------------------- | ----------- | |||| | Trip Planner Swarm style Agent |Open In Colab LLM intermediate| | Multi Source Agent |Open In Colab LLM beginner| | AI email assistant with Composio |Open In Colab LLM beginner| | Assistant Bot with OpenAI Swarm |Open In Colab LLM intermediate| | AI Trends Searcher with CrewAI |Open In Colab LLM beginner|Ghost| | SuperAgent Autogen |Open In Colab LLM intermediate|| | Build autonomous Customer support agent using Langgraph |Open In Colab intermediate|Ghost| | AI Agents: Reducing Hallucination | Open In Colab Python JS LLM advanced |Ghost| | Multi Document Agentic RAG |Open In Colab LLM advanced|Ghost| | RASA: Customer Support Bot |Open In Colab LLM advanced|Ghost| ||||

Recommender Systems

Personalized AI recommendations! These projects help you build recommendation engines that suggest content based on user preferences.

| Recommender Systems | Interactive Notebook & Scripts   | Blog | | --------- | -------------------------- | ----------- | |||| | Movie Recommender | Open In Colab Python beginner| | | Product Recommender | Open In Colab Python intermediate| | | Arxiv paper recommender | Open In Colab Python LLM beginner| | | Music Recommender | Python intermediate| ||||| ||||

Concepts

Learn the core ideas behind AI applications—including text chunking, retrieval strategies, and optimization techniques—to improve your understanding of vector search and AI pipelines.

| Concepts | Interactive Notebook | Blog | | --------- | -------------------------- | ----------- | | | | | | A Primer on Text Chunking and its Types | Open In Colab beginner| Ghost | | Langchain LlamaIndex Chunking | Open In Colab beginner| Ghost | | Create structured dataset using Instructor | Python beginner| | | Comparing Cohere Rerankers with LanceDB | beginner| Ghost | | Product Quantization: Compress High Dimensional Vectors |intermediate | Ghost | | LLMs, RAG, & the missing storage layer for AI | intermediate| Ghost | | Fine-Tuning LLM using PEFT & QLoRA | Open In Colab local LLM advanced| Ghost | | Extracting Complex tables-text from PDFs using LlamaParse | Open In Colab LLM LlamaCloud beginner| | | Convert any Image dataset to lance Format | Open In Colab advanced| Ghost | ||||

Projects & Applications

Ready-to-use AI applications built with LanceDB! Use these projects as-is, customize them, or integrate them into your own applications.

Node applications powered by LanceDB

| Project Name | Description | Screenshot | |-----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------| | Writing assistant | Writing assistant app using lanchain.js with LanceDB, allows you to get real time relevant suggestions and facts based on you written text to help you with your writing. | Writing assistant | | Sentence Auto-Complete | Sentance auto complete app using lanchain.js with LanceDB, allows you to get real time relevant auto complete suggestions and facts based on you written text to help you with your writing.You can also upload your data source in the form of a pdf file.You can switch between gpt models to get faster results. | Sentence auto-complete | | Article Recommendation | Article Recommender: Explore vast data set of articles with Instant, Context-Aware Suggestions. Leveraging Advanced NLP, Vector Search, and Customizable Datasets, Our App Delivers Real-Time, Precise Article Recommendations. Perfect for Research, Content Curation, and Staying Informed. Unlock Smarter Insights with State-of-the-Art Technology in Content Retrieval and Discovery!". | Article Recommendation | | AI Powered Job Search | Transform your job search experience with this AI-driven application. Powered by LangChain.js, LanceDB, and advanced semantic search, it provides real-time, highly accurate job listings tailored to your preferences. Featuring customizable datasets and advanced filtering options (e.g., skills, location, job type, and salary range), this app ensures you find the right opportunities quickly and effortlessly. Best suited for job seekers, recruiters, career platforms, custom job boards. | Job Search | | AI Powered Multimodal meme search | An advanced AI-powered meme search engine that allows users to find memes using both text and image queries. By leveraging LanceDB as a high-performance vector database and Roboflow's CLIP model for embedding generation, the platform delivers fast and accurate meme retrieval. | Multimodal meme search | | AI Powered Feedback search and analysis | An AI-powered employee feedback analysis platform designed to collect, store, analyze, and retrieve insightful employee feedback. This system leverages LanceDB for high-speed vector-based semantic search, React.js for an interactive UI, Node.js for backend processing, and LangChain.js with an Ambient Agent for intelligent analysis and actionable insights. | AI Powered Feedback search and analysis | | Hierarchical Multi Agent | The AI-Powered Law Assistant is a Hierarchical Multi-Agent System leveraging LangGraph, LangChain, and LanceDB for efficient legal query processing. It features a Supervisor Agent that delegates tasks to specialized agents for IPC and NDPS laws, each with sub-agents for case retrieval and legal summarization. Using LanceDB, it stores and retrieves vectorized legal documents, enabling fast, structured, and context-aware responses for legal professionals, researchers, and law students. | AI Powered Law Assistant | ||||

| Project Name | Description | Screenshot | |-----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------| | YOLOExplorer | Iterate on your YOLO / CV datasets using SQL, Vector semantic search, and more within seconds | YOLOExplorer | | Website Chatbot (Deployable Vercel Template) | Create a chatbot from the sitemap of any website/docs of your choice. Built using vectorDB serverless native javascript package. | Chatbot | | Advanced Chatbot with Parler TTS | This Chatbot app uses Lancedb Hybrid search, FTS & reranker method with Parlers TTS library.|image| | Multi-Modal Search Engine | Create a Multi-modal search engine app, to search images using both images or text | Search| | Evaluate RAG | A working Streamlit RAG App designed to demonstrate end to to end production grade evaluation using 50+ scores and metrics which include guards, software metrics, traditional metrics and LLM as judge metrics. It uses mixture of specialised deep learning models and LLM as Judge models to do the evaluations |image| | Multi-Agent Collaboration Chatbot | Multi-Agent collaboration chatbot using langgraph for share-market use case using Lancedb & tools such as Polygon ,Tavily |image| | Multimodal Myntra Fashion Search Engine | This app uses OpenAI's CLIP to make a search engine that can understand and deal with both written words and pictures.|image| | Multilingual-RAG | Multilingual RAG with cohere embedding & support 100+ languages|image| | Music Recommender | Music Recommendation system using audio feature extraction and vector similarity search. By utilizing LanceDB, PANNs for audio tagging, and Librosa for audio feature extraction, the system finds and recommends tracks with similar audio characteristics based on a query song.|image| | NoOCR | End-to-end solution for complex PDFs, powered by ColPali and LanceDB.|image|

🌟 New! 🌟 Applied GenAI and VectorDB course on Udacity Learn about GenAI and vectorDBs using LanceDB in the recently launched Udacity Course

Contributing Examples

If you're working on some cool applications that you'd like to add to this repo, please open a PR!
🔗 More in this category

© 2026 GitRepoTrend · lancedb/vectordb-recipes · Updated daily from GitHub