This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Bedrock::Prompt ChatPromptTemplateConfiguration
Contains configurations to use a prompt in a conversational format. For more information, see Create a prompt using Prompt management.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "InputVariables" :[ PromptInputVariable, ... ], "Messages" :[ Message, ... ], "System" :[ SystemContentBlock, ... ], "ToolConfiguration" :ToolConfiguration}
YAML
InputVariables:- PromptInputVariableMessages:- MessageSystem:- SystemContentBlockToolConfiguration:ToolConfiguration
Properties
InputVariables-
An array of the variables in the prompt template.
Required: No
Type: Array of PromptInputVariable
Minimum:
0Maximum:
20Update requires: No interruption
Messages-
Contains messages in the chat for the prompt.
Required: Yes
Type: Array of Message
Minimum:
0Update requires: No interruption
System-
Contains system prompts to provide context to the model or to describe how it should behave.
Required: No
Type: Array of SystemContentBlock
Minimum:
0Update requires: No interruption
ToolConfiguration-
Configuration information for the tools that the model can use when generating a response.
Required: No
Type: ToolConfiguration
Update requires: No interruption