GoogleCloudPlatform / generative-ai

Sample code and notebooks for Generative AI on Google Cloud, with Gemini on Vertex AI
https://cloud.google.com/vertex-ai/docs/generative-ai/learn/overview
Apache License 2.0
7.13k stars 1.92k forks source link

[Bug]: Task 3 and Task 5 in gemini explorer certificate can't pass due to missing function #529

Closed longchass closed 6 months ago

longchass commented 6 months ago

File Name

generative-ai/gemini/function-calling/intro_function_calling.ipynb

What happened?

Task 5 and Task 3 in cloud skill boost check can't be passed due to no according function available.

https://www.cloudskillsboost.google/course_templates/959/labs/461316

Need: Weather function

Chat function for retail user

Happy to add the relevant code but I have no idea what the function name should be to pass the test.

Relevant log output

No response

Code of Conduct

koverholt commented 6 months ago

Thanks for the bug report. That Cloud Skills Boost content was built on top of the Gemini Function Calling intro notebook, which I recently reworked at https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/function-calling/intro_function_calling.ipynb.

At the moment, the Cloud Skills Boost link is not working since that course is being updated for the rewrite. In the meantime, can you confirm that the intro_function_calling.ipynb notebook works for you? This will ensure that it works as expected when the updated Cloud Skills Boost course comes back online. Thanks!

longchass commented 6 months ago

Hi @koverholt, yes, it's working for me and Task 1,2,4 were working and were able to check off with the course content.

Thank you, Long.

koverholt commented 6 months ago

Great, thanks for letting us know!