Bitzu

AIF-C01 ยท Prompt engineering

Prompt versioning with Amazon Bedrock Prompt Management

Storing, versioning, comparing and reusing prompts and variants as managed assets.

Key points

  • Prompt management lets you save prompts with variables, choose a model and inference settings, and test variants side by side.
  • Saving keeps a working draft; creating a version snapshots it for deployment.
  • Applications can reference a prompt, and flows can use it in a prompt node.

Source: https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-deploy.html

Practice questions

Single choice

In Prompt management, what is a version of a prompt?

  1. A snapshot of the prompt taken from the working draft
  2. A placeholder filled in at run time
  3. An alternative model configuration being tested
  4. The visual editor in the console
Show answer

Answer: A. A snapshot of the prompt taken from the working draft

A version is a point-in-time snapshot made from the working draft. A variant is an alternative configuration, and a variable is a placeholder.

Select all that apply

Which things can a prompt variant differ in?

  1. The prompt message text
  2. The model that runs it
  3. The inference configuration
  4. The AWS account that owns it
  5. The billing plan
Show answer

Answer: A. The prompt message text, B. The model that runs it, C. The inference configuration

A variant can differ in its message and in the model or inference configuration used. The AWS account and the billing plan are not part of a prompt variant.

True or false

True or false: saving a prompt in Prompt management automatically creates a new numbered version.

Show answer

Answer: False

False. Saving updates the working draft. You create a numbered version explicitly when you are ready to deploy.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AIF-C01 topics in this module