OptimizedPrompt - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

OptimizedPrompt

Contains information about the optimized prompt.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

textPrompt

Contains information about the text in the prompt that was optimized.

Type: TextPrompt object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: