asKnowledgeBaseConfig
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. Throws an exception if the RagConfig is not a KnowledgeBaseConfig.