Class: AWSCDK::Bedrock::CfnKnowledgeBase::AudioSegmentationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::AudioSegmentationConfigurationProperty
- Defined in:
- bedrock/cfn_knowledge_base.rb
Overview
Configuration for segmenting audio content during multimodal knowledge base ingestion.
Determines how audio files are divided into chunks for processing.
Instance Attribute Summary collapse
-
#fixed_length_duration ⇒ Numeric
readonly
The duration in seconds for each audio segment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fixed_length_duration:) ⇒ AudioSegmentationConfigurationProperty
constructor
A new instance of AudioSegmentationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fixed_length_duration:) ⇒ AudioSegmentationConfigurationProperty
Returns a new instance of AudioSegmentationConfigurationProperty.
699 700 701 702 |
# File 'bedrock/cfn_knowledge_base.rb', line 699 def initialize(fixed_length_duration:) @fixed_length_duration = fixed_length_duration Jsii::Type.check_type(@fixed_length_duration, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "fixedLengthDuration") end |
Instance Attribute Details
#fixed_length_duration ⇒ Numeric (readonly)
The duration in seconds for each audio segment.
Audio files will be divided into chunks of this length for processing.
710 711 712 |
# File 'bedrock/cfn_knowledge_base.rb', line 710 def fixed_length_duration @fixed_length_duration end |
Class Method Details
.jsii_properties ⇒ Object
712 713 714 715 716 |
# File 'bedrock/cfn_knowledge_base.rb', line 712 def self.jsii_properties { :fixed_length_duration => "fixedLengthDuration", } end |
Instance Method Details
#to_jsii ⇒ Object
718 719 720 721 722 723 724 |
# File 'bedrock/cfn_knowledge_base.rb', line 718 def to_jsii result = {} result.merge!({ "fixedLengthDuration" => @fixed_length_duration, }) result.compact end |