Skip to content

Get Evaluation Job

bedrock_get_evaluation_job R Documentation

Retrieves the properties associated with a model evaluation job, including the status of the job

Description

Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model evaluation.

Usage

bedrock_get_evaluation_job(jobIdentifier)

Arguments

jobIdentifier

[required] The Amazon Resource Name (ARN) of the model evaluation job.

Value

A list with the following syntax:

list(
  jobName = "string",
  status = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped"|"Deleting",
  jobArn = "string",
  jobDescription = "string",
  roleArn = "string",
  customerEncryptionKeyId = "string",
  jobType = "Human"|"Automated",
  evaluationConfig = list(
    automated = list(
      datasetMetricConfigs = list(
        list(
          taskType = "Summarization"|"Classification"|"QuestionAndAnswer"|"Generation"|"Custom",
          dataset = list(
            name = "string",
            datasetLocation = list(
              s3Uri = "string"
            )
          ),
          metricNames = list(
            "string"
          )
        )
      )
    ),
    human = list(
      humanWorkflowConfig = list(
        flowDefinitionArn = "string",
        instructions = "string"
      ),
      customMetrics = list(
        list(
          name = "string",
          description = "string",
          ratingMethod = "string"
        )
      ),
      datasetMetricConfigs = list(
        list(
          taskType = "Summarization"|"Classification"|"QuestionAndAnswer"|"Generation"|"Custom",
          dataset = list(
            name = "string",
            datasetLocation = list(
              s3Uri = "string"
            )
          ),
          metricNames = list(
            "string"
          )
        )
      )
    )
  ),
  inferenceConfig = list(
    models = list(
      list(
        bedrockModel = list(
          modelIdentifier = "string",
          inferenceParams = "string"
        )
      )
    )
  ),
  outputDataConfig = list(
    s3Uri = "string"
  ),
  creationTime = as.POSIXct(
    "2015-01-01"
  ),
  lastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  failureMessages = list(
    "string"
  )
)

Request syntax

svc$get_evaluation_job(
  jobIdentifier = "string"
)