AWS bedrock documentation change
Summary
Restructured content for clarity: converted paragraph into bullet points for optimization methods, removed redundant topics section, and updated Advanced Prompt Optimization URL to absolute path.
Security assessment
The changes are purely editorial/organizational - no security vulnerabilities, mitigations, or security features are mentioned. The modifications focus on content structure and link formatting without introducing any security-related content or addressing security weaknesses.
Diff
diff --git a/bedrock/latest/userguide/prompt-optimization-migration.md b/bedrock/latest/userguide/prompt-optimization-migration.md index 8ddcaafa9..d805bb81b 100644 --- a//bedrock/latest/userguide/prompt-optimization-migration.md +++ b//bedrock/latest/userguide/prompt-optimization-migration.md @@ -11 +11,10 @@ Choose an optimization method -Amazon Bedrock offers prompt optimization, a model migration and optimization tool that helps you get the best performance from foundation models. Amazon Bedrock provides two prompt optimization options. [Simple optimization](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-optimize.html) performs a fast, heuristic rewrite of a single short prompt for one model. [Advanced Prompt Optimization](./advanced-prompt-optimization-how.html) (AdvPO) allows you to optimize your prompts for any model on Bedrock while comparing your original prompts to optimized prompts across up to 5 models simultaneously. You can use this if you are migrating to a new model or just want to get better performance on your current model. If you are changing models, select your current model as a baseline and up to 4 other models. If you are not changing models, just select your current model to see before and after optimization. The optimizer takes your prompt templates (up to 10 per job), example user inputs for variable values (up to 100 per prompt template), ground truth answers, and an evaluation metric to guide the optimization. It's even compatible with multimodal inputs such as jpg, png, or PDF. You can provide an LLM-as-a-judge rubric, a Lambda function, or short natural language steering criteria. The evaluation steers the prompt optimization. The optimizer works in an evaluation-based feedback loop to optimize the prompt and resulting model responses, and outputs the original and final prompt templates with evaluation scores, cost estimates, and latency. +Amazon Bedrock offers prompt optimization, a model migration and optimization tool that helps you get the best performance from foundation models. Amazon Bedrock provides two prompt optimization options. + + * [Simple optimization](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-optimize.html) performs a fast, heuristic rewrite of a single short prompt for one model. + + * [Advanced Prompt Optimization](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompt-optimization-how.html) (AdvPO) allows you to optimize your prompts for any model on Bedrock while comparing your original prompts to optimized prompts across up to 5 models simultaneously. + +You can use this if you are migrating to a new model or just want to get better performance on your current model. If you are changing models, select your current model as a baseline and up to 4 other models. If you aren't changing models, just select your current model to see before and after optimization. The optimizer takes your prompt templates (up to 10 per job), and example user inputs for variable values (up to 100 per prompt template). It also requires ground truth answers and an evaluation metric to guide the optimization. It's even compatible with multimodal inputs such as jpg, png, or PDF. You can provide an LLM-as-a-judge rubric, a Lambda function, or short natural language steering criteria. The evaluation steers the prompt optimization. The optimizer works in an evaluation-based feedback loop to optimize the prompt and resulting model responses. It outputs the original and final prompt templates with evaluation scores, cost estimates, and latency. + + + @@ -27,28 +35,0 @@ Amazon Bedrock offers prompt optimization, a model migration and optimization to -###### Topics - - * [How Advanced Prompt Optimization works](./advanced-prompt-optimization-how.html) - - * [Prerequisites and permissions](./advanced-prompt-optimization-prereqs.html) - - * [Prepare your input dataset](./advanced-prompt-optimization-input.html) - - * [Create and manage optimization jobs](./advanced-prompt-optimization-jobs.html) - - * [Define evaluation methods](./advanced-prompt-optimization-evaluation.html) - - * [View and interpret results](./advanced-prompt-optimization-results.html) - - * [Supported Regions, models, and quotas](./advanced-prompt-optimization-quotas.html) - - * [Troubleshooting](./advanced-prompt-optimization-troubleshooting.html) - - * [Advanced topics and strategies](./advanced-prompt-optimization-advanced-topics.html) - - - - - * [Simple optimization](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-optimize.html) (Optimize a prompt in Prompt management) - - - -