Flag harmful content using Amazon Comprehend toxicity detection
AWS Machine Learning Blog
NOVEMBER 14, 2023
In her spare time, she enjoys reading, experimenting in the kitchen and exploring new coffee shops. Labels includes a list of toxicity labels with confidence scores, categorized by the type of toxicity. This code receives the same JSON response as the AWS CLI command demonstrated earlier.
Let's personalize your content