Prompt engineering is the process of structuring sentences so that these can be interpreted and understood by a generative AI model in such a way that its output is in accord with the user’s intentions.
Good vs Bad Prompt
Write a poem about a cat who loves to play with yarn.
This prompt is specific enough to give the model a clear idea of what is desired, but it is also flexible enough to allow the model to generate creative variations. For example, the poem could be about a kitten who is just learning to play with yarn, or it could be about an old cat who still loves to play even though she is getting older.
Write a poem about a cat.
This prompt is too vague. The model will not know what the poem should be about, or what kind of tone it should have. The output from the model will likely be inconsistent and of poor quality.
What is a Prompt Engineer?
A prompt engineer is a person who specializes in crafting prompts for generative AI models. Prompts are the instructions that tell the model what to generate.
A prompt engineer needs to have a deep understanding of how generative AI models work, as well as the ability to think creatively and strategically.