Interface UploadFileOptions

The UploadFileOptions interface describes the file path for uploading a file to an Assistant and optional metadata.

Hierarchy

  • UploadFileOptions

Properties

Properties

metadata?: Record<string, string>

Optional metadata to attach to the file.

path: string

The (local) path to the file to upload.