Skip to content

/AWS1/CL_BDZPROMPTTEMPLATE

Contains the template for the prompt that's sent to the model for response generation. For more information, see Knowledge base prompt templates.

This data type is used in the following API operations:

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_textprompttemplate TYPE /AWS1/BDZTEXTPROMPTTEMPLATE /AWS1/BDZTEXTPROMPTTEMPLATE

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:


Queryable Attributes

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:

Accessible with the following methods

Method Description
GET_TEXTPROMPTTEMPLATE() Getter for TEXTPROMPTTEMPLATE, with configurable default
ASK_TEXTPROMPTTEMPLATE() Getter for TEXTPROMPTTEMPLATE w/ exceptions if field has no
HAS_TEXTPROMPTTEMPLATE() Determine if TEXTPROMPTTEMPLATE has a value