Skip to content

Bedrock Agent Runtime  >  Unions  >  InputPrompt

InputPrompt

Union Type

InputPrompt module-attribute

Contains information about the prompt to optimize.

Union Member Types

InputPromptTextPrompt dataclass

Contains information about the text prompt to optimize.

Attributes

value instance-attribute
value: TextPrompt

InputPromptUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str