Skip to content

Bedrock Agent  >  Structures  >  TextPromptTemplateConfiguration

TextPromptTemplateConfiguration

Structure Class

TextPromptTemplateConfiguration dataclass

Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in {{variable}}.

Attributes

cache_point class-attribute instance-attribute
cache_point: CachePointBlock | None = None

A cache checkpoint within a template configuration.

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.

text class-attribute instance-attribute
text: str = field(repr=False)

The message for the prompt.