google-genai 1.3.0__py3-none-any.whl → 1.4.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.3.0' # x-release-please-version
16
+ __version__ = '1.4.0' # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: google-genai
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: GenAI Python SDK
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License: Apache-2.0
@@ -192,12 +192,18 @@ contents=[
192
192
 
193
193
  ### System Instructions and Other Configs
194
194
 
195
+ The output of the model can be influenced by several optional settings
196
+ available in generate_content's config parameter. For example, the
197
+ variability and length of the output can be influenced by the temperature
198
+ and max_output_tokens respectively.
199
+
195
200
  ```python
196
201
  response = client.models.generate_content(
197
202
  model='gemini-2.0-flash-001',
198
203
  contents='high',
199
204
  config=types.GenerateContentConfig(
200
205
  system_instruction='I say high, you say low',
206
+ max_output_tokens=3,
201
207
  temperature=0.3,
202
208
  ),
203
209
  )
@@ -0,0 +1,27 @@
1
+ google/genai/__init__.py,sha256=IYw-PcsdgjSpS1mU_ZcYkTfPocsJ4aVmrDxP7vX7c6Y,709
2
+ google/genai/_api_client.py,sha256=_dbVVtxTzO9ZiTgp3gLSc8C6_198Z8Maay9fUa-mi4M,27078
3
+ google/genai/_api_module.py,sha256=66FsFq9N8PdTegDyx3am3NHpI0Bw7HBmifUMCrZsx_Q,902
4
+ google/genai/_automatic_function_calling_util.py,sha256=OcmWb6RLYCMRxiEZu4Q1B9aVXg_Q1qqZvMlVaAwdKWI,11062
5
+ google/genai/_common.py,sha256=uPDZ_HdZvWz7teUln36nCcRYbHbYTiT5HAmTuB_eCqA,9983
6
+ google/genai/_extra_utils.py,sha256=UrmiGxOkXXBIThwu8A0QAkKZiv39whmlqGSXoP0oHDk,11807
7
+ google/genai/_replay_api_client.py,sha256=rPu73PCijydo7cGdDS0B75Us3exopPBiXmRZmGSytzI,16199
8
+ google/genai/_test_api_client.py,sha256=XNOWq8AkYbqInv1aljNGlFXsv8slQIWTYy_hdcCetD0,4797
9
+ google/genai/_transformers.py,sha256=mEowhaTeH7l2pUevr7YB6DphN_D2-iPiyKnF6d41-bo,28340
10
+ google/genai/batches.py,sha256=QgZlVDSNzOvtTUWnMR5f7fAALOLDyi5X022P0fkMvuc,41183
11
+ google/genai/caches.py,sha256=7n0_7SeHa3nohJ0DFsOrIghE8AaVTLVLpYyiRemKf_I,57576
12
+ google/genai/chats.py,sha256=ds5iF4hqvyHbHE4OlP1b5s93SwD0hlMNpWxT7db2E48,13493
13
+ google/genai/client.py,sha256=uhX1MhEHepqe6biU-ix_d4wsv5xG8NevT7gFEva0XEM,9785
14
+ google/genai/errors.py,sha256=BMEANEl_EK1ZIIZsO1FxgX1szvsdaEIaqhu4NpnBLow,4213
15
+ google/genai/files.py,sha256=-IdlddbpwNK5ToA00vtOij_DMU2ugEZRQkBp3x7cCoM,44668
16
+ google/genai/live.py,sha256=z_Y7LSZcPVkfInjLT9J8LWNIXD5E3e6TPDXZeadOcn0,24710
17
+ google/genai/models.py,sha256=ra6j8-_PVy0LqTBHpK80pHwws9aPiY-5uTHQ_3t86RI,206985
18
+ google/genai/operations.py,sha256=6zxvDBIJAH38Ga23Wf6msoEGzJWhfOscGnbHY_tdCrE,19451
19
+ google/genai/pagers.py,sha256=xC0LEgR8E4z9XNZUnZnNwSsAUCJPlMFUpJ7eXr4nuDM,6645
20
+ google/genai/tunings.py,sha256=Prt3bI5fKUoDWtz6A6pxSWQwP0_ecGXa1rPOvfzGKSM,47568
21
+ google/genai/types.py,sha256=z8tX1THcR2dTMKZYwsOZWR_OGBHvdpkmCNFBSft55zE,297091
22
+ google/genai/version.py,sha256=mOyGG-hAwdvxg1_wBKMm2uMprTFFYHVKz6j0htJ9Irs,626
23
+ google_genai-1.4.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
+ google_genai-1.4.0.dist-info/METADATA,sha256=y4Jij7zMfosWDeq44MoSPBuZQ4x3xctqOnqha4IMqcA,29152
25
+ google_genai-1.4.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
26
+ google_genai-1.4.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
27
+ google_genai-1.4.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (75.8.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,27 +0,0 @@
1
- google/genai/__init__.py,sha256=IYw-PcsdgjSpS1mU_ZcYkTfPocsJ4aVmrDxP7vX7c6Y,709
2
- google/genai/_api_client.py,sha256=Y8Mv9QYdHnvzCy4DsPB6aQNKCfOIuwJ67gaew3zS2BA,26759
3
- google/genai/_api_module.py,sha256=ySPNIb2OC2vhDpU7VOYvP2-Av3ZlmwgEpIaqF4fIWWc,898
4
- google/genai/_automatic_function_calling_util.py,sha256=Hs7vvLRCRxL-YbNRnwx_qulY9sspwE6xP7A3-cjoIB8,10834
5
- google/genai/_common.py,sha256=GUaoMzkTPw7oS18gkDArOTPb5EKwt8JpND5-THIZ_-I,9961
6
- google/genai/_extra_utils.py,sha256=Ia3jUDwKLhgVXawBBA3l5Y0R12c4oWr69D0b6tfLTww,11729
7
- google/genai/_replay_api_client.py,sha256=pbpeeWL4hHAE_8S0YbrCfgGeQxCioBFhcUDTJtH4rjs,16152
8
- google/genai/_test_api_client.py,sha256=2PvDcW3h01U4UOSoj7TUo6TwdBHSEN_lO2tXjBoh5Fw,4765
9
- google/genai/_transformers.py,sha256=jBmQS1_KPndBR1mc41t3vKUKCM42duvnniQjLAKGVfQ,24612
10
- google/genai/batches.py,sha256=_ktwVQvHHUz7JkyXSUXpW_isyBIK_8BQkPD4OUjdJzg,38130
11
- google/genai/caches.py,sha256=IiNVYtCyadYBYIGV3aszdrw_HB0sOH5ps1bnEfnc7n0,53167
12
- google/genai/chats.py,sha256=6gKf81vtLqUAR2TeaI0kZfxrEPEHbfwxHB5hI9zSz9A,8552
13
- google/genai/client.py,sha256=vPVU_Edh1IMFoq9pVpq4bZOVo71FaKzSVpdUn2y4HPM,9773
14
- google/genai/errors.py,sha256=gALDvxSVHX163dtH_Uf0zsWcHy-p4U4zf7CTRigXjLE,4205
15
- google/genai/files.py,sha256=VfB02YaVAl5MWxqD5Zg5PYXtv4_VtfNMjxk5HbcCaI8,42169
16
- google/genai/live.py,sha256=DGNbhkOx5Dj_6uIOc1UsgRodv3NX3ztYbfS6VUjXJgc,24276
17
- google/genai/models.py,sha256=b2iymH-aaldS72xbbQiUFUWkpATCrVSh0Kxs6S1ngiw,194655
18
- google/genai/operations.py,sha256=C96700qYD9hlTahjlP0VPEcTsio-sXtfB7ml16G-IZQ,17954
19
- google/genai/pagers.py,sha256=hSHd-gLvEzYWwK85i8EcFNWUMKtszUs7Nw2r3L7d6_U,6686
20
- google/genai/tunings.py,sha256=5qtJO3atPxhHyReYoU3yavQ3cEoc5h7mZpSzxsE1Jmg,44745
21
- google/genai/types.py,sha256=qGZQ_IBCNKUPK_Ft5A4qbG1V3xbhisOQNvv2EZ8s4Lg,295881
22
- google/genai/version.py,sha256=6XlttB_dEVuHt3Ks7rw29lt6WqnD9MqEtyZ3jfjI3XQ,626
23
- google_genai-1.3.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
- google_genai-1.3.0.dist-info/METADATA,sha256=TBFoFOTwCodhcG4v7sWYbSccYfh2UXZdyC5A2iS7rK8,28874
25
- google_genai-1.3.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
26
- google_genai-1.3.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
27
- google_genai-1.3.0.dist-info/RECORD,,