EngineeringUpdated 2026-10-24
RAG vs Fine-tuning
RAG handles changing knowledge; fine-tuning handles behavior and style customization.
#RAG#微调#选型
In plain language
RAG retrieves external material at inference time, enabling fast updates and citations. Fine-tuning changes parameters for stable behavior but is costly to update. They combine well: fine-tune the model to use sources, then use RAG for current knowledge.
Example
Use RAG for prices and fine-tuning for brand reply tone.
Recommended tools
Related terms
Engineering
Fine-tuning
Continue training a model on task data to better match a style or task.
3 related terms
Models & Architecture
Low-Rank Adaptation
Freezing the base model and training a small low-rank adapter for a new task.
3 related terms
EngineeringFeatured
Retrieval-Augmented Generation
Retrieve relevant passages from a knowledge base, then have the model answer from them.
4 related terms
Engineering
Agent Memory
A mechanism for an agent to store and retrieve user preferences, past tasks and key facts across sessions.
3 related terms