Skip to content

KnowledgeBaseDocument

Source code in docs_src/capo_bedrock_agent/types/knowledge_base_document.py
class KnowledgeBaseDocument(TypedDict, closed=True):
    metadata: NotRequired["capo_bedrock_agent.types.document_metadata.DocumentMetadata"]
    """<p>Contains the metadata to associate with the document.</p>"""
    content: "capo_bedrock_agent.types.document_content.DocumentContent"
    """<p>Contains the content of the document.</p>"""

content instance-attribute

content: DocumentContent

Contains the content of the document.

metadata instance-attribute

metadata: NotRequired[DocumentMetadata]

Contains the metadata to associate with the document.