langfun 0.1.2.dev202409290804__py3-none-any.whl → 0.1.2.dev202410010804__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.
- langfun/core/llms/vertexai.py +1 -8
- {langfun-0.1.2.dev202409290804.dist-info → langfun-0.1.2.dev202410010804.dist-info}/METADATA +1 -1
- {langfun-0.1.2.dev202409290804.dist-info → langfun-0.1.2.dev202410010804.dist-info}/RECORD +6 -6
- {langfun-0.1.2.dev202409290804.dist-info → langfun-0.1.2.dev202410010804.dist-info}/LICENSE +0 -0
- {langfun-0.1.2.dev202409290804.dist-info → langfun-0.1.2.dev202410010804.dist-info}/WHEEL +0 -0
- {langfun-0.1.2.dev202409290804.dist-info → langfun-0.1.2.dev202410010804.dist-info}/top_level.txt +0 -0
langfun/core/llms/vertexai.py
CHANGED
@@ -245,14 +245,7 @@ class VertexAI(lf.LanguageModel):
|
|
245
245
|
(Exception, 'InternalServerError'),
|
246
246
|
(Exception, 'ResourceExhausted'),
|
247
247
|
(Exception, '_InactiveRpcError'),
|
248
|
-
(
|
249
|
-
Exception,
|
250
|
-
(
|
251
|
-
'ValueError: Response candidate content has no parts (and thus'
|
252
|
-
' no text).'
|
253
|
-
),
|
254
|
-
),
|
255
|
-
(Exception, 'ValueError: Cannot get the Candidate text.'),
|
248
|
+
(Exception, 'ValueError'),
|
256
249
|
]
|
257
250
|
|
258
251
|
return self._parallel_execute_with_currency_control(
|
@@ -67,7 +67,7 @@ langfun/core/llms/openai.py,sha256=vnDrKuD-pli0AtDIDq_TmlltOk7z7_PQ-xpU4K1ARdU,1
|
|
67
67
|
langfun/core/llms/openai_test.py,sha256=UcBFW_7RkkMEo47Tn5RuVRK_DryTN7bb9ITphlzthE8,17762
|
68
68
|
langfun/core/llms/rest.py,sha256=laopuq-zD8V-3Y6eFDngftHEbE66VlUkCD2-rvvRaLU,3388
|
69
69
|
langfun/core/llms/rest_test.py,sha256=NZ3Nf0XQVpT9kLP5cBVo_yBHLI7vWTYhWQxYEJVMGs4,3472
|
70
|
-
langfun/core/llms/vertexai.py,sha256=
|
70
|
+
langfun/core/llms/vertexai.py,sha256=Y3MrxYguUzIbr-IcxzUSGBjAL8FLX0K4TwbgI18OY5c,16977
|
71
71
|
langfun/core/llms/vertexai_test.py,sha256=EPR-mB2hNUpvpf7E8m_k5bh04epdQTVUuYU6hPgZyu8,10321
|
72
72
|
langfun/core/llms/cache/__init__.py,sha256=QAo3InUMDM_YpteNnVCSejI4zOsnjSMWKJKzkb3VY64,993
|
73
73
|
langfun/core/llms/cache/base.py,sha256=rt3zwmyw0y9jsSGW-ZbV1vAfLxQ7_3AVk0l2EySlse4,3918
|
@@ -119,8 +119,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
|
|
119
119
|
langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
|
120
120
|
langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
|
121
121
|
langfun/core/templates/selfplay_test.py,sha256=rBW2Qr8yi-aWYwoTwRR-n1peKyMX9QXPZXURjLgoiRs,2264
|
122
|
-
langfun-0.1.2.
|
123
|
-
langfun-0.1.2.
|
124
|
-
langfun-0.1.2.
|
125
|
-
langfun-0.1.2.
|
126
|
-
langfun-0.1.2.
|
122
|
+
langfun-0.1.2.dev202410010804.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
123
|
+
langfun-0.1.2.dev202410010804.dist-info/METADATA,sha256=eMVQPftNt81odrRYiba82BwjeI0ztGW5iJzZtQPR2J8,8890
|
124
|
+
langfun-0.1.2.dev202410010804.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
125
|
+
langfun-0.1.2.dev202410010804.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
|
126
|
+
langfun-0.1.2.dev202410010804.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{langfun-0.1.2.dev202409290804.dist-info → langfun-0.1.2.dev202410010804.dist-info}/top_level.txt
RENAMED
File without changes
|