Learn R Programming

paws.machine.learning (version 0.9.0)

bedrockagentruntime_optimize_prompt: Optimizes a prompt for the task that you specify

Description

Optimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.

See https://www.paws-r-sdk.com/docs/bedrockagentruntime_optimize_prompt/ for full documentation.

Usage

bedrockagentruntime_optimize_prompt(input, targetModelId)

Arguments

input

[required] Contains the prompt to optimize.

targetModelId

[required] The unique identifier of the model that you want to optimize the prompt for.