trustgraph-flow 2.7.7__tar.gz → 2.7.8__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 (410) hide show
  1. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/PKG-INFO +1 -1
  2. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/cores/knowledge.py +61 -19
  3. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/cores/service.py +24 -5
  4. trustgraph_flow-2.7.8/trustgraph/flow_version.py +1 -0
  5. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tables/knowledge.py +83 -2
  6. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph_flow.egg-info/PKG-INFO +1 -1
  7. trustgraph_flow-2.7.7/trustgraph/flow_version.py +0 -1
  8. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/README.md +0 -0
  9. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/pyproject.toml +0 -0
  10. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/setup.cfg +0 -0
  11. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/__init__.py +0 -0
  12. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/__init__.py +0 -0
  13. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/mcp_tool/__init__.py +0 -0
  14. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/mcp_tool/__main__.py +0 -0
  15. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/mcp_tool/service.py +0 -0
  16. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/__init__.py +0 -0
  17. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/__main__.py +0 -0
  18. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/aggregator.py +0 -0
  19. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/meta_router.py +0 -0
  20. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/pattern_base.py +0 -0
  21. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/plan_pattern.py +0 -0
  22. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/react_pattern.py +0 -0
  23. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/service.py +0 -0
  24. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/orchestrator/supervisor_pattern.py +0 -0
  25. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/__init__.py +0 -0
  26. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/__main__.py +0 -0
  27. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/agent_manager.py +0 -0
  28. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/service.py +0 -0
  29. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/streaming_parser.py +0 -0
  30. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/tools.py +0 -0
  31. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/react/types.py +0 -0
  32. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/agent/tool_filter.py +0 -0
  33. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/__init__.py +0 -0
  34. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/base.py +0 -0
  35. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/bootstrapper/__init__.py +0 -0
  36. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/bootstrapper/__main__.py +0 -0
  37. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/bootstrapper/service.py +0 -0
  38. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/initialisers/__init__.py +0 -0
  39. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/initialisers/default_flow_start.py +0 -0
  40. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/initialisers/pulsar_topology.py +0 -0
  41. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/initialisers/template_seed.py +0 -0
  42. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/bootstrap/initialisers/workspace_init.py +0 -0
  43. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/__init__.py +0 -0
  44. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/recursive/__init__.py +0 -0
  45. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/recursive/__main__.py +0 -0
  46. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/recursive/chunker.py +0 -0
  47. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/token/__init__.py +0 -0
  48. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/token/__main__.py +0 -0
  49. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/chunking/token/chunker.py +0 -0
  50. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/config/service/__init__.py +0 -0
  51. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/config/service/__main__.py +0 -0
  52. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/config/service/config.py +0 -0
  53. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/config/service/service.py +0 -0
  54. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/cores/__init__.py +0 -0
  55. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/cores/__main__.py +0 -0
  56. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/__init__.py +0 -0
  57. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
  58. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
  59. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
  60. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/pdf/__init__.py +0 -0
  61. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/pdf/__main__.py +0 -0
  62. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
  63. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/direct/__init__.py +0 -0
  64. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/direct/cassandra_kg.py +0 -0
  65. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
  66. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
  67. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/__init__.py +0 -0
  68. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
  69. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
  70. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
  71. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/fastembed/__init__.py +0 -0
  72. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/fastembed/__main__.py +0 -0
  73. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/fastembed/processor.py +0 -0
  74. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
  75. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
  76. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
  77. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/ollama/__init__.py +0 -0
  78. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/ollama/__main__.py +0 -0
  79. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/ollama/processor.py +0 -0
  80. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/row_embeddings/__init__.py +0 -0
  81. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/row_embeddings/__main__.py +0 -0
  82. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/embeddings/row_embeddings/embeddings.py +0 -0
  83. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/external/__init__.py +0 -0
  84. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/external/wikipedia/__init__.py +0 -0
  85. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/external/wikipedia/__main__.py +0 -0
  86. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/external/wikipedia/service.py +0 -0
  87. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/__init__.py +0 -0
  88. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/__init__.py +0 -0
  89. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/agent/__init__.py +0 -0
  90. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/agent/__main__.py +0 -0
  91. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/agent/extract.py +0 -0
  92. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/definitions/__init__.py +0 -0
  93. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/definitions/__main__.py +0 -0
  94. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/definitions/extract.py +0 -0
  95. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/__init__.py +0 -0
  96. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/entity_normalizer.py +0 -0
  97. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/extract.py +0 -0
  98. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/ontology_embedder.py +0 -0
  99. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/ontology_loader.py +0 -0
  100. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/ontology_selector.py +0 -0
  101. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/run.py +0 -0
  102. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/simplified_parser.py +0 -0
  103. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/text_processor.py +0 -0
  104. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/triple_converter.py +0 -0
  105. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/ontology/vector_store.py +0 -0
  106. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/relationships/__init__.py +0 -0
  107. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/relationships/__main__.py +0 -0
  108. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/relationships/extract.py +0 -0
  109. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/rows/__init__.py +0 -0
  110. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/rows/__main__.py +0 -0
  111. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/rows/processor.py +0 -0
  112. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/topics/__init__.py +0 -0
  113. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/topics/__main__.py +0 -0
  114. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/extract/kg/topics/extract.py +0 -0
  115. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/flow/__init__.py +0 -0
  116. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/flow/service/__init__.py +0 -0
  117. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/flow/service/__main__.py +0 -0
  118. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/flow/service/flow.py +0 -0
  119. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/flow/service/service.py +0 -0
  120. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/__init__.py +0 -0
  121. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/__main__.py +0 -0
  122. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/audit.py +0 -0
  123. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/auth.py +0 -0
  124. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/capabilities.py +0 -0
  125. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/config/receiver.py +0 -0
  126. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/agent.py +0 -0
  127. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/collection_management.py +0 -0
  128. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/config.py +0 -0
  129. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/core_export.py +0 -0
  130. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/core_import.py +0 -0
  131. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
  132. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
  133. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/document_embeddings_query.py +0 -0
  134. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/document_load.py +0 -0
  135. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/document_rag.py +0 -0
  136. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/document_stream.py +0 -0
  137. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/embeddings.py +0 -0
  138. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
  139. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
  140. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/flow.py +0 -0
  141. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
  142. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
  143. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
  144. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
  145. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/iam.py +0 -0
  146. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/image_to_text.py +0 -0
  147. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/knowledge.py +0 -0
  148. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/librarian.py +0 -0
  149. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/manager.py +0 -0
  150. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
  151. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/mux.py +0 -0
  152. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
  153. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/prompt.py +0 -0
  154. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/requestor.py +0 -0
  155. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/reranker.py +0 -0
  156. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/row_embeddings_query.py +0 -0
  157. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/rows_import.py +0 -0
  158. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/rows_query.py +0 -0
  159. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/sender.py +0 -0
  160. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/serialize.py +0 -0
  161. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/sparql_query.py +0 -0
  162. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/streamer.py +0 -0
  163. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/structured_diag.py +0 -0
  164. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/structured_query.py +0 -0
  165. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/text_completion.py +0 -0
  166. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/text_load.py +0 -0
  167. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/triples_export.py +0 -0
  168. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/triples_import.py +0 -0
  169. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/dispatch/triples_query.py +0 -0
  170. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/auth_endpoints.py +0 -0
  171. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
  172. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/i18n.py +0 -0
  173. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/iam_endpoint.py +0 -0
  174. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/manager.py +0 -0
  175. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/metrics.py +0 -0
  176. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/registry_endpoint.py +0 -0
  177. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/socket.py +0 -0
  178. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
  179. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
  180. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/registry.py +0 -0
  181. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/running.py +0 -0
  182. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/service.py +0 -0
  183. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/unused/dbpedia.py +0 -0
  184. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/unused/encyclopedia.py +0 -0
  185. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/gateway/unused/internet_search.py +0 -0
  186. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/__init__.py +0 -0
  187. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/noauth/__init__.py +0 -0
  188. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/noauth/__main__.py +0 -0
  189. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/noauth/handler.py +0 -0
  190. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/noauth/service.py +0 -0
  191. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/service/__init__.py +0 -0
  192. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/service/__main__.py +0 -0
  193. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/service/iam.py +0 -0
  194. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/iam/service/service.py +0 -0
  195. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/librarian/__init__.py +0 -0
  196. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/librarian/__main__.py +0 -0
  197. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/librarian/blob_store.py +0 -0
  198. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/librarian/collection_manager.py +0 -0
  199. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/librarian/librarian.py +0 -0
  200. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/librarian/service.py +0 -0
  201. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/metering/__init__.py +0 -0
  202. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/metering/__main__.py +0 -0
  203. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/metering/counter.py +0 -0
  204. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/__init__.py +0 -0
  205. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/image_to_text/__init__.py +0 -0
  206. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/image_to_text/openai/__init__.py +0 -0
  207. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/image_to_text/openai/__main__.py +0 -0
  208. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/image_to_text/openai/service.py +0 -0
  209. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/__init__.py +0 -0
  210. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/azure/__init__.py +0 -0
  211. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/azure/__main__.py +0 -0
  212. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/azure/llm.py +0 -0
  213. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
  214. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
  215. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
  216. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/claude/__init__.py +0 -0
  217. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/claude/__main__.py +0 -0
  218. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/claude/llm.py +0 -0
  219. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
  220. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
  221. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/cohere/llm.py +0 -0
  222. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
  223. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
  224. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
  225. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
  226. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
  227. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
  228. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
  229. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
  230. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/mistral/llm.py +0 -0
  231. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
  232. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
  233. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/ollama/llm.py +0 -0
  234. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/openai/__init__.py +0 -0
  235. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/openai/__main__.py +0 -0
  236. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/openai/llm.py +0 -0
  237. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/openai/variants.py +0 -0
  238. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
  239. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
  240. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/tgi/llm.py +0 -0
  241. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
  242. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
  243. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/model/text_completion/vllm/llm.py +0 -0
  244. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/processing/__init__.py +0 -0
  245. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/processing/__main__.py +0 -0
  246. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/processing/processing.py +0 -0
  247. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/prompt/__init__.py +0 -0
  248. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/prompt/template/__init__.py +0 -0
  249. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/prompt/template/__main__.py +0 -0
  250. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/prompt/template/service.py +0 -0
  251. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/__init__.py +0 -0
  252. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/__init__.py +0 -0
  253. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
  254. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
  255. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
  256. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
  257. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
  258. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
  259. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
  260. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
  261. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
  262. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/__init__.py +0 -0
  263. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
  264. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
  265. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
  266. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
  267. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
  268. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
  269. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
  270. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
  271. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
  272. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graphql/__init__.py +0 -0
  273. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graphql/filters.py +0 -0
  274. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graphql/schema.py +0 -0
  275. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/graphql/types.py +0 -0
  276. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/__init__.py +0 -0
  277. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/answer_generator.py +0 -0
  278. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/backend_router.py +0 -0
  279. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/cache.py +0 -0
  280. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/cypher_executor.py +0 -0
  281. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/cypher_generator.py +0 -0
  282. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/error_handling.py +0 -0
  283. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/monitoring.py +0 -0
  284. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/multi_language.py +0 -0
  285. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/ontology_matcher.py +0 -0
  286. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/query_explanation.py +0 -0
  287. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/query_optimizer.py +0 -0
  288. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/query_service.py +0 -0
  289. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/question_analyzer.py +0 -0
  290. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/sparql_cassandra.py +0 -0
  291. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/ontology/sparql_generator.py +0 -0
  292. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/row_embeddings/__init__.py +0 -0
  293. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/row_embeddings/qdrant/__init__.py +0 -0
  294. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/row_embeddings/qdrant/__main__.py +0 -0
  295. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/row_embeddings/qdrant/service.py +0 -0
  296. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/rows/__init__.py +0 -0
  297. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/rows/cassandra/__init__.py +0 -0
  298. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/rows/cassandra/__main__.py +0 -0
  299. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/rows/cassandra/service.py +0 -0
  300. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/__init__.py +0 -0
  301. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/__main__.py +0 -0
  302. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/algebra.py +0 -0
  303. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/expressions.py +0 -0
  304. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/parser.py +0 -0
  305. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/service.py +0 -0
  306. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/sparql/solutions.py +0 -0
  307. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/__init__.py +0 -0
  308. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/cassandra/__init__.py +0 -0
  309. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/cassandra/__main__.py +0 -0
  310. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/cassandra/service.py +0 -0
  311. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/falkordb/__init__.py +0 -0
  312. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/falkordb/__main__.py +0 -0
  313. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/falkordb/service.py +0 -0
  314. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/memgraph/__init__.py +0 -0
  315. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/memgraph/__main__.py +0 -0
  316. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/memgraph/service.py +0 -0
  317. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/neo4j/__init__.py +0 -0
  318. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/neo4j/__main__.py +0 -0
  319. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/query/triples/neo4j/service.py +0 -0
  320. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/reranker/__init__.py +0 -0
  321. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/reranker/flashrank/__init__.py +0 -0
  322. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/reranker/flashrank/__main__.py +0 -0
  323. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/reranker/flashrank/processor.py +0 -0
  324. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/__init__.py +0 -0
  325. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/document_rag/__init__.py +0 -0
  326. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/document_rag/__main__.py +0 -0
  327. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
  328. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/document_rag/rag.py +0 -0
  329. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/document_rag/rerank.py +0 -0
  330. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
  331. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
  332. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
  333. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/graph_rag/rag.py +0 -0
  334. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
  335. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
  336. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/nlp_query/service.py +0 -0
  337. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/structured_diag/__init__.py +0 -0
  338. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/structured_diag/service.py +0 -0
  339. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/structured_diag/type_detector.py +0 -0
  340. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/structured_query/__init__.py +0 -0
  341. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/structured_query/__main__.py +0 -0
  342. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/retrieval/structured_query/service.py +0 -0
  343. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/rev_gateway/__init__.py +0 -0
  344. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/rev_gateway/__main__.py +0 -0
  345. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/rev_gateway/dispatcher.py +0 -0
  346. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/rev_gateway/service.py +0 -0
  347. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/__init__.py +0 -0
  348. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
  349. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
  350. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
  351. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
  352. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
  353. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
  354. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
  355. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
  356. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
  357. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
  358. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
  359. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
  360. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
  361. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
  362. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
  363. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
  364. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
  365. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
  366. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
  367. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
  368. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/knowledge/__init__.py +0 -0
  369. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/knowledge/__main__.py +0 -0
  370. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/knowledge/store.py +0 -0
  371. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/kw_index/__init__.py +0 -0
  372. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/kw_index/fts5/__init__.py +0 -0
  373. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/kw_index/fts5/__main__.py +0 -0
  374. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/kw_index/fts5/service.py +0 -0
  375. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/row_embeddings/__init__.py +0 -0
  376. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/row_embeddings/qdrant/__init__.py +0 -0
  377. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/row_embeddings/qdrant/__main__.py +0 -0
  378. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/row_embeddings/qdrant/write.py +0 -0
  379. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/rows/__init__.py +0 -0
  380. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
  381. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
  382. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/rows/cassandra/write.py +0 -0
  383. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/__init__.py +0 -0
  384. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
  385. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
  386. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/cassandra/write.py +0 -0
  387. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
  388. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
  389. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/falkordb/write.py +0 -0
  390. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
  391. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
  392. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/memgraph/write.py +0 -0
  393. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
  394. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
  395. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/storage/triples/neo4j/write.py +0 -0
  396. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tables/__init__.py +0 -0
  397. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tables/cassandra_async.py +0 -0
  398. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tables/config.py +0 -0
  399. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tables/iam.py +0 -0
  400. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tables/library.py +0 -0
  401. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/template/__init__.py +0 -0
  402. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/template/prompt_manager.py +0 -0
  403. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tool_service/__init__.py +0 -0
  404. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tool_service/joke/__init__.py +0 -0
  405. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph/tool_service/joke/service.py +0 -0
  406. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
  407. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
  408. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph_flow.egg-info/entry_points.txt +0 -0
  409. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph_flow.egg-info/requires.txt +0 -0
  410. {trustgraph_flow-2.7.7 → trustgraph_flow-2.7.8}/trustgraph_flow.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: trustgraph-flow
