Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 2.07 KB

File metadata and controls

52 lines (43 loc) · 2.07 KB

serving-api

Frontend and backend API proxy for SwissAI LLM serving. For examples on how to launch models, see model-launch repo.

Live at:

Architecture

                              o
        ┌─────────────────┐  /|\   curl / python SDK
        │    OpenWebUI    │  / \ 
        └────────┬────────┘   |
                 │            │
                 │  POST /v1/chat/completions
                 │            │
                 ▼            ▼
        ┌─────────────────────────┐
        │       serving-api       │  auth + proxy (this repo)
        └─────────────────────────┘
                 │
                 │
                 ▼
        ┌─────────────────┐
        │     OpenTela    │  P2P routing → model=apertus-...
        └────────┬────────┘
                 │
                 ▼
        ┌─────────────────┐
        │   vllm/sglang   │  model inference (GPU)
        └─────────────────┘

Repo Structure

backend/         # Python API proxy (FastAPI) — auth, caching, routing
frontend/        # web UI (Astro + Svelte)
meta/            # example Dockerfiles, example k8s manifests, build scripts

OpenTela (formerly OCF / "Open Compute Framework") is maintained upstream at eth-easl/OpenTela. We maintain a fork at swiss-ai/OpenTela to control deployments to dev+prod.

Dev Quick Start

make install      # install backend dependencies
make run          # start backend on :8080