We Compare AI

Prompt Engineering

Core Concepts
Simple Definition

The practice of crafting inputs to AI models to reliably get better, more accurate, or more specific outputs.

Full Explanation

Prompt engineering includes techniques like chain-of-thought (asking the model to reason step by step), few-shot prompting (giving examples), role assignment, and structured output formatting. A well-engineered prompt can dramatically improve output quality without changing the underlying model.

Example

Adding 'Let's think step by step' to a math problem prompt significantly improves LLM accuracy.

Last verified: 2026-03-30← Back to Glossary