AI Cloud Architect

Migrate your prompts to new models and optimize them on Amazon Bedrock

AWSHow-to by Jesse Manders, Claudio Mazzoni and Francisco FagasAWS Artificial Intelligence Blog

Amazon Bedrock Advanced Prompt Optimization optimizes your prompts for up to 5 models at once and compares original versus optimized performance across quality, latency, and cost. Migrate to a new model or improve your current one in minutes instead of weeks.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Bedrock Advanced Prompt Optimization rewrites prompts for up to 5 models in one job and reports quality, time to first token and estimated cost for original versus optimized prompts.

Who it is for

Teams running generative AI apps on Bedrock that plan to migrate prompts to a new model or improve prompts on their current model.

Key points

  • Three evaluation modes: Lambda metric, LLM-as-a-Judge, or steering criteria, chosen per prompt template
  • Limits per job: 10 templates, 100 samples per template, 5 models, 5 steering criteria per template
  • Optimized prompts in the sample runs used more total tokens; the authors' runs used 5 samples each and are illustrative only
  • Cost estimates use on-demand pricing; LLM-as-a-Judge offers 3 judge models

Timeline

Posts about Amazon Bedrock Advanced Prompt Optimization, oldest first.

  1. What it explainsAmazon Bedrock Introduces Advanced Prompt Optimization and Migration Tool · AWS · AnnouncementAlso published by AWS News Blog
  2. This postMigrate your prompts to new models and optimize them on Amazon Bedrock
  3. Update to an existing featureAmazon Bedrock Advanced Prompt Optimization now supports prompt shortening · AWS · Announcement

Go deeper