Summary
In this chapter, we learned about several prompt engineering techniques to gain a deeper understanding of prompting patterns and uncovered insights while considering examples of said prompting patterns. Then, we dived into prompt guidance with Amazon Bedrock models for Anthropic Claude, AI21 Labs, Amazon Titan, and Stability AI’s Stable Diffusion.
Lastly, we summarized the practical approach to prompt guidance while looking at Amazon Bedrock models that can be applied to various use cases. Through various examples, we learned how to craft the most effective prompts.
At this point, you should have a good understanding of the importance of prompt engineering. Furthermore, you should be able to analyze various prompt techniques and best practices involved in prompt engineering in the context of building Generative AI applications.
In the next chapter, we’ll learn how to customize a model using fine-tuning and continued pretraining techniques. We will delve...