GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cbw999/Corrective-RAG: Implementation of Corrective RAG using LangChain and LangGraph.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.streamlit
.streamlit
 
 
index
index
 
 
models
models
 
 
nodes
nodes
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
graph.py
graph.py
 
 
requirements.txt
requirements.txt
 
 
streamlit_app.py
streamlit_app.py
 
 

Repository files navigation

Corrective-RAG

An Implementation of this paper - https://arxiv.org/pdf/2401.15884 using LangChain and LangGraph

Requirements

  • Large Language Model (Change it in models/LLM. By default it uses gemini-1.5-flash by Google. You can use any model supported by langchain.)
  • Embeddings Model (Change it in models/EM. By default it uses text-embedding-004 by Google. You can use any model supported by langchain.)
  • Python 3.10 (use other versions at your own risk) (skip if using docker)
  • Python libraries mentioned in requirements.txt (skip if using docker)

Setup

  • Copy the repository
  • Change LLM and EM in models.
  • Run the app
    • Locally
      streamlit run streamlit_app.py
      
    • Docker
      docker build -t corrective-rag .
      docker run -p 8501:8501 corrective-rag
      

Check the app out here - https://corrective-rag.streamlit.app

To-do (contributions are welcome)

  • Use Hybrid Search
  • Change VectorDB to Pinecone
  • Allow Users to Chat
  • Maintain Chat History for each user
  • Improve Theming
  • DOCX, XLSX, PPTX, CSV, TXT support.

About

Implementation of Corrective RAG using LangChain and LangGraph.

corrective-rag.streamlit.app

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.