ARCHOS 525 BLUEPRINT · /d/dgm_llm-eval-pipeline
LLM evaluation pipeline (golden set, LLM-as-judge, release gate)
11 COMPONENTS · 13 FLOWS · UPDATED 2026-11-20
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_llm-eval-pipeline) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_llm-eval-pipeline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_llm-eval-pipeline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="LLM evaluation pipeline (golden set, LLM-as-judge, release gate) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0[("Web Client")]
cand_1["Inference server"]
judge_2["Inference server"]
idp_3[("Identity provider (IdP)")]
gw_4["API gateway"]
registry_5[("Prompt and config registry")]
eval_6[("Evaluation service")]
pg_7[("PostgreSQL")]
tsdb_8[("Time-series database (TSDB)")]
alerting_9[("Alerting")]
capacity_10["Capacity Estimate"]
client_0 -->|"1. Calls with JWT · HTTPS"| gw_4
gw_4 -->|"2. Starts run · HTTP/2"| eval_6
eval_6 -->|"3a. Reads prompt, cases · HTTP/2"| registry_5
eval_6 -->|"3b. Generates answers · HTTPS"| cand_1
cand_1 -->|"4. Answers · HTTPS"| eval_6
eval_6 -->|"5. Grades answers · HTTPS"| judge_2
judge_2 -->|"6. Scores · HTTPS"| eval_6
eval_6 -->|"7a. Saves scores · SQL"| pg_7
eval_6 -->|"7b. Posts result · HTTP/2"| gw_4
gw_4 -->|"8. Notifies · HTTPS"| client_0
idp_3 -->|"Publishes keys (JWKS) · HTTPS"| gw_4
eval_6 -->|"Exports (OTLP) · OTLP"| tsdb_8
tsdb_8 -->|"Queried by alerting · HTTP"| alerting_9COMPONENT STACK (10)
- Web ClientSTATEFULEngineer who submits a prompt or model change
- Inference serverSTATELESSModel under test, hosted outside our boundary
- Inference serverSTATELESSJudge model, a different model from the one under test
- Identity provider (IdP)STATEFULIssues the JWT; publishes its signing keys
- API gatewaySTATELESSChecks the JWT, then starts the run
- Prompt and config registrySTATEFULVersioned prompts, settings and golden cases
- Evaluation serviceSTATEFULRuns each case, scores it, gates the release
- PostgreSQLSTATEFULScores per case and run
- Time-series database (TSDB)STATEFULStores pass rate, error share, latency
- AlertingSTATEFULPages on-call when the pass rate drops
REQUEST & DATA FLOW (13)
- Web Client → API gateway (Calls with JWT)[HTTPS]
- API gateway → Evaluation service (Starts run)[HTTP/2]
- Evaluation service → Prompt and config registry (Reads prompt, cases)[HTTP/2]
- Evaluation service → Inference server (Generates answers)[HTTPS]
- Inference server → Evaluation service (Answers)[HTTPS]
- Evaluation service → Inference server (Grades answers)[HTTPS]
- Inference server → Evaluation service (Scores)[HTTPS]
- Evaluation service → PostgreSQL (Saves scores)[SQL]
- Evaluation service → API gateway (Posts result)[HTTP/2]
- API gateway → Web Client (Notifies)[HTTPS]
- Identity provider (IdP) → API gateway (Publishes keys (JWKS))[HTTPS]
- Evaluation service → Time-series database (TSDB) (Exports (OTLP))[OTLP]
- Time-series database (TSDB) → Alerting (Queried by alerting)[HTTP]