Views
No views yet
| Layer | Technology | Why |
|---|---|---|
| LLM | Groq · Llama 3.3 70B | Sub-second inference at industrial scale |
| OCR | PaddleOCR + PyMuPDF | High-precision extraction from diagrams and scanned text |
| Vector DB | ChromaDB | Native, on-premise storage for data privacy |
| Auth | JWT + FastAPI Security | Secure, role-based technician verification |
| Backend | FastAPI (Python) | High-performance async RAG architecture |
| Frontend | React 18 | Modern, responsive dashboard with SSE streaming |
.env file from .env.example and add your GROQ_API_KEY.1# Backend
2cd backend && pip install -r requirements.txt
3python -m uvicorn app.main:app --reload
4
5# Frontend (Separate terminal)
6cd frontend && npm install && npm run devDockerfile in the root and is pre-configured for Hugging Face Spaces.1docker build -t maintai .
2docker run -p 7860:7860 --env-file .env maintaiadmin / admin (Can upload/edit library)technician / tech (Secure chat access)maintai-demo/
├── Dockerfile Unified multi-stage build (HF Ready)
├── .gitignore Protects project secrets & local DB
├── backend/
│ ├── requirements.txt RAG, OCR, & Search dependencies
│ └── app/
│ ├── services/auth.py JWT & Role-based logic
│ ├── services/rag.py ChromaDB + Groq + Web Fallback
│ └── main.py FastAPI Entrypoint (serves Static UI)
└── frontend/
└── src/
├── App.jsx Multimodal Dashboard UI
└── lib/api.js Auth-aware API client