trustgraph-base 0.21.3__tar.gz → 0.21.4__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 (56) hide show
  1. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/PKG-INFO +2 -2
  2. trustgraph-base-0.21.4/trustgraph/base_version.py +1 -0
  3. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/library.py +19 -3
  4. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph_base.egg-info/PKG-INFO +2 -2
  5. trustgraph-base-0.21.3/trustgraph/base_version.py +0 -1
  6. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/README.md +0 -0
  7. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/setup.cfg +0 -0
  8. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/setup.py +0 -0
  9. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/api/__init__.py +0 -0
  10. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/api/api.py +0 -0
  11. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/__init__.py +0 -0
  12. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/base_processor.py +0 -0
  13. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/consumer.py +0 -0
  14. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/consumer_producer.py +0 -0
  15. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/producer.py +0 -0
  16. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/publisher.py +0 -0
  17. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/base/subscriber.py +0 -0
  18. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/__init__.py +0 -0
  19. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/agent_client.py +0 -0
  20. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/base.py +0 -0
  21. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/document_embeddings_client.py +0 -0
  22. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/document_rag_client.py +0 -0
  23. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/embeddings_client.py +0 -0
  24. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/graph_embeddings_client.py +0 -0
  25. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/graph_rag_client.py +0 -0
  26. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/llm_client.py +0 -0
  27. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/prompt_client.py +0 -0
  28. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/clients/triples_query_client.py +0 -0
  29. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/exceptions.py +0 -0
  30. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/knowledge/__init__.py +0 -0
  31. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/knowledge/defs.py +0 -0
  32. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/knowledge/document.py +0 -0
  33. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/knowledge/identifier.py +0 -0
  34. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/knowledge/organization.py +0 -0
  35. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/knowledge/publication.py +0 -0
  36. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/log_level.py +0 -0
  37. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/objects/__init__.py +0 -0
  38. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/objects/field.py +0 -0
  39. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/objects/object.py +0 -0
  40. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/rdf.py +0 -0
  41. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/__init__.py +0 -0
  42. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/agent.py +0 -0
  43. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/documents.py +0 -0
  44. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/graph.py +0 -0
  45. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/lookup.py +0 -0
  46. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/metadata.py +0 -0
  47. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/models.py +0 -0
  48. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/object.py +0 -0
  49. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/prompt.py +0 -0
  50. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/retrieval.py +0 -0
  51. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/topic.py +0 -0
  52. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph/schema/types.py +0 -0
  53. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph_base.egg-info/SOURCES.txt +0 -0
  54. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph_base.egg-info/dependency_links.txt +0 -0
  55. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph_base.egg-info/requires.txt +0 -0
  56. {trustgraph-base-0.21.3 → trustgraph-base-0.21.4}/trustgraph_base.egg-info/top_level.txt +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-base
3
- Version: 0.21.3
3
+ Version: 0.21.4
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.21.3.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.21.4.tar.gz
7
7
  Author: trustgraph.ai
8
8
  Author-email: security@trustgraph.ai
9
9
  Classifier: Programming Language :: Python :: 3
@@ -0,0 +1 @@
1
+ __version__ = "0.21.4"
@@ -1,11 +1,21 @@
1
1
 
2
- from pulsar.schema import Record, Bytes, String, Array
2
+ from pulsar.schema import Record, Bytes, String, Array, Long
3
3
  from . types import Triple
4
4
  from . topic import topic
5
5
  from . types import Error
6
6
  from . metadata import Metadata
7
7
  from . documents import Document, TextDocument
8
8
 
9
+ # add
10
+ # -> (id, document)
11
+ # <- ()
12
+ # <- (error)
13
+
14
+ # list
15
+ # -> (user, collection?)
16
+ # <- (info)
17
+ # <- (error)
18
+
9
19
  # add(Metadata, Bytes) : error?
10
20
  # copy(id, user, collection)
11
21
  # move(id, user, collection)
@@ -17,19 +27,25 @@ from . documents import Document, TextDocument
17
27
  # search(<key,op,value>[]) : id[]
18
28
 
19
29
  class DocumentPackage(Record):
20
- metadata = Array(Triple())
30
+ id = String()
21
31
  document = Bytes()
22
32
  kind = String()
23
33
  user = String()
24
34
  collection = String()
25
35
  title = String()
26
36
  comments = String()
37
+ time = Long()
38
+ metadata = Array(Triple())
27
39
 
28
40
  class DocumentInfo(Record):
29
- metadata = Array(Triple())
41
+ id = String()
30
42
  kind = String()
31
43
  user = String()
32
44
  collection = String()
45
+ title = String()
46
+ comments = String()
47
+ time = Long()
48
+ metadata = Array(Triple())
33
49
 
34
50
  class Criteria(Record):
35
51
  key = String()
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-base
3
- Version: 0.21.3
3
+ Version: 0.21.4
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.21.3.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.21.4.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.21.3"