Skip to content

Document

Source code in docs_src/capo_wisdom/types/document.py
class Document(TypedDict, closed=True):
    content_reference: "capo_wisdom.types.content_reference.ContentReference"
    """<p>A reference to the content resource.</p>"""
    title: NotRequired["capo_wisdom.types.document_text.DocumentText"]
    """<p>The title of the document.</p>"""
    excerpt: NotRequired["capo_wisdom.types.document_text.DocumentText"]
    """<p>The excerpt from the document.</p>"""

content_reference instance-attribute

content_reference: ContentReference

A reference to the content resource.

excerpt instance-attribute

excerpt: NotRequired[DocumentText]

The excerpt from the document.

title instance-attribute

title: NotRequired[DocumentText]

The title of the document.