AWS::Bedrock::PromptVersion 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 Amazon CloudFormation template, use the following syntax:
JSON
{ "InputVariables" :
[ PromptInputVariable, ... ]
, "Messages" :[ Message, ... ]
, "System" :[ SystemContentBlock, ... ]
, "ToolConfiguration" :ToolConfiguration
}
YAML
InputVariables:
- PromptInputVariable
Messages:- Message
System:- SystemContentBlock
ToolConfiguration:ToolConfiguration
Properties
InputVariables
-
An array of the variables in the prompt template.
Required: No
Type: Array of PromptInputVariable
Minimum:
0
Maximum:
5
Update requires: No interruption
Messages
-
Contains messages in the chat for the prompt.
Required: Yes
Type: Array of Message
Minimum:
0
Update 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:
0
Update 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