gemini_upload_file: Upload a File to Gemini API

View source: R/api_gemini.R

gemini_upload_fileR Documentation

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)

Arguments

.file_path

The local file path of the file to upload.

Value

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


tidyllm documentation built on Aug. 22, 2025, 5:21 p.m.