CoolFace
Apppublic

tensorsoft/Mini-RAG-Chat-With-Your-Files-CPU-Only

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

This is a minimal Retrieval-Augmented Generation (RAG) demo that allows users to upload or paste text, then ask natural-language questions about it.

What is RAG?

Retrieval-Augmented Generation (RAG) combines information retrieval with text generation. It retrieves relevant document chunks based on a query and uses those chunks as context to generate accurate answers, making it ideal for question-answering over custom documents.

Installation and Running Locally

  1. 1.Clone the repository:
  2. 2. git clone tensorsoft/Mini-RAG-Chat-With-Your-Files-CPU-Only cd RAG_Demo
  1. 1.Create a virtual environment and install dependencies:

python -m venv venv

source venv/bin/activate # On Windows: venv\Scripts\activate

pip install -r requirements.txt

  1. 1.Run the app:

python app.py