Full glossary

Glossary

Prompt engineering

Also: prompt engineering

The craft of writing requests and instructions so that the model's output is predictable: the task, context, output format, examples, criteria.

Example

“Write validateEmail; user@example.com is true, user@.com is false; run the tests after” instead of “add email validation”.

Where it shows up

Related terms

Source