RAG-DEMO/docs/diagrams/c4-component.mmd

19 lines
723 B
Plaintext

flowchart LR
api("api.py<br/>Routes and request models")
auth("auth.py<br/>JWT and permission checks")
orch("orchestrator.py<br/>Durable runs and locks")
runtime("runtime.py + stage_loader.py<br/>Context and stage dispatch")
storage("storage.py + models.py<br/>SQLAlchemy and PgVector")
llm("llm.py<br/>Provider client and retries")
api -->|"authorize"| auth
api -->|"queue"| orch
orch -->|"dispatch"| runtime
runtime -->|"persist"| storage
runtime -->|"complete"| llm
classDef application fill:#dae8fc,stroke:#6c8ebf,color:#000;
classDef dependency fill:#d5e8d4,stroke:#82b366,color:#000;
class api,auth,orch,runtime application;
class storage,llm dependency;