Skip to content
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

Add support for File and Folder upload #70

Open
MananGandhi1810 opened this issue Feb 15, 2024 · 8 comments
Open

Add support for File and Folder upload #70

MananGandhi1810 opened this issue Feb 15, 2024 · 8 comments

Comments

@MananGandhi1810
Copy link

Since Google AI Studio has offered functionalities to upload files and folders to the model for context, I request to add support for the same.

@nickf2k
Copy link

nickf2k commented Feb 27, 2024

Hi, anyone work on this?

@wliumelb
Copy link

wliumelb commented Jun 3, 2024

Gemini API has a size limit of 20MB for data.

Currently there is no way to use larger audio or video files in prompts.

@MananGandhi1810 MananGandhi1810 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
@MrCsabaToth
Copy link

Why was this closed as not planned?

@MrCsabaToth MrCsabaToth mentioned this issue Sep 19, 2024
@MananGandhi1810
Copy link
Author

This was negligence from my end, I thought @wliumelb was a maintainer of the repository. Reopening this issue.

@MrCsabaToth
Copy link

There's a ticket #211, without file upload it's impossible to handle videos or audio files

@natebosch
Copy link
Collaborator

Our current recommendation for use cases that need functionality beyond what is provided in this package is to use vertex AI through https://pub.dev/documentation/firebase_vertexai/latest/

@MrCsabaToth
Copy link

Started to move in that direction. Requires quite a refactoring tho.

@gitStanda
Copy link

Our current recommendation for use cases that need functionality beyond what is provided in this package is to use vertex AI through https://pub.dev/documentation/firebase_vertexai/latest/

Thank you for the recommendation. I noticed that Python, Node.js, and Go SDKs already support document/file API functionality. Given Flutter/Dart's significance in the Google ecosystem, is there an estimated timeline for implementing this feature in the Dart SDK directly?

While Firebase Vertex AI is a potential workaround, integrating Firebase into existing non-Firebase projects presents significant refactoring challenges. Many developers would benefit from having this functionality available in the standard Dart SDK, maintaining consistency with other language SDKs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants