Django Rag
A RAG-Based Chat with Django REST Framework
Check out the project on github
rest_rag is a lightweight Retrieval-Augmented Generation (RAG) chat application built with Django REST Framework. Users can upload documents and chat with an AI assistant that understands and responds based on the uploaded content.
Features Link to heading
- ๐ User authentication (Login/Register)
- ๐ Document upload with parsing
- ๐ฌ Chat interface with context-aware responses
- ๐ง RAG pipeline for document-based Q&A
- โ๏ธ Django REST API backend
- ๐จ Simple HTML(Django template) frontend
Tech Stack Link to heading
- Backend: Django, Django REST Framework
- AI/NLP: Groq(OpenAI API) and ChromaDB
- Database: PostgreSQL
Installation Link to heading
git clone https://github.com/Duks31/django_rag
cd rest_rag
# Create virtual environment
python -m venv venv
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Apply migrations
python manage.py migrate
# Run the server
python manage.py runserver