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: I am building a simple app. When I try to make the .py to exe using no matter which tool Pyinstaller ,py2exe. Nothing works. It...

type:bug
component:python sdk

## Description of the change Add python 3.8 support. Add tests for python 3.8. All the tests are passing. ## Motivation Some productions (for example, our team) still uses python3.8....

status:awaiting review
component:python sdk

It would be nice to be able to configure the safety settings for chat bison. This would hopefully lessen getting "none" as a response. It would also help with making...

type:feature request
status:triaged
component:python sdk

### Description of the feature request: Hi Any chance of deploying this as a conda library ? ### What problem are you trying to solve with this feature? _No response_...

type:feature request
component:python sdk

We want to limit the reply length of chat responses, but [google.generativeai.chat](https://developers.generativeai.google/api/python/google/generativeai/chat) does not appear to support the `max_output_tokens` parameter. I'm not sure whether this is just not implemented yet,...

type:feature request
status:triaged
component:python sdk

### Description of the bug: I met the error message `google.api_core.exceptions.ServiceUnavailable: 503 The service is currently unavailable.` frequently. Especially when I try to call the API multiple times using a...

type:bug
status:triaged
component:python sdk

### Description of the bug: response_schema parameter is not followed unless system_instruction also details the response_schema for gemini-1.5-pro family of models. This could be intended behavior, but it seems like...

type:bug
status:triaged
component:python sdk

Fixes: https://github.com/google-gemini/generative-ai-python/issues/326

status:awaiting review
component:python sdk

### General Updates 1. **Documentation and Error Messages**: Improved clarity and accuracy in documentation and error messages across multiple files. This includes providing more descriptive error messages and consistent usage...

status:awaiting review
component:python sdk

Needs tests. Fixes: https://github.com/google-gemini/generative-ai-python/issues/335

status:awaiting review
component:python sdk