AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration.fromMap constructor

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

Implementation

factory AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration.fromMap(Map<String, dynamic> map) {
  return AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration(
    breakpointPercentileThreshold: pulumi.Input.fromValue((map['breakpointPercentileThreshold'] as num).toInt()),
    bufferSize: pulumi.Input.fromValue((map['bufferSize'] as num).toInt()),
    maxToken: pulumi.Input.fromValue((map['maxToken'] as num).toInt()),
  );
}