AI / LLM Basics Interview Questions
What is Prompt Engineering?
Prompt engineering is the practice of carefully crafting the wording, structure, and examples in a prompt to get more accurate, relevant, or well-formatted responses from a model.
- Includes techniques like being explicit about the desired format, providing examples, and breaking complex requests into clear steps
- Doesn't require retraining or fine-tuning the model, it works entirely through how the request itself is phrased
- Effectiveness can vary meaningfully between different models, since each one responds somewhat differently to the same phrasing
Good prompt engineering is often the fastest, cheapest way to improve an LLM's output on a specific task, well before considering something more involved like fine-tuning.
More Related questions...