Rag

•
467
•

Combines search and Large Language Models (LLMs) to generate insights from your data using Retrieval Augmented Generation (RAG).

Rag is a Streamlit application leveraging Retrieval Augmented Generation (RAG) with txtai, enabling factually correct content generation by grounding LLMs with relevant context. It supports both Vector RAG, using vector search for context, and Graph RAG, using graph path traversal. It allows users to upload and index data, configure various parameters, and query the system to generate answers based on the retrieved context. This project allows users to leverage local data with LLMs.

主な機能

01371 GitHub stars
02Provides graph visualization to understand graph RAG queries
03Configurable with environment variables to control application behavior (LLM, Embeddings, Context Size, etc.)
04Allows data ingestion from files, URLs, and direct text input
05Supports Vector RAG and Graph RAG methodologies
06Utilizes txtai for embeddings and LLM interactions

ユースケース

01Generating answers to questions based on a local knowledge base
02Exploring relationships between concepts using graph-based queries
03Building a custom knowledge assistant using local data and LLMs