Training, Fine-Tuning, and RAG Compared