Applications of Foundation Models

An approved Amazon Bedrock managed prompt summarizes a different customer document on each request, but its instructions and model settings must remain unchanged. How should the team handle document changes without creating unnecessary prompt releases?

Show the answer

Correct answerA. Supply each document as a prompt variable value at invocation.

AWhy this is right: Runtime variable values change the document input without changing the approved instructions or model settings.

BWhy not this: Variants represent alternative configurations, not a collection of request-specific documents.

CWhy not this: Replacing instructions changes the prompt and does not preserve the approved task definition.

DWhy not this: A document change is request data, not a new prompt configuration requiring a release.

Prompt variables accept request-specific content while the application continues using the approved prompt configuration. Creating a version for each document confuses changing input data with changes to the managed prompt.