View source: R/bedrock_operations.R
| bedrock_create_advanced_prompt_optimization_job | R Documentation |
Creates an advanced prompt optimization job. The job optimizes your prompt templates for specific models using your evaluation dataset and criteria.
See https://www.paws-r-sdk.com/docs/bedrock_create_advanced_prompt_optimization_job/ for full documentation.
bedrock_create_advanced_prompt_optimization_job(
jobName,
jobDescription = NULL,
clientToken = NULL,
inputConfig,
outputConfig,
encryptionKeyArn = NULL,
tags = NULL,
modelConfigurations
)
jobName |
[required] A name for the advanced prompt optimization job. |
jobDescription |
A description of the advanced prompt optimization job. |
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error. |
inputConfig |
[required] Specifies the S3 location of your JSONL input file containing prompt templates and evaluation samples. |
outputConfig |
[required] Specifies the S3 location where optimization results will be stored. |
encryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key used for encrypting the output data. If not specified, the output is encrypted with an Amazon-owned KMS key. |
tags |
Tags to associate with the advanced prompt optimization job. |
modelConfigurations |
[required] A list of model configurations specifying the target models for prompt optimization. You can specify up to 5 models. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.