Releases: google-gemini/deprecated-generative-ai-python
Releases · google-gemini/deprecated-generative-ai-python
v0.2.2
- Handle maximum batch size for
embed_text
. - Restore
types.ModelNameOptions
. - Update tuning to handle more dataset types (json, pandas, urls, google-sheets).
- Expose
count_text_tokens
- Expose operations management.
- Allow users to pass custom
metadata
(HTML headers). - Add dataclass prettyprinting.
v0.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 inv0.3.3
.
- replace generativelanguage_v1beta3 with generativelanguage
v0.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.
v0.1.0
- First real release.
- Support for text generation, chat and embeddings.
First release, rc2.
v0.1.0rc2 Test chat citations.
First release, rc1.
First commit: Push everyone's code. Co-authored-by: Mark McDonald <[email protected]> Co-authored-by: Shilpa Kancharla <[email protected]> Co-authored-by: Petchean Ang <[email protected]>