Skip to content

Prediction

Source code in docs_src/capo_textract/types/prediction.py
class Prediction(TypedDict, closed=True):
    value: NotRequired["capo_textract.types.non_empty_string.NonEmptyString"]
    """<p>The predicted value of a detected object.</p>"""
    confidence: NotRequired["capo_textract.types.percent.Percent"]
    """<p>Amazon Textract's confidence in its predicted value.</p>"""

confidence instance-attribute

confidence: NotRequired[Percent]

Amazon Textract's confidence in its predicted value.

value instance-attribute

value: NotRequired[NonEmptyString]

The predicted value of a detected object.