AI Cloud Architect

Amazon Bedrock Advanced Prompt Optimization now supports prompt shortening

AWSAnnouncement by Amazon Web ServicesWhat's New with AWS

Amazon Bedrock Advanced Prompt Optimization now supports prompt shortening, an optional setting that reduces the length of your prompt while maintaining or improving your evaluation scores. Advanced Prompt Optimization optimizes prompts for any model on Amazon Bedrock against your own evaluation criteria. Until now, optimization focused on quality alone. Optimized prompts were often longer than the original. Longer prompts raise input token costs and can increase time to first token, which...

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

AI: Summary

What it is

Bedrock Advanced Prompt Optimization can now shorten prompts as an optional setting, returning the shorter prompt only if its evaluation score is at least as high as the original.

Who it is for

Teams running prompts on Amazon Bedrock at scale or in latency-sensitive apps who want lower input token costs.

Key points

  • Enabled per prompt template in the input dataset; results show compression ratio and original and optimized token counts.
  • Works with steering criteria, LLM-as-a-judge rubrics and custom Lambda evaluators.
  • Available in all AWS Regions where Advanced Prompt Optimization is available; no specific region list given.

Timeline

Posts about Amazon Bedrock Advanced Prompt Optimization, oldest first.

  1. Earlier stepAmazon Bedrock Introduces Advanced Prompt Optimization and Migration Tool · AWS · AnnouncementAlso published by AWS News Blog
  2. How-toMigrate your prompts to new models and optimize them on Amazon Bedrock · AWS · How-to
  3. This postAmazon Bedrock Advanced Prompt Optimization now supports prompt shortening

Go deeper