Skip to content

InputPrompt

Union Type

InputPrompt module-attribute

Contains information about the prompt to optimize.

Union Member Types

InputPromptTextPrompt dataclass

Bases: _SerdeShape

Contains information about the text prompt to optimize.

Attributes

value instance-attribute
value: TextPrompt

InputPromptUnknown dataclass

Bases: _SerdeShape

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