google/generative-ai-python (google-generativeai)
### [`v0.7.2`](https://togithub.com/google-gemini/generative-ai-python/releases/tag/v0.7.2): - Bugfix
[Compare Source](https://togithub.com/google/generative-ai-python/compare/v0.7.1...v0.7.2)
#### What's Changed
##### Bugfixes
- Fix bug passing single-string safety settings. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/417](https://togithub.com/google-gemini/generative-ai-python/pull/417)
- Fix operator conversion. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/419](https://togithub.com/google-gemini/generative-ai-python/pull/419)
- Fix 'ResourceWarning: unclosed \' by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/422](https://togithub.com/google-gemini/generative-ai-python/pull/422)
- Fix `list_models` by [@rozha](https://togithub.com/rozha) in [https://github.com/google-gemini/generative-ai-python/pull/439](https://togithub.com/google-gemini/generative-ai-python/pull/439)
- Add PngImagePlugin to imports. by [@mbanani](https://togithub.com/mbanani) in [https://github.com/google-gemini/generative-ai-python/pull/438](https://togithub.com/google-gemini/generative-ai-python/pull/438)
- Add webp to mimetypes by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/440](https://togithub.com/google-gemini/generative-ai-python/pull/440)
##### Docs and Samples
- Caching samples by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/399](https://togithub.com/google-gemini/generative-ai-python/pull/399)
- Model list and get samples by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/404](https://togithub.com/google-gemini/generative-ai-python/pull/404)
- System instructions sample by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/407](https://togithub.com/google-gemini/generative-ai-python/pull/407)
- Count tokens samples by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/403](https://togithub.com/google-gemini/generative-ai-python/pull/403)
- fix genai.GenerativeModel argument name in example by [@philippemiron](https://togithub.com/philippemiron) in [https://github.com/google-gemini/generative-ai-python/pull/394](https://togithub.com/google-gemini/generative-ai-python/pull/394)
- Adding text generation samples by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/405](https://togithub.com/google-gemini/generative-ai-python/pull/405)
- Add samples for chat by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/408](https://togithub.com/google-gemini/generative-ai-python/pull/408)
- Rename json_mode.py and create function calling sample by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/406](https://togithub.com/google-gemini/generative-ai-python/pull/406)
- Add tuned_models samples by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/409](https://togithub.com/google-gemini/generative-ai-python/pull/409)
- Add no json schema sample by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/416](https://togithub.com/google-gemini/generative-ai-python/pull/416)
- fix list initialization and redundant parentheses by [@PandasPirate](https://togithub.com/PandasPirate) in [https://github.com/google-gemini/generative-ai-python/pull/412](https://togithub.com/google-gemini/generative-ai-python/pull/412)
- Adding a note about free tier not available in Europe by [@Giom-V](https://togithub.com/Giom-V) in [https://github.com/google-gemini/generative-ai-python/pull/401](https://togithub.com/google-gemini/generative-ai-python/pull/401)
- Update text only prompts by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/420](https://togithub.com/google-gemini/generative-ai-python/pull/420)
- Add cache_from_name and cache_chat by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/413](https://togithub.com/google-gemini/generative-ai-python/pull/413)
- Add create_audio and create_text to `samples/files.py` by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/414](https://togithub.com/google-gemini/generative-ai-python/pull/414)
- Add safety_settings sample by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/415](https://togithub.com/google-gemini/generative-ai-python/pull/415)
- Add REST sample for listing and getting models by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/421](https://togithub.com/google-gemini/generative-ai-python/pull/421)
- Cleanup samples/files.py by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/402](https://togithub.com/google-gemini/generative-ai-python/pull/402)
- format-samples by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/410](https://togithub.com/google-gemini/generative-ai-python/pull/410)
- Add model configuration sample by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/427](https://togithub.com/google-gemini/generative-ai-python/pull/427)
- move SI by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/428](https://togithub.com/google-gemini/generative-ai-python/pull/428)
- No 's' by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/431](https://togithub.com/google-gemini/generative-ai-python/pull/431)
- Fix snippet name. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/432](https://togithub.com/google-gemini/generative-ai-python/pull/432)
- Fix snippet names + reorder. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/435](https://togithub.com/google-gemini/generative-ai-python/pull/435)
- move tuning to tuned_models by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/436](https://togithub.com/google-gemini/generative-ai-python/pull/436)
- Fix typos by [@PandasPirate](https://togithub.com/PandasPirate) in [https://github.com/google-gemini/generative-ai-python/pull/437](https://togithub.com/google-gemini/generative-ai-python/pull/437)
- Update tuned_models.py by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/441](https://togithub.com/google-gemini/generative-ai-python/pull/441)
- Check video status. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/442](https://togithub.com/google-gemini/generative-ai-python/pull/442)
#### New Contributors
- [@philippemiron](https://togithub.com/philippemiron) made their first contribution in [https://github.com/google-gemini/generative-ai-python/pull/394](https://togithub.com/google-gemini/generative-ai-python/pull/394)
- [@Giom-V](https://togithub.com/Giom-V) made their first contribution in [https://github.com/google-gemini/generative-ai-python/pull/401](https://togithub.com/google-gemini/generative-ai-python/pull/401)
- [@rozha](https://togithub.com/rozha) made their first contribution in [https://github.com/google-gemini/generative-ai-python/pull/439](https://togithub.com/google-gemini/generative-ai-python/pull/439)
- [@mbanani](https://togithub.com/mbanani) made their first contribution in [https://github.com/google-gemini/generative-ai-python/pull/438](https://togithub.com/google-gemini/generative-ai-python/pull/438)
**Full Changelog**: https://github.com/google-gemini/generative-ai-python/compare/v0.7.1...v0.7.2
### [`v0.7.1`](https://togithub.com/google-gemini/generative-ai-python/releases/tag/v0.7.1): - Code Execution
[Compare Source](https://togithub.com/google/generative-ai-python/compare/v0.7.0...v0.7.1)
#### What's Changed
- Add code execution by [@shilpakancharla](https://togithub.com/shilpakancharla) in [https://github.com/google-gemini/generative-ai-python/pull/396](https://togithub.com/google-gemini/generative-ai-python/pull/396)
**Full Changelog**: https://github.com/google-gemini/generative-ai-python/compare/v0.7.0...v0.7.1
### [`v0.7.0`](https://togithub.com/google-gemini/generative-ai-python/releases/tag/v0.7.0): - Context caching
[Compare Source](https://togithub.com/google/generative-ai-python/compare/v0.6.0...v0.7.0)
#### What's Changed
For a detailed introduction, check out [the context caching guide](https://ai.google.dev/gemini-api/docs/caching?lang=python) on the site.
##### Features
- Explicit Caching by [@mayureshagashe2105](https://togithub.com/mayureshagashe2105) in [https://github.com/google-gemini/generative-ai-python/pull/355](https://togithub.com/google-gemini/generative-ai-python/pull/355)
- Explicit Caching patch by [@mayureshagashe2105](https://togithub.com/mayureshagashe2105) in [https://github.com/google-gemini/generative-ai-python/pull/377](https://togithub.com/google-gemini/generative-ai-python/pull/377)
##### Bugfixes and small changes
- Delete .github/ISSUE_TEMPLATE directory by [@ryanwilson](https://togithub.com/ryanwilson) in [https://github.com/google-gemini/generative-ai-python/pull/389](https://togithub.com/google-gemini/generative-ai-python/pull/389)
- Update gapic lib to use 0.6.5 and fix tests by [@mayureshagashe2105](https://togithub.com/mayureshagashe2105) in [https://github.com/google-gemini/generative-ai-python/pull/390](https://togithub.com/google-gemini/generative-ai-python/pull/390)
- Accept partial file names by [@mayureshagashe2105](https://togithub.com/mayureshagashe2105) in [https://github.com/google-gemini/generative-ai-python/pull/386](https://togithub.com/google-gemini/generative-ai-python/pull/386)
- Remove duplicate test by [@mayureshagashe2105](https://togithub.com/mayureshagashe2105) in [https://github.com/google-gemini/generative-ai-python/pull/387](https://togithub.com/google-gemini/generative-ai-python/pull/387)
##### Docs
- remove references to pro-vision by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/388](https://togithub.com/google-gemini/generative-ai-python/pull/388)
#### New Contributors
- [@ryanwilson](https://togithub.com/ryanwilson) made their first contribution in [https://github.com/google-gemini/generative-ai-python/pull/389](https://togithub.com/google-gemini/generative-ai-python/pull/389)
**Full Changelog**: https://github.com/google-gemini/generative-ai-python/compare/v0.6.0...v0.7.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==0.6.0
->==0.7.2
Release Notes
google/generative-ai-python (google-generativeai)
### [`v0.7.2`](https://togithub.com/google-gemini/generative-ai-python/releases/tag/v0.7.2): - Bugfix [Compare Source](https://togithub.com/google/generative-ai-python/compare/v0.7.1...v0.7.2) #### What's Changed ##### Bugfixes - Fix bug passing single-string safety settings. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/417](https://togithub.com/google-gemini/generative-ai-python/pull/417) - Fix operator conversion. by [@MarkDaoust](https://togithub.com/MarkDaoust) in [https://github.com/google-gemini/generative-ai-python/pull/419](https://togithub.com/google-gemini/generative-ai-python/pull/419) - Fix 'ResourceWarning: unclosed \Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.