Class: Aws::Bedrock::Types::EvaluationInferenceConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::EvaluationInferenceConfig
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrock/types.rb
Overview
EvaluationInferenceConfig is a union - when making an API calls you must set exactly one of the members.
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
Defined Under Namespace
Classes: Models, RagConfigs, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#models ⇒ Array<Types::EvaluationModelConfig>
Specifies the inference models.
-
#rag_configs ⇒ Array<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.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#models ⇒ Array<Types::EvaluationModelConfig>
Specifies the inference models.
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_configs ⇒ Array<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.
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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1474 1475 1476 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1474 def unknown @unknown end |