AI Cloud Architect

Amazon Bedrock Introduces Advanced Prompt Optimization and Migration Tool

AWSAnnouncement by Amazon Web ServicesWhat's New with AWS

Customers spend days to weeks optimizing prompts and evaluating responses when they want to migrate to a new model or just get better performance out of their current model. They struggle with changing their prompts quickly and then testing them to prevent regressions and improve on underperforming tasks. These situations call for the same tool – a prompt optimizer with built-in evaluations. Today, Amazon Bedrock introduces Advanced Prompt Optimization, a new tool that allows customers to...

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

AI: Summary

What it is

Bedrock adds Advanced Prompt Optimization, which rewrites prompts against an evaluation metric and compares original and optimized prompts across up to 5 models.

Who it is for

Teams migrating prompts to a new model on Bedrock, or tuning prompts for their current model, who need regression testing.

Key points

  • Compares up to 5 models at once: a baseline plus up to 4 others.
  • Accepts prompt templates, example inputs, optional ground truth, and a metric or natural language criteria.
  • Supports multimodal inputs such as jpg, png, or PDF.
  • Outputs original and final prompts with evaluation scores, cost estimates, and latency.
  • Region availability and pricing are in linked documentation, not the post.

The same at other vendors

Same approach

GoogleAnnouncement

Build with Gemini in the Vertex AI Studio

AI:Google's Vertex AI Studio also optimizes prompts and evaluates them with autoraters, like Bedrock's metric-driven optimization

Timeline

  1. Explained inAWS Generative AI Model Agility Solution: A comprehensive guide to migrating LLMs for generative AI production · AWS · How-to
  2. This postAmazon Bedrock Introduces Advanced Prompt Optimization and Migration ToolAlso published by AWS News Blog
  3. Explained inMigrate your prompts to new models and optimize them on Amazon Bedrock · AWS · How-to
  4. Later stepAmazon Bedrock Advanced Prompt Optimization now supports prompt shortening · AWS · Announcement

Go deeper