Skip to content

Implementation of Reflective RAG, Self-RAG & Adaptive RAG tailored towards production-oriented applications with LangGraph and OpenAI API

Notifications You must be signed in to change notification settings

PrMestizo/Advanced-RAG-LangChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced RAG control flow with LangGraph🦜🕸:

Implementation of Reflective RAG, Self-RAG & Adaptive RAG tailored towards production-oriented applications with LangGraph🦜🕸️.

Arquitectura Advance-Rag

Features

  • Refactored Notebooks: The original LangChain notebooks have been refactored to enhance readability, maintainability, and usability for developers.
  • Production-Oriented: The codebase is designed with a focus on production readiness, allowing developers to seamlessly transition from experimentation to deployment.
  • Test Coverage: Comprehensive test coverage ensures the reliability and stability of the application, enabling developers to validate their implementations effectively.
  • Documentation: Detailed documentation and branches guides developers through setting up the environment, understanding the codebase, and utilizing LangGraph effectively.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PYTHONPATH=/{YOUR_PATH_TO_PROJECT}/Advanced-RAG-LangChain
OPENAI_API_KEY=<your-openai-api-key>

How to get you OpenAI API Key https://platform.openai.com/account/api-keys

TAVILY_API_KEY=<your-tavily-api-key>

How to get you Tavily API Key https://docs.mindmac.app/how-to.../internet-browsing/get-tavily-key

Run Locally

Clone the project

git clone https://github.com/PrMestizo/Advanced-RAG-LangChain.git

Go to the project directory

cd Advanced-RAG-LangChain

Install dependencies

poetry install

Start the flask server

poetry run app.py

About

Implementation of Reflective RAG, Self-RAG & Adaptive RAG tailored towards production-oriented applications with LangGraph and OpenAI API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages