published on Friday, Aug 7, 2026 by Pulumi
published on Friday, Aug 7, 2026 by Pulumi
Manages an Amazon Bedrock evaluation job. An evaluation job assesses model or knowledge base performance using either automated metrics or human workers.
Amazon Bedrock does not support permanently deleting an evaluation job. Destroying this resource stops the job (if it is still running) using the StopEvaluationJob API, then removes it from Terraform state. Set
skipDestroyto leave the job in its current state instead.
Example Usage
Automated Model Evaluation
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.EvaluationJob("example", {
jobName: "example-job",
roleArn: exampleAwsIamRole.arn,
evaluationConfig: {
automated: {
datasetMetricConfigs: [{
taskType: "Generation",
dataset: {
name: "Builtin.Bold",
},
metricNames: ["Builtin.Robustness"],
}],
},
},
inferenceConfig: {
models: [{
bedrockModel: {
modelIdentifier: "amazon.nova-micro-v1:0",
},
}],
},
outputDataConfig: {
s3Uri: `s3://${exampleAwsS3Bucket.id}/output/`,
},
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.EvaluationJob("example",
job_name="example-job",
role_arn=example_aws_iam_role["arn"],
evaluation_config={
"automated": {
"dataset_metric_configs": [{
"task_type": "Generation",
"dataset": {
"name": "Builtin.Bold",
},
"metric_names": ["Builtin.Robustness"],
}],
},
},
inference_config={
"models": [{
"bedrock_model": {
"model_identifier": "amazon.nova-micro-v1:0",
},
}],
},
output_data_config={
"s3_uri": f"s3://{example_aws_s3_bucket['id']}/output/",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewEvaluationJob(ctx, "example", &bedrock.EvaluationJobArgs{
JobName: pulumi.String("example-job"),
RoleArn: pulumi.Any(exampleAwsIamRole.Arn),
EvaluationConfig: &bedrock.EvaluationJobEvaluationConfigArgs{
Automated: &bedrock.EvaluationJobEvaluationConfigAutomatedArgs{
DatasetMetricConfigs: bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArray{
&bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs{
TaskType: pulumi.String("Generation"),
Dataset: &bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs{
Name: pulumi.String("Builtin.Bold"),
},
MetricNames: pulumi.StringArray{
pulumi.String("Builtin.Robustness"),
},
},
},
},
},
InferenceConfig: &bedrock.EvaluationJobInferenceConfigArgs{
Models: bedrock.EvaluationJobInferenceConfigModelArray{
&bedrock.EvaluationJobInferenceConfigModelArgs{
BedrockModel: &bedrock.EvaluationJobInferenceConfigModelBedrockModelArgs{
ModelIdentifier: pulumi.String("amazon.nova-micro-v1:0"),
},
},
},
},
OutputDataConfig: &bedrock.EvaluationJobOutputDataConfigArgs{
S3Uri: pulumi.Sprintf("s3://%v/output/", exampleAwsS3Bucket.Id),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.EvaluationJob("example", new()
{
JobName = "example-job",
RoleArn = exampleAwsIamRole.Arn,
EvaluationConfig = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigArgs
{
Automated = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedArgs
{
DatasetMetricConfigs = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs
{
TaskType = "Generation",
Dataset = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs
{
Name = "Builtin.Bold",
},
MetricNames = new[]
{
"Builtin.Robustness",
},
},
},
},
},
InferenceConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigArgs
{
Models = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigModelArgs
{
BedrockModel = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigModelBedrockModelArgs
{
ModelIdentifier = "amazon.nova-micro-v1:0",
},
},
},
},
OutputDataConfig = new Aws.Bedrock.Inputs.EvaluationJobOutputDataConfigArgs
{
S3Uri = $"s3://{exampleAwsS3Bucket.Id}/output/",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.EvaluationJob;
import com.pulumi.aws.bedrock.EvaluationJobArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobEvaluationConfigArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobEvaluationConfigAutomatedArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobInferenceConfigArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobInferenceConfigModelArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobInferenceConfigModelBedrockModelArgs;
import com.pulumi.aws.bedrock.inputs.EvaluationJobOutputDataConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new EvaluationJob("example", EvaluationJobArgs.builder()
.jobName("example-job")
.roleArn(exampleAwsIamRole.arn())
.evaluationConfig(EvaluationJobEvaluationConfigArgs.builder()
.automated(EvaluationJobEvaluationConfigAutomatedArgs.builder()
.datasetMetricConfigs(EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs.builder()
.taskType("Generation")
.dataset(EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs.builder()
.name("Builtin.Bold")
.build())
.metricNames("Builtin.Robustness")
.build())
.build())
.build())
.inferenceConfig(EvaluationJobInferenceConfigArgs.builder()
.models(EvaluationJobInferenceConfigModelArgs.builder()
.bedrockModel(EvaluationJobInferenceConfigModelBedrockModelArgs.builder()
.modelIdentifier("amazon.nova-micro-v1:0")
.build())
.build())
.build())
.outputDataConfig(EvaluationJobOutputDataConfigArgs.builder()
.s3Uri(String.format("s3://%s/output/", exampleAwsS3Bucket.id()))
.build())
.build());
}
}
resources:
example:
type: aws:bedrock:EvaluationJob
properties:
jobName: example-job
roleArn: ${exampleAwsIamRole.arn}
evaluationConfig:
automated:
datasetMetricConfigs:
- taskType: Generation
dataset:
name: Builtin.Bold
metricNames:
- Builtin.Robustness
inferenceConfig:
models:
- bedrockModel:
modelIdentifier: amazon.nova-micro-v1:0
outputDataConfig:
s3Uri: s3://${exampleAwsS3Bucket.id}/output/
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_evaluationjob" "example" {
job_name = "example-job"
role_arn = exampleAwsIamRole.arn
evaluation_config = {
automated = {
dataset_metric_configs = [{
"taskType" = "Generation"
"dataset" = {
"name" = "Builtin.Bold"
}
"metricNames" = ["Builtin.Robustness"]
}]
}
}
inference_config = {
models = [{
"bedrockModel" = {
"modelIdentifier" = "amazon.nova-micro-v1:0"
}
}]
}
output_data_config = {
s3_uri ="s3://${exampleAwsS3Bucket.id}/output/"
}
}
Create EvaluationJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EvaluationJob(name: string, args: EvaluationJobArgs, opts?: CustomResourceOptions);@overload
def EvaluationJob(resource_name: str,
args: EvaluationJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EvaluationJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
evaluation_config: Optional[EvaluationJobEvaluationConfigArgs] = None,
inference_config: Optional[EvaluationJobInferenceConfigArgs] = None,
job_name: Optional[str] = None,
output_data_config: Optional[EvaluationJobOutputDataConfigArgs] = None,
role_arn: Optional[str] = None,
application_type: Optional[str] = None,
customer_encryption_key_id: Optional[str] = None,
job_description: Optional[str] = None,
region: Optional[str] = None,
skip_destroy: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[EvaluationJobTimeoutsArgs] = None)func NewEvaluationJob(ctx *Context, name string, args EvaluationJobArgs, opts ...ResourceOption) (*EvaluationJob, error)public EvaluationJob(string name, EvaluationJobArgs args, CustomResourceOptions? opts = null)
public EvaluationJob(String name, EvaluationJobArgs args)
public EvaluationJob(String name, EvaluationJobArgs args, CustomResourceOptions options)
type: aws:bedrock:EvaluationJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_bedrock_evaluation_job" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EvaluationJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EvaluationJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EvaluationJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EvaluationJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EvaluationJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var evaluationJobResource = new Aws.Bedrock.EvaluationJob("evaluationJobResource", new()
{
EvaluationConfig = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigArgs
{
Automated = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedArgs
{
DatasetMetricConfigs = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs
{
Dataset = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs
{
Name = "string",
DatasetLocation = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetDatasetLocationArgs
{
S3Uri = "string",
},
},
MetricNames = new[]
{
"string",
},
TaskType = "string",
},
},
CustomMetricConfig = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigArgs
{
CustomMetrics = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricArgs
{
CustomMetricDefinition = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionArgs
{
Instructions = "string",
Name = "string",
RatingScales = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleArgs
{
Definition = "string",
Value = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleValueArgs
{
FloatValue = 0,
StringValue = "string",
},
},
},
},
},
},
EvaluatorModelConfig = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigArgs
{
BedrockEvaluatorModel = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigBedrockEvaluatorModelArgs
{
ModelIdentifier = "string",
},
},
},
EvaluatorModelConfig = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigArgs
{
BedrockEvaluatorModel = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigBedrockEvaluatorModelArgs
{
ModelIdentifier = "string",
},
},
},
Human = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigHumanArgs
{
DatasetMetricConfigs = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigHumanDatasetMetricConfigArgs
{
Dataset = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetArgs
{
Name = "string",
DatasetLocation = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetDatasetLocationArgs
{
S3Uri = "string",
},
},
MetricNames = new[]
{
"string",
},
TaskType = "string",
},
},
CustomMetrics = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigHumanCustomMetricArgs
{
Name = "string",
RatingMethod = "string",
Description = "string",
},
},
HumanWorkflowConfig = new Aws.Bedrock.Inputs.EvaluationJobEvaluationConfigHumanHumanWorkflowConfigArgs
{
FlowDefinitionArn = "string",
Instructions = "string",
},
},
},
InferenceConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigArgs
{
Models = new[]
{
new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigModelArgs
{
BedrockModel = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigModelBedrockModelArgs
{
ModelIdentifier = "string",
InferenceParams = "string",
PerformanceConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigModelBedrockModelPerformanceConfigArgs
{
Latency = "string",
},
},
PrecomputedInferenceSource = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigModelPrecomputedInferenceSourceArgs
{
InferenceSourceIdentifier = "string",
},
},
},
RagConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigArgs
{
KnowledgeBaseConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigArgs
{
RetrieveAndGenerateConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigArgs
{
KnowledgeBaseId = "string",
ModelArn = "string",
RetrievalConfiguration = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationArgs
{
VectorSearchConfiguration = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationVectorSearchConfigurationArgs
{
NumberOfResults = 0,
},
},
},
RetrieveConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigArgs
{
KnowledgeBaseId = "string",
KnowledgeBaseRetrievalConfiguration = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationArgs
{
VectorSearchConfiguration = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationVectorSearchConfigurationArgs
{
NumberOfResults = 0,
},
},
},
},
PrecomputedRagSourceConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigArgs
{
RetrieveAndGenerateSourceConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfigArgs
{
RagSourceIdentifier = "string",
},
RetrieveSourceConfig = new Aws.Bedrock.Inputs.EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveSourceConfigArgs
{
RagSourceIdentifier = "string",
},
},
},
},
JobName = "string",
OutputDataConfig = new Aws.Bedrock.Inputs.EvaluationJobOutputDataConfigArgs
{
S3Uri = "string",
},
RoleArn = "string",
ApplicationType = "string",
CustomerEncryptionKeyId = "string",
JobDescription = "string",
Region = "string",
SkipDestroy = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Bedrock.Inputs.EvaluationJobTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := bedrock.NewEvaluationJob(ctx, "evaluationJobResource", &bedrock.EvaluationJobArgs{
EvaluationConfig: &bedrock.EvaluationJobEvaluationConfigArgs{
Automated: &bedrock.EvaluationJobEvaluationConfigAutomatedArgs{
DatasetMetricConfigs: bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArray{
&bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs{
Dataset: &bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs{
Name: pulumi.String("string"),
DatasetLocation: &bedrock.EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetDatasetLocationArgs{
S3Uri: pulumi.String("string"),
},
},
MetricNames: pulumi.StringArray{
pulumi.String("string"),
},
TaskType: pulumi.String("string"),
},
},
CustomMetricConfig: &bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigArgs{
CustomMetrics: bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricArray{
&bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricArgs{
CustomMetricDefinition: &bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionArgs{
Instructions: pulumi.String("string"),
Name: pulumi.String("string"),
RatingScales: bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleArray{
&bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleArgs{
Definition: pulumi.String("string"),
Value: &bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleValueArgs{
FloatValue: pulumi.Float64(0),
StringValue: pulumi.String("string"),
},
},
},
},
},
},
EvaluatorModelConfig: &bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigArgs{
BedrockEvaluatorModel: &bedrock.EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigBedrockEvaluatorModelArgs{
ModelIdentifier: pulumi.String("string"),
},
},
},
EvaluatorModelConfig: &bedrock.EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigArgs{
BedrockEvaluatorModel: &bedrock.EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigBedrockEvaluatorModelArgs{
ModelIdentifier: pulumi.String("string"),
},
},
},
Human: &bedrock.EvaluationJobEvaluationConfigHumanArgs{
DatasetMetricConfigs: bedrock.EvaluationJobEvaluationConfigHumanDatasetMetricConfigArray{
&bedrock.EvaluationJobEvaluationConfigHumanDatasetMetricConfigArgs{
Dataset: &bedrock.EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetArgs{
Name: pulumi.String("string"),
DatasetLocation: &bedrock.EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetDatasetLocationArgs{
S3Uri: pulumi.String("string"),
},
},
MetricNames: pulumi.StringArray{
pulumi.String("string"),
},
TaskType: pulumi.String("string"),
},
},
CustomMetrics: bedrock.EvaluationJobEvaluationConfigHumanCustomMetricArray{
&bedrock.EvaluationJobEvaluationConfigHumanCustomMetricArgs{
Name: pulumi.String("string"),
RatingMethod: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
HumanWorkflowConfig: &bedrock.EvaluationJobEvaluationConfigHumanHumanWorkflowConfigArgs{
FlowDefinitionArn: pulumi.String("string"),
Instructions: pulumi.String("string"),
},
},
},
InferenceConfig: &bedrock.EvaluationJobInferenceConfigArgs{
Models: bedrock.EvaluationJobInferenceConfigModelArray{
&bedrock.EvaluationJobInferenceConfigModelArgs{
BedrockModel: &bedrock.EvaluationJobInferenceConfigModelBedrockModelArgs{
ModelIdentifier: pulumi.String("string"),
InferenceParams: pulumi.String("string"),
PerformanceConfig: &bedrock.EvaluationJobInferenceConfigModelBedrockModelPerformanceConfigArgs{
Latency: pulumi.String("string"),
},
},
PrecomputedInferenceSource: &bedrock.EvaluationJobInferenceConfigModelPrecomputedInferenceSourceArgs{
InferenceSourceIdentifier: pulumi.String("string"),
},
},
},
RagConfig: &bedrock.EvaluationJobInferenceConfigRagConfigArgs{
KnowledgeBaseConfig: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigArgs{
RetrieveAndGenerateConfig: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigArgs{
KnowledgeBaseId: pulumi.String("string"),
ModelArn: pulumi.String("string"),
RetrievalConfiguration: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationArgs{
VectorSearchConfiguration: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationVectorSearchConfigurationArgs{
NumberOfResults: pulumi.Int(0),
},
},
},
RetrieveConfig: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigArgs{
KnowledgeBaseId: pulumi.String("string"),
KnowledgeBaseRetrievalConfiguration: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationArgs{
VectorSearchConfiguration: &bedrock.EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationVectorSearchConfigurationArgs{
NumberOfResults: pulumi.Int(0),
},
},
},
},
PrecomputedRagSourceConfig: &bedrock.EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigArgs{
RetrieveAndGenerateSourceConfig: &bedrock.EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfigArgs{
RagSourceIdentifier: pulumi.String("string"),
},
RetrieveSourceConfig: &bedrock.EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveSourceConfigArgs{
RagSourceIdentifier: pulumi.String("string"),
},
},
},
},
JobName: pulumi.String("string"),
OutputDataConfig: &bedrock.EvaluationJobOutputDataConfigArgs{
S3Uri: pulumi.String("string"),
},
RoleArn: pulumi.String("string"),
ApplicationType: pulumi.String("string"),
CustomerEncryptionKeyId: pulumi.String("string"),
JobDescription: pulumi.String("string"),
Region: pulumi.String("string"),
SkipDestroy: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &bedrock.EvaluationJobTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
resource "aws_bedrock_evaluation_job" "evaluationJobResource" {
lifecycle {
create_before_destroy = true
}
evaluation_config = {
automated = {
dataset_metric_configs = [{
dataset = {
name = "string"
dataset_location = {
s3_uri = "string"
}
}
metric_names = ["string"]
task_type = "string"
}]
custom_metric_config = {
custom_metrics = [{
custom_metric_definition = {
instructions = "string"
name = "string"
rating_scales = [{
definition = "string"
value = {
float_value = 0
string_value = "string"
}
}]
}
}]
evaluator_model_config = {
bedrock_evaluator_model = {
model_identifier = "string"
}
}
}
evaluator_model_config = {
bedrock_evaluator_model = {
model_identifier = "string"
}
}
}
human = {
dataset_metric_configs = [{
dataset = {
name = "string"
dataset_location = {
s3_uri = "string"
}
}
metric_names = ["string"]
task_type = "string"
}]
custom_metrics = [{
name = "string"
rating_method = "string"
description = "string"
}]
human_workflow_config = {
flow_definition_arn = "string"
instructions = "string"
}
}
}
inference_config = {
models = [{
bedrock_model = {
model_identifier = "string"
inference_params = "string"
performance_config = {
latency = "string"
}
}
precomputed_inference_source = {
inference_source_identifier = "string"
}
}]
rag_config = {
knowledge_base_config = {
retrieve_and_generate_config = {
knowledge_base_id = "string"
model_arn = "string"
retrieval_configuration = {
vector_search_configuration = {
number_of_results = 0
}
}
}
retrieve_config = {
knowledge_base_id = "string"
knowledge_base_retrieval_configuration = {
vector_search_configuration = {
number_of_results = 0
}
}
}
}
precomputed_rag_source_config = {
retrieve_and_generate_source_config = {
rag_source_identifier = "string"
}
retrieve_source_config = {
rag_source_identifier = "string"
}
}
}
}
job_name = "string"
output_data_config = {
s3_uri = "string"
}
role_arn = "string"
application_type = "string"
customer_encryption_key_id = "string"
job_description = "string"
region = "string"
skip_destroy = false
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
}
}
var evaluationJobResource = new EvaluationJob("evaluationJobResource", EvaluationJobArgs.builder()
.evaluationConfig(EvaluationJobEvaluationConfigArgs.builder()
.automated(EvaluationJobEvaluationConfigAutomatedArgs.builder()
.datasetMetricConfigs(EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs.builder()
.dataset(EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs.builder()
.name("string")
.datasetLocation(EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetDatasetLocationArgs.builder()
.s3Uri("string")
.build())
.build())
.metricNames("string")
.taskType("string")
.build())
.customMetricConfig(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigArgs.builder()
.customMetrics(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricArgs.builder()
.customMetricDefinition(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionArgs.builder()
.instructions("string")
.name("string")
.ratingScales(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleArgs.builder()
.definition("string")
.value(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleValueArgs.builder()
.floatValue(0.0)
.stringValue("string")
.build())
.build())
.build())
.build())
.evaluatorModelConfig(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigArgs.builder()
.bedrockEvaluatorModel(EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigBedrockEvaluatorModelArgs.builder()
.modelIdentifier("string")
.build())
.build())
.build())
.evaluatorModelConfig(EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigArgs.builder()
.bedrockEvaluatorModel(EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigBedrockEvaluatorModelArgs.builder()
.modelIdentifier("string")
.build())
.build())
.build())
.human(EvaluationJobEvaluationConfigHumanArgs.builder()
.datasetMetricConfigs(EvaluationJobEvaluationConfigHumanDatasetMetricConfigArgs.builder()
.dataset(EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetArgs.builder()
.name("string")
.datasetLocation(EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetDatasetLocationArgs.builder()
.s3Uri("string")
.build())
.build())
.metricNames("string")
.taskType("string")
.build())
.customMetrics(EvaluationJobEvaluationConfigHumanCustomMetricArgs.builder()
.name("string")
.ratingMethod("string")
.description("string")
.build())
.humanWorkflowConfig(EvaluationJobEvaluationConfigHumanHumanWorkflowConfigArgs.builder()
.flowDefinitionArn("string")
.instructions("string")
.build())
.build())
.build())
.inferenceConfig(EvaluationJobInferenceConfigArgs.builder()
.models(EvaluationJobInferenceConfigModelArgs.builder()
.bedrockModel(EvaluationJobInferenceConfigModelBedrockModelArgs.builder()
.modelIdentifier("string")
.inferenceParams("string")
.performanceConfig(EvaluationJobInferenceConfigModelBedrockModelPerformanceConfigArgs.builder()
.latency("string")
.build())
.build())
.precomputedInferenceSource(EvaluationJobInferenceConfigModelPrecomputedInferenceSourceArgs.builder()
.inferenceSourceIdentifier("string")
.build())
.build())
.ragConfig(EvaluationJobInferenceConfigRagConfigArgs.builder()
.knowledgeBaseConfig(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigArgs.builder()
.retrieveAndGenerateConfig(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigArgs.builder()
.knowledgeBaseId("string")
.modelArn("string")
.retrievalConfiguration(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationArgs.builder()
.vectorSearchConfiguration(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationVectorSearchConfigurationArgs.builder()
.numberOfResults(0)
.build())
.build())
.build())
.retrieveConfig(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigArgs.builder()
.knowledgeBaseId("string")
.knowledgeBaseRetrievalConfiguration(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationArgs.builder()
.vectorSearchConfiguration(EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationVectorSearchConfigurationArgs.builder()
.numberOfResults(0)
.build())
.build())
.build())
.build())
.precomputedRagSourceConfig(EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigArgs.builder()
.retrieveAndGenerateSourceConfig(EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfigArgs.builder()
.ragSourceIdentifier("string")
.build())
.retrieveSourceConfig(EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveSourceConfigArgs.builder()
.ragSourceIdentifier("string")
.build())
.build())
.build())
.build())
.jobName("string")
.outputDataConfig(EvaluationJobOutputDataConfigArgs.builder()
.s3Uri("string")
.build())
.roleArn("string")
.applicationType("string")
.customerEncryptionKeyId("string")
.jobDescription("string")
.region("string")
.skipDestroy(false)
.tags(Map.of("string", "string"))
.timeouts(EvaluationJobTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
evaluation_job_resource = aws.bedrock.EvaluationJob("evaluationJobResource",
evaluation_config={
"automated": {
"dataset_metric_configs": [{
"dataset": {
"name": "string",
"dataset_location": {
"s3_uri": "string",
},
},
"metric_names": ["string"],
"task_type": "string",
}],
"custom_metric_config": {
"custom_metrics": [{
"custom_metric_definition": {
"instructions": "string",
"name": "string",
"rating_scales": [{
"definition": "string",
"value": {
"float_value": float(0),
"string_value": "string",
},
}],
},
}],
"evaluator_model_config": {
"bedrock_evaluator_model": {
"model_identifier": "string",
},
},
},
"evaluator_model_config": {
"bedrock_evaluator_model": {
"model_identifier": "string",
},
},
},
"human": {
"dataset_metric_configs": [{
"dataset": {
"name": "string",
"dataset_location": {
"s3_uri": "string",
},
},
"metric_names": ["string"],
"task_type": "string",
}],
"custom_metrics": [{
"name": "string",
"rating_method": "string",
"description": "string",
}],
"human_workflow_config": {
"flow_definition_arn": "string",
"instructions": "string",
},
},
},
inference_config={
"models": [{
"bedrock_model": {
"model_identifier": "string",
"inference_params": "string",
"performance_config": {
"latency": "string",
},
},
"precomputed_inference_source": {
"inference_source_identifier": "string",
},
}],
"rag_config": {
"knowledge_base_config": {
"retrieve_and_generate_config": {
"knowledge_base_id": "string",
"model_arn": "string",
"retrieval_configuration": {
"vector_search_configuration": {
"number_of_results": 0,
},
},
},
"retrieve_config": {
"knowledge_base_id": "string",
"knowledge_base_retrieval_configuration": {
"vector_search_configuration": {
"number_of_results": 0,
},
},
},
},
"precomputed_rag_source_config": {
"retrieve_and_generate_source_config": {
"rag_source_identifier": "string",
},
"retrieve_source_config": {
"rag_source_identifier": "string",
},
},
},
},
job_name="string",
output_data_config={
"s3_uri": "string",
},
role_arn="string",
application_type="string",
customer_encryption_key_id="string",
job_description="string",
region="string",
skip_destroy=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
})
const evaluationJobResource = new aws.bedrock.EvaluationJob("evaluationJobResource", {
evaluationConfig: {
automated: {
datasetMetricConfigs: [{
dataset: {
name: "string",
datasetLocation: {
s3Uri: "string",
},
},
metricNames: ["string"],
taskType: "string",
}],
customMetricConfig: {
customMetrics: [{
customMetricDefinition: {
instructions: "string",
name: "string",
ratingScales: [{
definition: "string",
value: {
floatValue: 0,
stringValue: "string",
},
}],
},
}],
evaluatorModelConfig: {
bedrockEvaluatorModel: {
modelIdentifier: "string",
},
},
},
evaluatorModelConfig: {
bedrockEvaluatorModel: {
modelIdentifier: "string",
},
},
},
human: {
datasetMetricConfigs: [{
dataset: {
name: "string",
datasetLocation: {
s3Uri: "string",
},
},
metricNames: ["string"],
taskType: "string",
}],
customMetrics: [{
name: "string",
ratingMethod: "string",
description: "string",
}],
humanWorkflowConfig: {
flowDefinitionArn: "string",
instructions: "string",
},
},
},
inferenceConfig: {
models: [{
bedrockModel: {
modelIdentifier: "string",
inferenceParams: "string",
performanceConfig: {
latency: "string",
},
},
precomputedInferenceSource: {
inferenceSourceIdentifier: "string",
},
}],
ragConfig: {
knowledgeBaseConfig: {
retrieveAndGenerateConfig: {
knowledgeBaseId: "string",
modelArn: "string",
retrievalConfiguration: {
vectorSearchConfiguration: {
numberOfResults: 0,
},
},
},
retrieveConfig: {
knowledgeBaseId: "string",
knowledgeBaseRetrievalConfiguration: {
vectorSearchConfiguration: {
numberOfResults: 0,
},
},
},
},
precomputedRagSourceConfig: {
retrieveAndGenerateSourceConfig: {
ragSourceIdentifier: "string",
},
retrieveSourceConfig: {
ragSourceIdentifier: "string",
},
},
},
},
jobName: "string",
outputDataConfig: {
s3Uri: "string",
},
roleArn: "string",
applicationType: "string",
customerEncryptionKeyId: "string",
jobDescription: "string",
region: "string",
skipDestroy: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: aws:bedrock:EvaluationJob
properties:
applicationType: string
customerEncryptionKeyId: string
evaluationConfig:
automated:
customMetricConfig:
customMetrics:
- customMetricDefinition:
instructions: string
name: string
ratingScales:
- definition: string
value:
floatValue: 0
stringValue: string
evaluatorModelConfig:
bedrockEvaluatorModel:
modelIdentifier: string
datasetMetricConfigs:
- dataset:
datasetLocation:
s3Uri: string
name: string
metricNames:
- string
taskType: string
evaluatorModelConfig:
bedrockEvaluatorModel:
modelIdentifier: string
human:
customMetrics:
- description: string
name: string
ratingMethod: string
datasetMetricConfigs:
- dataset:
datasetLocation:
s3Uri: string
name: string
metricNames:
- string
taskType: string
humanWorkflowConfig:
flowDefinitionArn: string
instructions: string
inferenceConfig:
models:
- bedrockModel:
inferenceParams: string
modelIdentifier: string
performanceConfig:
latency: string
precomputedInferenceSource:
inferenceSourceIdentifier: string
ragConfig:
knowledgeBaseConfig:
retrieveAndGenerateConfig:
knowledgeBaseId: string
modelArn: string
retrievalConfiguration:
vectorSearchConfiguration:
numberOfResults: 0
retrieveConfig:
knowledgeBaseId: string
knowledgeBaseRetrievalConfiguration:
vectorSearchConfiguration:
numberOfResults: 0
precomputedRagSourceConfig:
retrieveAndGenerateSourceConfig:
ragSourceIdentifier: string
retrieveSourceConfig:
ragSourceIdentifier: string
jobDescription: string
jobName: string
outputDataConfig:
s3Uri: string
region: string
roleArn: string
skipDestroy: false
tags:
string: string
timeouts:
create: string
delete: string
EvaluationJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EvaluationJob resource accepts the following input properties:
- Evaluation
Config EvaluationJob Evaluation Config - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - Inference
Config EvaluationJob Inference Config - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - Job
Name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- Output
Data EvaluationConfig Job Output Data Config - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - Role
Arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- Application
Type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - Customer
Encryption stringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- Job
Description string - Description of the evaluation job.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Skip
Destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- Dictionary<string, string>
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Evaluation
Job Timeouts
- Evaluation
Config EvaluationJob Evaluation Config Args - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - Inference
Config EvaluationJob Inference Config Args - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - Job
Name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- Output
Data EvaluationConfig Job Output Data Config Args - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - Role
Arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- Application
Type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - Customer
Encryption stringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- Job
Description string - Description of the evaluation job.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Skip
Destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- map[string]string
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Evaluation
Job Timeouts Args
- evaluation_
config object - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - inference_
config object - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job_
name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- output_
data_ objectconfig - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - role_
arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- application_
type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - customer_
encryption_ stringkey_ id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- job_
description string - Description of the evaluation job.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skip_
destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- map(string)
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- evaluation
Config EvaluationJob Evaluation Config - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - inference
Config EvaluationJob Inference Config - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job
Name String - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- output
Data EvaluationConfig Job Output Data Config - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - role
Arn String ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- application
Type String - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - customer
Encryption StringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- job
Description String - Description of the evaluation job.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skip
Destroy Boolean - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- Map<String,String>
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Evaluation
Job Timeouts
- evaluation
Config EvaluationJob Evaluation Config - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - inference
Config EvaluationJob Inference Config - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job
Name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- output
Data EvaluationConfig Job Output Data Config - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - role
Arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- application
Type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - customer
Encryption stringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- job
Description string - Description of the evaluation job.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skip
Destroy boolean - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- {[key: string]: string}
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Evaluation
Job Timeouts
- evaluation_
config EvaluationJob Evaluation Config Args - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - inference_
config EvaluationJob Inference Config Args - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job_
name str - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- output_
data_ Evaluationconfig Job Output Data Config Args - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - role_
arn str ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- application_
type str - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - customer_
encryption_ strkey_ id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- job_
description str - Description of the evaluation job.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skip_
destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- Mapping[str, str]
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Evaluation
Job Timeouts Args
- evaluation
Config Property Map - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - inference
Config Property Map - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job
Name String - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- output
Data Property MapConfig - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - role
Arn String ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- application
Type String - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - customer
Encryption StringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- job
Description String - Description of the evaluation job.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skip
Destroy Boolean - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- Map<String>
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the EvaluationJob resource produces the following output properties:
- Created
At string - Date and time the evaluation job was created.
- Failure
Messages List<string> - List of reasons the evaluation job failed to create, if applicable.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Arn string - ARN of the evaluation job.
- Job
Type string - Whether the evaluation job is automated or human-based.
- Last
Modified stringTime - Date and time the evaluation job was last modified.
- Status string
- Current status of the evaluation job.
- Dictionary<string, string>
- Created
At string - Date and time the evaluation job was created.
- Failure
Messages []string - List of reasons the evaluation job failed to create, if applicable.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Arn string - ARN of the evaluation job.
- Job
Type string - Whether the evaluation job is automated or human-based.
- Last
Modified stringTime - Date and time the evaluation job was last modified.
- Status string
- Current status of the evaluation job.
- map[string]string
- created_
at string - Date and time the evaluation job was created.
- failure_
messages list(string) - List of reasons the evaluation job failed to create, if applicable.
- id string
- The provider-assigned unique ID for this managed resource.
- job_
arn string - ARN of the evaluation job.
- job_
type string - Whether the evaluation job is automated or human-based.
- last_
modified_ stringtime - Date and time the evaluation job was last modified.
- status string
- Current status of the evaluation job.
- map(string)
- created
At String - Date and time the evaluation job was created.
- failure
Messages List<String> - List of reasons the evaluation job failed to create, if applicable.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Arn String - ARN of the evaluation job.
- job
Type String - Whether the evaluation job is automated or human-based.
- last
Modified StringTime - Date and time the evaluation job was last modified.
- status String
- Current status of the evaluation job.
- Map<String,String>
- created
At string - Date and time the evaluation job was created.
- failure
Messages string[] - List of reasons the evaluation job failed to create, if applicable.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Arn string - ARN of the evaluation job.
- job
Type string - Whether the evaluation job is automated or human-based.
- last
Modified stringTime - Date and time the evaluation job was last modified.
- status string
- Current status of the evaluation job.
- {[key: string]: string}
- created_
at str - Date and time the evaluation job was created.
- failure_
messages Sequence[str] - List of reasons the evaluation job failed to create, if applicable.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
arn str - ARN of the evaluation job.
- job_
type str - Whether the evaluation job is automated or human-based.
- last_
modified_ strtime - Date and time the evaluation job was last modified.
- status str
- Current status of the evaluation job.
- Mapping[str, str]
- created
At String - Date and time the evaluation job was created.
- failure
Messages List<String> - List of reasons the evaluation job failed to create, if applicable.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Arn String - ARN of the evaluation job.
- job
Type String - Whether the evaluation job is automated or human-based.
- last
Modified StringTime - Date and time the evaluation job was last modified.
- status String
- Current status of the evaluation job.
- Map<String>
Look up Existing EvaluationJob Resource
Get an existing EvaluationJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EvaluationJobState, opts?: CustomResourceOptions): EvaluationJob@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_type: Optional[str] = None,
created_at: Optional[str] = None,
customer_encryption_key_id: Optional[str] = None,
evaluation_config: Optional[EvaluationJobEvaluationConfigArgs] = None,
failure_messages: Optional[Sequence[str]] = None,
inference_config: Optional[EvaluationJobInferenceConfigArgs] = None,
job_arn: Optional[str] = None,
job_description: Optional[str] = None,
job_name: Optional[str] = None,
job_type: Optional[str] = None,
last_modified_time: Optional[str] = None,
output_data_config: Optional[EvaluationJobOutputDataConfigArgs] = None,
region: Optional[str] = None,
role_arn: Optional[str] = None,
skip_destroy: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[EvaluationJobTimeoutsArgs] = None) -> EvaluationJobfunc GetEvaluationJob(ctx *Context, name string, id IDInput, state *EvaluationJobState, opts ...ResourceOption) (*EvaluationJob, error)public static EvaluationJob Get(string name, Input<string> id, EvaluationJobState? state, CustomResourceOptions? opts = null)public static EvaluationJob get(String name, Output<String> id, EvaluationJobState state, CustomResourceOptions options)resources: _: type: aws:bedrock:EvaluationJob get: id: ${id}import {
to = aws_bedrock_evaluation_job.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application
Type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - Created
At string - Date and time the evaluation job was created.
- Customer
Encryption stringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- Evaluation
Config EvaluationJob Evaluation Config - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - Failure
Messages List<string> - List of reasons the evaluation job failed to create, if applicable.
- Inference
Config EvaluationJob Inference Config - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - Job
Arn string - ARN of the evaluation job.
- Job
Description string - Description of the evaluation job.
- Job
Name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- Job
Type string - Whether the evaluation job is automated or human-based.
- Last
Modified stringTime - Date and time the evaluation job was last modified.
- Output
Data EvaluationConfig Job Output Data Config - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Role
Arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- Skip
Destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- Status string
- Current status of the evaluation job.
- Dictionary<string, string>
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Timeouts
Evaluation
Job Timeouts
- Application
Type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - Created
At string - Date and time the evaluation job was created.
- Customer
Encryption stringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- Evaluation
Config EvaluationJob Evaluation Config Args - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - Failure
Messages []string - List of reasons the evaluation job failed to create, if applicable.
- Inference
Config EvaluationJob Inference Config Args - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - Job
Arn string - ARN of the evaluation job.
- Job
Description string - Description of the evaluation job.
- Job
Name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- Job
Type string - Whether the evaluation job is automated or human-based.
- Last
Modified stringTime - Date and time the evaluation job was last modified.
- Output
Data EvaluationConfig Job Output Data Config Args - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Role
Arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- Skip
Destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- Status string
- Current status of the evaluation job.
- map[string]string
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Timeouts
Evaluation
Job Timeouts Args
- application_
type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - created_
at string - Date and time the evaluation job was created.
- customer_
encryption_ stringkey_ id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- evaluation_
config object - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - failure_
messages list(string) - List of reasons the evaluation job failed to create, if applicable.
- inference_
config object - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job_
arn string - ARN of the evaluation job.
- job_
description string - Description of the evaluation job.
- job_
name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- job_
type string - Whether the evaluation job is automated or human-based.
- last_
modified_ stringtime - Date and time the evaluation job was last modified.
- output_
data_ objectconfig - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role_
arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- skip_
destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- status string
- Current status of the evaluation job.
- map(string)
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- timeouts object
- application
Type String - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - created
At String - Date and time the evaluation job was created.
- customer
Encryption StringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- evaluation
Config EvaluationJob Evaluation Config - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - failure
Messages List<String> - List of reasons the evaluation job failed to create, if applicable.
- inference
Config EvaluationJob Inference Config - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job
Arn String - ARN of the evaluation job.
- job
Description String - Description of the evaluation job.
- job
Name String - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- job
Type String - Whether the evaluation job is automated or human-based.
- last
Modified StringTime - Date and time the evaluation job was last modified.
- output
Data EvaluationConfig Job Output Data Config - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role
Arn String ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- skip
Destroy Boolean - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- status String
- Current status of the evaluation job.
- Map<String,String>
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- timeouts
Evaluation
Job Timeouts
- application
Type string - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - created
At string - Date and time the evaluation job was created.
- customer
Encryption stringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- evaluation
Config EvaluationJob Evaluation Config - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - failure
Messages string[] - List of reasons the evaluation job failed to create, if applicable.
- inference
Config EvaluationJob Inference Config - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job
Arn string - ARN of the evaluation job.
- job
Description string - Description of the evaluation job.
- job
Name string - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- job
Type string - Whether the evaluation job is automated or human-based.
- last
Modified stringTime - Date and time the evaluation job was last modified.
- output
Data EvaluationConfig Job Output Data Config - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role
Arn string ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- skip
Destroy boolean - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- status string
- Current status of the evaluation job.
- {[key: string]: string}
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- timeouts
Evaluation
Job Timeouts
- application_
type str - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - created_
at str - Date and time the evaluation job was created.
- customer_
encryption_ strkey_ id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- evaluation_
config EvaluationJob Evaluation Config Args - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - failure_
messages Sequence[str] - List of reasons the evaluation job failed to create, if applicable.
- inference_
config EvaluationJob Inference Config Args - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job_
arn str - ARN of the evaluation job.
- job_
description str - Description of the evaluation job.
- job_
name str - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- job_
type str - Whether the evaluation job is automated or human-based.
- last_
modified_ strtime - Date and time the evaluation job was last modified.
- output_
data_ Evaluationconfig Job Output Data Config Args - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role_
arn str ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- skip_
destroy bool - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- status str
- Current status of the evaluation job.
- Mapping[str, str]
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- timeouts
Evaluation
Job Timeouts Args
- application
Type String - Whether the evaluation job evaluates a model or a knowledge base. Valid values:
ModelEvaluation,RagEvaluation. - created
At String - Date and time the evaluation job was created.
- customer
Encryption StringKey Id - ARN of the customer managed KMS key to use to encrypt the evaluation job.
- evaluation
Config Property Map - Configuration for either an automated or human-based evaluation job. See
evaluationConfigBlock below. - failure
Messages List<String> - List of reasons the evaluation job failed to create, if applicable.
- inference
Config Property Map - Configuration for the inference model, or models, used for the evaluation job. See
inferenceConfigBlock below. - job
Arn String - ARN of the evaluation job.
- job
Description String - Description of the evaluation job.
- job
Name String - Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.
- job
Type String - Whether the evaluation job is automated or human-based.
- last
Modified StringTime - Date and time the evaluation job was last modified.
- output
Data Property MapConfig - Configuration for the Amazon S3 location where the results of the evaluation job are stored. See
outputDataConfigBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role
Arn String ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See Required permissions for model evaluations.
The following arguments are optional:
- skip
Destroy Boolean - Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.
- status String
- Current status of the evaluation job.
- Map<String>
- Map of tags to assign to the evaluation job. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- timeouts Property Map
Supporting Types
EvaluationJobEvaluationConfig, EvaluationJobEvaluationConfigArgs
- Automated
Evaluation
Job Evaluation Config Automated - Configuration for an automated evaluation job that computes metrics. See
automatedBlock below. - Human
Evaluation
Job Evaluation Config Human - Configuration for an evaluation job that uses human workers. See
humanBlock below.
- Automated
Evaluation
Job Evaluation Config Automated - Configuration for an automated evaluation job that computes metrics. See
automatedBlock below. - Human
Evaluation
Job Evaluation Config Human - Configuration for an evaluation job that uses human workers. See
humanBlock below.
- automated
Evaluation
Job Evaluation Config Automated - Configuration for an automated evaluation job that computes metrics. See
automatedBlock below. - human
Evaluation
Job Evaluation Config Human - Configuration for an evaluation job that uses human workers. See
humanBlock below.
- automated
Evaluation
Job Evaluation Config Automated - Configuration for an automated evaluation job that computes metrics. See
automatedBlock below. - human
Evaluation
Job Evaluation Config Human - Configuration for an evaluation job that uses human workers. See
humanBlock below.
- automated
Evaluation
Job Evaluation Config Automated - Configuration for an automated evaluation job that computes metrics. See
automatedBlock below. - human
Evaluation
Job Evaluation Config Human - Configuration for an evaluation job that uses human workers. See
humanBlock below.
- automated Property Map
- Configuration for an automated evaluation job that computes metrics. See
automatedBlock below. - human Property Map
- Configuration for an evaluation job that uses human workers. See
humanBlock below.
EvaluationJobEvaluationConfigAutomated, EvaluationJobEvaluationConfigAutomatedArgs
- Dataset
Metric List<EvaluationConfigs Job Evaluation Config Automated Dataset Metric Config> - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - Custom
Metric EvaluationConfig Job Evaluation Config Automated Custom Metric Config - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - Evaluator
Model EvaluationConfig Job Evaluation Config Automated Evaluator Model Config - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
- Dataset
Metric []EvaluationConfigs Job Evaluation Config Automated Dataset Metric Config - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - Custom
Metric EvaluationConfig Job Evaluation Config Automated Custom Metric Config - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - Evaluator
Model EvaluationConfig Job Evaluation Config Automated Evaluator Model Config - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
- dataset_
metric_ list(object)configs - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - custom_
metric_ objectconfig - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - evaluator_
model_ objectconfig - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
- dataset
Metric List<EvaluationConfigs Job Evaluation Config Automated Dataset Metric Config> - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - custom
Metric EvaluationConfig Job Evaluation Config Automated Custom Metric Config - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - evaluator
Model EvaluationConfig Job Evaluation Config Automated Evaluator Model Config - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
- dataset
Metric EvaluationConfigs Job Evaluation Config Automated Dataset Metric Config[] - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - custom
Metric EvaluationConfig Job Evaluation Config Automated Custom Metric Config - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - evaluator
Model EvaluationConfig Job Evaluation Config Automated Evaluator Model Config - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
- dataset_
metric_ Sequence[Evaluationconfigs Job Evaluation Config Automated Dataset Metric Config] - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - custom_
metric_ Evaluationconfig Job Evaluation Config Automated Custom Metric Config - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - evaluator_
model_ Evaluationconfig Job Evaluation Config Automated Evaluator Model Config - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
- dataset
Metric List<Property Map>Configs - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.automated.dataset_metric_configBlock below. - custom
Metric Property MapConfig - Configuration for custom metrics to compute for the evaluation job. See
customMetricConfigBlock below. - evaluator
Model Property MapConfig - Configuration for the evaluator (judge) model. Required for automated jobs that use an LLM-as-judge metric, or that evaluate a knowledge base. See
evaluatorModelConfigBlock below.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfig, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigArgs
- Custom
Metrics List<EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric> - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - Evaluator
Model EvaluationConfig Job Evaluation Config Automated Custom Metric Config Evaluator Model Config - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
- Custom
Metrics []EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - Evaluator
Model EvaluationConfig Job Evaluation Config Automated Custom Metric Config Evaluator Model Config - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
- custom_
metrics list(object) - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - evaluator_
model_ objectconfig - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
- custom
Metrics List<EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric> - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - evaluator
Model EvaluationConfig Job Evaluation Config Automated Custom Metric Config Evaluator Model Config - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
- custom
Metrics EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric[] - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - evaluator
Model EvaluationConfig Job Evaluation Config Automated Custom Metric Config Evaluator Model Config - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
- custom_
metrics Sequence[EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric] - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - evaluator_
model_ Evaluationconfig Job Evaluation Config Automated Custom Metric Config Evaluator Model Config - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
- custom
Metrics List<Property Map> - One or more custom metric definitions. See
evaluation_config.automated.custom_metric_config.custom_metricBlock below. - evaluator
Model Property MapConfig - Configuration for the evaluator model used to compute the custom metrics. See
evaluatorModelConfigBlock above.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetric, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricArgs
- Custom
Metric EvaluationDefinition Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition - Definition of the custom metric. See
customMetricDefinitionBlock below.
- Custom
Metric EvaluationDefinition Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition - Definition of the custom metric. See
customMetricDefinitionBlock below.
- custom_
metric_ objectdefinition - Definition of the custom metric. See
customMetricDefinitionBlock below.
- custom
Metric EvaluationDefinition Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition - Definition of the custom metric. See
customMetricDefinitionBlock below.
- custom
Metric EvaluationDefinition Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition - Definition of the custom metric. See
customMetricDefinitionBlock below.
- custom_
metric_ Evaluationdefinition Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition - Definition of the custom metric. See
customMetricDefinitionBlock below.
- custom
Metric Property MapDefinition - Definition of the custom metric. See
customMetricDefinitionBlock below.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinition, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionArgs
- Instructions string
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- Name string
- Name for the custom metric. Must be unique in your AWS Region.
- Rating
Scales List<EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale> - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
- Instructions string
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- Name string
- Name for the custom metric. Must be unique in your AWS Region.
- Rating
Scales []EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
- instructions string
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- name string
- Name for the custom metric. Must be unique in your AWS Region.
- rating_
scales list(object) - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
- instructions String
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- name String
- Name for the custom metric. Must be unique in your AWS Region.
- rating
Scales List<EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale> - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
- instructions string
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- name string
- Name for the custom metric. Must be unique in your AWS Region.
- rating
Scales EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale[] - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
- instructions str
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- name str
- Name for the custom metric. Must be unique in your AWS Region.
- rating_
scales Sequence[EvaluationJob Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale] - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
- instructions String
- Prompt that instructs the evaluator model how to rate the model or RAG source under evaluation.
- name String
- Name for the custom metric. Must be unique in your AWS Region.
- rating
Scales List<Property Map> - One or more items defining the rating scale for the custom metric. See
ratingScaleBlock below.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScale, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleArgs
- Definition string
- Definition for one rating in the custom metric rating scale.
- Value
Evaluation
Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale Value - Value for one rating in the custom metric rating scale. See
valueBlock below.
- Definition string
- Definition for one rating in the custom metric rating scale.
- Value
Evaluation
Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale Value - Value for one rating in the custom metric rating scale. See
valueBlock below.
- definition string
- Definition for one rating in the custom metric rating scale.
- value object
- Value for one rating in the custom metric rating scale. See
valueBlock below.
- definition String
- Definition for one rating in the custom metric rating scale.
- value
Evaluation
Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale Value - Value for one rating in the custom metric rating scale. See
valueBlock below.
- definition string
- Definition for one rating in the custom metric rating scale.
- value
Evaluation
Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale Value - Value for one rating in the custom metric rating scale. See
valueBlock below.
- definition str
- Definition for one rating in the custom metric rating scale.
- value
Evaluation
Job Evaluation Config Automated Custom Metric Config Custom Metric Custom Metric Definition Rating Scale Value - Value for one rating in the custom metric rating scale. See
valueBlock below.
- definition String
- Definition for one rating in the custom metric rating scale.
- value Property Map
- Value for one rating in the custom metric rating scale. See
valueBlock below.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleValue, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigCustomMetricCustomMetricDefinitionRatingScaleValueArgs
- Float
Value double - Floating point number representing the rating value.
- String
Value string - String representing the rating value.
- Float
Value float64 - Floating point number representing the rating value.
- String
Value string - String representing the rating value.
- float_
value number - Floating point number representing the rating value.
- string_
value string - String representing the rating value.
- float
Value Double - Floating point number representing the rating value.
- string
Value String - String representing the rating value.
- float
Value number - Floating point number representing the rating value.
- string
Value string - String representing the rating value.
- float_
value float - Floating point number representing the rating value.
- string_
value str - String representing the rating value.
- float
Value Number - Floating point number representing the rating value.
- string
Value String - String representing the rating value.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfig, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigArgs
- Bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Custom Metric Config Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- Bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Custom Metric Config Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock_
evaluator_ objectmodel - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Custom Metric Config Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Custom Metric Config Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock_
evaluator_ Evaluationmodel Job Evaluation Config Automated Custom Metric Config Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock
Evaluator Property MapModel - Evaluator model. See
bedrockEvaluatorModelBlock below.
EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigBedrockEvaluatorModel, EvaluationJobEvaluationConfigAutomatedCustomMetricConfigEvaluatorModelConfigBedrockEvaluatorModelArgs
- Model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- Model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model_
identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model
Identifier String - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model_
identifier str - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model
Identifier String - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
EvaluationJobEvaluationConfigAutomatedDatasetMetricConfig, EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigArgs
- Dataset
Evaluation
Job Evaluation Config Automated Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - Metric
Names List<string> - Names of the metrics to use for the evaluation job.
- Task
Type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- Dataset
Evaluation
Job Evaluation Config Automated Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - Metric
Names []string - Names of the metrics to use for the evaluation job.
- Task
Type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset object
- Prompt dataset to use. See
datasetBlock below. - metric_
names list(string) - Names of the metrics to use for the evaluation job.
- task_
type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset
Evaluation
Job Evaluation Config Automated Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - metric
Names List<String> - Names of the metrics to use for the evaluation job.
- task
Type String - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset
Evaluation
Job Evaluation Config Automated Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - metric
Names string[] - Names of the metrics to use for the evaluation job.
- task
Type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset
Evaluation
Job Evaluation Config Automated Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - metric_
names Sequence[str] - Names of the metrics to use for the evaluation job.
- task_
type str - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset Property Map
- Prompt dataset to use. See
datasetBlock below. - metric
Names List<String> - Names of the metrics to use for the evaluation job.
- task
Type String - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDataset, EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetArgs
- Name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - Dataset
Location EvaluationJob Evaluation Config Automated Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- Name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - Dataset
Location EvaluationJob Evaluation Config Automated Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset_
location object - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name String
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset
Location EvaluationJob Evaluation Config Automated Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset
Location EvaluationJob Evaluation Config Automated Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name str
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset_
location EvaluationJob Evaluation Config Automated Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name String
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset
Location Property Map - Location of a custom prompt dataset. See
datasetLocationBlock below.
EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetDatasetLocation, EvaluationJobEvaluationConfigAutomatedDatasetMetricConfigDatasetDatasetLocationArgs
- S3Uri string
- S3 URI of the custom prompt dataset.
- S3Uri string
- S3 URI of the custom prompt dataset.
- s3_
uri string - S3 URI of the custom prompt dataset.
- s3Uri String
- S3 URI of the custom prompt dataset.
- s3Uri string
- S3 URI of the custom prompt dataset.
- s3_
uri str - S3 URI of the custom prompt dataset.
- s3Uri String
- S3 URI of the custom prompt dataset.
EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfig, EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigArgs
- Bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- Bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock_
evaluator_ objectmodel - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock
Evaluator EvaluationModel Job Evaluation Config Automated Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock_
evaluator_ Evaluationmodel Job Evaluation Config Automated Evaluator Model Config Bedrock Evaluator Model - Evaluator model. See
bedrockEvaluatorModelBlock below.
- bedrock
Evaluator Property MapModel - Evaluator model. See
bedrockEvaluatorModelBlock below.
EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigBedrockEvaluatorModel, EvaluationJobEvaluationConfigAutomatedEvaluatorModelConfigBedrockEvaluatorModelArgs
- Model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- Model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model_
identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model
Identifier String - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model_
identifier str - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
- model
Identifier String - Identifier of the Amazon Bedrock model, or inference profile, used to compute the metrics.
EvaluationJobEvaluationConfigHuman, EvaluationJobEvaluationConfigHumanArgs
- Dataset
Metric List<EvaluationConfigs Job Evaluation Config Human Dataset Metric Config> - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - Custom
Metrics List<EvaluationJob Evaluation Config Human Custom Metric> - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - Human
Workflow EvaluationConfig Job Evaluation Config Human Human Workflow Config - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
- Dataset
Metric []EvaluationConfigs Job Evaluation Config Human Dataset Metric Config - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - Custom
Metrics []EvaluationJob Evaluation Config Human Custom Metric - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - Human
Workflow EvaluationConfig Job Evaluation Config Human Human Workflow Config - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
- dataset_
metric_ list(object)configs - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - custom_
metrics list(object) - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - human_
workflow_ objectconfig - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
- dataset
Metric List<EvaluationConfigs Job Evaluation Config Human Dataset Metric Config> - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - custom
Metrics List<EvaluationJob Evaluation Config Human Custom Metric> - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - human
Workflow EvaluationConfig Job Evaluation Config Human Human Workflow Config - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
- dataset
Metric EvaluationConfigs Job Evaluation Config Human Dataset Metric Config[] - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - custom
Metrics EvaluationJob Evaluation Config Human Custom Metric[] - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - human
Workflow EvaluationConfig Job Evaluation Config Human Human Workflow Config - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
- dataset_
metric_ Sequence[Evaluationconfigs Job Evaluation Config Human Dataset Metric Config] - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - custom_
metrics Sequence[EvaluationJob Evaluation Config Human Custom Metric] - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - human_
workflow_ Evaluationconfig Job Evaluation Config Human Human Workflow Config - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
- dataset
Metric List<Property Map>Configs - One or more configurations for the prompt datasets and metrics to use. See
evaluation_config.human.dataset_metric_configBlock below. - custom
Metrics List<Property Map> - One or more custom metrics for your human workers to use. See
evaluation_config.human.custom_metricBlock below. - human
Workflow Property MapConfig - Configuration for the human workflow. See
humanWorkflowConfigBlock below.
EvaluationJobEvaluationConfigHumanCustomMetric, EvaluationJobEvaluationConfigHumanCustomMetricArgs
- Name string
- Name of the metric.
- Rating
Method string - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - Description string
- Description of the metric.
- Name string
- Name of the metric.
- Rating
Method string - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - Description string
- Description of the metric.
- name string
- Name of the metric.
- rating_
method string - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - description string
- Description of the metric.
- name String
- Name of the metric.
- rating
Method String - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - description String
- Description of the metric.
- name string
- Name of the metric.
- rating
Method string - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - description string
- Description of the metric.
- name str
- Name of the metric.
- rating_
method str - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - description str
- Description of the metric.
- name String
- Name of the metric.
- rating
Method String - How the metric is rated. Valid values:
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice,ComparisonRank. - description String
- Description of the metric.
EvaluationJobEvaluationConfigHumanDatasetMetricConfig, EvaluationJobEvaluationConfigHumanDatasetMetricConfigArgs
- Dataset
Evaluation
Job Evaluation Config Human Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - Metric
Names List<string> - Names of the metrics to use for the evaluation job.
- Task
Type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- Dataset
Evaluation
Job Evaluation Config Human Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - Metric
Names []string - Names of the metrics to use for the evaluation job.
- Task
Type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset object
- Prompt dataset to use. See
datasetBlock below. - metric_
names list(string) - Names of the metrics to use for the evaluation job.
- task_
type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset
Evaluation
Job Evaluation Config Human Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - metric
Names List<String> - Names of the metrics to use for the evaluation job.
- task
Type String - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset
Evaluation
Job Evaluation Config Human Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - metric
Names string[] - Names of the metrics to use for the evaluation job.
- task
Type string - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset
Evaluation
Job Evaluation Config Human Dataset Metric Config Dataset - Prompt dataset to use. See
datasetBlock below. - metric_
names Sequence[str] - Names of the metrics to use for the evaluation job.
- task_
type str - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
- dataset Property Map
- Prompt dataset to use. See
datasetBlock below. - metric
Names List<String> - Names of the metrics to use for the evaluation job.
- task
Type String - Type of task to evaluate. Common values are
Summarization,Classification,QuestionAndAnswer,Generation, andCustom.
EvaluationJobEvaluationConfigHumanDatasetMetricConfigDataset, EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetArgs
- Name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - Dataset
Location EvaluationJob Evaluation Config Human Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- Name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - Dataset
Location EvaluationJob Evaluation Config Human Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset_
location object - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name String
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset
Location EvaluationJob Evaluation Config Human Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name string
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset
Location EvaluationJob Evaluation Config Human Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name str
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset_
location EvaluationJob Evaluation Config Human Dataset Metric Config Dataset Dataset Location - Location of a custom prompt dataset. See
datasetLocationBlock below.
- name String
- Name of a built-in prompt dataset, for example
Builtin.Bold, or a label for a custom prompt dataset. - dataset
Location Property Map - Location of a custom prompt dataset. See
datasetLocationBlock below.
EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetDatasetLocation, EvaluationJobEvaluationConfigHumanDatasetMetricConfigDatasetDatasetLocationArgs
- S3Uri string
- S3 URI of the custom prompt dataset.
- S3Uri string
- S3 URI of the custom prompt dataset.
- s3_
uri string - S3 URI of the custom prompt dataset.
- s3Uri String
- S3 URI of the custom prompt dataset.
- s3Uri string
- S3 URI of the custom prompt dataset.
- s3_
uri str - S3 URI of the custom prompt dataset.
- s3Uri String
- S3 URI of the custom prompt dataset.
EvaluationJobEvaluationConfigHumanHumanWorkflowConfig, EvaluationJobEvaluationConfigHumanHumanWorkflowConfigArgs
- Flow
Definition stringArn - ARN of the Amazon SageMaker AI flow definition.
- Instructions string
- Instructions for the flow definition.
- Flow
Definition stringArn - ARN of the Amazon SageMaker AI flow definition.
- Instructions string
- Instructions for the flow definition.
- flow_
definition_ stringarn - ARN of the Amazon SageMaker AI flow definition.
- instructions string
- Instructions for the flow definition.
- flow
Definition StringArn - ARN of the Amazon SageMaker AI flow definition.
- instructions String
- Instructions for the flow definition.
- flow
Definition stringArn - ARN of the Amazon SageMaker AI flow definition.
- instructions string
- Instructions for the flow definition.
- flow_
definition_ strarn - ARN of the Amazon SageMaker AI flow definition.
- instructions str
- Instructions for the flow definition.
- flow
Definition StringArn - ARN of the Amazon SageMaker AI flow definition.
- instructions String
- Instructions for the flow definition.
EvaluationJobInferenceConfig, EvaluationJobInferenceConfigArgs
- Models
List<Evaluation
Job Inference Config Model> - One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - Rag
Config EvaluationJob Inference Config Rag Config - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
- Models
[]Evaluation
Job Inference Config Model - One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - Rag
Config EvaluationJob Inference Config Rag Config - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
- models list(object)
- One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - rag_
config object - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
- models
List<Evaluation
Job Inference Config Model> - One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - rag
Config EvaluationJob Inference Config Rag Config - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
- models
Evaluation
Job Inference Config Model[] - One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - rag
Config EvaluationJob Inference Config Rag Config - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
- models
Sequence[Evaluation
Job Inference Config Model] - One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - rag_
config EvaluationJob Inference Config Rag Config - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
- models List<Property Map>
- One or more inference models. Automated jobs support a single model; jobs that use human workers support up to two models. See
modelBlock below. - rag
Config Property Map - Inference configuration for a knowledge base evaluation job. See
ragConfigBlock below.
EvaluationJobInferenceConfigModel, EvaluationJobInferenceConfigModelArgs
- Bedrock
Model EvaluationJob Inference Config Model Bedrock Model - Amazon Bedrock model. See
bedrockModelBlock below. - Precomputed
Inference EvaluationSource Job Inference Config Model Precomputed Inference Source - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
- Bedrock
Model EvaluationJob Inference Config Model Bedrock Model - Amazon Bedrock model. See
bedrockModelBlock below. - Precomputed
Inference EvaluationSource Job Inference Config Model Precomputed Inference Source - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
- bedrock_
model object - Amazon Bedrock model. See
bedrockModelBlock below. - precomputed_
inference_ objectsource - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
- bedrock
Model EvaluationJob Inference Config Model Bedrock Model - Amazon Bedrock model. See
bedrockModelBlock below. - precomputed
Inference EvaluationSource Job Inference Config Model Precomputed Inference Source - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
- bedrock
Model EvaluationJob Inference Config Model Bedrock Model - Amazon Bedrock model. See
bedrockModelBlock below. - precomputed
Inference EvaluationSource Job Inference Config Model Precomputed Inference Source - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
- bedrock_
model EvaluationJob Inference Config Model Bedrock Model - Amazon Bedrock model. See
bedrockModelBlock below. - precomputed_
inference_ Evaluationsource Job Inference Config Model Precomputed Inference Source - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
- bedrock
Model Property Map - Amazon Bedrock model. See
bedrockModelBlock below. - precomputed
Inference Property MapSource - Model where you provide your own precomputed inference response data. See
precomputedInferenceSourceBlock below.
EvaluationJobInferenceConfigModelBedrockModel, EvaluationJobInferenceConfigModelBedrockModelArgs
- Model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- Inference
Params string - JSON-formatted string of inference parameters for the model.
- Performance
Config EvaluationJob Inference Config Model Bedrock Model Performance Config - Model's performance settings. See
performanceConfigBlock below.
- Model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- Inference
Params string - JSON-formatted string of inference parameters for the model.
- Performance
Config EvaluationJob Inference Config Model Bedrock Model Performance Config - Model's performance settings. See
performanceConfigBlock below.
- model_
identifier string - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- inference_
params string - JSON-formatted string of inference parameters for the model.
- performance_
config object - Model's performance settings. See
performanceConfigBlock below.
- model
Identifier String - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- inference
Params String - JSON-formatted string of inference parameters for the model.
- performance
Config EvaluationJob Inference Config Model Bedrock Model Performance Config - Model's performance settings. See
performanceConfigBlock below.
- model
Identifier string - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- inference
Params string - JSON-formatted string of inference parameters for the model.
- performance
Config EvaluationJob Inference Config Model Bedrock Model Performance Config - Model's performance settings. See
performanceConfigBlock below.
- model_
identifier str - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- inference_
params str - JSON-formatted string of inference parameters for the model.
- performance_
config EvaluationJob Inference Config Model Bedrock Model Performance Config - Model's performance settings. See
performanceConfigBlock below.
- model
Identifier String - Identifier of the Amazon Bedrock model, or inference profile, used for inference.
- inference
Params String - JSON-formatted string of inference parameters for the model.
- performance
Config Property Map - Model's performance settings. See
performanceConfigBlock below.
EvaluationJobInferenceConfigModelBedrockModelPerformanceConfig, EvaluationJobInferenceConfigModelBedrockModelPerformanceConfigArgs
- Latency string
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
- Latency string
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
- latency string
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
- latency String
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
- latency string
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
- latency str
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
- latency String
- Whether to use the latency-optimized or standard version of the model. Valid values:
standard,optimized.
EvaluationJobInferenceConfigModelPrecomputedInferenceSource, EvaluationJobInferenceConfigModelPrecomputedInferenceSourceArgs
- Inference
Source stringIdentifier - Label that identifies the precomputed inference source.
- Inference
Source stringIdentifier - Label that identifies the precomputed inference source.
- inference_
source_ stringidentifier - Label that identifies the precomputed inference source.
- inference
Source StringIdentifier - Label that identifies the precomputed inference source.
- inference
Source stringIdentifier - Label that identifies the precomputed inference source.
- inference_
source_ stridentifier - Label that identifies the precomputed inference source.
- inference
Source StringIdentifier - Label that identifies the precomputed inference source.
EvaluationJobInferenceConfigRagConfig, EvaluationJobInferenceConfigRagConfigArgs
- Knowledge
Base EvaluationConfig Job Inference Config Rag Config Knowledge Base Config - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - Precomputed
Rag EvaluationSource Config Job Inference Config Rag Config Precomputed Rag Source Config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
- Knowledge
Base EvaluationConfig Job Inference Config Rag Config Knowledge Base Config - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - Precomputed
Rag EvaluationSource Config Job Inference Config Rag Config Precomputed Rag Source Config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
- knowledge_
base_ objectconfig - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - precomputed_
rag_ objectsource_ config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
- knowledge
Base EvaluationConfig Job Inference Config Rag Config Knowledge Base Config - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - precomputed
Rag EvaluationSource Config Job Inference Config Rag Config Precomputed Rag Source Config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
- knowledge
Base EvaluationConfig Job Inference Config Rag Config Knowledge Base Config - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - precomputed
Rag EvaluationSource Config Job Inference Config Rag Config Precomputed Rag Source Config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
- knowledge_
base_ Evaluationconfig Job Inference Config Rag Config Knowledge Base Config - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - precomputed_
rag_ Evaluationsource_ config Job Inference Config Rag Config Precomputed Rag Source Config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
- knowledge
Base Property MapConfig - Amazon Bedrock knowledge base. See
knowledgeBaseConfigBlock below. - precomputed
Rag Property MapSource Config - RAG source where you provide your own precomputed inference response data. See
precomputedRagSourceConfigBlock below.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfig, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigArgs
- Retrieve
And EvaluationGenerate Config Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - Retrieve
Config EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve Config - Configuration for retrieval only. See
retrieveConfigBlock below.
- Retrieve
And EvaluationGenerate Config Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - Retrieve
Config EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve Config - Configuration for retrieval only. See
retrieveConfigBlock below.
- retrieve_
and_ objectgenerate_ config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - retrieve_
config object - Configuration for retrieval only. See
retrieveConfigBlock below.
- retrieve
And EvaluationGenerate Config Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - retrieve
Config EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve Config - Configuration for retrieval only. See
retrieveConfigBlock below.
- retrieve
And EvaluationGenerate Config Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - retrieve
Config EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve Config - Configuration for retrieval only. See
retrieveConfigBlock below.
- retrieve_
and_ Evaluationgenerate_ config Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - retrieve_
config EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve Config - Configuration for retrieval only. See
retrieveConfigBlock below.
- retrieve
And Property MapGenerate Config - Configuration for retrieval with response generation. See
retrieveAndGenerateConfigBlock below. - retrieve
Config Property Map - Configuration for retrieval only. See
retrieveConfigBlock below.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfig, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigArgs
- Knowledge
Base stringId - Identifier of the knowledge base.
- Model
Arn string - ARN of the foundation model, or inference profile, used to generate responses.
- Retrieval
Configuration EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
- Knowledge
Base stringId - Identifier of the knowledge base.
- Model
Arn string - ARN of the foundation model, or inference profile, used to generate responses.
- Retrieval
Configuration EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
- knowledge_
base_ stringid - Identifier of the knowledge base.
- model_
arn string - ARN of the foundation model, or inference profile, used to generate responses.
- retrieval_
configuration object - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
- knowledge
Base StringId - Identifier of the knowledge base.
- model
Arn String - ARN of the foundation model, or inference profile, used to generate responses.
- retrieval
Configuration EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
- knowledge
Base stringId - Identifier of the knowledge base.
- model
Arn string - ARN of the foundation model, or inference profile, used to generate responses.
- retrieval
Configuration EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
- knowledge_
base_ strid - Identifier of the knowledge base.
- model_
arn str - ARN of the foundation model, or inference profile, used to generate responses.
- retrieval_
configuration EvaluationJob Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
- knowledge
Base StringId - Identifier of the knowledge base.
- model
Arn String - ARN of the foundation model, or inference profile, used to generate responses.
- retrieval
Configuration Property Map - Knowledge base retrieval configuration. See
retrievalConfigurationBlock below.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfiguration, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationArgs
- Vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock below.
- Vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock below.
- vector_
search_ objectconfiguration - Vector search configuration. See
vectorSearchConfigurationBlock below.
- vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock below.
- vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock below.
- vector_
search_ Evaluationconfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve And Generate Config Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock below.
- vector
Search Property MapConfiguration - Vector search configuration. See
vectorSearchConfigurationBlock below.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationVectorSearchConfiguration, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveAndGenerateConfigRetrievalConfigurationVectorSearchConfigurationArgs
- Number
Of intResults - Number of text chunks to retrieve.
- Number
Of intResults - Number of text chunks to retrieve.
- number_
of_ numberresults - Number of text chunks to retrieve.
- number
Of IntegerResults - Number of text chunks to retrieve.
- number
Of numberResults - Number of text chunks to retrieve.
- number_
of_ intresults - Number of text chunks to retrieve.
- number
Of NumberResults - Number of text chunks to retrieve.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfig, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigArgs
- Knowledge
Base stringId - Identifier of the knowledge base.
- Knowledge
Base EvaluationRetrieval Configuration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
- Knowledge
Base stringId - Identifier of the knowledge base.
- Knowledge
Base EvaluationRetrieval Configuration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
- knowledge_
base_ stringid - Identifier of the knowledge base.
- knowledge_
base_ objectretrieval_ configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
- knowledge
Base StringId - Identifier of the knowledge base.
- knowledge
Base EvaluationRetrieval Configuration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
- knowledge
Base stringId - Identifier of the knowledge base.
- knowledge
Base EvaluationRetrieval Configuration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
- knowledge_
base_ strid - Identifier of the knowledge base.
- knowledge_
base_ Evaluationretrieval_ configuration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
- knowledge
Base StringId - Identifier of the knowledge base.
- knowledge
Base Property MapRetrieval Configuration - Knowledge base retrieval configuration. See
knowledgeBaseRetrievalConfigurationBlock below.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfiguration, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationArgs
- Vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock above.
- Vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock above.
- vector_
search_ objectconfiguration - Vector search configuration. See
vectorSearchConfigurationBlock above.
- vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock above.
- vector
Search EvaluationConfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock above.
- vector_
search_ Evaluationconfiguration Job Inference Config Rag Config Knowledge Base Config Retrieve Config Knowledge Base Retrieval Configuration Vector Search Configuration - Vector search configuration. See
vectorSearchConfigurationBlock above.
- vector
Search Property MapConfiguration - Vector search configuration. See
vectorSearchConfigurationBlock above.
EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationVectorSearchConfiguration, EvaluationJobInferenceConfigRagConfigKnowledgeBaseConfigRetrieveConfigKnowledgeBaseRetrievalConfigurationVectorSearchConfigurationArgs
- Number
Of intResults - Number of text chunks to retrieve.
- Number
Of intResults - Number of text chunks to retrieve.
- number_
of_ numberresults - Number of text chunks to retrieve.
- number
Of IntegerResults - Number of text chunks to retrieve.
- number
Of numberResults - Number of text chunks to retrieve.
- number_
of_ intresults - Number of text chunks to retrieve.
- number
Of NumberResults - Number of text chunks to retrieve.
EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfig, EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigArgs
- Retrieve
And EvaluationGenerate Source Config Job Inference Config Rag Config Precomputed Rag Source Config Retrieve And Generate Source Config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - Retrieve
Source EvaluationConfig Job Inference Config Rag Config Precomputed Rag Source Config Retrieve Source Config - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
- Retrieve
And EvaluationGenerate Source Config Job Inference Config Rag Config Precomputed Rag Source Config Retrieve And Generate Source Config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - Retrieve
Source EvaluationConfig Job Inference Config Rag Config Precomputed Rag Source Config Retrieve Source Config - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
- retrieve_
and_ objectgenerate_ source_ config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - retrieve_
source_ objectconfig - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
- retrieve
And EvaluationGenerate Source Config Job Inference Config Rag Config Precomputed Rag Source Config Retrieve And Generate Source Config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - retrieve
Source EvaluationConfig Job Inference Config Rag Config Precomputed Rag Source Config Retrieve Source Config - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
- retrieve
And EvaluationGenerate Source Config Job Inference Config Rag Config Precomputed Rag Source Config Retrieve And Generate Source Config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - retrieve
Source EvaluationConfig Job Inference Config Rag Config Precomputed Rag Source Config Retrieve Source Config - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
- retrieve_
and_ Evaluationgenerate_ source_ config Job Inference Config Rag Config Precomputed Rag Source Config Retrieve And Generate Source Config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - retrieve_
source_ Evaluationconfig Job Inference Config Rag Config Precomputed Rag Source Config Retrieve Source Config - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
- retrieve
And Property MapGenerate Source Config - Configuration for retrieval with response generation. See
retrieveAndGenerateSourceConfigBlock below. - retrieve
Source Property MapConfig - Configuration for retrieval only. See
retrieveSourceConfigBlock below.
EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig, EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfigArgs
- Rag
Source stringIdentifier - Label that identifies the precomputed RAG source.
- Rag
Source stringIdentifier - Label that identifies the precomputed RAG source.
- rag_
source_ stringidentifier - Label that identifies the precomputed RAG source.
- rag
Source StringIdentifier - Label that identifies the precomputed RAG source.
- rag
Source stringIdentifier - Label that identifies the precomputed RAG source.
- rag_
source_ stridentifier - Label that identifies the precomputed RAG source.
- rag
Source StringIdentifier - Label that identifies the precomputed RAG source.
EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveSourceConfig, EvaluationJobInferenceConfigRagConfigPrecomputedRagSourceConfigRetrieveSourceConfigArgs
- Rag
Source stringIdentifier - Label that identifies the precomputed RAG source.
- Rag
Source stringIdentifier - Label that identifies the precomputed RAG source.
- rag_
source_ stringidentifier - Label that identifies the precomputed RAG source.
- rag
Source StringIdentifier - Label that identifies the precomputed RAG source.
- rag
Source stringIdentifier - Label that identifies the precomputed RAG source.
- rag_
source_ stridentifier - Label that identifies the precomputed RAG source.
- rag
Source StringIdentifier - Label that identifies the precomputed RAG source.
EvaluationJobOutputDataConfig, EvaluationJobOutputDataConfigArgs
- S3Uri string
- S3 URI where the results of the evaluation job are stored.
- S3Uri string
- S3 URI where the results of the evaluation job are stored.
- s3_
uri string - S3 URI where the results of the evaluation job are stored.
- s3Uri String
- S3 URI where the results of the evaluation job are stored.
- s3Uri string
- S3 URI where the results of the evaluation job are stored.
- s3_
uri str - S3 URI where the results of the evaluation job are stored.
- s3Uri String
- S3 URI where the results of the evaluation job are stored.
EvaluationJobTimeouts, EvaluationJobTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Import
Identity Schema
Required
jobArn(String) ARN of the evaluation job.
Using pulumi import, import Bedrock Evaluation Job using the jobArn. For example:
$ pulumi import aws:bedrock/evaluationJob:EvaluationJob example arn:aws:bedrock:us-west-2:123456789012:evaluation-job/abcdefgh1234
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, Aug 7, 2026 by Pulumi