FileUpload

class FileUpload(val file: FileSource, val purpose: Purpose)

Request to upload a file.

documentation

Constructors

Link copied to clipboard
constructor(file: FileSource, purpose: Purpose)

Properties

Link copied to clipboard

The JSON Lines file to be uploaded.

Link copied to clipboard

The intended purpose of the uploaded documents.