ChatPromptTemplateConfiguration - 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.

ChatPromptTemplateConfiguration

Contains configurations to use a prompt in a conversational format. For more information, see Create a prompt using Prompt management.

Contents

messages

Contains messages in the chat for the prompt.

Type: Array of Message objects

Required: Yes

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

system

Contains system prompts to provide context to the model or to describe how it should behave.

Type: Array of SystemContentBlock objects

Required: No

toolConfiguration

Configuration information for the tools that the model can use when generating a response.

Type: ToolConfiguration object

Required: No

See Also

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