Skip to content

DetectToxicContentRequest

Source code in docs_src/capo_comprehend/types/detect_toxic_content_request.py
class DetectToxicContentRequest(TypedDict, closed=True):
    text_segments: "capo_comprehend.types.list_of_text_segments.ListOfTextSegments"
    """<p>A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB.</p>"""
    language_code: "capo_comprehend.types.language_code.LanguageCode"
    """<p>The language of the input text. Currently, English is the only supported language.</p>"""

language_code instance-attribute

language_code: LanguageCode

The language of the input text. Currently, English is the only supported language.

text_segments instance-attribute

text_segments: ListOfTextSegments

A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB.