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.

Hey @JesusS, to be clear, when do you get the 404? When you run that code snippet below? Or somewhere in AI Studio?
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 ![]()
Kind regards,
Michel
You must import the Google generative ai packages via pip….
pip install google-generativeai
Type that in your console inside of your project environment folder…. You should be all set