Class: Aws::Bedrock::Types::EvaluationInferenceConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

Note:

EvaluationInferenceConfig is a union - when making an API calls you must set exactly one of the members.

Note:

EvaluationInferenceConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationInferenceConfig corresponding to the set member.

The configuration details of the inference model for an evaluation job.

For automated model evaluation jobs, only a single model is supported.

For human-based model evaluation jobs, your annotator can compare the responses for up to two different models.

Direct Known Subclasses

Models, RagConfigs, Unknown

Defined Under Namespace

Classes: Models, RagConfigs, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#modelsArray<Types::EvaluationModelConfig>

Specifies the inference models.

Returns:



1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
# File 'lib/aws-sdk-bedrock/types.rb', line 1474

class EvaluationInferenceConfig < Struct.new(
  :models,
  :rag_configs,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Models < EvaluationInferenceConfig; end
  class RagConfigs < EvaluationInferenceConfig; end
  class Unknown < EvaluationInferenceConfig; end
end

#rag_configsArray<Types::RAGConfig>

Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.

Returns:



1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
# File 'lib/aws-sdk-bedrock/types.rb', line 1474

class EvaluationInferenceConfig < Struct.new(
  :models,
  :rag_configs,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Models < EvaluationInferenceConfig; end
  class RagConfigs < EvaluationInferenceConfig; end
  class Unknown < EvaluationInferenceConfig; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1474
1475
1476
# File 'lib/aws-sdk-bedrock/types.rb', line 1474

def unknown
  @unknown
end