I am encountering an error when attempting to link my fine-tuned model created in Google AI Studio. Can anyone provide assistance in identifying the cause of this issue?

I am currently engaged in a project that utilizes Gemini AI in conjunction with WhatsApp to construct a chatbot. I have conducted research that indicates the feasibility of training the chatbot within the Google AI Studio environment. Subsequent to the completion of the training process, I encounter an error upon attempting to link the fine-tuned model: GoogleGenerativeAIError: [404 not found]. I would be extremely appreciative if someone could provide assistance in identifying the root cause of this issue. Attached is a snippet of the code where the error originates.
Captura de pantalla 2024-05-17 101518

1 Like

Hey @JesusS, to be clear, when do you get the 404? When you run that code snippet below? Or somewhere in AI Studio?

1 Like

Did you solve this issue and if so (and you are willing and able to answer me), what was the solution? As I am having the same dificulty :frowning:

Kind regards,

Michel