About This Architecture

Retrieval-augmented generation architecture split into two distinct paths: the online query-time path embeds the user's query, retrieves top-k matching chunks from a vector database, combines them with the original query, and sends that context to an LLM that returns a grounded answer with citations; the offline indexing path chunks source documents, embeds each chunk, and writes the vectors into the same vector database that the online path queries.

RAG LLM App Architecture

AutoCurated TemplateData Pipeline
5 views0 favoritesPublic

Created by

July 2, 2026

Updated

July 31, 2026 at 7:38 AM

Type

architecture

Need a custom architecture diagram?

Describe your architecture in plain English and get a production-ready Draw.io diagram in seconds. Works for AWS, Azure, GCP, Kubernetes, and more.

Generate with AI

AI-generated. Verify before production use. Learn more

Report this diagram