RAG Platform
A pipeline platform: ingest and embed documents, retrieve + rerank at query time, then generate. GPU demand splits between embedding generation and the serving model; freshness and access control dominate the data side.
Customize in DesignerGround model responses in enterprise knowledge with current, access-controlled data and measurable answer quality.
- ·Source documents change; the index must stay fresh.
- ·Multi-tenant with per-tenant access control on retrieval.
- ·Answer quality is evaluated, not assumed.
Rendering diagram…
Compute
Two GPU roles: batch embedding (throughput) and interactive generation (latency). They can share a pool with priority classes or run on tailored node groups.
Network
Standard cloud/hybrid networking. Keep the vector store close to the serving model to keep retrieval latency low.
Storage
Vector database (pgvector, Milvus, Qdrant, Weaviate) sized by chunks × dimensions × replicas; object store for source documents; cache for hot contexts.
Kubernetes
Managed or hybrid Kubernetes; separate deployments for ingestion (batch) and serving (online) with independent scaling.
Security
Per-tenant retrieval filters, PII handling at ingest, audit logging of retrieved context, and prompt-injection guardrails.
Observability
Retrieval hit rate, rerank impact, end-to-end latency, groundedness/eval scores, and index freshness lag.
- highStale index returns wrong answers with confidence.
- mediumCross-tenant leakage if retrieval filters are wrong — a security, not just quality, issue.
- lowOver-large context windows inflate cost with little quality gain.
- 1
Ingest + index
Parsing, chunking, embedding, and the vector store with a freshness pipeline.
- 2
Retrieve + generate
Hybrid search + rerank wired to the served model with citations.
- 3
Evaluate
Groundedness/quality eval harness and guardrails before rollout.
- 4
Multi-tenant
Access-controlled retrieval and audit logging.
- Retrieval returns relevant chunks for a labelled query set.
- Per-tenant isolation holds under cross-tenant probes.
- Index freshness lag within target after a source change.
- Groundedness score meets threshold on the eval set.