RecommendationResult
The result of a recommendation, containing the optimized output.
Inheritors
Types
The result of a system prompt recommendation.
The result of a tool description recommendation.
Functions
Casts this RecommendationResult as a SystemPromptRecommendationResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.SystemPromptRecommendationResult value. Throws an exception if the RecommendationResult is not a SystemPromptRecommendationResult.
Casts this RecommendationResult as a SystemPromptRecommendationResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.SystemPromptRecommendationResult value. Returns null if the RecommendationResult is not a SystemPromptRecommendationResult.
Casts this RecommendationResult as a ToolDescriptionRecommendationResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ToolDescriptionRecommendationResult value. Throws an exception if the RecommendationResult is not a ToolDescriptionRecommendationResult.
Casts this RecommendationResult as a ToolDescriptionRecommendationResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ToolDescriptionRecommendationResult value. Returns null if the RecommendationResult is not a ToolDescriptionRecommendationResult.