From a0ab30a56eb315bf5df11258def1dded5110991c9e6ac9421af65150a8987184 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Wed, 25 Sep 2024 13:05:10 +0000 Subject: [PATCH] Accepting request 1203341 from home:adrianSuSE:branches:science:machinelearning - Update to version 0.6.10 Features * Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result} * Add GoogleSearchRetrieval tool and candidate.grounding_metadata * Add HarmBlockThreshold.OFF * Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY * Add PredictionService (for Imagen) * Add Schema.min_items * Add TunedModels.reader_project_numbers * Add model max_temperature * Add new PromptFeedback and FinishReason entries * Add new PromptFeedback and FinishReason entries for google-gemini/generative-ai-python#476 Documentation * Small fixes * Tag HarmCategories by the model family they're used on. Bug Fixes * Retry and timeout values do not propagate in requests during pagination * Allow Protobuf 5.x OBS-URL: https://build.opensuse.org/request/show/1203341 OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-google-ai-generativelanguage?expand=0&rev=4 --- google-ai-generativelanguage-0.6.6.tar.gz | 3 --- google_ai_generativelanguage-0.6.10.tar.gz | 3 +++ python-google-ai-generativelanguage.changes | 23 +++++++++++++++++++++ python-google-ai-generativelanguage.spec | 12 +++++------ 4 files changed, 32 insertions(+), 9 deletions(-) delete mode 100644 google-ai-generativelanguage-0.6.6.tar.gz create mode 100644 google_ai_generativelanguage-0.6.10.tar.gz diff --git a/google-ai-generativelanguage-0.6.6.tar.gz b/google-ai-generativelanguage-0.6.6.tar.gz deleted file mode 100644 index e100f2b..0000000 --- a/google-ai-generativelanguage-0.6.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1739f035caeeeca5c28f887405eec8690f3372daf79fecf26454a97a4f1733a8 -size 758303 diff --git a/google_ai_generativelanguage-0.6.10.tar.gz b/google_ai_generativelanguage-0.6.10.tar.gz new file mode 100644 index 0000000..3540b92 --- /dev/null +++ b/google_ai_generativelanguage-0.6.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fa642c964d8728006fe7e8771026fc0b599ae0ebeaf83caf550941e8e693455 +size 795200 diff --git a/python-google-ai-generativelanguage.changes b/python-google-ai-generativelanguage.changes index 1194406..ed992f1 100644 --- a/python-google-ai-generativelanguage.changes +++ b/python-google-ai-generativelanguage.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Sep 25 06:46:38 UTC 2024 - Adrian Schröter + +- Update to version 0.6.10 + Features + * Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, + response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result} + * Add GoogleSearchRetrieval tool and candidate.grounding_metadata + * Add HarmBlockThreshold.OFF + * Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY + * Add PredictionService (for Imagen) + * Add Schema.min_items + * Add TunedModels.reader_project_numbers + * Add model max_temperature + * Add new PromptFeedback and FinishReason entries + * Add new PromptFeedback and FinishReason entries for google-gemini/generative-ai-python#476 + Documentation + * Small fixes + * Tag HarmCategories by the model family they're used on. + Bug Fixes + * Retry and timeout values do not propagate in requests during pagination + * Allow Protobuf 5.x + ------------------------------------------------------------------- Wed Sep 4 17:15:45 UTC 2024 - Fergal Mc Carthy diff --git a/python-google-ai-generativelanguage.spec b/python-google-ai-generativelanguage.spec index 7678201..ac12b3a 100644 --- a/python-google-ai-generativelanguage.spec +++ b/python-google-ai-generativelanguage.spec @@ -18,23 +18,23 @@ %{?sle15_python_module_pythons} Name: python-google-ai-generativelanguage -Version: 0.6.6 +Version: 0.6.10 Release: 0 Summary: Google Ai Generativelanguage API client library License: Apache-2.0 -URL: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ai-generativelanguage -Source: https://files.pythonhosted.org/packages/source/g/google-ai-generativelanguage/google-ai-generativelanguage-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: https://github.com/googleapis/google-cloud-python/tree/main/packages/google_ai_generativelanguage +Source: https://files.pythonhosted.org/packages/source/g/google-ai-generativelanguage/google_ai_generativelanguage-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module google-api-core >= 1.34.1} BuildRequires: %{python_module google-auth >= 2.14.1} BuildRequires: %{python_module proto-plus >= 1.22.3} BuildRequires: %{python_module protobuf >= 3.19.5} +BuildRequires: %{python_module pytest-asyncio} # /SECTION BuildRequires: fdupes Requires: python-google-api-core >= 1.34.1 @@ -48,7 +48,7 @@ BuildArch: noarch Google Ai Generativelanguage API client library. %prep -%autosetup -p1 -n google-ai-generativelanguage-%{version} +%autosetup -p1 -n google_ai_generativelanguage-%{version} %build %pyproject_wheel