trustgraph-base 0.14.15__tar.gz → 0.14.16__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.
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/PKG-INFO +2 -2
- trustgraph-base-0.14.16/trustgraph/base_version.py +1 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/prompt_client.py +8 -8
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph_base.egg-info/PKG-INFO +2 -2
- trustgraph-base-0.14.15/trustgraph/base_version.py +0 -1
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/README.md +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/setup.cfg +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/setup.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/base/__init__.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/base/base_processor.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/base/consumer.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/base/consumer_producer.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/base/producer.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/__init__.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/base.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/document_embeddings_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/document_rag_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/embeddings_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/graph_embeddings_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/graph_rag_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/llm_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/triples_query_client.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/exceptions.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/knowledge/__init__.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/knowledge/defs.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/knowledge/document.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/knowledge/identifier.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/knowledge/organization.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/knowledge/publication.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/log_level.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/objects/__init__.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/objects/field.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/objects/object.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/rdf.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/__init__.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/documents.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/graph.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/metadata.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/models.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/object.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/prompt.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/retrieval.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/topic.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/schema/types.py +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph_base.egg-info/SOURCES.txt +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph_base.egg-info/dependency_links.txt +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph_base.egg-info/requires.txt +0 -0
- {trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph_base.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-base
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.16
|
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
6
|
Author: trustgraph.ai
|
7
7
|
Author-email: security@trustgraph.ai
|
8
8
|
License: UNKNOWN
|
9
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.
|
9
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.16.tar.gz
|
10
10
|
Platform: UNKNOWN
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
12
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.14.16"
|
@@ -57,13 +57,13 @@ class PromptClient(BaseClient):
|
|
57
57
|
output_schema=PromptResponse,
|
58
58
|
)
|
59
59
|
|
60
|
-
def request(self, id,
|
60
|
+
def request(self, id, variables, timeout=300):
|
61
61
|
|
62
62
|
resp = self.call(
|
63
63
|
id=id,
|
64
64
|
terms={
|
65
65
|
k: json.dumps(v)
|
66
|
-
for k, v in
|
66
|
+
for k, v in variables.items()
|
67
67
|
},
|
68
68
|
timeout=timeout
|
69
69
|
)
|
@@ -76,7 +76,7 @@ class PromptClient(BaseClient):
|
|
76
76
|
|
77
77
|
defs = self.request(
|
78
78
|
id="extract-definitions",
|
79
|
-
|
79
|
+
variables={
|
80
80
|
"text": chunk
|
81
81
|
},
|
82
82
|
timeout=timeout
|
@@ -91,7 +91,7 @@ class PromptClient(BaseClient):
|
|
91
91
|
|
92
92
|
rels = self.request(
|
93
93
|
id="extract-relationships",
|
94
|
-
|
94
|
+
variables={
|
95
95
|
"text": chunk
|
96
96
|
},
|
97
97
|
timeout=timeout
|
@@ -111,7 +111,7 @@ class PromptClient(BaseClient):
|
|
111
111
|
|
112
112
|
topics = self.request(
|
113
113
|
id="extract-topics",
|
114
|
-
|
114
|
+
variables={
|
115
115
|
"text": chunk
|
116
116
|
},
|
117
117
|
timeout=timeout
|
@@ -126,7 +126,7 @@ class PromptClient(BaseClient):
|
|
126
126
|
|
127
127
|
return self.request(
|
128
128
|
id="extract-rows",
|
129
|
-
|
129
|
+
variables={
|
130
130
|
"chunk": chunk,
|
131
131
|
"row-schema": {
|
132
132
|
"name": schema.name,
|
@@ -148,7 +148,7 @@ class PromptClient(BaseClient):
|
|
148
148
|
|
149
149
|
return self.request(
|
150
150
|
id="kg-prompt",
|
151
|
-
|
151
|
+
variables={
|
152
152
|
"query": query,
|
153
153
|
"knowledge": [
|
154
154
|
{ "s": v[0], "p": v[1], "o": v[2] }
|
@@ -162,7 +162,7 @@ class PromptClient(BaseClient):
|
|
162
162
|
|
163
163
|
return self.request(
|
164
164
|
id="document-prompt",
|
165
|
-
|
165
|
+
variables={
|
166
166
|
"query": query,
|
167
167
|
"documents": documents,
|
168
168
|
},
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-base
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.16
|
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
6
|
Author: trustgraph.ai
|
7
7
|
Author-email: security@trustgraph.ai
|
8
8
|
License: UNKNOWN
|
9
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.
|
9
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.16.tar.gz
|
10
10
|
Platform: UNKNOWN
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
12
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.14.15"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/document_embeddings_client.py
RENAMED
File without changes
|
{trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/document_rag_client.py
RENAMED
File without changes
|
File without changes
|
{trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/graph_embeddings_client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph/clients/triples_query_client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-base-0.14.15 → trustgraph-base-0.14.16}/trustgraph_base.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|