trustgraph-vertexai 0.20.1__tar.gz → 0.20.3__tar.gz
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.
Potentially problematic release.
This version of trustgraph-vertexai might be problematic. Click here for more details.
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/PKG-INFO +2 -2
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph/model/text_completion/vertexai/llm.py +5 -15
- trustgraph-vertexai-0.20.3/trustgraph/vertexai_version.py +1 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/PKG-INFO +2 -2
- trustgraph-vertexai-0.20.1/trustgraph/vertexai_version.py +0 -1
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/README.md +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/scripts/text-completion-vertexai +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/setup.cfg +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/setup.py +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph/model/text_completion/vertexai/__init__.py +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph/model/text_completion/vertexai/__main__.py +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/SOURCES.txt +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/dependency_links.txt +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/requires.txt +0 -0
- {trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: trustgraph-vertexai
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.3
|
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
|
5
5
|
Home-page: https://github.com/trustgraph-ai/trustgraph
|
|
6
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.20.
|
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.20.3.tar.gz
|
|
7
7
|
Author: trustgraph.ai
|
|
8
8
|
Author-email: security@trustgraph.ai
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -178,25 +178,15 @@ class Processor(ConsumerProducer):
|
|
|
178
178
|
|
|
179
179
|
except google.api_core.exceptions.ResourceExhausted as e:
|
|
180
180
|
|
|
181
|
-
print("
|
|
181
|
+
print("Hit rate limit:", e, flush=True)
|
|
182
182
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
type = "rate-limit",
|
|
186
|
-
message = str(e),
|
|
187
|
-
),
|
|
188
|
-
response=None,
|
|
189
|
-
in_token=None,
|
|
190
|
-
out_token=None,
|
|
191
|
-
model=None,
|
|
192
|
-
)
|
|
193
|
-
|
|
194
|
-
self.producer.send(r, properties={"id": id})
|
|
195
|
-
|
|
196
|
-
self.consumer.acknowledge(msg)
|
|
183
|
+
# Leave rate limit retries to the base handler
|
|
184
|
+
raise TooManyRequests()
|
|
197
185
|
|
|
198
186
|
except Exception as e:
|
|
199
187
|
|
|
188
|
+
# Apart from rate limits, treat all exceptions as unrecoverable
|
|
189
|
+
|
|
200
190
|
print(f"Exception: {e}")
|
|
201
191
|
|
|
202
192
|
print("Send error response...", flush=True)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.20.3"
|
{trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/PKG-INFO
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: trustgraph-vertexai
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.3
|
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
|
5
5
|
Home-page: https://github.com/trustgraph-ai/trustgraph
|
|
6
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.20.
|
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.20.3.tar.gz
|
|
7
7
|
Author: trustgraph.ai
|
|
8
8
|
Author-email: security@trustgraph.ai
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.20.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/requires.txt
RENAMED
|
File without changes
|
{trustgraph-vertexai-0.20.1 → trustgraph-vertexai-0.20.3}/trustgraph_vertexai.egg-info/top_level.txt
RENAMED
|
File without changes
|