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.
4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 |
# File 'lib/aws-sdk-bedrock/types.rb', line 4535 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.
4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 |
# File 'lib/aws-sdk-bedrock/types.rb', line 4535 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
4535 4536 4537 |
# File 'lib/aws-sdk-bedrock/types.rb', line 4535 def unknown @unknown end |