Skip to content

DocumentContentDict

Dictionary Type

DocumentContentDict

Bases: TypedDict

Dictionary form of DocumentContent.

Attributes

custom instance-attribute

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: Required[str]

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

s3 instance-attribute
s3: S3Content | S3ContentDict | None

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