Interface PromptTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PromptTemplate.Builder,PromptTemplate>,SdkBuilder<PromptTemplate.Builder,PromptTemplate>,SdkPojo
- Enclosing class:
- PromptTemplate
public static interface PromptTemplate.Builder extends SdkPojo, CopyableBuilder<PromptTemplate.Builder,PromptTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PromptTemplate.BuildertextPromptTemplate(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, sdkFields
-
-
-
-
Method Detail
-
textPromptTemplate
PromptTemplate.Builder textPromptTemplate(String 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.
-
-