OptimizedPrompt
Contains information about the optimized prompt.
Inheritors
Types
Functions
Link copied to clipboard
Casts this OptimizedPrompt as a TextPrompt and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TextPrompt value. Throws an exception if the OptimizedPrompt is not a TextPrompt.
Link copied to clipboard
Casts this OptimizedPrompt as a TextPrompt and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TextPrompt value. Returns null if the OptimizedPrompt is not a TextPrompt.