Interface ChatTemplateConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ChatTemplateConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-29T17:51:11.490Z")
@Stability(Experimental)
public interface ChatTemplateConfigurationProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for creating a chat template configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.bedrock.alpha.*; ChatMessage chatMessage; Tool tool; ToolChoice toolChoice; ChatTemplateConfigurationProps chatTemplateConfigurationProps = ChatTemplateConfigurationProps.builder() .messages(List.of(chatMessage)) // the properties below are optional .inputVariables(List.of("inputVariables")) .system("system") .toolConfiguration(ToolConfiguration.builder() .toolChoice(toolChoice) .tools(List.of(tool)) .build()) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forChatTemplateConfigurationProps
static final class
An implementation forChatTemplateConfigurationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) The input variables for the template.(experimental) The messages in the chat template.default String
(experimental) The system message for the chat template.default ToolConfiguration
(experimental) The tool configuration for the chat template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMessages
(experimental) The messages in the chat template. -
getInputVariables
(experimental) The input variables for the template.Default: - No input variables
-
getSystem
(experimental) The system message for the chat template.Default: - No system message
-
getToolConfiguration
(experimental) The tool configuration for the chat template.Default: - No tool configuration
-
builder
-