{
  "id": "bbg-p0291-search-retrieval-and-rag-search",
  "title": "Open Source RAG Stack",
  "chapter": "search-retrieval-and-rag",
  "batch": "03",
  "rank": 28,
  "sourcePage": 291,
  "sourcePointer": "p. 291",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "architecture",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render inspected",
      "preserve stack layers: frontend frameworks, LLM orchestration, LLMs, vector databases, embeddings, data extraction, observability, and safety",
      "omit product logos, source branding, and copied catalog layout"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: frontend framework",
      "concept: LLM framework",
      "concept: open-source LLM",
      "concept: vector database",
      "concept: embeddings"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "app",
      "label": "Application",
      "x": 58,
      "y": 120,
      "w": 844,
      "h": 90
    },
    {
      "id": "reasoning",
      "label": "Reasoning and retrieval",
      "x": 58,
      "y": 258,
      "w": 844,
      "h": 112
    },
    {
      "id": "ops",
      "label": "Data and operations",
      "x": 58,
      "y": 418,
      "w": 844,
      "h": 92
    }
  ],
  "shapes": [
    {
      "id": "frontend",
      "kind": "rect",
      "label": "Frontend",
      "detail": "UI framework",
      "x": 110,
      "y": 144,
      "w": 128,
      "h": 54,
      "tone": "blue"
    },
    {
      "id": "orchestration",
      "kind": "rect",
      "label": "LLM framework",
      "detail": "chains prompts",
      "x": 416,
      "y": 144,
      "w": 128,
      "h": 54,
      "tone": "purple"
    },
    {
      "id": "llm",
      "kind": "hex",
      "label": "Open LLM",
      "detail": "response",
      "x": 720,
      "y": 132,
      "w": 128,
      "h": 78,
      "tone": "orange"
    },
    {
      "id": "extract",
      "kind": "rect",
      "label": "Data extraction",
      "detail": "docs web APIs",
      "x": 128,
      "y": 286,
      "w": 128,
      "h": 58,
      "tone": "gray"
    },
    {
      "id": "embed",
      "kind": "hex",
      "label": "Embeddings",
      "detail": "vectors",
      "x": 416,
      "y": 278,
      "w": 128,
      "h": 78,
      "tone": "green"
    },
    {
      "id": "vector",
      "kind": "cylinder",
      "label": "Vector DB",
      "detail": "similarity",
      "x": 704,
      "y": 274,
      "w": 128,
      "h": 82,
      "tone": "teal"
    },
    {
      "id": "observe",
      "kind": "rect",
      "label": "Observability",
      "detail": "quality",
      "x": 260,
      "y": 440,
      "w": 128,
      "h": 54,
      "tone": "red"
    },
    {
      "id": "safety",
      "kind": "rect",
      "label": "Safety",
      "detail": "guardrails",
      "x": 572,
      "y": 440,
      "w": 128,
      "h": 54,
      "tone": "gray"
    }
  ],
  "connectors": [
    {
      "from": "frontend",
      "to": "orchestration",
      "label": "query",
      "flow": "main"
    },
    {
      "from": "orchestration",
      "to": "llm",
      "label": "prompt",
      "flow": "main"
    },
    {
      "from": "extract",
      "to": "embed",
      "label": "chunk",
      "flow": "data"
    },
    {
      "from": "embed",
      "to": "vector",
      "label": "store",
      "flow": "data"
    },
    {
      "from": "vector",
      "to": "orchestration",
      "label": "retrieve",
      "flow": "data"
    },
    {
      "from": "observe",
      "to": "orchestration",
      "label": "monitor",
      "flow": "control",
      "dashed": true
    },
    {
      "from": "safety",
      "to": "llm",
      "label": "guard",
      "flow": "control",
      "dashed": true
    }
  ]
}
