Skip to content

DocumentLabel

Source code in docs_src/capo_comprehend/types/document_label.py
class DocumentLabel(TypedDict, closed=True):
    name: NotRequired["capo_comprehend.types.string.String"]
    """<p>The name of the label.</p>"""
    score: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The confidence score that Amazon Comprehend has this label correctly attributed.</p>"""
    page: NotRequired["capo_comprehend.types.integer.Integer"]
    """<p>Page number where the label occurs. 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 label.

page instance-attribute

page: NotRequired[Integer]

Page number where the label occurs. 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 label correctly attributed.