{"id":24960942,"url":"https://github.com/greathayat/langgraph-corrective-rag","last_synced_at":"2025-03-28T21:44:51.751Z","repository":{"id":272223458,"uuid":"915878717","full_name":"GreatHayat/langgraph-corrective-rag","owner":"GreatHayat","description":"A repository to learn \u0026 explore the CRAG - A better version of RAG.","archived":false,"fork":false,"pushed_at":"2025-01-14T06:26:45.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T08:43:06.459Z","etag":null,"topics":["agentic-ai","agentic-rag","ai","langgraph","langgraph-python"],"latest_commit_sha":null,"homepage":"","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/GreatHayat.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":"2025-01-13T02:39:55.000Z","updated_at":"2025-01-18T10:24:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b594d47-2ce8-40f0-b57c-b74e7400c3ee","html_url":"https://github.com/GreatHayat/langgraph-corrective-rag","commit_stats":null,"previous_names":["greathayat/langgraph-corrective-rag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Flanggraph-corrective-rag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Flanggraph-corrective-rag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Flanggraph-corrective-rag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Flanggraph-corrective-rag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreatHayat","download_url":"https://codeload.github.com/GreatHayat/langgraph-corrective-rag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246106659,"owners_count":20724400,"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":["agentic-ai","agentic-rag","ai","langgraph","langgraph-python"],"created_at":"2025-02-03T08:32:42.324Z","updated_at":"2025-03-28T21:44:51.743Z","avatar_url":"https://github.com/GreatHayat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Corrective RAG (CRAG)\n\n**Corrective RAG (CRAG)** is a strategy for Retrieval-Augmented Generation (RAG) that integrates self-reflection and self-grading mechanisms to enhance the accuracy of responses by evaluating the relevance of retrieved documents.\n\n\u003cimg width=\"1440\" alt=\"Screenshot 2025-01-13 at 7 38 14 AM\" src=\"https://github.com/user-attachments/assets/7bfadf1f-9d05-4f2c-9380-8d3a64984f55\" /\u003e\n\n**Reference \u0026 Inspiration:**  \n[Learn more about CRAG in LangGraph](https://langchain-ai.github.io/langgraph/tutorials/rag/langgraph_crag/)\n\n## Prerequisites\n\nTo get started with this project, ensure you have access to the following:  \n\n- **OpenAI API** – For language model operations.  \n- **Qdrant Vector Database** – For vector storage and retrieval.  \n- **Tavily API Key** – Required for specific integrations.  \n\n---\n\n## Getting Started\n\nFollow these steps to set up and run the project:  \n\n1. **Set up a virtual environment**  \n   ```bash\n   python -m venv env\n   source env/bin/activate  # For Linux/macOS\n   env\\Scripts\\activate     # For Windows\n   ```\n\n2. **Install dependencies**  \n   Navigate to the project directory and run:  \n   ```bash\n   pip install -r my-agents/requirements.txt\n   ```\n\n3. **Open in LangGraph Studio**  \n   - Launch the **LangGraph Studio** desktop application.  \n   - Open the project folder within the application.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreathayat%2Flanggraph-corrective-rag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreathayat%2Flanggraph-corrective-rag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreathayat%2Flanggraph-corrective-rag/lists"}