Skip to content

PromptTemplateConfigurationDict

Union Type

PromptTemplateConfigurationDict module-attribute

Dictionary form of PromptTemplateConfiguration, setting exactly one variant.

Union Member Types

PromptTemplateConfigurationTextDict

Bases: TypedDict

Attributes

text instance-attribute

Contains configurations for the text in a message for a prompt.

PromptTemplateConfigurationChatDict

Bases: TypedDict

Attributes

chat instance-attribute

Contains configurations to use the prompt in a conversational format.