GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.fromMap constructor
GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.fromMap(
- 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()),
);
}