Skip to content

Commit

Permalink
add links
Browse files Browse the repository at this point in the history
Change-Id: I992b94277878190aed5270adbb2b65d0f73423e6
  • Loading branch information
MarkDaoust committed Feb 6, 2025
1 parent 9e0ba92 commit 35cd3f0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ The Google AI Python SDK is the easiest way for Python developers to build with
5. For detailed instructions, try the
[Python SDK tutorial](https://ai.google.dev/tutorials/python_quickstart) on [ai.google.dev](https://ai.google.dev).

Important: 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`). The
[Migration guide](https://ai.google.dev/gemini-api/docs/migrate) is attached below.

## Upgrade to the Google Gen AI SDK for Python
## Upgrade to the new Google Gen AI SDK for Python

Until now, the `google-generativeai` SDK package has been the recommended tool
for accessing the Gemini API from Python. While this package gets the job done,
the long incremental development process (starting from the PaLM API in 2023)
made it impossible to implement some important high level features without
significant breakages.

The new SDK package, `google-genai`, is a from-scratch rewrite designed to
The new SDK package, `google-genai` ([github](https://github.com/googleapis/python-genai),
[pypi](https://pypi.org/project/google-genai/)), is a from-scratch rewrite designed to
resolve these problems. Among other things, the new package:

* Is clear about when clients are created, configured, and used (clear
Expand Down

0 comments on commit 35cd3f0

Please sign in to comment.