17
0
2024-09-25 19:55:23 +00:00
committed by Git OBS Bridge
4 changed files with 32 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1739f035caeeeca5c28f887405eec8690f3372daf79fecf26454a97a4f1733a8
size 758303

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fa642c964d8728006fe7e8771026fc0b599ae0ebeaf83caf550941e8e693455
size 795200

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Sep 25 06:46:38 UTC 2024 - Adrian Schröter <adrian@suse.de>
- 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 <fmccarthy@suse.com>

View File

@@ -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