EvaluationPrecomputedRagSourceConfig
A summary of a RAG source used for a Knowledge Base evaluation job where you provide your own inference response data.
Inheritors
Types
A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.
A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.
Functions
Casts this EvaluationPrecomputedRagSourceConfig as a RetrieveAndGenerateSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRetrieveAndGenerateSourceConfig value. Throws an exception if the EvaluationPrecomputedRagSourceConfig is not a RetrieveAndGenerateSourceConfig.
Casts this EvaluationPrecomputedRagSourceConfig as a RetrieveAndGenerateSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRetrieveAndGenerateSourceConfig value. Returns null if the EvaluationPrecomputedRagSourceConfig is not a RetrieveAndGenerateSourceConfig.
Casts this EvaluationPrecomputedRagSourceConfig as a RetrieveSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRetrieveSourceConfig value. Throws an exception if the EvaluationPrecomputedRagSourceConfig is not a RetrieveSourceConfig.
Casts this EvaluationPrecomputedRagSourceConfig as a RetrieveSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRetrieveSourceConfig value. Returns null if the EvaluationPrecomputedRagSourceConfig is not a RetrieveSourceConfig.