ChatPromptTemplateConfiguration¶
Structure Class¶
ChatPromptTemplateConfiguration
dataclass
¶
Contains configurations to use a prompt in a conversational format. For more information, see Create a prompt using Prompt management.
Attributes¶
input_variables
class-attribute
instance-attribute
¶
input_variables: list[PromptInputVariable] | None = field(repr=False, default=None)
An array of the variables in the prompt template.
system
class-attribute
instance-attribute
¶
system: list[SystemContentBlock] | None = None
Contains system prompts to provide context to the model or to describe how it should behave.
tool_configuration
class-attribute
instance-attribute
¶
tool_configuration: ToolConfiguration | None = None
Configuration information for the tools that the model can use when generating a response.