-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Description
🚀 The feature
Currently the llms/gemini.py
is migrated to the new google-genai
SDK but the embedchain
, embedder
and llm
still have dependency on the old deprecated google-generativeai
SDK.
import google.generativeai as genai |
import google.generativeai as genai |
We should update our codebase to use the new SDK throughout.
Motivation, pitch
With the release of Gemini 2.0, the google-generativeai
Python SDK has been deprecated. Google now recommends migrating to the new unified python-genai
SDK.
I can make a PR for this if it sounds good.
Metadata
Metadata
Assignees
Labels
No labels