From the course: Prompt Engineering: How to Talk to the AIs

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

What is prompt engineering?

What is prompt engineering?

- Prompt Engineering is a very recent but rapidly growing discipline that has the goal of designing the optimal prompt, given a generative model and a goal. Prompt engineering is growing so quickly that many believe that it will replace other aspects of machine learning, such as feature engineering or architecture engineering for large neural networks. Prompt engineering requires some domain understanding to incorporate the goal into the prompt. One example would be by determining what good and bad outcomes should look like and prompt engineering also requires understanding of the AI model. Different models will respond differently to the same kind of prompting. Generating prompts at some scale requires a programmatic approach. At the most basic level, you want to generate prompt templates that can be programmatically modified according to some dataset or context. As a simple example, let's say if you have a database of people with a short blurb about them, similar to the one I used…

Contents