A Retrieval-Augmented Generation (RAG) implementation with both standalone and client-server versions.
rag-chat/
├── backend/
│ ├── requirements.txt
│ ├── main.py
│ └── src/
│ ├── __init__.py
│ ├── document_loader.py
│ ├── embeddings.py
│ └── rag_engine.py
├── frontend/
│ ├── package.json
│ ├── tailwind.config.js
│ ├── index.html
│ └── src/
│ ├── App.jsx
│ ├── index.css
│ └── main.jsx
└── README.md
git clone <url>python3 -m venv venv
source venv/bin/activateInstall the required Python packages:
pip install -r requirements.txt- Document loading and processing
- Vector embedding generation
- RAG implementation
- FastAPI server (v0.1+)
- React-based user interface
- Chatbot component
- Tailwind CSS styling
ollama serve
cd frontend npm install # If you haven't installed dependencies yet npm run dev
cd backend python main.py