Prompt Engineering — AI Glossary

Prompt engineering is the practice of designing, refining, and optimizing the text inputs (prompts) given to AI models to elicit the most useful, accurate, and relevant outputs. It encompasses techniques like few-shot examples, role assignment, formatting instructions, and iterative refinement to maximize the quality of AI-generated responses.