bedrock_create_model_invocation_job: Creates a batch inference job to invoke a model on multiple...

View source: R/bedrock_operations.R

bedrock_create_model_invocation_jobR Documentation

Creates a batch inference job to invoke a model on multiple prompts

Description

Creates a batch inference job to invoke a model on multiple prompts. Format your data according to Format your inference data and upload it to an Amazon S3 bucket. For more information, see Process multiple prompts with batch inference.

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

Usage

bedrock_create_model_invocation_job(
  jobName,
  roleArn,
  clientRequestToken = NULL,
  modelId,
  inputDataConfig,
  outputDataConfig,
  timeoutDurationInHours = NULL,
  tags = NULL
)

Arguments

jobName

[required] A name to give the batch inference job.

roleArn

[required] The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.

clientRequestToken

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. For more information, see Ensuring idempotency.

modelId

[required] The unique identifier of the foundation model to use for the batch inference job.

inputDataConfig

[required] Details about the location of the input to the batch inference job.

outputDataConfig

[required] Details about the location of the output of the batch inference job.

timeoutDurationInHours

The number of hours after which to force the batch inference job to time out.

tags

Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.