google-genai 1.3.0__py3-none-any.whl → 1.5.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.5.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.5.0
4
4
  Summary: GenAI Python SDK
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License: Apache-2.0
@@ -20,6 +20,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
20
  Requires-Python: >=3.9
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
+ Requires-Dist: anyio<5.0.0dev,>=4.8.0
23
24
  Requires-Dist: google-auth<3.0.0dev,>=2.14.1
24
25
  Requires-Dist: httpx<1.0.0dev,>=0.28.1
25
26
  Requires-Dist: pydantic<3.0.0dev,>=2.0.0
@@ -192,12 +193,18 @@ contents=[
192
193
 
193
194
  ### System Instructions and Other Configs
194
195
 
196
+ The output of the model can be influenced by several optional settings
197
+ available in generate_content's config parameter. For example, the
198
+ variability and length of the output can be influenced by the temperature
199
+ and max_output_tokens respectively.
200
+
195
201
  ```python
196
202
  response = client.models.generate_content(
197
203
  model='gemini-2.0-flash-001',
198
204
  contents='high',
199
205
  config=types.GenerateContentConfig(
200
206
  system_instruction='I say high, you say low',
207
+ max_output_tokens=3,
201
208
  temperature=0.3,
202
209
  ),
203
210
  )
@@ -0,0 +1,27 @@
1
+ google/genai/__init__.py,sha256=IYw-PcsdgjSpS1mU_ZcYkTfPocsJ4aVmrDxP7vX7c6Y,709
2
+ google/genai/_api_client.py,sha256=5VOAFiVe3nSwoMy4QmSPKRzxtVY-lJ8yDEO6SdN267Y,29726
3
+ google/genai/_api_module.py,sha256=66FsFq9N8PdTegDyx3am3NHpI0Bw7HBmifUMCrZsx_Q,902
4
+ google/genai/_automatic_function_calling_util.py,sha256=AmFRhGdA6QFdUi9V73Fj4Z4R1dg3-y5b-7YxWUdRNk4,11087
5
+ google/genai/_common.py,sha256=u0qX3Uli_7qaYmoTZm9JnVzoMihD4ASPksmqmsjGSBs,10071
6
+ google/genai/_extra_utils.py,sha256=l9U0uaq4TWdfY7fOpGR3LcsA6-TMEblfQlEXdC0IGPY,12462
7
+ google/genai/_replay_api_client.py,sha256=OxZIAyyyI4D9uj0avNO0QGf4DPWJ4Pqf_MCbUs5pvYc,18459
8
+ google/genai/_test_api_client.py,sha256=XNOWq8AkYbqInv1aljNGlFXsv8slQIWTYy_hdcCetD0,4797
9
+ google/genai/_transformers.py,sha256=sq4rZPY808LbZpvkx-tvhWrKl9s0eoDenhc8nfTnYA0,29017
10
+ google/genai/batches.py,sha256=R4ptSnxTn1ADskGo3_arKP1FaWKsVo9oam6GFou9Mv0,41413
11
+ google/genai/caches.py,sha256=yj8ASOpYt3lYNc0-lni_BEASZ7SUk-qRz2ZD3jjqW9U,57806
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=jPK2B8pLw4Vh9zn8yuC0e30qHarmbZxc1bRPNpMwnfM,45363
16
+ google/genai/live.py,sha256=z_Y7LSZcPVkfInjLT9J8LWNIXD5E3e6TPDXZeadOcn0,24710
17
+ google/genai/models.py,sha256=sQT2OEcOYoacfpjF-Bu3-cp5ejOoaNiVm8e_v1j--RM,208476
18
+ google/genai/operations.py,sha256=YABHc75FvF3XAKjxgDgINEhuNLdUyNaMPKuDZWHglkM,19599
19
+ google/genai/pagers.py,sha256=-Ge5vQnBGbbScCGTlaZKuSTBcgTCDP4NuyS3vjixlC8,6869
20
+ google/genai/tunings.py,sha256=e8KrNDDQVbVZHsuFVuDuvpSNdsA33L-R68ulb2p3vEA,47751
21
+ google/genai/types.py,sha256=K_UU4zX_SM2oPN3xfRyVR10dV1A9td47fMHQvYBwqck,298284
22
+ google/genai/version.py,sha256=xEXL7YjPjoHY7XhGUYbNRRLHxqn4NKGHgH0_mXO-SN0,626
23
+ google_genai-1.5.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
+ google_genai-1.5.0.dist-info/METADATA,sha256=_OZODJs7oHaP1Veht5rLlNvg_pVq3AIUIdV6YFm5g1k,29190
25
+ google_genai-1.5.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
26
+ google_genai-1.5.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
27
+ google_genai-1.5.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,,