Create a version of a prompt in Prompt management
To learn how to create a version of your prompt, choose the tab for your preferred method, and then follow the steps:
- Console
-
If you're in the prompt builder, you can create a version of your prompt by choosing Create version. Otherwise, do the following:
To create a version of your prompt
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at Getting Started with the AWS Management Console.
-
Select Prompt management from the left navigation pane. Then, choose a prompt in the Prompts section.
-
In the Prompt versions section, choose Create version to take a snapshot of your draft version.
-
- API
-
To create a version of your prompt, send a CreatePromptVersion request with an Agents for Amazon Bedrock build-time endpoint and specify the ARN or ID of the prompt as the
promptIdentifier
.The response returns an ID and ARN for the version. Versions are created incrementally, starting from 1.