trustgraph-vertexai 0.23.1__tar.gz → 0.23.2__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.

@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-vertexai
3
- Version: 0.23.1
3
+ Version: 0.23.2
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.23.1.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.23.2.tar.gz
7
7
  Author: trustgraph.ai
8
8
  Author-email: security@trustgraph.ai
9
9
  Classifier: Programming Language :: Python :: 3
@@ -105,11 +105,12 @@ class Processor(LlmService):
105
105
  safety_settings=self.safety_settings
106
106
  )
107
107
 
108
- resp = LlmResult()
109
- resp.text = response.text
110
- resp.in_token = response.usage_metadata.prompt_token_count
111
- resp.out_token = response.usage_metadata.candidates_token_count
112
- resp.model = self.model
108
+ resp = LlmResult(
109
+ text = response.text,
110
+ in_token = response.usage_metadata.prompt_token_count,
111
+ out_token = response.usage_metadata.candidates_token_count,
112
+ model = self.model
113
+ )
113
114
 
114
115
  print(f"Input Tokens: {resp.in_token}", flush=True)
115
116
  print(f"Output Tokens: {resp.out_token}", flush=True)
@@ -0,0 +1 @@
1
+ __version__ = "0.23.2"
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-vertexai
3
- Version: 0.23.1
3
+ Version: 0.23.2
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.23.1.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.23.2.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.23.1"