Skip to content

πŸš€ Production-ready RAG (Retrieval-Augmented Generation) system with multi-modal support. Upload documents (PDF, images, audio), ask questions, get AI-powered answers with sources. Built with FastAPI + React + Docker.

Notifications You must be signed in to change notification settings

sukhrobnurali/open-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Advanced RAG System

Upload documents and ask AI questions about them with source citations.

πŸ—οΈ Architecture

graph TB
    User[πŸ‘€ User] --> WebUI[🌐 React Frontend]
    WebUI --> API[πŸ”Œ FastAPI Backend]
    API --> Processor[πŸ“ Document Processor]
    API --> QueryEngine[πŸ” Query Engine]
    
    Processor --> Embeddings[🧠 OpenAI Embeddings]
    Embeddings --> VectorDB[(πŸ—„οΈ Qdrant Vector DB)]
    
    QueryEngine --> VectorDB
    QueryEngine --> LLM[πŸ€– GPT-4]
    
    API --> PostgreSQL[(πŸ’Ύ PostgreSQL)]
    API --> Redis[(⚑ Redis Cache)]
Loading

πŸš€ Quick Start

# Clone and setup
git clone <repository-url>
cd ai-rag-python
cp .env.example .env
# Edit .env with your OpenAI API key

# Start services
docker-compose up -d

# Access
# Frontend: http://localhost:3000
# API Docs: http://localhost:8000/docs

πŸ”§ Development

Backend:

cd backend && pip install -r requirements.txt
uvicorn app.main:app --reload

Frontend:

cd frontend && npm install
npm start

πŸ“‹ Key Features

  • Multi-format document support (PDF, text)
  • AI-powered Q&A with citations
  • Semantic search via vector embeddings
  • React frontend + FastAPI backend
  • Production Docker deployment

About

πŸš€ Production-ready RAG (Retrieval-Augmented Generation) system with multi-modal support. Upload documents (PDF, images, audio), ask questions, get AI-powered answers with sources. Built with FastAPI + React + Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •