trustgraph-base 0.16.11__tar.gz → 0.17.0__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.
Files changed (53) hide show
  1. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/PKG-INFO +2 -2
  2. trustgraph-base-0.17.0/trustgraph/base_version.py +1 -0
  3. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/__init__.py +2 -0
  4. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/documents.py +1 -1
  5. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/graph.py +2 -2
  6. trustgraph-base-0.17.0/trustgraph/schema/lookup.py +42 -0
  7. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/models.py +2 -2
  8. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/prompt.py +1 -1
  9. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/retrieval.py +2 -2
  10. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph_base.egg-info/PKG-INFO +2 -2
  11. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph_base.egg-info/SOURCES.txt +1 -0
  12. trustgraph-base-0.16.11/trustgraph/base_version.py +0 -1
  13. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/README.md +0 -0
  14. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/setup.cfg +0 -0
  15. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/setup.py +0 -0
  16. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/api/__init__.py +0 -0
  17. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/api/api.py +0 -0
  18. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/base/__init__.py +0 -0
  19. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/base/base_processor.py +0 -0
  20. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/base/consumer.py +0 -0
  21. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/base/consumer_producer.py +0 -0
  22. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/base/producer.py +0 -0
  23. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/__init__.py +0 -0
  24. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/agent_client.py +0 -0
  25. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/base.py +0 -0
  26. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/document_embeddings_client.py +0 -0
  27. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/document_rag_client.py +0 -0
  28. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/embeddings_client.py +0 -0
  29. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/graph_embeddings_client.py +0 -0
  30. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/graph_rag_client.py +0 -0
  31. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/llm_client.py +0 -0
  32. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/prompt_client.py +0 -0
  33. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/clients/triples_query_client.py +0 -0
  34. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/exceptions.py +0 -0
  35. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/knowledge/__init__.py +0 -0
  36. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/knowledge/defs.py +0 -0
  37. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/knowledge/document.py +0 -0
  38. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/knowledge/identifier.py +0 -0
  39. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/knowledge/organization.py +0 -0
  40. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/knowledge/publication.py +0 -0
  41. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/log_level.py +0 -0
  42. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/objects/__init__.py +0 -0
  43. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/objects/field.py +0 -0
  44. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/objects/object.py +0 -0
  45. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/rdf.py +0 -0
  46. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/agent.py +0 -0
  47. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/metadata.py +0 -0
  48. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/object.py +0 -0
  49. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/topic.py +0 -0
  50. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph/schema/types.py +0 -0
  51. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph_base.egg-info/dependency_links.txt +0 -0
  52. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/trustgraph_base.egg-info/requires.txt +0 -0
  53. {trustgraph-base-0.16.11 → trustgraph-base-0.17.0}/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.16.11
3
+ Version: 0.17.0
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.16.11.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.17.0.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.17.0"
@@ -9,4 +9,6 @@ from . graph import *
9
9
  from . retrieval import *
10
10
  from . metadata import *
11
11
  from . agent import *
12
+ from . lookup import *
13
+
12
14
 
@@ -60,5 +60,5 @@ document_embeddings_request_queue = topic(
60
60
  'doc-embeddings', kind='non-persistent', namespace='request'
61
61
  )
62
62
  document_embeddings_response_queue = topic(
63
- 'doc-embeddings-response', kind='non-persistent', namespace='response',
63
+ 'doc-embeddings', kind='non-persistent', namespace='response',
64
64
  )
@@ -34,7 +34,7 @@ graph_embeddings_request_queue = topic(
34
34
  'graph-embeddings', kind='non-persistent', namespace='request'
35
35
  )
36
36
  graph_embeddings_response_queue = topic(
37
- 'graph-embeddings-response', kind='non-persistent', namespace='response',
37
+ 'graph-embeddings', kind='non-persistent', namespace='response'
38
38
  )
39
39
 
40
40
  ############################################################################
@@ -67,5 +67,5 @@ triples_request_queue = topic(
67
67
  'triples', kind='non-persistent', namespace='request'
68
68
  )
69
69
  triples_response_queue = topic(
70
- 'triples-response', kind='non-persistent', namespace='response',
70
+ 'triples', kind='non-persistent', namespace='response'
71
71
  )
@@ -0,0 +1,42 @@
1
+
2
+ from pulsar.schema import Record, String
3
+
4
+ from . types import Error, Value, Triple
5
+ from . topic import topic
6
+ from . metadata import Metadata
7
+
8
+ ############################################################################
9
+
10
+ # Lookups
11
+
12
+ class LookupRequest(Record):
13
+ kind = String()
14
+ term = String()
15
+
16
+ class LookupResponse(Record):
17
+ text = String()
18
+ error = Error()
19
+
20
+ encyclopedia_lookup_request_queue = topic(
21
+ 'encyclopedia', kind='non-persistent', namespace='request'
22
+ )
23
+ encyclopedia_lookup_response_queue = topic(
24
+ 'encyclopedia', kind='non-persistent', namespace='response',
25
+ )
26
+
27
+ dbpedia_lookup_request_queue = topic(
28
+ 'dbpedia', kind='non-persistent', namespace='request'
29
+ )
30
+ dbpedia_lookup_response_queue = topic(
31
+ 'dbpedia', kind='non-persistent', namespace='response',
32
+ )
33
+
34
+ internet_search_request_queue = topic(
35
+ 'internet-search', kind='non-persistent', namespace='request'
36
+ )
37
+ internet_search_response_queue = topic(
38
+ 'internet-search', kind='non-persistent', namespace='response',
39
+ )
40
+
41
+ ############################################################################
42
+
@@ -23,7 +23,7 @@ text_completion_request_queue = topic(
23
23
  'text-completion', kind='non-persistent', namespace='request'
24
24
  )
25
25
  text_completion_response_queue = topic(
26
- 'text-completion-response', kind='non-persistent', namespace='response',
26
+ 'text-completion', kind='non-persistent', namespace='response'
27
27
  )
28
28
 
29
29
  ############################################################################
@@ -41,5 +41,5 @@ embeddings_request_queue = topic(
41
41
  'embeddings', kind='non-persistent', namespace='request'
42
42
  )
43
43
  embeddings_response_queue = topic(
44
- 'embeddings-response', kind='non-persistent', namespace='response'
44
+ 'embeddings', kind='non-persistent', namespace='response'
45
45
  )
@@ -59,7 +59,7 @@ prompt_request_queue = topic(
59
59
  'prompt', kind='non-persistent', namespace='request'
60
60
  )
61
61
  prompt_response_queue = topic(
62
- 'prompt-response', kind='non-persistent', namespace='response'
62
+ 'prompt', kind='non-persistent', namespace='response'
63
63
  )
64
64
 
65
65
  ############################################################################
@@ -20,7 +20,7 @@ graph_rag_request_queue = topic(
20
20
  'graph-rag', kind='non-persistent', namespace='request'
21
21
  )
22
22
  graph_rag_response_queue = topic(
23
- 'graph-rag-response', kind='non-persistent', namespace='response'
23
+ 'graph-rag', kind='non-persistent', namespace='response'
24
24
  )
25
25
 
26
26
  ############################################################################
@@ -40,5 +40,5 @@ document_rag_request_queue = topic(
40
40
  'doc-rag', kind='non-persistent', namespace='request'
41
41
  )
42
42
  document_rag_response_queue = topic(
43
- 'doc-rag-response', kind='non-persistent', namespace='response'
43
+ 'doc-rag', kind='non-persistent', namespace='response'
44
44
  )
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-base
3
- Version: 0.16.11
3
+ Version: 0.17.0
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.16.11.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.17.0.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+)
@@ -35,6 +35,7 @@ trustgraph/schema/__init__.py
35
35
  trustgraph/schema/agent.py
36
36
  trustgraph/schema/documents.py
37
37
  trustgraph/schema/graph.py
38
+ trustgraph/schema/lookup.py
38
39
  trustgraph/schema/metadata.py
39
40
  trustgraph/schema/models.py
40
41
  trustgraph/schema/object.py
@@ -1 +0,0 @@
1
- __version__ = "0.16.11"