Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add link to migration guide #438

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ This cookbook provides a structured learning path for using the Gemini API, focu
**For comprehensive API documentation, visit [ai.google.dev](https://ai.google.dev/gemini-api/docs).**
<br><br>

## Important: Migration

There are currently two different python SDKs for the Gemini API.
This repository is in the process of converting from the old one (`google-generativeai`) to
the new one (`google-genai`). See the
[Migration guide](https://ai.google.dev/gemini-api/docs/migrate) for details.

Prefer the `google-genai` for any new code going forward.
<br><br>

## Navigating the Cookbook

This cookbook is organized into two main categories:
Expand Down Expand Up @@ -91,4 +101,4 @@ For enterprise developers, the Gemini API is also available on Google Cloud Vert

Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Thank you for developing with the Gemini API! We’re excited to see what you create.
Thank you for developing with the Gemini API! We’re excited to see what you create.