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 feature request: I would like to ask for Python 3.8 support. ### What problem are you trying to solve with this feature? I develop Amazon Alexa...

type:feature request
status:triaged
component:python sdk

### Description of the feature request: Hey at the moment its just possible to tune a model once what makes the model not really dynamicly. It were be great to...

type:feature request
status:triaged
component:python sdk

### Description of the bug: - python : 3.11.5 - jupyter_server : 2.10.0 While running this python file in my local jupyter server, this error occurred. ```python import google.generativeai as...

type:bug
component:python sdk

### Description of the bug: See #170 - the following exception has been observed by multiple developers: ``` ValueError: The response.text quick accessor only works for simple (single-Part) text responses....

type:bug
status:triaged
component:python sdk

### Description of the bug: I got a ```StopCandidateException``` error while running a simple "not harmful" prompt ## Tech used: - LangChain ```python from langchain_google_genai import ChatGoogleGenerativeAI ``` - Chat...

type:bug
component:python sdk

Palm has been working pretty well until I randomly started running into this error: filters=[{'reason': }], top_p=0.95, top_k=40). On the PaLM documentation it says blocked reason other 2 is an...

type:bug
status:triaged
component:python sdk

### Description of the bug: I am facing this error since last 2 weeks It says the rate limit has exceeded, but I did not request to GEMINI API more...

type:bug
status:triaged
component:other

### Description of the bug: I've been seeing this message for OVER A DAY now. Why is there a limit of requests per MINUTE? ### Actual vs expected behavior: _No...

type:bug
component:python sdk

### Description of the feature request: When sending `FunctionResponse` in a multi-turn messages array, I have to wrap it in `glm.Part` manually: ``` s = Struct() s.update({'result': result}) function_response =...

type:feature request
status:triaged
component:python sdk

### Description of the bug: Calling `generate_content` on a Gemini Pro Vision model returns an error when it receives a PNG image saying `KeyError: 'RGBA'` which causes another execption saying...

type:bug
component:python sdk