Start here. This is the direct spoken answer to practice first.
Overview
These terms describe different points in the system lifecycle and solve different problems; treating them as interchangeable leads to expensive designs.
Inference is running a trained model to produce an output. Training creates model parameters from data, while fine-tuning further adapts an existing model with examples. Prompting changes the instructions and runtime context without changing model weights. RAG retrieves external information at request time and places selected evidence in the context. Prompting is usually the first lever for task framing, RAG helps with current or private knowledge, and fine-tuning can improve repeatable behavior or style when enough evidence justifies it.