Skip to content

AnalyzeDocumentResponse

Source code in docs_src/capo_textract/types/analyze_document_response.py
class AnalyzeDocumentResponse(TypedDict, closed=True):
    document_metadata: NotRequired[
        "capo_textract.types.document_metadata.DocumentMetadata"
    ]
    """<p>Metadata about the analyzed document. An example is the number of pages.</p>"""
    blocks: NotRequired["capo_textract.types.block_list.BlockList"]
    """<p>The items that are detected and analyzed by <code>AnalyzeDocument</code>.</p>"""
    human_loop_activation_output: NotRequired[
        "capo_textract.types.human_loop_activation_output.HumanLoopActivationOutput"
    ]
    """<p>Shows the results of the human in the loop evaluation.</p>"""
    analyze_document_model_version: NotRequired["capo_textract.types.string.String"]
    """<p>The version of the model used to analyze the document.</p>"""

analyze_document_model_version instance-attribute

analyze_document_model_version: NotRequired[String]

The version of the model used to analyze the document.

blocks instance-attribute

blocks: NotRequired[BlockList]

The items that are detected and analyzed by AnalyzeDocument.

document_metadata instance-attribute

document_metadata: NotRequired[DocumentMetadata]

Metadata about the analyzed document. An example is the number of pages.

human_loop_activation_output instance-attribute

human_loop_activation_output: NotRequired[HumanLoopActivationOutput]

Shows the results of the human in the loop evaluation.