Skip to content

OntologyInductionDocumentSummary

Source code in docs_src/capo_context/types/ontology_induction_document_summary.py
class OntologyInductionDocumentSummary(TypedDict, closed=True):
    name: "capo_context.types.ontology_induction_document_name.OntologyInductionDocumentName"
    """<p>The document's name, as uploaded.</p>"""
    size_bytes: NotRequired["int"]
    """<p>The document's size in bytes.</p>"""
    content_type: NotRequired[
        "capo_context.types.ontology_induction_document_content_type.OntologyInductionDocumentContentType"
    ]
    """<p>The document's content type, as declared in the StartOntologyInduction request. Absent only for an induction started before StartOntologyInduction required a content type.</p>"""

content_type instance-attribute

content_type: NotRequired[OntologyInductionDocumentContentType]

The document's content type, as declared in the StartOntologyInduction request. Absent only for an induction started before StartOntologyInduction required a content type.

name instance-attribute

The document's name, as uploaded.

size_bytes instance-attribute

size_bytes: NotRequired[int]

The document's size in bytes.