Skip to content

ToxicContent

Source code in docs_src/capo_comprehend/types/toxic_content.py
class ToxicContent(TypedDict, closed=True):
    name: NotRequired["capo_comprehend.types.toxic_content_type.ToxicContentType"]
    """<p>The name of the toxic content type.</p>"""
    score: NotRequired["capo_comprehend.types.float.Float"]
    """<p> Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.</p>"""

name instance-attribute

name: NotRequired[ToxicContentType]

The name of the toxic content type.

score instance-attribute

score: NotRequired[Float]

Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.