Interface PromptTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PromptTemplate.Builder,
,PromptTemplate> SdkBuilder<PromptTemplate.Builder,
,PromptTemplate> SdkPojo
- Enclosing class:
PromptTemplate
@Mutable
@NotThreadSafe
public static interface PromptTemplate.Builder
extends SdkPojo, CopyableBuilder<PromptTemplate.Builder,PromptTemplate>
-
Method Summary
Modifier and TypeMethodDescriptiontextPromptTemplate
(String textPromptTemplate) The template for the prompt that's sent to the model for response generation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
textPromptTemplate
The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template.
For more information, see the following resources:
- Parameters:
textPromptTemplate
- The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template.For more information, see the following resources:
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-