InputPrompt

sealed class InputPrompt

Contains information about the prompt to optimize.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class TextPrompt(val value: TextPrompt) : InputPrompt

Contains information about the text prompt to optimize.

Functions

Link copied to clipboard

Casts this InputPrompt as a TextPrompt and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TextPrompt value. Throws an exception if the InputPrompt is not a TextPrompt.

Link copied to clipboard