graph TB
A[User] -->|Access with Custom URL and SSL| B[Open WebUI]
B -->|SSO - OIDC - Entra ID| C[User Authentication]
C -->|Authentication| B
B --> D[Azure Cache for Redis]
B --> E[LLM Pipeline in App Service]
F[Large Language Model] -->|Response| B
E --> F
I[PGVECTOR in PostgreSQL flexible server] --> E
B -->|Retrieval-Augmented Generation| J[Apache Tika in App Service]
J -->|Text Extraction| G[Sentence-Transformers Embedding Model]
G -->|Embedding| I
B -->|Connects to| H[Azure Database for PostgreSQL flexible server]
B --> L[Azure File Shares]
E --> L
subgraph Azure
B
C
D
E
F
G
H
I
J
L
end