Git Product home page Git Product logo

advanced_rag's Introduction

Dive into the world of advanced language understanding with Advanced_RAG. These Python notebooks offer a guided tour of Retrieval-Augmented Generation (RAG) using the Langchain framework, perfect for enhancing Large Language Models (LLMs) with rich, contextual knowledge.

Architecture Flows

Basic RAG :

Understand the journey of a query through RAG, from user input to the final generated response, all depicted in a clear, visual flow. RAG_User_Flow

Advanced RAG Techniques :

Explore the intricate components that make up an advanced RAG system, from query construction to generation. Advanced RAG Components

02. Multi Query Retriever :

Get to grips with the Multi Query Retriever structure, which enhances the retrieval process by selecting the best responses from multiple sources. MQR

06. Self-Reflection-RAG :

self-Rag

07. Agentic RAG :

download

08. Adaptive Agentic RAG :

adaptive_rag_agent

09. Corrective Agentic RAG :

correctiveRAG

10. LLAMA 3 Agentic RAG Local:

LLAMA3_AGent

Notebooks Overview

Below is a detailed overview of each notebook present in this repository:

  • 01_Introduction_To_RAG.ipynb
    • Basic process of building RAG app(s)
  • 02_Query_Transformations.ipynb
    • Techniques for Modifying Questions for Retrieval
  • 03_Routing_To_Datasources.ipynb
    • Create Routing Mechanism for LLM to select the correct data Source
  • 04_Indexing_To_VectorDBs.ipynb
    • Various Indexing Methods in the Vector DB
  • 05_Retrieval_Mechanisms.ipynb
    • Reranking, RaG Fusion, and other Techniques
  • 06_Self_Reflection_Rag.ipynb
    • RAG that has self-reflection / self-grading on retrieved documents and generations.
  • 07_Agentic_Rag.ipynb
    • RAG that has agentic Flow on retrieved documents and generations.
  • 08_Adaptive_Agentic_Rag.ipynb
    • RAG that has adaptive agentic Flow.
  • 09_Corrective_Agentic_Rag.ipynb
    • RAG that has corrective agentic Flow on retrieved documents and generations.
  • 10_LLAMA_3_Rag_Agent_Local.ipynb
    • LLAMA 3 8B Agent Rag that works Locally.

Enhance your LLMs with the powerful combination of RAG and Langchain for more informed and accurate natural language generation.

advanced_rag's People

Contributors

nisaaragharia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.