-
Notifications
You must be signed in to change notification settings - Fork 183
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
Error in accessing TunedGenerativeModel in Android #111
Comments
Hi @kushalbusiness12 could you try using "tunedModels/tuned-test-model-g8tv0uyp9i6i" as the name of the model? Let me know if that's the issue. I'll be looking at whether this is correctly documented on our end. Thanks! |
@rlazo I tried using "tunedModels/tuned-test-model-g8tv0uyp9i6i" But I am facing permission issue : You do not have permission to |
Could you try setting the permissions for "EVERYONE" to "READER" for the model https://ai.google.dev/api/rest/v1beta/corpora.permissions#role ? |
@rlazo I am currently using Google Ai Studio Tuned Model. I don't see any option to edit permissions in Google AI studio Console. Can you help with this? |
Hello Team, I am also facing the same issue. Please let me know if you find any issue. |
I am also facing same issue. |
Hi Team, facing the same issue. Please help. |
Hi, I solved the same issue in my Flutter application. Sharing for your reference, hope you can draw out similarities and incorporate the same in Android natively. |
Im developing an Android chat app using a custom-tuned model from Gemini AI. However, I'm stuck with an error (see screenshot below) Error : models/tuned-test-model-g8tvOuyp9i6i is not found for API version v1 . when trying to integrate the model into my code. Any insights on resolving this issue would be greatly appreciated!
Android code for reference
val generativeModel = GenerativeModel(
modelName = "tuned-test-model-g8tv0uyp9i6i",
apiKey = BuildConfig.apiKey,
generationConfig = config
)
The text was updated successfully, but these errors were encountered: