RetrieveAndGenerateSourceConfig
A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.
Inherited 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.