3
- Version: 2.7.7
3
+ Version: 2.7.8
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
  Author-email: "trustgraph.ai" <security@trustgraph.ai>
6
6
  Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
@@ -15,11 +15,24 @@ import logging
15
15
  # Module logger
16
16
  logger = logging.getLogger(__name__)
17
17
 
18
+
19
+ async def _librarian_error(respond, message):
20
+ await respond(
21
+ KnowledgeResponse(
22
+ error=Error(
23
+ type="librarian-error",
24
+ message=message,
25
+ ),
26
+ )
27
+ )
28
+
29
+
18
30
  class KnowledgeManager:
19
31
 
20
32
  def __init__(
21
33
  self, cassandra_host, cassandra_username, cassandra_password,
22
- keyspace, flow_config, librarian=None, replication_factor=1,
34
+ keyspace, flow_config, librarian_clients=None,
35
+ replication_factor=1,
23
36
  ):
24
37
 
25
38
  self.table_store = KnowledgeTableStore(
@@ -27,7 +40,7 @@ class KnowledgeManager:
27
40
  replication_factor
28
41
  )
29
42
 
30
- self.librarian = librarian
43
+ self.librarian_clients = librarian_clients if librarian_clients is not None else {}
31
44
  self._pending_library_metadata = {}
32
45
 
