I’m running the notebook in the course console and I get this error when I run completion = generate_text(prompt)
NotFound: 404 POST http://jupyter-api-proxy.internal.dlai/rev-proxy/google_generative_ai/v1beta2/models/text-bison-001:generateText?%24alt=json%3Benum-encoding%3Dint: Requested entity was not found.
Looks like the course content is not up-to-date, and some of the libraries and tools are being decomissioned.
As a workaround, I’m following the quick-start from gemini api in a Colab notebook and it’s being util.
Pd. Be aware that you may need to tweak a little be the code shown in the video to make it work with the new gemini-ai library.
@lesly.zerna can you please check into this.
Regards
DP
1 Like
Hi asieh_harati!
thank you for reporting this! We’re actually working in updating these notebooks due to the recent updates in the Google LLMs!
While we’re working on this and have it ready (I’ll notify you here! )
Give a check to this Short Course about using Multimodality with Gemini
Happy Learning!