本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
最佳化提示
Amazon Bedrock 提供工具可最佳化提示。最佳化會重寫提示,以產生更適合您使用案例的推論結果。您可以選擇要最佳化其提示的模型,然後產生修訂後的提示。
在您提交要最佳化的提示後,Amazon Bedrock 會分析提示的元件。如果分析成功,則會重寫提示。然後,您可以複製和使用最佳化提示的文字。
注意
為了獲得最佳結果,建議您使用英文來最佳化提示。
用於最佳化提示的支援區域和模型
下表顯示對提示最佳化的模型支援:
| 供應商 | 模型 | 模型 ID | 單一區域模型支援 |
|---|---|---|---|
| Amazon | Nova Lite | amazon.nova-lite-v1:0 |
ap-southeast-2 eu-west-2 us-east-1 |
| Amazon | Nova Micro | amazon.nova-micro-v1:0 |
ap-southeast-2 eu-west-2 us-east-1 |
| Amazon | Nova Premier | amazon.nova-premier-v1:0 | |
| Amazon | Nova Pro | amazon.nova-pro-v1:0 |
ap-southeast-2 eu-west-2 us-east-1 |
| Anthropic | Claude 3 Haiku | anthropic.claude-3-haiku-20240307-v1:0 |
ap-south-1 ap-southeast-2 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-west-2 |
| Anthropic | Claude 3 Opus | anthropic.claude-3-opus-20240229-v1:0 | |
| Anthropic | Claude 3 Sonnet | anthropic.claude-3-sonnet-20240229-v1:0 |
ap-south-1 ap-southeast-2 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-west-2 |
| Anthropic | Claude 3.5 Haiku | anthropic.claude-3-5-haiku-20241022-v1:0 |
us-west-2 |
| Anthropic | Claude 3.5 Sonnet | anthropic.claude-3-5-sonnet-20240620-v1:0 |
eu-central-1 us-east-1 us-west-2 |
| Anthropic | Claude 3.5 Sonnet v2 | anthropic.claude-3-5-sonnet-20241022-v2:0 |
ap-southeast-2 us-west-2 |
| Anthropic | Claude 3.7 Sonnet | anthropic.claude-3-7-sonnet-20250219-v1:0 |
eu-west-2 |
| Anthropic | Claude Opus 4 | anthropic.claude-opus-4-20250514-v1:0 | |
| Anthropic | Claude Sonnet 4 | anthropic.claude-sonnet-4-20250514-v1:0 | |
| DeepSeek | DeepSeek-R1 | deepseek.r1-v1:0 | |
| Meta | Llama 3 70B Instruct | meta.llama3-70b-instruct-v1:0 |
ap-south-1 ca-central-1 eu-west-2 us-east-1 us-west-2 |
| Meta | Llama 3.1 70B Instruct | meta.llama3-1-70b-instruct-v1:0 |
us-west-2 |
| Meta | Llama 3.2 11B Instruct | meta.llama3-2-11b-instruct-v1:0 | |
| Meta | Llama 3.3 70B Instruct | meta.llama3-3-70b-instruct-v1:0 | |
| Meta | Llama 4 Maverick 17B Instruct | meta.llama4-maverick-17b-instruct-v1:0 | |
| Meta | Llama 4 Scout 17B Instruct | meta.llama4-scout-17b-instruct-v1:0 | |
| Mistral AI | Mistral Large (24.02) | mistral.mistral-large-2402-v1:0 |
ap-south-1 ap-southeast-2 ca-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-west-2 |
| Mistral AI | Mistral Large (24.07) | mistral.mistral-large-2407-v1:0 |
us-west-2 |
提交提示以進行最佳化
若要了解如何最佳化提示,請選擇您偏好方法的索引標籤,然後遵循下列步驟: