bedrockagentruntime_optimize_prompt: Optimizes a prompt for the task that you specify

View source: R/bedrockagentruntime_operations.R

bedrockagentruntime_optimize_promptR Documentation

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.


paws.machine.learning documentation built on April 3, 2025, 8:41 p.m.