Monday, October 2, 2023

What is prompt engineering? - McKinsey

Prompt engineering is the practice of designing inputs for generative AI tools that will produce optimal outputs. Just as better ingredients can make for a better dinner, better inputs into a generative AI model can make for better results. These inputs are called prompts, and the practice of writing them is called prompt engineering. Skilled prompt engineers design inputs to interact optimally with other inputs in a generative AI tool. These inputs help elicit better answers from the AI model, meaning the model can perform its tasks better, such as writing marketing emails, generating code, analyzing and synthesizing text, engaging with customers via chatbots, creating digital art, composing music, or any of the other hundreds, if not thousands, of current applications.