flowchart TB
subgraph Direct["Direct LLM Query"]
direction LR
U1[User Query] --> L1[LLM] --> R1[Response]
style L1 fill:#f9f,stroke:#333
end
Exploring RAG for Resource Recommendation
Harvard University
2025-03-13


flowchart TB
subgraph Direct["Direct LLM Query"]
direction LR
U1[User Query] --> L1[LLM] --> R1[Response]
style L1 fill:#f9f,stroke:#333
end
flowchart TB
subgraph RAG["RAG-Enhanced Query"]
direction LR
U2[User Query] --> RC[Retrieval Component]
RC --> |Search| DB[(Knowledge Base)]
DB --> |Relevant Documents| RC
RC --> CP[Context Processor]
CP --> |Enhanced Prompt| L2[LLM]
L2 --> R2[Response]
style L2 fill:#f9f,stroke:#333
style DB fill:#bef,stroke:#333
style RC fill:#fbf,stroke:#333
style CP fill:#fbf,stroke:#333
end
classDef default fill:#fff,stroke:#333,stroke-width:2px;


