asKnowledgeBaseConfigOrNull
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.