google-genai 1.12.1__py3-none-any.whl → 1.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
google/genai/version.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # limitations under the License.
14
14
  #
15
15
 
16
- __version__ = '1.12.1' # x-release-please-version
16
+ __version__ = '1.14.0' # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-genai
3
- Version: 1.12.1
3
+ Version: 1.14.0
4
4
  Summary: GenAI Python SDK
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License: Apache-2.0
@@ -32,6 +32,8 @@ Dynamic: license-file
32
32
  # Google Gen AI SDK
33
33
 
34
34
  [![PyPI version](https://img.shields.io/pypi/v/google-genai.svg)](https://pypi.org/project/google-genai/)
35
+ ![Python support](https://img.shields.io/pypi/pyversions/google-genai)
36
+ [![PyPI - Downloads](https://img.shields.io/pypi/dw/google-genai)](https://pypistats.org/packages/google-genai)
35
37
 
36
38
  --------
37
39
  **Documentation:** https://googleapis.github.io/python-genai/
@@ -1081,7 +1083,7 @@ else:
1081
1083
  file_uris = [file1.uri, file2.uri]
1082
1084
 
1083
1085
  cached_content = client.caches.create(
1084
- model='gemini-1.5-pro-002',
1086
+ model='gemini-2.0-flash-001',
1085
1087
  config=types.CreateCachedContentConfig(
1086
1088
  contents=[
1087
1089
  types.Content(
@@ -1114,7 +1116,7 @@ cached_content = client.caches.get(name=cached_content.name)
1114
1116
 
1115
1117
  ```python
1116
1118
  response = client.models.generate_content(
1117
- model='gemini-1.5-pro-002',
1119
+ model='gemini-2.0-flash-001',
1118
1120
  contents='Summarize the pdfs',
1119
1121
  config=types.GenerateContentConfig(
1120
1122
  cached_content=cached_content.name,
@@ -1135,12 +1137,12 @@ tuning through `tune`.
1135
1137
 
1136
1138
  ```python
1137
1139
  if client.vertexai:
1138
- model = 'gemini-1.5-pro-002'
1140
+ model = 'gemini-2.0-flash-001'
1139
1141
  training_dataset = types.TuningDataset(
1140
1142
  gcs_uri='gs://cloud-samples-data/ai-platform/generative_ai/gemini-1_5/text/sft_train_data.jsonl',
1141
1143
  )
1142
1144
  else:
1143
- model = 'models/gemini-1.0-pro-001'
1145
+ model = 'models/gemini-2.0-flash-001'
1144
1146
  training_dataset = types.TuningDataset(
1145
1147
  examples=[
1146
1148
  types.TuningExample(
@@ -1291,7 +1293,7 @@ Only supported in Vertex AI.
1291
1293
  ```python
1292
1294
  # Specify model and source file only, destination and job display name will be auto-populated
1293
1295
  job = client.batches.create(
1294
- model='gemini-1.5-flash-002',
1296
+ model='gemini-2.0-flash-001',
1295
1297
  src='bq://my-project.my-dataset.my-table',
1296
1298
  )
1297
1299
 
@@ -0,0 +1,30 @@
1
+ google/genai/__init__.py,sha256=IYw-PcsdgjSpS1mU_ZcYkTfPocsJ4aVmrDxP7vX7c6Y,709
2
+ google/genai/_api_client.py,sha256=aNke14tWOoR7k-vbQuIpx62gX-t3FH0hYaE3QBbA7_0,37679
3
+ google/genai/_api_module.py,sha256=66FsFq9N8PdTegDyx3am3NHpI0Bw7HBmifUMCrZsx_Q,902
4
+ google/genai/_automatic_function_calling_util.py,sha256=MB4lzbiLuosYXYafJq9d8QhTfK21cSkIwyzZr6W5Hjw,10294
5
+ google/genai/_base_url.py,sha256=E5H4dew14Y16qfnB3XRnjSCi19cJVlkaMNoM_8ip-PM,1597
6
+ google/genai/_common.py,sha256=mBI8hEiztd3M_kBRTja0cprdGEoH5xNFCUykWDTtl-A,10573
7
+ google/genai/_extra_utils.py,sha256=3wyzcRi29qgcxB2PvqzvY1sqPwYQHt5KCemI9RaKE9s,14824
8
+ google/genai/_live_converters.py,sha256=d90poMynT4okhYcWrQKpVk6WiYWyj9HsOBguaKN96Ks,72232
9
+ google/genai/_replay_api_client.py,sha256=pppcP0yAmXk8LS9uKXNBN1bJyoTDUDdt-WqfhdmgNZk,20006
10
+ google/genai/_test_api_client.py,sha256=XNOWq8AkYbqInv1aljNGlFXsv8slQIWTYy_hdcCetD0,4797
11
+ google/genai/_transformers.py,sha256=9Njw7X2nP3ySUy2282olQIxFYoE6dOOJ363HKr4pd5A,34514
12
+ google/genai/batches.py,sha256=gyNb--psM7cqXEP5RsJ908ismvsFFlDNRxt7mCwhYgM,34943
13
+ google/genai/caches.py,sha256=3rx4GSoCQa76HAoMAcjgbCYmH7BBdM_Y1jf8BDxiOLU,58408
14
+ google/genai/chats.py,sha256=6K9wuH3yDngdbZCYNA13G7GeMsya100QQdS0_jt6m1A,16978
15
+ google/genai/client.py,sha256=OkJxW-9_Mi7O1B_HxdBgHQgeM7mEIn1eQQIMkiaunTE,10477
16
+ google/genai/errors.py,sha256=d22FmoLj5kte9UZSCLwkGhJhqp2JXlJHyNB6wC_37w4,4795
17
+ google/genai/files.py,sha256=PB5Rh5WiLOPHcqPR1inGyhqL9PiE0BFHSL4Dz9HKtl8,39516
18
+ google/genai/live.py,sha256=PtosiGwQ4I72HMlAhiBDrMteWCH-_RBIIww6mVHDIuc,35105
19
+ google/genai/models.py,sha256=Cy3uyULLtqiziJdB1d0M_uq7p91LRnuSyjE6HqkTGxE,210250
20
+ google/genai/operations.py,sha256=wWGngU4N3U2y_JteBkwqTmoNncehk2NcZgPyHaVulfI,20304
21
+ google/genai/pagers.py,sha256=dhdKUr4KiUGHOt8OPLo51I0qXJpBU2iH4emTKC4UINI,6797
22
+ google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
23
+ google/genai/tunings.py,sha256=X2dIs9v9e91bd-PwZja-BaA3kNQxwyAjt1x5fhP4Phk,47594
24
+ google/genai/types.py,sha256=-4pDSUJm-p4hWQGXF-jaRJky62ild0YYj779T_vnyYw,380305
25
+ google/genai/version.py,sha256=JfaQeixdUPeyGjk5Go9QAXqET7q1wsD96DuQDdI8j8E,627
26
+ google_genai-1.14.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
27
+ google_genai-1.14.0.dist-info/METADATA,sha256=Xc190vgHeoF7eELP7e1ArEFFfRp_u_cvdDH46SzCkgc,33082
28
+ google_genai-1.14.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
29
+ google_genai-1.14.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
30
+ google_genai-1.14.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,29 +0,0 @@
1
- google/genai/__init__.py,sha256=IYw-PcsdgjSpS1mU_ZcYkTfPocsJ4aVmrDxP7vX7c6Y,709
2
- google/genai/_api_client.py,sha256=yUHm1KEij9_R7Ha_quQQgHFgh6DIfrqw5QrR0j_8QYA,36594
3
- google/genai/_api_module.py,sha256=66FsFq9N8PdTegDyx3am3NHpI0Bw7HBmifUMCrZsx_Q,902
4
- google/genai/_automatic_function_calling_util.py,sha256=MB4lzbiLuosYXYafJq9d8QhTfK21cSkIwyzZr6W5Hjw,10294
5
- google/genai/_common.py,sha256=mBI8hEiztd3M_kBRTja0cprdGEoH5xNFCUykWDTtl-A,10573
6
- google/genai/_extra_utils.py,sha256=3wyzcRi29qgcxB2PvqzvY1sqPwYQHt5KCemI9RaKE9s,14824
7
- google/genai/_live_converters.py,sha256=hay9MpyxFSTBzah8Lky9jkEpky3a4QtRnpNagm8HHUE,72842
8
- google/genai/_replay_api_client.py,sha256=pppcP0yAmXk8LS9uKXNBN1bJyoTDUDdt-WqfhdmgNZk,20006
9
- google/genai/_test_api_client.py,sha256=XNOWq8AkYbqInv1aljNGlFXsv8slQIWTYy_hdcCetD0,4797
10
- google/genai/_transformers.py,sha256=dvx4HifuxQIDscql1ZurDDc3hi3F312Cz2cgaAGmCE4,34562
11
- google/genai/batches.py,sha256=zHohRjh5j2VT5vdPiV4cD3LM1Jj-VHQ49op6SZpLhUo,34935
12
- google/genai/caches.py,sha256=NUfg_S5Ky2l3uwUxx8XNvdPZ_gDQrfAe6aqMJNiQt58,58580
13
- google/genai/chats.py,sha256=jZWvqRQkxguy6lQBolHC2opEpaBkyeiaIwJrxJccWp8,16978
14
- google/genai/client.py,sha256=J9MtAQOMWqF-uQPNRfIV3ChpIeL72L3vIev28RePK30,10078
15
- google/genai/errors.py,sha256=d22FmoLj5kte9UZSCLwkGhJhqp2JXlJHyNB6wC_37w4,4795
16
- google/genai/files.py,sha256=PB5Rh5WiLOPHcqPR1inGyhqL9PiE0BFHSL4Dz9HKtl8,39516
17
- google/genai/live.py,sha256=prb1JCRngZHU2wFZNwkDZGhj7yXnvUWm_RpbKvuYHzs,34950
18
- google/genai/models.py,sha256=xZDHsQzBnbMejKNa5QshDvXPWXIcxvrseLdqffXhBrI,210599
19
- google/genai/operations.py,sha256=wWGngU4N3U2y_JteBkwqTmoNncehk2NcZgPyHaVulfI,20304
20
- google/genai/pagers.py,sha256=dhdKUr4KiUGHOt8OPLo51I0qXJpBU2iH4emTKC4UINI,6797
21
- google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
22
- google/genai/tunings.py,sha256=X2dIs9v9e91bd-PwZja-BaA3kNQxwyAjt1x5fhP4Phk,47594
23
- google/genai/types.py,sha256=yTBlu1tyDPI4UR-V9Fh9EcR1Opy4wqkbEm68Io0K0NY,365205
24
- google/genai/version.py,sha256=lT_-3tX2lihTl_wwT5ZNU8g2d7UDke89EXlHYebgJys,627
25
- google_genai-1.12.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
26
- google_genai-1.12.1.dist-info/METADATA,sha256=emZkEZu7uMl5RLI_2iz2EqiPXlsoliS8NkwaoK5d9AE,32891
27
- google_genai-1.12.1.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
28
- google_genai-1.12.1.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
29
- google_genai-1.12.1.dist-info/RECORD,,