33
46
  self.loader_queue = asyncio.Queue(maxsize=20)
@@ -90,8 +103,19 @@ class KnowledgeManager:
90
103
  publish_ge,
91
104
  )
92
105
 
93
- if self.librarian:
94
- await self._stream_library_docs(request.id, respond)
106
+ librarian = self.librarian_clients.get(workspace)
107
+ if librarian is None:
108
+ logger.error(
109
+ f"No librarian client for workspace {workspace}"
110
+ )
111
+ await _librarian_error(
112
+ respond,
113
+ f"No librarian client for workspace {workspace}",
114
+ )
115
+ else:
116
+ await self._stream_library_docs(
117
+ librarian, request.id, respond,
118
+ )
95
119
 
96
120
  logger.debug("Knowledge core retrieval complete")
97
121
 
@@ -129,11 +153,22 @@ class KnowledgeManager:
129
153
  workspace, request.graph_embeddings
130
154
  )
131
155
 
132
- if request.library_metadata and self.librarian:
133
- await self._put_library_metadata(request.library_metadata, workspace)
156
+ librarian = self.librarian_clients.get(workspace)
134
157
 
135
- if request.library_blob and self.librarian:
136
- await self._put_library_blob(request.library_blob, workspace)
158
+ if request.library_metadata or request.library_blob:
159
+ if librarian is None:
160
+ logger.error(
161
+ f"No librarian client for workspace {workspace}"
162
+ )
163
+ else:
164
+ if request.library_metadata:
165
+ await self._put_library_metadata(
166
+ request.library_metadata, workspace,
167
+ )
168
+ if request.library_blob:
169
+ await self._put_library_blob(
170
+ librarian, request.library_blob, workspace,
171
+ )
137
172
 
