AudioSegmentationConfigurationProperty Struct
Configuration for segmenting audio content during multimodal knowledge base ingestion.
Determines how audio files are divided into chunks for processing.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const audioSegmentationConfigurationProperty: bedrock.CfnKnowledgeBase.AudioSegmentationConfigurationProperty = {
fixedLengthDuration: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
audio_segmentation_configuration_property = bedrock.CfnKnowledgeBase.AudioSegmentationConfigurationProperty(
fixed_length_duration=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
AudioSegmentationConfigurationProperty audioSegmentationConfigurationProperty = AudioSegmentationConfigurationProperty.builder()
.fixedLengthDuration(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var audioSegmentationConfigurationProperty = new AudioSegmentationConfigurationProperty {
FixedLengthDuration = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
audioSegmentationConfigurationProperty := &AudioSegmentationConfigurationProperty{
FixedLengthDuration: jsii.Number(123),
}
Properties
fixedLengthDurationnumberfixed_length_durationint | floatfixedLengthDurationNumberFixedLengthDurationdoubleFixedLengthDuration*float64 required #The duration in seconds for each audio segment.
Audio files will be divided into chunks of this length for processing.