{"id":15053812,"url":"https://github.com/runtime-error786/self-rag","last_synced_at":"2026-01-02T02:25:25.642Z","repository":{"id":257073922,"uuid":"857245839","full_name":"runtime-error786/Self-RAG","owner":"runtime-error786","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-15T07:32:07.000Z","size":917,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T23:26:04.794Z","etag":null,"topics":["huggingface-transformers","langchain","langgraph","llama3"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/runtime-error786.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-09-14T06:22:39.000Z","updated_at":"2024-12-31T19:23:17.000Z","dependencies_parsed_at":"2024-09-14T18:29:46.451Z","dependency_job_id":"abd55091-89fe-40ff-a5c4-b3d87b68158d","html_url":"https://github.com/runtime-error786/Self-RAG","commit_stats":null,"previous_names":["runtime-error786/self-rag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runtime-error786%2FSelf-RAG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runtime-error786%2FSelf-RAG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runtime-error786%2FSelf-RAG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runtime-error786%2FSelf-RAG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runtime-error786","download_url":"https://codeload.github.com/runtime-error786/Self-RAG/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243523080,"owners_count":20304525,"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":["huggingface-transformers","langchain","langgraph","llama3"],"created_at":"2024-09-24T21:38:13.069Z","updated_at":"2026-01-02T02:25:25.611Z","avatar_url":"https://github.com/runtime-error786.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis project implements a Retrieval-Augmented Generation (RAG) chain using a local LLM (Llama3) and the LangChain framework. It focuses on enhancing question answering by improving document retrieval, filtering relevant document, re-generating questions, and scoring the generated responses. This setup allows for more accurate and contextually relevant responses based on retrieved documents.\n\n## Features\n\n\nDocument Retrieval: Retrieve documents from URLs and filter them based on relevance to the query.\n\n\n\nRAG Generation: Use the retrieved documents for contextual generation with Llama3.\n\n\nQuestion Transformation: Optimize user questions for better retrieval results.\n\n\n\nGrading Mechanism: Grade the relevance of documents and the grounding of generated answers.\n\n\n\n\n\n\nHallucination Detection: Identify whether the generated content is grounded in the retrieved documents.\n\n\n\nUseful Answer Assessment: Grade generated answers to determine if they address the user’s question.\n\n\n\n![output](https://github.com/user-attachments/assets/cd1649ab-bc99-48d2-94ae-73ef3cbc0be0)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruntime-error786%2Fself-rag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruntime-error786%2Fself-rag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruntime-error786%2Fself-rag/lists"}