--- title: RAG SaaS UI emoji: 🔍 colorFrom: blue colorTo: purple sdk: streamlit sdk_version: 1.28.0 app_file: app.py pinned: false --- # RAG SaaS Platform - User Interface Fast, lightweight UI for the RAG SaaS Platform. ## Quick Setup 1. **Set Backend URL** in the sidebar 2. **Create Account** or **Login** with your Tenant ID 3. **Add Sources** (documents, URLs, YouTube) 4. **Ask Questions** and get answers from all your sources ## Features - 🔐 Tenant-based authentication - 📁 Multi-source management (docs, URLs, YouTube) - 💬 Unified question answering - 📊 Performance metrics display - ⚡ Optimized for fast startup ## Configuration In the sidebar, enter your backend API URL: - Local: `http://localhost:7860` - HF Spaces: `https://YOUR_USERNAME-rag-saas-backend.hf.space` ## Performance - Cold start: ~8-12 seconds - Warm start: ~3-5 seconds - Optimized with lazy imports and minimal dependencies