asRetrieveConfig
Casts this KnowledgeBaseConfig as a RetrieveConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.RetrieveConfig value. Throws an exception if the KnowledgeBaseConfig is not a RetrieveConfig.
Casts this KnowledgeBaseConfig as a RetrieveConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.RetrieveConfig value. Throws an exception if the KnowledgeBaseConfig is not a RetrieveConfig.