PermissionDenied: 403 You do not have permission to access tuned model tunedModels/bizchat-ma6fd4f9hh7e.
Welcome to the forum. Access to the tuned model using the API key alone is not sufficient. The documentation describes the requirements here: Fine-tuning with the Gemini API | Google for Developers.
Hope that helps!
Thanks for sharing the document !,
I have created a tuned model but when i implemented the code given in the documentation provided by you which was of printing the existing tuned model, but my tuned model was not present
The model is probably there, you just don’t see it listed. Unless you use OAuth, you can’t even see your own model using the API.
Hope that helps!