generative-ai-python
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.
### 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...
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...
### 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...
Added `asyncio` methods for all the file methods. However, how should we test these `asyncio` methods?
Add an "always" alias.
## 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...
## 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...