Class: Aws::Bedrock::Types::EvaluationPrecomputedRagSourceConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::EvaluationPrecomputedRagSourceConfig
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
EvaluationPrecomputedRagSourceConfig is a union - when making an API calls you must set exactly one of the members.
EvaluationPrecomputedRagSourceConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationPrecomputedRagSourceConfig corresponding to the set member.
A summary of a RAG source used for a Knowledge Base evaluation job where you provide your own inference response data.
Direct Known Subclasses
RetrieveAndGenerateSourceConfig, RetrieveSourceConfig, Unknown
Defined Under Namespace
Classes: RetrieveAndGenerateSourceConfig, RetrieveSourceConfig, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retrieve_and_generate_source_config ⇒ Types::EvaluationPrecomputedRetrieveAndGenerateSourceConfig
A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.
-
#retrieve_source_config ⇒ Types::EvaluationPrecomputedRetrieveSourceConfig
A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#retrieve_and_generate_source_config ⇒ Types::EvaluationPrecomputedRetrieveAndGenerateSourceConfig
A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.
4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 4508 class EvaluationPrecomputedRagSourceConfig < Struct.new( :retrieve_source_config, :retrieve_and_generate_source_config, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RetrieveSourceConfig < EvaluationPrecomputedRagSourceConfig; end class RetrieveAndGenerateSourceConfig < EvaluationPrecomputedRagSourceConfig; end class Unknown < EvaluationPrecomputedRagSourceConfig; end end |
#retrieve_source_config ⇒ Types::EvaluationPrecomputedRetrieveSourceConfig
A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.
4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 4508 class EvaluationPrecomputedRagSourceConfig < Struct.new( :retrieve_source_config, :retrieve_and_generate_source_config, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RetrieveSourceConfig < EvaluationPrecomputedRagSourceConfig; end class RetrieveAndGenerateSourceConfig < EvaluationPrecomputedRagSourceConfig; end class Unknown < EvaluationPrecomputedRagSourceConfig; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
4508 4509 4510 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 4508 def unknown @unknown end |