Issue: Explore Generative AI with the Gemini API in Vertex AI: Challenge Lab

Explore Generative AI with the Gemini API in Vertex AI: Challenge Lab

This module is having an issue (Jupyter notebook notebook)

I spent nearly 30 credits and over 3 hours trying to complete this lab, only for it to fail due to issues on your end. This has been a complete waste of my time and resources, how is this being allowed to go live without proper validation?

In task 4: describe video

Error:
image.png
** I honestly don’t understand how these notebooks are being deployed without proper validation checks in place.**

image.png
print(“\n-------Response--------”)

for response in responses: → wrong
print(response.text, end=“”) → wrong

correct command to print output is:
print(responses.text)

Since the issue originated from the notebook itself, how can I recover the credits I lost during this lab?

Issue got resolved by myself.

The issue in Task 4 was never clearly mentioned — they were expecting a streaming output using models.generate_content_stream, but I was using models.generate_content, which led to the error. This critical detail should have been documented to avoid confusion

Thanks,
Jai