Google-generativeai

Latest version: v0.8.2

Safety actively analyzes 665719 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.2.1

- Bugfix: Add missing enum names to `saftey_types.py`
- Update to `google.ai.generativelanguage` v0.3.3
- replace generativelanguage_v1beta3 with generativelanguage
since that's the default in `v0.3.3`.

0.2.0

* Add support for tuning:
* Add get_tuned_model.
* Add list_tuned_models.
* Add create_tuned_model.
* More flexible safety settings:
* Accept strings and ints for enums.
* Accept a {category:threshold} dict in addition to the list of dicts format (`[{"category": category, "threshold": threshold}, ...]`).
* Add support for batched embeddings.

0.1.0

* First real release.
* Support for text generation, chat and embeddings.

0.1.0rc2

0.1.0rc1

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.