GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.fromMap constructor

GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.fromMap(Map<String, dynamic> map) {
  return GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig(
    leafNodeEmbeddingCount: pulumi.Input.fromValue((map['leafNodeEmbeddingCount'] as num).toInt()),
    leafNodesToSearchPercent: pulumi.Input.fromValue((map['leafNodesToSearchPercent'] as num).toInt()),
  );
}