-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Image/File Viewing Support #9
Comments
Relevant example docs: This method was just introduced to the Google Generative AI npm package recently, so was not possible before. |
This commit adds file viewing support. However the file is not uploaded directly and is instead made into a string. This issue will stay open until Image/Files are uploaded properly |
When this feature is added to the GoogleGenerativeAI package work on this will begin. Update: Due to there being no definitive date when the feature will come to the API the update will most likely include downloading all of the users files locally and uploading them to the FileAPI. For history - Function modification needed to fetch mime type from file and upload it, and pass an array of file ids to the handleGeminiResponse function. Additional notes: |
📂 What category is this feature in?
AI
📝 Description of Feature
Allow support for images/files to be passed to model along with text.
This is possible because of Googles Gemini Pro 1.5 Model
This update should add support to unlock all of Gemini 1.5s Multimodal capabilities:
The text was updated successfully, but these errors were encountered: