TextPrompt

data class TextPrompt(val value: TextPrompt) : OptimizedPrompt

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

Constructors

Link copied to clipboard
constructor(value: TextPrompt)

Properties

Link copied to clipboard

Inherited 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