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

Move from import google.generativeai as genai to import google as genai #729

Closed
PratikRules opened this issue Feb 9, 2025 · 1 comment
Closed

Comments

@PratikRules
Copy link

Change the default Google library from google-generativeai to google-genai. Also the import statement import google.generativeai as genai should be changed to import google as genai to support new advanced features such as system instructions and grounding with google search.

@lkuligin
Copy link
Collaborator

not sure that's the case, we use Gapic API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants