https://github.com/runtime-error786/crag
https://github.com/runtime-error786/crag
huggingface-transformers langchain langgraph llama3
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/runtime-error786/crag
- Owner: runtime-error786
- Created: 2024-09-15T07:15:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-15T07:30:28.000Z (over 1 year ago)
- Last Synced: 2025-01-20T23:26:04.795Z (about 1 year ago)
- Topics: huggingface-transformers, langchain, langgraph, llama3
- Language: Jupyter Notebook
- Homepage:
- Size: 882 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
This repository provides a framework for building a custom question-answering agent using Large Language Models (LLMs) and document retrieval techniques. The workflow is designed to retrieve documents from both local embeddings and web searches, grade them for relevance, and generate concise answers based on the filtered documents. The system is built using LangChain, Chroma, HuggingFace, and a custom state-based workflow.
## The agent can handle:
- Local document retrieval from pre-indexed sources using embeddings.
- Web search integration if the retrieved documents are insufficient.
- Grading and filtering of documents based on their relevance to the user's query.
- Generation of short, concise answers based on the most relevant documents.
