SpeakerLabelingConfigurationProperty Struct
Enables or disables speaker labeling.
Speaker labeling, when enabled will assign a number to each speaker, and indicate which speaker is talking in each portion of the transcript. This appears in the response as "spk_0" for the first speaker, "spk_1" for the second, and so on for up to 30 speakers.
| 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 speakerLabelingConfigurationProperty: bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty = {
state: 'state',
};
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
speaker_labeling_configuration_property = bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
state="state"
)
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.*;
SpeakerLabelingConfigurationProperty speakerLabelingConfigurationProperty = SpeakerLabelingConfigurationProperty.builder()
.state("state")
.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 speakerLabelingConfigurationProperty = new SpeakerLabelingConfigurationProperty {
State = "state"
};
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"
speakerLabelingConfigurationProperty := &SpeakerLabelingConfigurationProperty{
State: jsii.String("state"),
}
Properties
State of speaker labeling, either enabled or disabled.