Learn R Programming

tidyllm (version 0.3.4)

gemini_upload_file: Upload a File to Gemini API

Description

Uploads a file to the Gemini API and returns its metadata as a tibble.

Usage

gemini_upload_file(.file_path)

Value

A tibble containing metadata about the uploaded file, including its name, URI, and MIME type.

Arguments

.file_path

The local file path of the file to upload.