There are two steps to writing prompts, constructing the prompt, by providing relevant context and the second part is optimization, how to gradually improve the prompt.
At this point, we have some basic understanding of how to write prompts, but we need to go deeper. In this chapter, you will go from trying out various prompts to understanding why one prompt is better than another. You will learn how to construct prompts following some basic techniques that can be applied to any LLM.
Introduction
In this chapter, we will cover the following topics:
Extend your knowledge of prompt engineering by applying different techniques to your prompts.
Configuring your prompts to vary the output