Amazon SageMaker Unified Studio is in preview release and is subject to change.
Modify a prompt
You can modify the current draft of a prompt or modify previous versions of a prompt. To modify a prompt, you select the version of the prompt (or current working draft prompt) that you want to modify. You then work on a draft update of the prompt. You can change the configuration for different versions of a prompt. For example, different versions of a prompt can use different Amazon Bedrock IDE models or use different inference parameters.
After testing the draft prompt, you can then save the draft as a new version of the prompt. If you want to use a new version of a prompt in a flow app, update the version of the prompt in the app configuration. For more information, see Step 3: Add a prompt to your flow app.
Creating a new prompt version for an already shared prompt doesn't update the users that have access to the prompt version.
For more information about the changes you can make, see Create a prompt.
To modify a prompt
-
Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your admininstrator.
-
Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see Access Amazon SageMaker Unified Studio.
-
Choose the Build menu at the top of the page.
-
In the MACHINE LEARNING & GENERATIVE AI section, choose My apps.
In the Select or create a new project to continue dialog box, select the project that contains the prompt.
-
In the left pane, choose Asset gallery and then My prompts.
In Prompts, select the prompt that you want to modify.
-
In Configs make changes to the model and inference parameters.
-
For Prompt message, use the text box to make changes to the prompt message.
-
(Optional) Choose Save to save the draft of your prompt.
-
In Test enter values for the prompt variables and choose run to test your changes.
-
When you are satisfied with your changes, choose Create version to create a new version of your prompt.