SdkUnknown
Inherited functions
Casts this RagConfig as a KnowledgeBaseConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.KnowledgeBaseConfig value. Throws an exception if the RagConfig is not a KnowledgeBaseConfig.
Casts this RagConfig as a KnowledgeBaseConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.KnowledgeBaseConfig value. Returns null if the RagConfig is not a KnowledgeBaseConfig.
Casts this RagConfig as a PrecomputedRagSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRagSourceConfig value. Throws an exception if the RagConfig is not a PrecomputedRagSourceConfig.
Casts this RagConfig as a PrecomputedRagSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRagSourceConfig value. Returns null if the RagConfig is not a PrecomputedRagSourceConfig.