Context engineering vs prompt engineering before you build RAG
English summary of a Thai article: prompts control how a model answers, context controls what it knows, and good RAG needs both.
This is an English summary. The full article is in Thai: read it here.
Key points
- Prompt engineering is asking and instructing well, including telling a RAG model to use only the retrieved documents.
- Context engineering asks what the model should know before it is asked; retrieval, chunking, ranking and filtering all belong here.
- Why RAG needs it: as systems grow, answers become inconsistent and wrong on complex data. The problem is the information, not the wording.