AWSTranscribeToxicityDetectionSettings

Objective-C

@interface AWSTranscribeToxicityDetectionSettings

Swift

class AWSTranscribeToxicityDetectionSettings

Contains ToxicityCategories, which is a required parameter if you want to enable toxicity detection (ToxicityDetection) in your transcription request.

Required parameters: [ToxicityCategories]

  • If you include ToxicityDetection in your transcription request, you must also include ToxicityCategories. The only accepted value for this parameter is ALL.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable toxicityCategories;

    Swift

    var toxicityCategories: [String]? { get set }