ChatPromptTemplateConfigurationDict¶
Dictionary Type¶
ChatPromptTemplateConfigurationDict
¶
Bases: TypedDict
Dictionary form of ChatPromptTemplateConfiguration.
Attributes¶
input_variables
instance-attribute
¶
input_variables: Sequence[PromptInputVariable | PromptInputVariableDict] | None
An array of the variables in the prompt template.
messages
instance-attribute
¶
messages: Required[Sequence[Message | MessageDict]]
Contains messages in the chat for the prompt.
system
instance-attribute
¶
system: Sequence[SystemContentBlock | SystemContentBlockDict] | None
Contains system prompts to provide context to the model or to describe how it should behave.
tool_configuration
instance-attribute
¶
tool_configuration: ToolConfiguration | ToolConfigurationDict | None
Configuration information for the tools that the model can use when generating a response.