138
173
  await respond(
139
174
  KnowledgeResponse(
@@ -263,36 +298,42 @@ class KnowledgeManager:
263
298
 
264
299
  await self.loader_queue.put((request, respond, workspace))
265
300
 
266
- async def _stream_library_docs(self, document_id, respond):
301
+ async def _stream_library_docs(self, librarian, document_id, respond):
267
302
 
268
303
  try:
269
- root_meta = await self.librarian.fetch_document_metadata(
304
+ root_meta = await librarian.fetch_document_metadata(
270
305
  document_id
271
306
  )
272
307
  except Exception as e:
273
308
  logger.warning(f"Could not fetch library metadata for {document_id}: {e}")
309
+ await _librarian_error(respond, str(e))
274
310
  return
275
311
 
276
312
  if root_meta is None:
277
313
  return
278
314
 
279
- await self._stream_one_doc(root_meta, respond)
315
+ await self._stream_doc_tree(librarian, root_meta, respond)
316
+
317
+ async def _stream_doc_tree(self, librarian, doc_meta, respond):
318
+
319
+ await self._stream_one_doc(librarian, doc_meta, respond)
280
320
 
281
321
  try:
282
- resp = await self.librarian.request(
322
+ resp = await librarian.request(
283
323
  LibrarianRequest(
284
324
  operation="list-children",
285
- document_id=document_id,
325
+ document_id=doc_meta.id,
286
326
  )
287
327
  )
288
328
  except Exception as e:
289
- logger.warning(f"Could not list children for {document_id}: {e}")
329
+ logger.warning(f"Could not list children for {doc_meta.id}: {e}")
330
+ await _librarian_error(respond, str(e))
290
331
  return
291
332
 
292
333
  for child_meta in resp.document_metadatas:
293
- await self._stream_one_doc(child_meta, respond)
334
+ await self._stream_doc_tree(librarian, child_meta, respond)
294
335
 
295
- async def _stream_one_doc(self, doc_meta, respond):
336
+ async def _stream_one_doc(self, librarian, doc_meta, respond):
296
337
 
297
338
  lm = LibraryMetadata(
298
339
  id=doc_meta.id,
@@ -309,11 +350,12 @@ class KnowledgeManager:
309
350
  )
310
351
 
311
352
  try:
312
- content = await self.librarian.fetch_document_content(
353
+ content = await librarian.fetch_document_content(
313
354
  doc_meta.id
314
355
  )
315
356
  except Exception as e:
316
357
  logger.warning(f"Could not fetch content for {doc_meta.id}: {e}")
358
+ await _librarian_error(respond, str(e))
317
359
  return
318
360
 
319
361
  await respond(
@@ -328,7 +370,7 @@ class KnowledgeManager:
328
370
  async def _put_library_metadata(self, lm, workspace):
329
371
  self._pending_library_metadata[lm.id] = lm
330
372
 
331
- async def _put_library_blob(self, lb, workspace):
373
+ async def _put_library_blob(self, librarian, lb, workspace):
332
374
 
333
375
  lm = self._pending_library_metadata.pop(lb.id, None)
334
376
  if lm is None:
@@ -353,7 +395,7 @@ class KnowledgeManager:
353
395
  operation = "add-document"
354
396
 
355
397
  try:
356
- await self.librarian.request(
398
+ await librarian.request(
357
399
  LibrarianRequest(
358
400
  operation=operation,
359
401
  document_id=lm.id,
@@ -16,6 +16,7 @@ from .. base import LibrarianClient
16
16
 
17
17
  from .. schema import KnowledgeRequest, KnowledgeResponse, Error
18
18
  from .. schema import knowledge_request_queue, knowledge_response_queue
19
+ from .. schema import librarian_request_queue, librarian_response_queue
19
20
 
20
21
  from .. schema import Document, Metadata
21
22
  from .. schema import TextDocument, Metadata
@@ -79,9 +80,7 @@ class Processor(WorkspaceProcessor):
79
80
  }
80
81
  )
81
82
 
82
- self.librarian_client = LibrarianClient(
83
- id=id, backend=self.pubsub, taskgroup=self.taskgroup,
84
- )
83
+ self.librarian_clients = {}
85
84
 
86
85
  self.knowledge = KnowledgeManager(
87
86
  cassandra_host = self.cassandra_host,
@@ -89,7 +88,7 @@ class Processor(WorkspaceProcessor):
89
88
  cassandra_password = self.cassandra_password,
90
89
  keyspace = keyspace,
91
90
  flow_config = self,
92
- librarian = self.librarian_client,
91
+ librarian_clients = self.librarian_clients,
93
92
  replication_factor = replication_factor,
94
93
  )
95
94
 
@@ -142,18 +141,39 @@ class Processor(WorkspaceProcessor):
142
141
  ),
143
142
  )
144
143
 
144
+ librarian_client = LibrarianClient(
145
+ id=self.id,
146
+ backend=self.pubsub,
147
+ taskgroup=self.taskgroup,
148
+ librarian_request_queue=workspace_queue(
149
+ librarian_request_queue, workspace,
150
+ ),
151
+ librarian_response_queue=workspace_queue(
152
+ librarian_response_queue, workspace,
153
+ ),
154
+ librarian_subscriber=(
155
+ f"{self.id}--{workspace}--librarian"
156
+ ),
157
+ )
158
+
145
159
  await response_producer.start()
146
160
  await consumer.start()
161
+ await librarian_client.start()
162
+
163
+ self.librarian_clients[workspace] = librarian_client
147
164
 
148
165
  self.workspace_consumers[workspace] = {
149
166
  "consumer": consumer,
150
167
  "response": response_producer,
168
+ "librarian": librarian_client,
151
169
  }
152
170
 
153
171
  logger.info(f"Subscribed to workspace queue: {workspace}")
154
172
 
155
173
  async def on_workspace_deleted(self, workspace):
156
174
 
175
+ self.librarian_clients.pop(workspace, None)
176
+
157
177
  clients = self.workspace_consumers.pop(workspace, None)
158
178
  if clients:
159
179
  for client in clients.values():
@@ -163,7 +183,6 @@ class Processor(WorkspaceProcessor):
163
183
  async def start(self):
164
184
 
165
185
  await super(Processor, self).start()
166
- await self.librarian_client.start()
167
186
 
168
187
  async def on_knowledge_config(self, workspace, config, version):
169
188
 
@@ -0,0 +1 @@
1
+ __version__ = "2.7.8"
@@ -1,18 +1,92 @@
1
1
 
2
+ import json
3
+
2
4
  from .. schema import KnowledgeResponse, Triple, Triples, EntityEmbeddings
3
- from .. schema import Metadata, Term, IRI, LITERAL, GraphEmbeddings
5
+ from .. schema import Metadata, Term, IRI, BLANK, LITERAL, TRIPLE
6
+ from .. schema import GraphEmbeddings
4
7
  from .. schema import DocumentEmbeddings, ChunkEmbeddings
5
8
 
6
9
  from cassandra.cluster import Cluster
7
10
 
8
11
  from . cassandra_async import async_execute, async_execute_paged
9
12
 
13
+ TRIPLE_MARKER = "<<TRIPLE>>"
14
+ BLANK_MARKER = "<<BLANK>>"
15
+
16
+
17
+ def _serialize_term(term):
18
+ if term.type == IRI:
19
+ return {"t": "i", "i": term.iri}
20
+ elif term.type == LITERAL:
21
+ r = {"t": "l", "v": term.value}
22
+ if term.datatype:
23
+ r["dt"] = term.datatype
24
+ if term.language:
25
+ r["ln"] = term.language
26
+ return r
27
+ elif term.type == BLANK:
28
+ return {"t": "b", "d": term.id}
29
+ elif term.type == TRIPLE and term.triple:
30
+ return {"t": "t", "tr": _serialize_triple(term.triple)}
31
+ return {"t": term.type}
32
+
33
+
34
+ def _deserialize_term(data):
35
+ t = data.get("t", "")
36
+ if t == "i":
37
+ return Term(type=IRI, iri=data.get("i", ""))
38
+ elif t == "l":
39
+ return Term(
40
+ type=LITERAL, value=data.get("v", ""),
41
+ datatype=data.get("dt", ""), language=data.get("ln", ""),
42
+ )
43
+ elif t == "b":
44
+ return Term(type=BLANK, id=data.get("d", ""))
45
+ elif t == "t":
46
+ tr = data.get("tr")
47
+ return Term(
48
+ type=TRIPLE,
49
+ triple=_deserialize_triple(tr) if tr else None,
50
+ )
51
+ return Term(type=t)
52
+
53
+
54
+ def _serialize_triple(triple):
55
+ r = {}
56
+ if triple.s:
57
+ r["s"] = _serialize_term(triple.s)
58
+ if triple.p:
59
+ r["p"] = _serialize_term(triple.p)
60
+ if triple.o:
61
+ r["o"] = _serialize_term(triple.o)
62
+ if triple.g:
63
+ r["g"] = triple.g
64
+ return r
65
+
66
+
67
+ def _deserialize_triple(data):
68
+ return Triple(
69
+ s=_deserialize_term(data["s"]) if "s" in data else None,
70
+ p=_deserialize_term(data["p"]) if "p" in data else None,
71
+ o=_deserialize_term(data["o"]) if "o" in data else None,
72
+ g=data.get("g"),
73
+ )
74
+
10
75
 
11
76
  def term_to_tuple(term):
12
77
  """Convert Term to (value, is_uri) tuple for database storage."""
13
78
  if term.type == IRI:
14
79
  return (term.iri, True)
15
- else: # LITERAL
80
+ elif term.type == TRIPLE:
81
+ return (
82
+ TRIPLE_MARKER + json.dumps(
83
+ _serialize_triple(term.triple), separators=(",", ":")
84
+ ),
85
+ False,
86
+ )
87
+ elif term.type == BLANK:
88
+ return (BLANK_MARKER + term.id, False)
89
+ else:
16
90
  return (term.value, False)
17
91
 
18
92
 
@@ -20,6 +94,13 @@ def tuple_to_term(value, is_uri):
20
94
  """Convert (value, is_uri) tuple from database to Term."""
21
95
  if is_uri:
22
96
  return Term(type=IRI, iri=value)
97
+ elif value.startswith(TRIPLE_MARKER):
98
+ triple_data = json.loads(value[len(TRIPLE_MARKER):])
99
+ return Term(
100
+ type=TRIPLE, triple=_deserialize_triple(triple_data),
101
+ )
102
+ elif value.startswith(BLANK_MARKER):
103
+ return Term(type=BLANK, id=value[len(BLANK_MARKER):])
23
104
  else:
24
105
  return Term(type=LITERAL, value=value)
25
106
  from cassandra.auth import PlainTextAuthProvider
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: trustgraph-flow
3
- Version: 2.7.7
3
+ Version: 2.7.8
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
  Author-email: "trustgraph.ai" <security@trustgraph.ai>
6
6
  Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
@@ -1 +0,0 @@
1
- __version__ = "2.7.7"