TextPromptTemplateConfiguration - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

TextPromptTemplateConfiguration

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

Contents

text

The message for the prompt.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

cachePoint

A cache checkpoint within a template configuration.

Type: CachePointBlock object

Required: No

inputVariables

An array of the variables in the prompt template.

Type: Array of PromptInputVariable objects

Array Members: Minimum number of 0 items. Maximum number of 20 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: