From e5f4463028a732474594b50eb6c01595c3d1ad96 Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Mon, 23 Oct 2023 10:41:46 -0700 Subject: [PATCH] Release 0.2.2 (#90) * Revert "Support python 3.12 (#89)" This reverts commit c4199bb0a64f086c23a8e49b8044094addd6ca64. * Create v0.2.2 release * Update RELEASE.md - No 3.12 support. --- RELEASE.md | 12 +++++++++++- google/generativeai/version.py | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 0bc4b5b06..25cd0d6a3 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,13 @@ +## 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` @@ -17,4 +27,4 @@ ## v0.1 -Initial version \ No newline at end of file +Initial version diff --git a/google/generativeai/version.py b/google/generativeai/version.py index 79826e51c..19a571db2 100644 --- a/google/generativeai/version.py +++ b/google/generativeai/version.py @@ -14,4 +14,4 @@ # limitations under the License. from __future__ import annotations -__version__ = "0.2.1" +__version__ = "0.2.2"