RAG Architecture
Version 2.0 • Advanced Pipeline
flowchart TD
%% Highly Rounded Class Definitions
classDef pill fill:#f5f3ff,stroke:#8b5cf6,stroke-width:2px,color:#4c1d95,rx:30,ry:30;
classDef squircle fill:#f0f9ff,stroke:#0ea5e9,stroke-width:2px,color:#0c4a6e,rx:15,ry:15;
classDef glass fill:#fff7ed,stroke:#f97316,stroke-width:2px,color:#7c2d12,rx:15,ry:15;
classDef final fill:#f0fdf4,stroke:#22c55e,stroke-width:2px,color:#14532d,rx:30,ry:30;
subgraph " "
A(["fa:fa-database 1. Data Sources"])
B["fa:fa-layers 2. Smart Chunking"]
C["fa:fa-bolt 3. Embedding"]
D[("fa:fa-box-archive 4. Vector Store")]
A --> B --> C --> D
end
subgraph " "
E[/"fa:fa-comment 5. User Query"/]
F["fa:fa-microchip 6. Vectorization"]
G{"fa:fa-bridge 7. Retrieval"}
H["fa:fa-brain 8. Augmentation"]
E --> F --> G
D -.->|Context| G
G --> H
end
subgraph " "
I(["fa:fa-sparkles 9. Grounded Answer"])
H --> I
end
%% Assigning Classes
class A,B,C pill;
class D squircle;
class E,F,G,H glass;
class I final;
%% Link Styling for a softer look
linkStyle default stroke:#e2e8f0,stroke-width:2px,fill:none;
Comments
Post a Comment