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 203 generative-ai-python issues
Sort by recently updated
recently updated
newest added

## Description of the change Updated markdown to add HTML tags to work inside table cells ## Motivation The details especially for `training_data` was not readable at all. List and...

status:awaiting review
component:python sdk

### Description of the bug: The [Barista Bot](https://aistudio.google.com/app/prompts/barista-bot) on AI studio is designed to output JSON in a format specified in the User prompt. From the prompt: ``` ... Respond...

type:bug
status:triaged
component:support
component:api

### Description of the bug: My code is ``` > if imageext.upper() == ".PNG": > print("Make blank") > rez_img = rez_img.convert("RGBA") > print(rez_img.mode) > resize_img_path = os.path.join(save_path,"rez_" + os.path.basename(img_path)) >...

type:bug
status:triaged
component:api

status:awaiting review
status:triaged
component:python sdk
p3

### Description of the bug: https://github.com/google-gemini/generative-ai-python/blob/4f42118d3d4daf9addc1c18f7d6895f7cd74087d/google/generativeai/answer.py#L269 _No response_ ### Actual vs expected behavior: contents not content as in example? ### Any other information you'd like to share? _No response_

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

### Description of the bug: Both of the following results in an error. ```python model = genai.GenerativeModel( model_name="models/gemini-1.5-pro-001", system_instruction=(...), generation_config={ ..., "seed": 1 } ) ``` ```python model = genai.GenerativeModel(...

type:feature request
component:api

### Description of the bug: I keep seeing this warning: ``` I0000 00:00:1726059537.056136 10152084 check_gcp_environment_no_op.cc:29] ALTS: Platforms other than Linux and Windows are not supported ``` For every api call...

status:triaged
component:python sdk
type:help

### Description of the feature request: Is it possible to have batched inputs with the genai python api? Currently from the documentation I see that [only Vertex AI supports batched...

type:feature request
status:triaged
component:api

### Description of the bug: Can someone help me check this error? I still ran successfully yesterday with the same code File ~/cluster-env/trident_env/lib/python3.10/site-packages/pandas/core/series.py:4630, in Series.apply(self, func, convert_dtype, args, **kwargs) 4520...

type:bug
status:triaged
component:python sdk

### Description of the feature request: model_list should be updated to only list the models that can be used ### What problem are you trying to solve with this feature?...

type:bug
status:triaged
component:api