Updated quickstarts/Tuning.ipynb to use new google-genai SDK (#446)
This pull request includes a small change to the quickstarts/file-api/requirements.txt and quickstarts/Tuning.ipynb files. The change updates a dependency by replacing google-generativeai with google-genai to reflect the correct package name, and modifies all the subsequent code cells in the notebook to use the latest SDK.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@Giom-V I have made updates to this notebook. Please let me know if any changes are needed.
@andycandy @Giom-V I just updated the notebook, lmk if there's anything else I should be doing
Thanks so much for your work on this, @sbeeredd04! There’s just a bit of code cleanup we might need to address later. Also, since part of the code is currently using deprecated elements, it might be better to hold off on merging this until the updated functionality becomes available in the google-genai package. That way, you can implement the full upgrade in one go, keeping everything consistent instead of mixing updated and outdated parts.
Okay, that sounds good. Do you have any other suggestions that I could work on or need help with?
This has to be closed as #804 is supposed to be removing the Tuning notebook and replacing it with a placeholder.
@sbeeredd04 Sorry that the work you did could not make it. We recently decided to stop supporting tuning with the Gemini API and only with Vertex.