View a markdown version of this page

SystemPromptRecommendationResult - Amazon Bedrock AgentCore Data Plane

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

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 AWS SDKs, see the following: