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
-----------------------------
User | Count |
---|---|
25 | |
15 | |
2 | |
2 | |
1 |