Skip to content

DetectToxicContentResponse

Source code in docs_src/capo_comprehend/types/detect_toxic_content_response.py
class DetectToxicContentResponse(TypedDict, closed=True):
    result_list: NotRequired[
        "capo_comprehend.types.list_of_toxic_labels.ListOfToxicLabels"
    ]
    """<p>Results of the content moderation analysis. Each entry in the results list contains a list of toxic content types identified in the text, along with a confidence score for each content type. The results list also includes a toxicity score for each entry in the results list. </p>"""

result_list instance-attribute

result_list: NotRequired[ListOfToxicLabels]

Results of the content moderation analysis. Each entry in the results list contains a list of toxic content types identified in the text, along with a confidence score for each content type. The results list also includes a toxicity score for each entry in the results list.