Skip to content

File data

FileData

Bases: BaseModel

Represents data from a file.

Attributes:

Name Type Description
file_name str

The name of the file.

data bytes

The data of the file in bytes. You can also pass in a base64 string, which will be decoded to bytes.