View a markdown version of this page

SystemPromptRecommendationResult - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

SystemPromptRecommendationResult

The result of a system prompt recommendation, containing the optimized prompt.

Contents

configurationBundle

The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.

Type: RecommendationResultConfigurationBundle object

Required: No

errorCode

The error code if the recommendation failed.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

errorMessage

The error message if the recommendation failed.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Required: No

explanation

An explanation of why the recommendation was generated and what patterns were identified in the agent traces.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 4096.

Required: No

recommendedSystemPrompt

The optimized system prompt text generated by the recommendation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 20000.

Required: No

See Also

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