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 bug: I was trying to add hidden context to gemini live audio to give it instructions during audio conversations that are hidden from the users (not...

type:feature request
status:triaged
component:api

Generates text one token at a time. At each step, it requests many (num_samples) candidates for the next single token. Estimates the probability of each potential next token based on...

type:feature request
status:awaiting review
status:triaged
component:python sdk
p3

### Description of the feature request: Add the `min_p` sampler as an option in `generation_config`. See https://arxiv.org/abs/2407.01082 ### What problem are you trying to solve with this feature? This sampler...

type:feature request
status:triaged
component:api

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

Added `asyncio` methods for all the file methods. However, how should we test these `asyncio` methods?

type:feature request
status:awaiting review
status:triaged
component:python sdk
p3

Add an "always" alias.

type:feature request
status:awaiting review
status:triaged
component:python sdk
p3

## Description of the change Publishing the Python API docs on GitHub page so that the content is rendered in an easily navigable way. ## Motivation Issue #590: Publish Python...

type:feature request
status:awaiting review
status:triaged
component:python sdk
p3

## Description of the change This change implements proper async function handling in the `GenerativeModel` class by modifying the `CallableFunctionDeclaration` and `FunctionLibrary` classes. The implementation adds support for detecting and...

type:feature request
status:awaiting review
status:triaged
component:python sdk
p3

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

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