3

Engineering Prompts for Effective Model Usage

This chapter begins with an overview of prompt engineering and its importance. We will walk through various prompt engineering techniques and the ability to incorporate them while prompting any model on Amazon Bedrock, primarily focusing on designing and analyzing effective prompt techniques to get the desired outcome from the Bedrock models. This chapter also entails some of the best practices associated with prompt engineering.

By the end of this chapter, you will have developed a clear understanding of the practical aspects of prompt engineering and be able to craft effective prompts while following the best practices to get the desired outcome from the models available on Amazon Bedrock.

Get Generative AI with Amazon Bedrock now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.