upload File
Uploads a file to the Gemini API.
Return
The uploaded file wrapped as a GeminiFile.
Parameters
file
The file to upload.
mime Type
The MIME type of the file.
display Name
The display name of the file.
Uploads a file to the Gemini API.
The uploaded file wrapped as a GeminiFile.
The file to upload.
The MIME type of the file.
The display name of the file.