trustgraph-base 0.18.13__tar.gz → 0.19.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.18.13 → trustgraph-base-0.19.0}/PKG-INFO +2 -2
  2. trustgraph-base-0.19.0/trustgraph/base_version.py +1 -0
  3. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/documents.py +1 -11
  4. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/graph.py +21 -2
  5. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph_base.egg-info/PKG-INFO +2 -2
  6. trustgraph-base-0.18.13/trustgraph/base_version.py +0 -1
  7. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/README.md +0 -0
  8. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/setup.cfg +0 -0
  9. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/setup.py +0 -0
  10. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/api/__init__.py +0 -0
  11. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/api/api.py +0 -0
  12. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/base/__init__.py +0 -0
  13. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/base/base_processor.py +0 -0
  14. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/base/consumer.py +0 -0
  15. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/base/consumer_producer.py +0 -0
  16. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/base/producer.py +0 -0
  17. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/__init__.py +0 -0
  18. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/agent_client.py +0 -0
  19. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/base.py +0 -0
  20. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/document_embeddings_client.py +0 -0
  21. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/document_rag_client.py +0 -0
  22. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/embeddings_client.py +0 -0
  23. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/graph_embeddings_client.py +0 -0
  24. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/graph_rag_client.py +0 -0
  25. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/llm_client.py +0 -0
  26. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/prompt_client.py +0 -0
  27. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/clients/triples_query_client.py +0 -0
  28. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/exceptions.py +0 -0
  29. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/knowledge/__init__.py +0 -0
  30. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/knowledge/defs.py +0 -0
  31. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/knowledge/document.py +0 -0
  32. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/knowledge/identifier.py +0 -0
  33. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/knowledge/organization.py +0 -0
  34. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/knowledge/publication.py +0 -0
  35. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/log_level.py +0 -0
  36. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/objects/__init__.py +0 -0
  37. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/objects/field.py +0 -0
  38. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/objects/object.py +0 -0
  39. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/rdf.py +0 -0
  40. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/__init__.py +0 -0
  41. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/agent.py +0 -0
  42. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/lookup.py +0 -0
  43. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/metadata.py +0 -0
  44. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/models.py +0 -0
  45. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/object.py +0 -0
  46. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/prompt.py +0 -0
  47. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/retrieval.py +0 -0
  48. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/topic.py +0 -0
  49. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph/schema/types.py +0 -0
  50. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph_base.egg-info/SOURCES.txt +0 -0
  51. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph_base.egg-info/dependency_links.txt +0 -0
  52. {trustgraph-base-0.18.13 → trustgraph-base-0.19.0}/trustgraph_base.egg-info/requires.txt +0 -0
  53. {trustgraph-base-0.18.13 → trustgraph-base-0.19.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.18.13
3
+ Version: 0.19.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.18.13.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.19.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.19.0"
@@ -35,17 +35,6 @@ chunk_ingest_queue = topic('chunk-load')
35
35
 
36
36
  ############################################################################
37
37
 
38
- # Chunk embeddings are an embeddings associated with a text chunk
39
-
40
- class ChunkEmbeddings(Record):
41
- metadata = Metadata()
42
- vectors = Array(Array(Double()))
43
- chunk = Bytes()
44
-
45
- chunk_embeddings_ingest_queue = topic('chunk-embeddings-load')
46
-
47
- ############################################################################
48
-
49
38
  # Doc embeddings query
50
39
 
51
40
  class DocumentEmbeddingsRequest(Record):
@@ -62,3 +51,4 @@ document_embeddings_request_queue = topic(
62
51
  document_embeddings_response_queue = topic(
63
52
  'doc-embeddings', kind='non-persistent', namespace='response',
64
53
  )
54
+
@@ -7,12 +7,31 @@ from . metadata import Metadata
7
7
 
8
8
  ############################################################################
9
9
 
10
+ # Entity context are an entity associated with textual context
11
+
12
+ class EntityContext(Record):
13
+ entity = Value()
14
+ context = String()
15
+
16
+ # This is a 'batching' mechanism for the above data
17
+ class EntityContexts(Record):
18
+ metadata = Metadata()
19
+ entities = Array(EntityContext())
20
+
21
+ entity_contexts_ingest_queue = topic('entity-contexts-load')
22
+
23
+ ############################################################################
24
+
10
25
  # Graph embeddings are embeddings associated with a graph entity
11
26
 
27
+ class EntityEmbeddings(Record):
28
+ entity = Value()
29
+ vectors = Array(Array(Double()))
30
+
31
+ # This is a 'batching' mechanism for the above data
12
32
  class GraphEmbeddings(Record):
13
33
  metadata = Metadata()
14
- vectors = Array(Array(Double()))
15
- entity = Value()
34
+ entities = Array(EntityEmbeddings())
16
35
 
17
36
  graph_embeddings_store_queue = topic('graph-embeddings-store')
18
37
 
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-base
3
- Version: 0.18.13
3
+ Version: 0.19.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.18.13.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.19.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+)
@@ -1 +0,0 @@
1
- __version__ = "0.18.13"