Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

lancedb/vectordb-recipes

Repository files navigation


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 thatrequires no setup.
  • Itintegrates into Python data ecosystem so you can simply start using these in your existing data pipelines in pandas, arrow, pydantic etc.
  • LanceDB hasnative Typescript SDK using which you canrun 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.
  • Evalution - 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 ScratchOpen In ColabLLMbeginner
Local RAG from Scratch with Llama3Pythonlocal LLMbeginner
Multi-Head RAG from ScratchPythonLLMlocal LLMbeginner
Fintech AI Agent from ScratchOpen In ColabLLMadvanced

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 SearchOpen In Colab
Multimodal CLIP: DiffusionDBOpen In ColabPythonLLMbeginnerGhost
Multimodal CLIP: Youtube videosOpen In ColabPythonLLMbeginnerGhost
Cambrian-1: Vision centric exploration of imagesKaggleLLMintermediateGhost
Multimodal Jina CLIP-V2 : Food SearchOpen In ColabPythonbeginner
Multimodal vector search: Voyage AI X LanceDBOpen In Colabbeginner

RAG

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

RAG    Interactive Notebook & ScriptsBlog
RAG using Deepseek R1 vs OpenAI o1PythonAnalysis
RAG On PDFOpen In ColabLLMbeginner
RAG with Contextual Retrieval and Hybrid searchOpen In ColabLLMintermediateGhost
RAG with Matryoshka Embeddings and LlamaIndexOpen In ColabLLMintermediate
RAG with IBM WatsonxOpen In ColabLLMwatsonx LLMbeginner
Cognee RAGOpen In Colab
Improve RAG with Re-rankingOpen In ColabLLMbeginnerGhost
Improve RAG with HyDEOpen In ColabLLMintermediateGhost
Improve RAG with LOTROpen In ColabLLMintermediateGhost
Advanced RAG: Context Enrichment WindowOpen In ColabLLMintermediateGhost
Advanced RAG: Late ChunkingOpen In ColabLLMintermediateGhost
Corrective RAG with LanggraphOpen In ColabLLMintermediateGhost
Contextual-Compression-with-RAGOpen In Colablocal LLMintermediateGhost
Improve RAG with FLAREOpen In Colablocal LLMLLMadvancedGhost
Agentic RAGOpen In ColabLLMadvanced
GraphRAGOpen In ColabLLMintermediateGhost
GraphRAG with CSV FileOpen In ColabLLMintermediateGhost
GraphRAG with cognee - MultimediaOpen In ColabLLMintermediate

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 SearchOpen In ColabLLMbeginner
Hybrid search BM25 & lancedbOpen In ColabLLMbeginnerGhost
NER powered Semantic SearchOpen In Colablocal LLMbeginnerGhost
Vector Arithmetic with LanceDBOpen In ColabLLMbeginnerGhost
Summarize and Search Reddit PostsOpen In Colabbeginner
Imagebind demo apphf spacesintermediate
Search Within ImagesOpen In Colablocal LLMintermediateGhost
Zero Shot Object Detection with CLIPOpen In Colabintermediate
Vector Search with TransformersJSJSLLMadvanced
Geospatial Recommendation SystemOpen In ColabLLMintermediate
Accelerate Vector Search Applications Using OpenVINOOpen In Colablocal LLMadvancedGhost

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 BotPythonDatabricks LLMbeginner
CLI-based SDK Manual Chatbot with PhidataPythonlocal LLMbeginner
Youtube transcript search botOpen In ColabPythonJSLLMintermediate
Langchain: Code Docs QA botOpen In ColabPythonJSLLMintermediate
Chatbot with any website using Crawl4AIOpen In ColabPythonLLMbeginner
Context-Aware Chatbot using Llama 2 & LanceDBOpen In Colablocal LLMadvancedGhost

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 HoneyHiveOpen In ColabLLMbeginner
Evaluating RAG with RAGAsOpen In ColabLLMintermediate

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 AgentOpen In ColabLLMintermediate
Multi Source AgentOpen In ColabLLMbeginner
AI email assistant with ComposioOpen In ColabLLMbeginner
Assitant Bot with OpenAI SwarmOpen In ColabLLMintermediate
AI Trends Searcher with CrewAIOpen In ColabLLMbeginnerGhost
SuperAgent AutogenOpen In ColabLLMintermediate
Build autonomous Customer support agent using LanggraphOpen In ColabintermediateGhost
AI Agents: Reducing HallucinationOpen In ColabPythonJSLLMadvancedGhost
Multi Document Agentic RAGOpen In ColabLLMadvancedGhost
RASA: Customer Support BotOpen In ColabLLMadvancedGhost

Recommender Systems

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

Recommender SystemsInteractive Notebook & Scripts  Blog
Movie RecommenderOpen In ColabPythonbeginner
Product RecommenderOpen In ColabPythonintermediate
Arxiv paper recommenderOpen In ColabPythonLLMbeginner
Music RecommenderPythonintermediate

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.

ConceptsInteractive NotebookBlog
A Primer on Text Chunking and its TypesOpen In ColabbeginnerGhost
Langchain LlamaIndex ChunkingOpen In ColabbeginnerGhost
Create structured dataset using InstructorPythonbeginner
Comparing Cohere Rerankers with LanceDBbeginnerGhost
Product Quantization: Compress High Dimensional VectorsintermediateGhost
LLMs, RAG, & the missing storage layer for AIintermediateGhost
Fine-Tuning LLM using PEFT & QLoRAOpen In Colablocal LLMadvancedGhost
Extracting Complex tables-text from PDFs using LlamaParseOpen In ColabLLMLlamaCloudbeginner
Convert any Image dataset to lance FormatOpen In ColabadvancedGhost

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 NameDescriptionScreenshot
Writing assistantWriting 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-CompleteSentance 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 RecommendationArticle 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 SearchTransform 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 searchAn 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 analysisAn 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 AgentThe AI-Powered Law Assistant is aHierarchical 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 NameDescriptionScreenshot
YOLOExplorerIterate on your YOLO / CV datasets using SQL, Vector semantic search, and more within secondsYOLOExplorer
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 TTSThis Chatbot app uses Lancedb Hybrid search, FTS & reranker method with Parlers TTS library.image
Multi-Modal Search EngineCreate a Multi-modal search engine app, to search images using both images or textSearch
Evaluate RAGA 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 evaluationsimage
Multi-Agent Collaboration ChatbotMulti-Agent collabration chatbot using langgraph for share-market use case using Lancedb & tools such as Polygon ,Tavilyimage
Multimodal Myntra Fashion Search EngineThis app uses OpenAI's CLIP to make a search engine that can understand and deal with both written words and pictures.image
Multilingual-RAGMultilingual RAG with cohere embedding & support 100+ languagesimage
Music RecommenderMusic Recommendation system using audio feature extraction and vector similarity search. By utilizingLanceDB,PANNs for audio tagging, andLibrosa for audio feature extraction, the system finds and recommends tracks with similar audio characteristics based on a query song.image
NoOCREnd-to-end solution for complex PDFs, powered byColPali andLanceDB.image

🌟 New! 🌟 Applied GenAI and VectorDB course on UdacityLearn about GenAI and vectorDBs using LanceDB in the recently launchedUdacity Course

Contributing Examples

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

Releases

No releases published

Packages

No packages published

Contributors34


[8]ページ先頭

©2009-2025 Movatter.jp