Skip to main content
This example separates document ingestion and indexing from the query-serving path. A vector database connects the two responsibilities. RAG pipeline architecture diagram rendered from the linked complete source Open the full-size SVG · Download PNG to inspect the connections and labels. The image is generated from the complete source below.

Reproduce this diagram

You need Go 1.25 or later and Git. The complete source is samples/topology/rag-pipeline/input.yaml.
On Windows, build isotopo.exe and invoke that executable. Open out-rag-pipeline/topology.html. Record the revision before adapting the source; the published SVG is regenerated from this source when the renderer or sample changes.

Make it your own

Copy the source to a separate file before editing. Open the copy with isotopo serve my-architecture.yaml. Parseable edits automatically save to that file.

Change the sources

Rename the Docs component and adapt the ingestion nodes to the actual indexing process.

Make the query path explicit

Review the retriever, model and database edges; label them with the traffic they represent.

Adapt the visual language

Change shared theme and part styles consistently. Inspect contrast on both the dark substrate and light tile faces.

Verify and publish

For your edited copy, substitute its path. Compare the top-down and isometric views, inspect remaining diagnostics, and verify the intended relationship directions. See quality checks and publishing.

A five-minute editing task

Open your copied YAML in local Studio, select the retriever node and change its label to Hybrid Retriever. Keep its ID unchanged so existing connectors still reference the same component. Render the saved file again and check that the new label appears in both the isometric and top-down output, with the same incoming and outgoing relationships. Run isotopo validate my-architecture.yaml and inspect any warnings before publishing. For a smaller no-install introduction, try the browser playground. Its starter scene is deliberately simpler than the full diagram on this page. Use the local path above for this complete sample. The project-authored diagram source is available under Apache-2.0. When reusing it, retain applicable license and notice requirements. A helpful attribution is “Adapted from iso-topology — rag-pipeline”; attribution does not imply endorsement by the depicted products. Third-party logos and names retain their respective rights.