From 1590046300a0d8c5e32bf5b6e89d00407daa0dfe Mon Sep 17 00:00:00 2001 From: TangledPuzzle <132536190+tangledpuzzle@users.noreply.github.com> Date: Wed, 16 Oct 2024 22:22:57 +0300 Subject: [PATCH] Update files.go --- genai/files.go | 1 + 1 file changed, 1 insertion(+) diff --git a/genai/files.go b/genai/files.go index 7fe57db..98dbd68 100644 --- a/genai/files.go +++ b/genai/files.go @@ -54,6 +54,7 @@ type UploadFileOptions struct { // To generate your own unique names, consider a cryptographic hash algorithm like SHA-1. // The string "files/" is prepended to the name if it does not contain a '/'. // +// // Use the returned file's URI field with a [FileData] Part to use it for generation. // // It is an error to upload a file that already exists.