Prompting, prompt design, and prompt engineering revisited
In the vocabulary section of Chapter 1, we discussed these three concepts and how they interplay. As a refresher, we provided these bullets:
- Prompting is the act of sending a query or prompt to an LLM.
- Prompt design refers to the strategy you take to design the prompt you will send to the LLM. Many different prompt design strategies work in different scenarios.
- Prompt engineering focuses more on the technical aspects surrounding the prompt that you use to improve the outputs from the LLM. For example, you may break up a complex query into two or three different LLM interactions, engineering it better to achieve superior results.
We had promised to revisit these topics in Chapter 13, and so we are here to deliver on that promise! We will not only revisit these topics but also show you how this is actually performed in code. Prompting is a relatively straightforward concept, so we will focus on the other...