Home/Glossary/Prompt Engineering
Glossary

Prompt Engineering

Prompt engineering is the practice of designing, testing, and refining the instructions (prompts) given to AI models to achieve desired outputs. It involves techniques like providing clear context, using examples (few-shot prompting), structuring instructions with XML tags, and iterating based on results. As AI models become more capable, prompt engineering has evolved from simple tricks into a systematic discipline that combines writing skill with an understanding of how language models process information.

Related Terms

Related Articles