generative-ai-python icon indicating copy to clipboard operation
generative-ai-python copied to clipboard

The Gemini API Python SDK enables developers to use Google's state-of-the-art generative AI models to build AI-powered features and applications.

Results 156 generative-ai-python issues
Sort by recently updated
recently updated
newest added

### Description of the bug: We want to override the standard google uri part of the model endpoint. Although some parameters e.g., api endpoint (host) can be overridden the uri...

type:feature request
status:triaged
component:python sdk

### Description of the bug: Here is the code snippet that sometimes falls with the ValueError exception despite the fact that I disabled all the safety settings: genai.configure(api_key=self.api_key) model =...

type:bug
status:triaged
component:python sdk

status:awaiting review
component:python sdk

_This issue was automatically created by [Allstar](https://github.com/ossf/allstar/)._ **Security Policy Violation** Security policy not enabled. A SECURITY.md file can give users information about what constitutes a vulnerability and how to report...

allstar

_This issue was automatically created by [Allstar](https://github.com/ossf/allstar/)._ **Security Policy Violation** Found 1 outside collaborators with admin access. This policy requires users with this access to be members of the organisation....

allstar

status:awaiting review
component:python sdk

**Traceback (most recent call last): File "", line 1, in File "/home/asahi/Проекты/Python/gemini/gemini/__init__.py", line 5, in main run() File "/home/asahi/Проекты/Python/gemini/gemini/main.py", line 81, in run process_directory(SRC, DST) File "/home/asahi/Проекты/Python/gemini/gemini/main.py", line 73, in...

type:bug
status:triaged
component:python sdk

### Description of the bug: I believe this is related to [https://github.com/google/generative-ai-go/issues/97](https://github.com/google/generative-ai-go/issues/url) ### Actual vs expected behavior: As far as I remember, it worked earlier this week. I tried all...

type:bug
status:awaiting user response
component:python sdk

### Description of the feature request: To support mypy type checking, please add support for mypy stubs library. Example error message: ```python # File contents: from google.generativeai.types.safety_types import HarmBlockThreshold, HarmCategory...

type:feature request
status:triaged
component:python sdk

### Description of the feature request: Hi, I'm trying to get an API key for Gemini-1.5 pro, but I get redirected to a site stating which countries it is available...

type:feature request
status:triaged
component:other