As I understand it, strictly speaking RAG is broader than what you describe, but in practice you're correct for most implementations: https://en.wikipedia.org/wiki/Retrieval-augmented_generation...