20 lines
789 B
Plaintext
20 lines
789 B
Plaintext
flowchart LR
|
|
api("FastAPI API<br/>Internal query, answer, and job routes")
|
|
worker("Worker<br/>Claims and executes durable runs")
|
|
db[("PostgreSQL + PgVector<br/>Checkpoints, graph, vectors, HNSW")]
|
|
stages("Numbered stage modules<br/>Normalize through answer")
|
|
llm("OpenAI-compatible provider<br/>Chat and embeddings")
|
|
|
|
api -->|"dispatch"| worker
|
|
worker -->|"execute"| stages
|
|
stages -->|"persist/retrieve"| db
|
|
stages -->|"prompts/vectors"| llm
|
|
api -->|"status and query"| db
|
|
|
|
classDef application fill:#dae8fc,stroke:#6c8ebf,color:#000;
|
|
classDef storage fill:#d5e8d4,stroke:#82b366,color:#000;
|
|
classDef external fill:#fff2cc,stroke:#d6b656,color:#000;
|
|
class api,worker,stages application;
|
|
class db storage;
|
|
class llm external;
|