File size: 970 Bytes
966243e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---

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