Skip to content

DocumentMetadataDict

Dictionary Type

DocumentMetadataDict

Bases: TypedDict

Dictionary form of DocumentMetadata.

Attributes

access_control_list instance-attribute

Access control list for the document. Used when metadata type is IN_LINE_ATTRIBUTE.

inline_attributes instance-attribute
inline_attributes: Sequence[MetadataAttribute | MetadataAttributeDict] | None

An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.

s3_location instance-attribute
s3_location: CustomS3Location | CustomS3LocationDict | None

The Amazon S3 location of the file containing metadata to associate with the content to ingest.

type instance-attribute
type: Required[str]

The type of the source source from which to add metadata.