Skip to content

DocumentContent

Source code in docs_src/capo_bedrock_agent/types/document_content.py
class DocumentContent(TypedDict, closed=True):
    data_source_type: (
        "capo_bedrock_agent.types.content_data_source_type.ContentDataSourceType"
    )
    """<p>The type of data source that is connected to the knowledge base to which to ingest this document.</p>"""
    custom: NotRequired["capo_bedrock_agent.types.custom_content.CustomContent"]
    """<p>Contains information about the content to ingest into a knowledge base connected to a custom data source.</p>"""
    s3: NotRequired["capo_bedrock_agent.types.s3_content.S3Content"]
    """<p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source</p>"""

custom instance-attribute

custom: NotRequired[CustomContent]

Contains information about the content to ingest into a knowledge base connected to a custom data source.

data_source_type instance-attribute

data_source_type: ContentDataSourceType

The type of data source that is connected to the knowledge base to which to ingest this document.

s3 instance-attribute

s3: NotRequired[S3Content]

Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source