Skip to content

DetectKeyPhrasesRequest

Source code in docs_src/capo_comprehend/types/detect_key_phrases_request.py
class DetectKeyPhrasesRequest(TypedDict, closed=True):
    text: "capo_comprehend.types.customer_input_string.CustomerInputString"
    """<p>A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.</p>"""
    language_code: "capo_comprehend.types.language_code.LanguageCode"
    """<p>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.</p>"""

language_code instance-attribute

language_code: LanguageCode

The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

text instance-attribute

A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.