Skip to content

FileSourceDict

Dictionary Type

FileSourceDict

Bases: TypedDict

Dictionary form of FileSource.

Attributes

byte_content instance-attribute
byte_content: ByteContentFile | ByteContentFileDict | None

The data and the text of the attached files.

s3_location instance-attribute
s3_location: S3ObjectFile | S3ObjectFileDict | None

The s3 location of the files to attach.

source_type instance-attribute
source_type: Required[str]

The source type of the files to attach.