/AWS1/CL_BDZ=>OPTIMIZEPROMPT()
¶
About OptimizePrompt¶
Optimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_INPUT
TYPE REF TO /AWS1/CL_BDZINPUTPROMPT
/AWS1/CL_BDZINPUTPROMPT
¶
Contains the prompt to optimize.
IV_TARGETMODELID
TYPE /AWS1/BDZSTRING
/AWS1/BDZSTRING
¶
The unique identifier of the model that you want to optimize the prompt for.