{"id":17526857,"url":"https://github.com/Grecil/Corrective-RAG","last_synced_at":"2025-03-06T06:30:56.652Z","repository":{"id":244910733,"uuid":"816646838","full_name":"Grecil/Corrective-RAG","owner":"Grecil","description":"Implementation of Corrective RAG using LangChain and LangGraph.","archived":false,"fork":false,"pushed_at":"2024-08-06T14:31:16.000Z","size":40,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-07T15:46:11.374Z","etag":null,"topics":["crag","duckduckgo","embeddings","faiss","gemini-api","langchain","langgraph","llm","rag","streamlit"],"latest_commit_sha":null,"homepage":"https://corrective-rag.streamlit.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Grecil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T06:33:52.000Z","updated_at":"2024-08-06T14:31:20.000Z","dependencies_parsed_at":"2024-07-23T17:18:58.842Z","dependency_job_id":null,"html_url":"https://github.com/Grecil/Corrective-RAG","commit_stats":null,"previous_names":["grecil/corrective-rag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grecil%2FCorrective-RAG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grecil%2FCorrective-RAG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grecil%2FCorrective-RAG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grecil%2FCorrective-RAG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Grecil","download_url":"https://codeload.github.com/Grecil/Corrective-RAG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242161438,"owners_count":20081873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crag","duckduckgo","embeddings","faiss","gemini-api","langchain","langgraph","llm","rag","streamlit"],"created_at":"2024-10-20T15:02:34.336Z","updated_at":"2025-03-06T06:30:56.311Z","avatar_url":"https://github.com/Grecil.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Corrective-RAG\nAn Implementation of this paper - https://arxiv.org/pdf/2401.15884 using LangChain and LangGraph\n\n### Requirements\n- 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.)\n- Embeddings Model (Change it in models/EM. By default it uses text-embedding-004 by Google. You can use any model supported by langchain.)\n- Python 3.10 (use other versions at your own risk) (skip if using docker)\n- Python libraries mentioned in requirements.txt (skip if using docker)\n\n### Setup\n- Copy the repository\n- Change LLM and EM in models.\n- Run the app\n  - Locally\n    ```\n    streamlit run streamlit_app.py\n    ```\n  - Docker\n    ```\n    docker build -t corrective-rag .\n    docker run -p 8501:8501 corrective-rag\n    ```\n#### Check the app out here - https://corrective-rag.streamlit.app\n\n### To-do (contributions are welcome)\n- [ ] Use Hybrid Search\n- [ ] Change VectorDB to Pinecone\n- [ ] Allow Users to Chat\n- [ ] Maintain Chat History for each user\n- [ ] Improve Theming\n- [ ] DOCX, XLSX, PPTX, CSV, TXT  support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGrecil%2FCorrective-RAG","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGrecil%2FCorrective-RAG","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGrecil%2FCorrective-RAG/lists"}