google-genai 1.12.1__py3-none-any.whl → 1.13.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.13.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.13.0
4
4
  Summary: GenAI Python SDK
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License: Apache-2.0
@@ -1081,7 +1081,7 @@ else:
1081
1081
  file_uris = [file1.uri, file2.uri]
1082
1082
 
1083
1083
  cached_content = client.caches.create(
1084
- model='gemini-1.5-pro-002',
1084
+ model='gemini-2.0-flash-001',
1085
1085
  config=types.CreateCachedContentConfig(
1086
1086
  contents=[
1087
1087
  types.Content(
@@ -1114,7 +1114,7 @@ cached_content = client.caches.get(name=cached_content.name)
1114
1114
 
1115
1115
  ```python
1116
1116
  response = client.models.generate_content(
1117
- model='gemini-1.5-pro-002',
1117
+ model='gemini-2.0-flash-001',
1118
1118
  contents='Summarize the pdfs',
1119
1119
  config=types.GenerateContentConfig(
1120
1120
  cached_content=cached_content.name,
@@ -1135,12 +1135,12 @@ tuning through `tune`.
1135
1135
 
1136
1136
  ```python
1137
1137
  if client.vertexai:
1138
- model = 'gemini-1.5-pro-002'
1138
+ model = 'gemini-2.0-flash-001'
1139
1139
  training_dataset = types.TuningDataset(
1140
1140
  gcs_uri='gs://cloud-samples-data/ai-platform/generative_ai/gemini-1_5/text/sft_train_data.jsonl',
1141
1141
  )
1142
1142
  else:
1143
- model = 'models/gemini-1.0-pro-001'
1143
+ model = 'models/gemini-2.0-flash-001'
1144
1144
  training_dataset = types.TuningDataset(
1145
1145
  examples=[
1146
1146
  types.TuningExample(
@@ -1291,7 +1291,7 @@ Only supported in Vertex AI.
1291
1291
  ```python
1292
1292
  # Specify model and source file only, destination and job display name will be auto-populated
1293
1293
  job = client.batches.create(
1294
- model='gemini-1.5-flash-002',
1294
+ model='gemini-2.0-flash-001',
1295
1295
  src='bq://my-project.my-dataset.my-table',
1296
1296
  )
1297
1297
 
@@ -2,28 +2,29 @@ google/genai/__init__.py,sha256=IYw-PcsdgjSpS1mU_ZcYkTfPocsJ4aVmrDxP7vX7c6Y,709
2
2
  google/genai/_api_client.py,sha256=yUHm1KEij9_R7Ha_quQQgHFgh6DIfrqw5QrR0j_8QYA,36594
3
3
  google/genai/_api_module.py,sha256=66FsFq9N8PdTegDyx3am3NHpI0Bw7HBmifUMCrZsx_Q,902
4
4
  google/genai/_automatic_function_calling_util.py,sha256=MB4lzbiLuosYXYafJq9d8QhTfK21cSkIwyzZr6W5Hjw,10294
5
+ google/genai/_base_url.py,sha256=E5H4dew14Y16qfnB3XRnjSCi19cJVlkaMNoM_8ip-PM,1597
5
6
  google/genai/_common.py,sha256=mBI8hEiztd3M_kBRTja0cprdGEoH5xNFCUykWDTtl-A,10573
6
7
  google/genai/_extra_utils.py,sha256=3wyzcRi29qgcxB2PvqzvY1sqPwYQHt5KCemI9RaKE9s,14824
7
- google/genai/_live_converters.py,sha256=hay9MpyxFSTBzah8Lky9jkEpky3a4QtRnpNagm8HHUE,72842
8
+ google/genai/_live_converters.py,sha256=9OnzzLAt03ottIXkCfAih-yTgSLm03GnW2KkXRR-HY8,65649
8
9
  google/genai/_replay_api_client.py,sha256=pppcP0yAmXk8LS9uKXNBN1bJyoTDUDdt-WqfhdmgNZk,20006
9
10
  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
11
+ google/genai/_transformers.py,sha256=9Njw7X2nP3ySUy2282olQIxFYoE6dOOJ363HKr4pd5A,34514
12
+ google/genai/batches.py,sha256=gyNb--psM7cqXEP5RsJ908ismvsFFlDNRxt7mCwhYgM,34943
13
+ google/genai/caches.py,sha256=IPiq64z957dTsZyHedlQ8DM6YPMeC5IAs2JVHkYt_v4,51033
14
+ google/genai/chats.py,sha256=6K9wuH3yDngdbZCYNA13G7GeMsya100QQdS0_jt6m1A,16978
15
+ google/genai/client.py,sha256=OkJxW-9_Mi7O1B_HxdBgHQgeM7mEIn1eQQIMkiaunTE,10477
15
16
  google/genai/errors.py,sha256=d22FmoLj5kte9UZSCLwkGhJhqp2JXlJHyNB6wC_37w4,4795
16
17
  google/genai/files.py,sha256=PB5Rh5WiLOPHcqPR1inGyhqL9PiE0BFHSL4Dz9HKtl8,39516
17
- google/genai/live.py,sha256=prb1JCRngZHU2wFZNwkDZGhj7yXnvUWm_RpbKvuYHzs,34950
18
- google/genai/models.py,sha256=xZDHsQzBnbMejKNa5QshDvXPWXIcxvrseLdqffXhBrI,210599
18
+ google/genai/live.py,sha256=PtosiGwQ4I72HMlAhiBDrMteWCH-_RBIIww6mVHDIuc,35105
19
+ google/genai/models.py,sha256=zl911T7hpSrboQmoNwQd_sQIj3xyuMjqTT-y5XwLuiE,202875
19
20
  google/genai/operations.py,sha256=wWGngU4N3U2y_JteBkwqTmoNncehk2NcZgPyHaVulfI,20304
20
21
  google/genai/pagers.py,sha256=dhdKUr4KiUGHOt8OPLo51I0qXJpBU2iH4emTKC4UINI,6797
21
22
  google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
22
23
  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,,
24
+ google/genai/types.py,sha256=Faf8ZmPPy5gKIQJBR8eeQqJD0sqqEVn7p-4hihJTNu0,366392
25
+ google/genai/version.py,sha256=7YL9CQp8iYV-Wxt7YGhhhJbsu-HPhIiQ9Pk59X4aBac,627
26
+ google_genai-1.13.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
27
+ google_genai-1.13.0.dist-info/METADATA,sha256=XiCtZ3DqaASBddDnFT9x8nhoy35jIlao4vSrsSTQasM,32899
28
+ google_genai-1.13.0.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
29
+ google_genai-1.13.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
30
+ google_genai-1.13.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5