PromptTemplate
The template for the prompt that's sent to the model for response generation.
Contents
- 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 Knowledge base prompt template and Use XML tags with Anthropic Claude models
. Type: String
Length Constraints: Minimum length of 1. Maximum length of 100000.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: