Closed sdeoras closed 9 months ago
This is not a bug. I am just wondering if PDF buffer can be passed?
part := genai.Blob{ MIMEType: "application/pdf", Data: pdfBytes, }
When trying to do so, I get following error:
googleapi: Error 400: Request contains an invalid argument.
Thanks for your help
No, the "gemini-pro" model accepts only text, and the "gemini-pro-vision" model accepts only text and images.
This is not a bug. I am just wondering if PDF buffer can be passed?
When trying to do so, I get following error:
Thanks for your help