Which of the following BEST defines prompt engineering?
Select an answer to reveal the explanation.
Short Explanation
Prompt engineering is the craft of talking to AI models effectively. You design and refine the input text so the model gives you the answer you actually need.
Full Explanation
Prompt engineering is the discipline of crafting input text (prompts) in ways that reliably elicit desired responses from AI models. It includes techniques like providing clear instructions, examples, context, role definitions, and output format specifications. Writing Python code to call the Claude API describes API integration, which is adjacent but different. Fine-tuning Claude's model weights on custom data describes fine-tuning, a different ML technique that modifies model parameters. Building the infrastructure to host Claude models on-premises describes infrastructure work, completely separate from prompting. Prompt engineering operates at the text layer without touching model weights or infrastructure.