Skip to content

DocumentClass

Source code in docs_src/capo_comprehend/types/document_class.py
class DocumentClass(TypedDict, closed=True):
    name: NotRequired["capo_comprehend.types.string.String"]
    """<p>The name of the class.</p>"""
    score: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The confidence score that Amazon Comprehend has this class correctly attributed.</p>"""
    page: NotRequired["capo_comprehend.types.integer.Integer"]
    """<p>Page number in the input document. This field is present in the response only if your request includes the <code>Byte</code> parameter. </p>"""

name instance-attribute

name: NotRequired[String]

The name of the class.

page instance-attribute

page: NotRequired[Integer]

Page number in the input document. This field is present in the response only if your request includes the Byte parameter.

score instance-attribute

score: NotRequired[Float]

The confidence score that Amazon Comprehend has this class correctly attributed.