Artificial Intelligence

Prompt Engineering

The practice of designing and optimizing input prompts to get the best possible output from AI models. It involves crafting instructions, providing examples, and structuring queries to guide the model toward desired responses.

Why It Matters

Effective prompt engineering can dramatically improve AI output quality without any model changes — it is the most accessible way to get better results from LLMs.

Example

Adding 'Think step by step' to a math problem prompt, or providing three examples of the desired output format before asking the model to generate its own.

Think of it like...

Like being a great interviewer — the quality of answers you get depends heavily on how well you frame your questions, provide context, and guide the conversation.

Related Terms