Skip to content

Django Based RAG application

Duks31/django_rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  rest_rag โ€“ RAG-Based Chat with Django REST Framework

django_rest_rag.mp4

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

  • ๐Ÿ” 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

  • Backend: Django, Django REST Framework
  • AI/NLP: Groq(OpenAI API) and ChromaDB
  • Database: PostgreSQL

Installation

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

About

Django Based RAG application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published