Files
lancedb/docs/src/examples/python_examples/rag.md
2024-10-29 22:55:27 +05:30

15 KiB

RAG (Retrieval-Augmented Generation) with LanceDB 🔓🧐

Build RAG (Retrieval-Augmented Generation) with LanceDB, a powerful solution for efficient vector-based information retrieval 📊.

Experience the Future of Search 🔄

🤖 RAG enables AI to retrieve relevant information from external sources and use it to generate more accurate and context-specific responses. 💻 LanceDB provides a robust framework for integrating LLMs with external knowledge sources 📝.

RAG Description Links
RAG with Matryoshka Embeddings and LlamaIndex 🪆🔗 Utilize Matryoshka embeddings and LlamaIndex to improve the efficiency and accuracy of your RAG models. 📈 Github
Open In Collab
Improve RAG with Re-ranking 📈🔄 Enhance your RAG applications by implementing re-ranking strategies for more relevant document retrieval. 📚🔍 Github
Open In Collab
Ghost
Instruct-Multitask 🧠🎯 Integrate the Instruct Embedding Model with LanceDB to streamline your embedding API, reducing redundant code and overhead. 🌐📊 Github
Open In Collab
Python
Ghost
Improve RAG with HyDE 🌌🔍 Use Hypothetical Document Embeddings for efficient, accurate, and unsupervised dense retrieval. 📄🔍 Github
Open In Collab
Ghost
Improve RAG with LOTR 🧙‍♂️📜 Enhance RAG with Lord of the Retriever (LOTR) to address 'Lost in the Middle' challenges, especially in medical data. 🌟📜 Github
Open In Collab
Ghost
Advanced RAG: Parent Document Retriever 📑🔗 Use Parent Document & Bigger Chunk Retriever to maintain context and relevance when generating related content. 🎵📄 Github
Open In Collab
Ghost
Corrective RAG with Langgraph 🔧📊 Enhance RAG reliability with Corrective RAG (CRAG) by self-reflecting and fact-checking for accurate and trustworthy results. 🔍 Github
Open In Collab
Ghost
Contextual Compression with RAG 🗜️🧠 Apply contextual compression techniques to condense large documents while retaining essential information. 📄🗜️ Github
Open In Collab
Ghost
Improve RAG with FLARE 🔥 Enable users to ask questions directly to academic papers, focusing on ArXiv papers, with Forward-Looking Active REtrieval augmented generation.🚀🌟 Github
Open In Collab
Ghost
Query Expansion and Reranker 🔍🔄 Enhance RAG with query expansion using Large Language Models and advanced reranking methods like Cross Encoders, ColBERT v2, and FlashRank for improved document retrieval precision and recall 🔍📈 Github
Open In Collab
RAG Fusion 🌐 Build RAG Fusion, utilize the RRF algorithm to rerank documents based on user queries ! Use LanceDB as vector database to store and retrieve documents related to queries via OPENAI Embeddings🌐 Github
Open In Collab
Agentic RAG 🤖📚 Build autonomous information retrieval with Agentic RAG, a framework of intelligent agents that collaborate to synthesize, summarize, and compare data across sources, that enables proactive and informed decision-making 🤖📚 Github
Open In Collab