A production-grade AI knowledge assistant that supports multimodal data ingestion, processing, and conversational query across all uploaded content.
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Frontend β β Backend β β Qdrant β
β (React) β β (FastAPI) β β Vector DB β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββΌββββββββββββββββββββ
β
βββββββββββββββββββ
β GPU Services β
β (LLM/Embed) β
βββββββββββββββββββ
git clone <repository-url>
cd Multi-Universal-RAG
cp .env.example .env
# Edit .env with your NVIDIA_API_KEY and other settings
chmod +x deploy.sh
./deploy.sh
# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose down
# NVIDIA API
NVIDIA_API_KEY=your_api_key_here
# Vector Database
QDRANT_HOST=localhost
QDRANT_PORT=6333
# Application
ENVIRONMENT=production
LOG_LEVEL=INFO
# Models
EMBEDDING_MODEL=BAAI/bge-m3
RERANKER_MODEL=BAAI/bge-reranker-base
LLM_MODEL=nvidia/nemotron-4-340b-instruct
# Collections
POST /collections # Create collection
GET /collections # List collections
GET /collections/{id} # Get collection
DELETE /collections/{id} # Delete collection
# Datasets
POST /datasets/upload # Upload dataset
GET /datasets # List datasets
GET /datasets/{id} # Get dataset
DELETE /datasets/{id} # Delete dataset
# Query
POST /query # Text query with RAG
POST /voice-query # Voice query
POST /search # Semantic search
# System
GET /health # Basic health check
GET /health/detailed # Detailed health with metrics
GET /metrics # Prometheus metrics
GET /statistics # System statistics
import requests
# Upload a dataset
files = {'file': open('document.pdf', 'rb')}
data = {'collection_id': 'your-collection-id'}
response = requests.post('http://localhost:8000/datasets/upload', files=files, data=data)
# Query your data
query_data = {
'input_text': 'What are the key findings in the uploaded documents?',
'use_agent': True,
'top_k': 5
}
response = requests.post('http://localhost:8000/query', json=query_data)
print(response.json())
# Backend
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app:app --reload
# Frontend
cd frontend
npm install
npm run dev
# Backend tests
cd backend
pytest
# Frontend tests
cd frontend
npm test
Q: GPU not detected? A: Ensure NVIDIA drivers and Docker GPU support are installed. Uncomment GPU sections in docker-compose.yml.
Q: Uploads failing? A: Check file size limits and disk space. Verify NVIDIA_API_KEY is correctly set.
Q: Slow responses? A: Monitor system resources. Consider scaling or using smaller models for faster inference.
Q: Memory issues? A: Reduce batch sizes, enable streaming, or scale horizontally.
# View all logs
docker-compose logs -f
# View specific service
docker-compose logs -f backend
docker-compose logs -f frontend
docker-compose logs -f qdrant
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
/docs/health/detailedUniversal Multimodal RAG Platform - Transform your data into intelligent conversations. π
2 commits
TypeScript
42.2%
Python
40.1%
Jupyter Notebook
15.9%
A production-grade AI knowledge assistant that supports multimodal data ingestion, processing, and conversational query across all uploaded content.
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Frontend β β Backend β β Qdrant β
β (React) β β (FastAPI) β β Vector DB β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββΌββββββββββββββββββββ
β
βββββββββββββββββββ
β GPU Services β
β (LLM/Embed) β
βββββββββββββββββββ
git clone <repository-url>
cd Multi-Universal-RAG
cp .env.example .env
# Edit .env with your NVIDIA_API_KEY and other settings
chmod +x deploy.sh
./deploy.sh
# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose down
# NVIDIA API
NVIDIA_API_KEY=your_api_key_here
# Vector Database
QDRANT_HOST=localhost
QDRANT_PORT=6333
# Application
ENVIRONMENT=production
LOG_LEVEL=INFO
# Models
EMBEDDING_MODEL=BAAI/bge-m3
RERANKER_MODEL=BAAI/bge-reranker-base
LLM_MODEL=nvidia/nemotron-4-340b-instruct
# Collections
POST /collections # Create collection
GET /collections # List collections
GET /collections/{id} # Get collection
DELETE /collections/{id} # Delete collection
# Datasets
POST /datasets/upload # Upload dataset
GET /datasets # List datasets
GET /datasets/{id} # Get dataset
DELETE /datasets/{id} # Delete dataset
# Query
POST /query # Text query with RAG
POST /voice-query # Voice query
POST /search # Semantic search
# System
GET /health # Basic health check
GET /health/detailed # Detailed health with metrics
GET /metrics # Prometheus metrics
GET /statistics # System statistics
import requests
# Upload a dataset
files = {'file': open('document.pdf', 'rb')}
data = {'collection_id': 'your-collection-id'}
response = requests.post('http://localhost:8000/datasets/upload', files=files, data=data)
# Query your data
query_data = {
'input_text': 'What are the key findings in the uploaded documents?',
'use_agent': True,
'top_k': 5
}
response = requests.post('http://localhost:8000/query', json=query_data)
print(response.json())
# Backend
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app:app --reload
# Frontend
cd frontend
npm install
npm run dev
# Backend tests
cd backend
pytest
# Frontend tests
cd frontend
npm test
Q: GPU not detected? A: Ensure NVIDIA drivers and Docker GPU support are installed. Uncomment GPU sections in docker-compose.yml.
Q: Uploads failing? A: Check file size limits and disk space. Verify NVIDIA_API_KEY is correctly set.
Q: Slow responses? A: Monitor system resources. Consider scaling or using smaller models for faster inference.
Q: Memory issues? A: Reduce batch sizes, enable streaming, or scale horizontally.
# View all logs
docker-compose logs -f
# View specific service
docker-compose logs -f backend
docker-compose logs -f frontend
docker-compose logs -f qdrant
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
/docs/health/detailedUniversal Multimodal RAG Platform - Transform your data into intelligent conversations. π
2 commits
TypeScript
42.2%
Python
40.1%
Jupyter Notebook
15.9%