I have performed the challenge lab ( Explore Generative AI with the Gemini API in Vertex AI: Challenge Lab ) but the last task is not accepting progress after completing it properly
Anyone has any idea about this, please let me know
Solved! Go to Solution.
Do not change code of gemini-explorer-challenge-v2.0.0.ipynb .
Code is different from earlier version, There is new version from 29th April 25.
Please replace carefully below information. and run code. After running code save notebook. last task will take little time complete. Use check tasks against Tasks, not yellow one on right. it takes more time. Keep learning. All the best. It worked for me after different combinations. If it works for you mark this Post as solution.
----------------------------------------------------------------------
# Task 3.1
replace <<INSERT CORRECT MODEL NAME HERE>> with
gemini-2.0-flash-001
------------------
# Task 3.2
replace INSERT CORRECT CLASSNAME with
FunctionDeclaration
---------------------
# Task 3.3
replace INSERT CORRECT CLASSNAME with
Tool
------------------------------
# Task 3.4
replace INSERT TOOL TO USE with
weather_tool
----------------------------
# Task 4.1
replace <<INSERT CORRECT MODEL NAME HERE>> with
gemini-2.0-flash-001
-------------------------------
# Task 4.2 Generate a video description
replace INPUT CORRECT CLASSNAME with
Part
+++++++++++++++++++++
replace INSERT VIDEO URI with
gs://github-repo/img/gemini/multimodality_usecases_overview/mediterraneansea.mp4
+++++++++++++++++++++++
replace INSERT CORRECT METHOD NAME with
generate_content_stream
-----------------------------
There is no problem with lab or config. Lab is recently updated . old YouTube scripts won't work. you need to use knowledge from other labs in this course to complete challenge lab.
All the best
Everything I have done with my knowledge a got solution on 3rd attempt but it's not taking as complete in progress in the last task, and showing 60% completed
Do not change code of gemini-explorer-challenge-v2.0.0.ipynb .
Code is different from earlier version, There is new version from 29th April 25.
Please replace carefully below information. and run code. After running code save notebook. last task will take little time complete. Use check tasks against Tasks, not yellow one on right. it takes more time. Keep learning. All the best. It worked for me after different combinations. If it works for you mark this Post as solution.
----------------------------------------------------------------------
# Task 3.1
replace <<INSERT CORRECT MODEL NAME HERE>> with
gemini-2.0-flash-001
------------------
# Task 3.2
replace INSERT CORRECT CLASSNAME with
FunctionDeclaration
---------------------
# Task 3.3
replace INSERT CORRECT CLASSNAME with
Tool
------------------------------
# Task 3.4
replace INSERT TOOL TO USE with
weather_tool
----------------------------
# Task 4.1
replace <<INSERT CORRECT MODEL NAME HERE>> with
gemini-2.0-flash-001
-------------------------------
# Task 4.2 Generate a video description
replace INPUT CORRECT CLASSNAME with
Part
+++++++++++++++++++++
replace INSERT VIDEO URI with
gs://github-repo/img/gemini/multimodality_usecases_overview/mediterraneansea.mp4
+++++++++++++++++++++++
replace INSERT CORRECT METHOD NAME with
generate_content_stream
-----------------------------
Thanks @RAOKS. Finally, it's done in 5th attempt
generate_content_stream this was my mistake, one word
As @RAOKS Mentioned above. the lab got updated recently. You need to complete the lab by applying your skills or Read the instructions carefully and execute the solutions.
User | Count |
---|---|
25 | |
15 | |
5 | |
2 | |
1 |