flowchart TB
subgraph Direct["Direct LLM Query"]
direction LR
U1[User Query] --> L1[LLM] --> R1[Response]
style L1 fill:#ff9e2c,stroke:#39332c,color:#14110f
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:#ff9e2c,stroke:#39332c,color:#14110f
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:#ff9e2c,stroke:#39332c,color:#14110f
style DB fill:#97500c,stroke:#39332c,color:#f4f2ec
style RC fill:#2a251f,stroke:#39332c,color:#ece7dd
style CP fill:#2a251f,stroke:#39332c,color:#ece7dd
end
classDef default fill:#1b1714,stroke:#39332c,stroke-width:2px;


