trustgraph-flow 3.0.0rc15__tar.gz → 3.0.1__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 (473) hide show
  1. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/PKG-INFO +1 -1
  2. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/direct/cassandra_kg.py +118 -509
  3. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/query_formulation/service.py +6 -1
  4. trustgraph_flow-3.0.1/trustgraph/flow_version.py +1 -0
  5. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/expressions.py +41 -1
  6. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/cassandra/service.py +27 -0
  7. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph_flow.egg-info/PKG-INFO +1 -1
  8. trustgraph_flow-3.0.0rc15/trustgraph/flow_version.py +0 -1
  9. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/README.md +0 -0
  10. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/pyproject.toml +0 -0
  11. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/setup.cfg +0 -0
  12. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/__init__.py +0 -0
  13. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/__init__.py +0 -0
  14. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/erp_finance/__init__.py +0 -0
  15. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/erp_finance/service.py +0 -0
  16. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/joke/__init__.py +0 -0
  17. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/joke/service.py +0 -0
  18. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/redact/__init__.py +0 -0
  19. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/redact/service.py +0 -0
  20. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/web/__init__.py +0 -0
  21. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/action_service/web/service.py +0 -0
  22. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/__init__.py +0 -0
  23. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/mcp_tool/__init__.py +0 -0
  24. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/mcp_tool/__main__.py +0 -0
  25. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/mcp_tool/service.py +0 -0
  26. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/__init__.py +0 -0
  27. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/__main__.py +0 -0
  28. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/aggregator.py +0 -0
  29. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/meta_router.py +0 -0
  30. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/pattern_base.py +0 -0
  31. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/plan_pattern.py +0 -0
  32. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/react_pattern.py +0 -0
  33. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/service.py +0 -0
  34. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/orchestrator/supervisor_pattern.py +0 -0
  35. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/__init__.py +0 -0
  36. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/__main__.py +0 -0
  37. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/agent_manager.py +0 -0
  38. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/service.py +0 -0
  39. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/streaming_parser.py +0 -0
  40. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/tools.py +0 -0
  41. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/react/types.py +0 -0
  42. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/agent/tool_filter.py +0 -0
  43. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/__init__.py +0 -0
  44. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/base.py +0 -0
  45. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/bootstrapper/__init__.py +0 -0
  46. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/bootstrapper/__main__.py +0 -0
  47. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/bootstrapper/service.py +0 -0
  48. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/initialisers/__init__.py +0 -0
  49. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/initialisers/default_flow_start.py +0 -0
  50. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/initialisers/pulsar_topology.py +0 -0
  51. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/initialisers/template_seed.py +0 -0
  52. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/bootstrap/initialisers/workspace_init.py +0 -0
  53. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/__init__.py +0 -0
  54. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/recursive/__init__.py +0 -0
  55. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/recursive/__main__.py +0 -0
  56. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/recursive/chunker.py +0 -0
  57. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/token/__init__.py +0 -0
  58. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/token/__main__.py +0 -0
  59. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/chunking/token/chunker.py +0 -0
  60. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/config/service/__init__.py +0 -0
  61. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/config/service/__main__.py +0 -0
  62. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/config/service/config.py +0 -0
  63. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/config/service/service.py +0 -0
  64. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/cores/__init__.py +0 -0
  65. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/cores/__main__.py +0 -0
  66. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/cores/knowledge.py +0 -0
  67. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/cores/service.py +0 -0
  68. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/__init__.py +0 -0
  69. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
  70. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
  71. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
  72. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/pdf/__init__.py +0 -0
  73. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/pdf/__main__.py +0 -0
  74. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
  75. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/direct/__init__.py +0 -0
  76. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
  77. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
  78. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/__init__.py +0 -0
  79. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
  80. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
  81. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
  82. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/fastembed/__init__.py +0 -0
  83. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/fastembed/__main__.py +0 -0
  84. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/fastembed/processor.py +0 -0
  85. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
  86. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
  87. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
  88. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/ollama/__init__.py +0 -0
  89. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/ollama/__main__.py +0 -0
  90. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/ollama/processor.py +0 -0
  91. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/row_embeddings/__init__.py +0 -0
  92. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/row_embeddings/__main__.py +0 -0
  93. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/embeddings/row_embeddings/embeddings.py +0 -0
  94. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/__init__.py +0 -0
  95. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/__init__.py +0 -0
  96. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/__main__.py +0 -0
  97. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/chunking.py +0 -0
  98. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/common.py +0 -0
  99. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/decoding.py +0 -0
  100. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/extraction.py +0 -0
  101. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/handlers.py +0 -0
  102. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/mcp_tool.py +0 -0
  103. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/query_formulation.py +0 -0
  104. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/query_spec_join.py +0 -0
  105. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/query_spec_summarise.py +0 -0
  106. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/retrieval.py +0 -0
  107. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/service.py +0 -0
  108. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/synthesis.py +0 -0
  109. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/system1.py +0 -0
  110. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/action_worker/transform.py +0 -0
  111. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/orchestrator/__init__.py +0 -0
  112. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/orchestrator/service.py +0 -0
  113. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/planner/__init__.py +0 -0
  114. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/planner/__main__.py +0 -0
  115. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/planner/service.py +0 -0
  116. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/policy/__init__.py +0 -0
  117. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/policy/__main__.py +0 -0
  118. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/policy/evaluator.py +0 -0
  119. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/policy/service.py +0 -0
  120. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/query_formulation/__init__.py +0 -0
  121. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/verification/__init__.py +0 -0
  122. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/verification/__main__.py +0 -0
  123. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/execution/verification/service.py +0 -0
  124. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/external/__init__.py +0 -0
  125. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/external/wikipedia/__init__.py +0 -0
  126. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/external/wikipedia/__main__.py +0 -0
  127. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/external/wikipedia/service.py +0 -0
  128. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/__init__.py +0 -0
  129. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/__init__.py +0 -0
  130. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/agent/__init__.py +0 -0
  131. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/agent/__main__.py +0 -0
  132. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/agent/extract.py +0 -0
  133. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/definitions/__init__.py +0 -0
  134. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/definitions/__main__.py +0 -0
  135. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/definitions/extract.py +0 -0
  136. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/extract_metrics.py +0 -0
  137. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/__init__.py +0 -0
  138. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/entity_normalizer.py +0 -0
  139. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/extract.py +0 -0
  140. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/ontology_embedder.py +0 -0
  141. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/ontology_loader.py +0 -0
  142. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/ontology_selector.py +0 -0
  143. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/run.py +0 -0
  144. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/simplified_parser.py +0 -0
  145. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/text_processor.py +0 -0
  146. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/triple_converter.py +0 -0
  147. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/ontology/vector_store.py +0 -0
  148. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/relationships/__init__.py +0 -0
  149. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/relationships/__main__.py +0 -0
  150. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/relationships/extract.py +0 -0
  151. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/rows/__init__.py +0 -0
  152. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/rows/__main__.py +0 -0
  153. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/rows/processor.py +0 -0
  154. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/topics/__init__.py +0 -0
  155. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/topics/__main__.py +0 -0
  156. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/extract/kg/topics/extract.py +0 -0
  157. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/flow/__init__.py +0 -0
  158. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/flow/service/__init__.py +0 -0
  159. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/flow/service/__main__.py +0 -0
  160. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/flow/service/flow.py +0 -0
  161. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/flow/service/service.py +0 -0
  162. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/__init__.py +0 -0
  163. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/__main__.py +0 -0
  164. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/audit.py +0 -0
  165. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/auth.py +0 -0
  166. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/capabilities.py +0 -0
  167. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/config/receiver.py +0 -0
  168. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/action.py +0 -0
  169. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/agent.py +0 -0
  170. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/chunker.py +0 -0
  171. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/cloze.py +0 -0
  172. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/collection_management.py +0 -0
  173. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/concept_extraction.py +0 -0
  174. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/config.py +0 -0
  175. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/core_export.py +0 -0
  176. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/core_import.py +0 -0
  177. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/decision_scoring.py +0 -0
  178. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_decode.py +0 -0
  179. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
  180. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
  181. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_embeddings_query.py +0 -0
  182. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_load.py +0 -0
  183. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_rag.py +0 -0
  184. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/document_stream.py +0 -0
  185. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/embeddings.py +0 -0
  186. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
  187. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
  188. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/extraction.py +0 -0
  189. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/field_extraction.py +0 -0
  190. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/flow.py +0 -0
  191. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
  192. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
  193. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
  194. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
  195. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/iam.py +0 -0
  196. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/image_to_text.py +0 -0
  197. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/knowledge.py +0 -0
  198. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/knowledge_retrieval.py +0 -0
  199. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/librarian.py +0 -0
  200. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/manager.py +0 -0
  201. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
  202. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/mux.py +0 -0
  203. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/nl_sparql.py +0 -0
  204. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
  205. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/ontology.py +0 -0
  206. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/orchestrator.py +0 -0
  207. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/passthrough.py +0 -0
  208. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/planner.py +0 -0
  209. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/policy_engine.py +0 -0
  210. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/prompt.py +0 -0
  211. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/query_formulation.py +0 -0
  212. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/requestor.py +0 -0
  213. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/reranker.py +0 -0
  214. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/row_embeddings_query.py +0 -0
  215. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/rows_import.py +0 -0
  216. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/rows_query.py +0 -0
  217. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/sender.py +0 -0
  218. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/serialize.py +0 -0
  219. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/sparql_nl_query.py +0 -0
  220. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/sparql_query.py +0 -0
  221. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/structured_diag.py +0 -0
  222. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/structured_query.py +0 -0
  223. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/text_completion.py +0 -0
  224. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/text_load.py +0 -0
  225. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/triples_export.py +0 -0
  226. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/triples_import.py +0 -0
  227. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/triples_query.py +0 -0
  228. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/dispatch/verification.py +0 -0
  229. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/auth_endpoints.py +0 -0
  230. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
  231. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/i18n.py +0 -0
  232. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/iam_endpoint.py +0 -0
  233. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/manager.py +0 -0
  234. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/metrics.py +0 -0
  235. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/registry_endpoint.py +0 -0
  236. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/socket.py +0 -0
  237. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
  238. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
  239. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/registry.py +0 -0
  240. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/running.py +0 -0
  241. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/service.py +0 -0
  242. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/unused/dbpedia.py +0 -0
  243. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/unused/encyclopedia.py +0 -0
  244. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/gateway/unused/internet_search.py +0 -0
  245. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/__init__.py +0 -0
  246. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/noauth/__init__.py +0 -0
  247. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/noauth/__main__.py +0 -0
  248. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/noauth/handler.py +0 -0
  249. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/noauth/service.py +0 -0
  250. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/service/__init__.py +0 -0
  251. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/service/__main__.py +0 -0
  252. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/service/iam.py +0 -0
  253. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/iam/service/service.py +0 -0
  254. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/librarian/__init__.py +0 -0
  255. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/librarian/__main__.py +0 -0
  256. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/librarian/blob_store.py +0 -0
  257. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/librarian/collection_manager.py +0 -0
  258. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/librarian/librarian.py +0 -0
  259. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/librarian/service.py +0 -0
  260. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/metering/__init__.py +0 -0
  261. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/metering/__main__.py +0 -0
  262. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/metering/counter.py +0 -0
  263. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/__init__.py +0 -0
  264. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/decision_scoring/__init__.py +0 -0
  265. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/image_to_text/__init__.py +0 -0
  266. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/image_to_text/openai/__init__.py +0 -0
  267. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/image_to_text/openai/__main__.py +0 -0
  268. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/image_to_text/openai/service.py +0 -0
  269. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/__init__.py +0 -0
  270. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/azure/__init__.py +0 -0
  271. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/azure/__main__.py +0 -0
  272. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/azure/llm.py +0 -0
  273. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
  274. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
  275. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
  276. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/claude/__init__.py +0 -0
  277. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/claude/__main__.py +0 -0
  278. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/claude/llm.py +0 -0
  279. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
  280. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
  281. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/cohere/llm.py +0 -0
  282. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
  283. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
  284. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
  285. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
  286. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
  287. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
  288. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
  289. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
  290. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/mistral/llm.py +0 -0
  291. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
  292. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
  293. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/ollama/llm.py +0 -0
  294. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/openai/__init__.py +0 -0
  295. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/openai/__main__.py +0 -0
  296. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/openai/llm.py +0 -0
  297. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/openai/variants.py +0 -0
  298. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
  299. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
  300. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/tgi/llm.py +0 -0
  301. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
  302. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
  303. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/model/text_completion/vllm/llm.py +0 -0
  304. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/ontology/__init__.py +0 -0
  305. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/ontology/__main__.py +0 -0
  306. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/ontology/service.py +0 -0
  307. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/policy/__init__.py +0 -0
  308. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/policy/policy_filter.py +0 -0
  309. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/policy/triples/__init__.py +0 -0
  310. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/policy/triples/service.py +0 -0
  311. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/processing/__init__.py +0 -0
  312. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/processing/__main__.py +0 -0
  313. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/processing/processing.py +0 -0
  314. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/prompt/__init__.py +0 -0
  315. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/prompt/template/__init__.py +0 -0
  316. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/prompt/template/__main__.py +0 -0
  317. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/prompt/template/service.py +0 -0
  318. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/__init__.py +0 -0
  319. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/__init__.py +0 -0
  320. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
  321. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
  322. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
  323. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
  324. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
  325. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
  326. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
  327. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
  328. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
  329. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/__init__.py +0 -0
  330. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
  331. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
  332. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
  333. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
  334. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
  335. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
  336. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
  337. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
  338. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
  339. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graphql/__init__.py +0 -0
  340. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graphql/filters.py +0 -0
  341. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graphql/schema.py +0 -0
  342. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/graphql/types.py +0 -0
  343. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/row_embeddings/__init__.py +0 -0
  344. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/row_embeddings/qdrant/__init__.py +0 -0
  345. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/row_embeddings/qdrant/__main__.py +0 -0
  346. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/row_embeddings/qdrant/service.py +0 -0
  347. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/rows/__init__.py +0 -0
  348. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/rows/cassandra/__init__.py +0 -0
  349. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/rows/cassandra/__main__.py +0 -0
  350. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/rows/cassandra/service.py +0 -0
  351. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/__init__.py +0 -0
  352. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/__main__.py +0 -0
  353. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/algebra.py +0 -0
  354. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/parser.py +0 -0
  355. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/service.py +0 -0
  356. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/sparql/solutions.py +0 -0
  357. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/__init__.py +0 -0
  358. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/cassandra/__init__.py +0 -0
  359. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/cassandra/__main__.py +0 -0
  360. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/falkordb/__init__.py +0 -0
  361. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/falkordb/__main__.py +0 -0
  362. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/falkordb/service.py +0 -0
  363. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/memgraph/__init__.py +0 -0
  364. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/memgraph/__main__.py +0 -0
  365. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/memgraph/service.py +0 -0
  366. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/neo4j/__init__.py +0 -0
  367. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/neo4j/__main__.py +0 -0
  368. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/query/triples/neo4j/service.py +0 -0
  369. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/reranker/__init__.py +0 -0
  370. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/reranker/flashrank/__init__.py +0 -0
  371. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/reranker/flashrank/__main__.py +0 -0
  372. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/reranker/flashrank/processor.py +0 -0
  373. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/__init__.py +0 -0
  374. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/concept_extraction/__init__.py +0 -0
  375. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/concept_extraction/__main__.py +0 -0
  376. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/concept_extraction/service.py +0 -0
  377. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/document_rag/__init__.py +0 -0
  378. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/document_rag/__main__.py +0 -0
  379. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
  380. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/document_rag/rag.py +0 -0
  381. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/document_rag/rerank.py +0 -0
  382. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
  383. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
  384. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
  385. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/graph_rag/rag.py +0 -0
  386. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/knowledge_retrieval/__init__.py +0 -0
  387. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/knowledge_retrieval/__main__.py +0 -0
  388. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/knowledge_retrieval/service.py +0 -0
  389. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/knowledge_retrieval/traversal.py +0 -0
  390. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/nl_sparql/__init__.py +0 -0
  391. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/nl_sparql/__main__.py +0 -0
  392. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/nl_sparql/service.py +0 -0
  393. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
  394. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
  395. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/nlp_query/service.py +0 -0
  396. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/sparql_nl_query/__init__.py +0 -0
  397. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/sparql_nl_query/__main__.py +0 -0
  398. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/sparql_nl_query/service.py +0 -0
  399. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/structured_diag/__init__.py +0 -0
  400. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/structured_diag/service.py +0 -0
  401. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/structured_diag/type_detector.py +0 -0
  402. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/structured_query/__init__.py +0 -0
  403. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/structured_query/__main__.py +0 -0
  404. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/retrieval/structured_query/service.py +0 -0
  405. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/rev_gateway/__init__.py +0 -0
  406. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/rev_gateway/__main__.py +0 -0
  407. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/rev_gateway/dispatcher.py +0 -0
  408. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/rev_gateway/service.py +0 -0
  409. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/__init__.py +0 -0
  410. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
  411. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
  412. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
  413. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
  414. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
  415. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
  416. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
  417. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
  418. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
  419. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
  420. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
  421. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
  422. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
  423. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
  424. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
  425. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
  426. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
  427. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
  428. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
  429. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
  430. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/knowledge/__init__.py +0 -0
  431. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/knowledge/__main__.py +0 -0
  432. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/knowledge/store.py +0 -0
  433. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/kw_index/__init__.py +0 -0
  434. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/kw_index/fts5/__init__.py +0 -0
  435. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/kw_index/fts5/__main__.py +0 -0
  436. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/kw_index/fts5/service.py +0 -0
  437. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/row_embeddings/__init__.py +0 -0
  438. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/row_embeddings/qdrant/__init__.py +0 -0
  439. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/row_embeddings/qdrant/__main__.py +0 -0
  440. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/row_embeddings/qdrant/write.py +0 -0
  441. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/rows/__init__.py +0 -0
  442. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
  443. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
  444. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/rows/cassandra/write.py +0 -0
  445. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/__init__.py +0 -0
  446. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
  447. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
  448. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/cassandra/write.py +0 -0
  449. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
  450. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
  451. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/falkordb/write.py +0 -0
  452. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
  453. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
  454. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/memgraph/write.py +0 -0
  455. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
  456. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
  457. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/storage/triples/neo4j/write.py +0 -0
  458. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tables/__init__.py +0 -0
  459. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tables/cassandra_async.py +0 -0
  460. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tables/config.py +0 -0
  461. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tables/iam.py +0 -0
  462. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tables/knowledge.py +0 -0
  463. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tables/library.py +0 -0
  464. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/template/__init__.py +0 -0
  465. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/template/prompt_manager.py +0 -0
  466. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tool_service/__init__.py +0 -0
  467. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tool_service/joke/__init__.py +0 -0
  468. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph/tool_service/joke/service.py +0 -0
  469. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
  470. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
  471. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph_flow.egg-info/entry_points.txt +0 -0
  472. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/trustgraph_flow.egg-info/requires.txt +0 -0
  473. {trustgraph_flow-3.0.0rc15 → trustgraph_flow-3.0.1}/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: 3.0.0rc15
3
+ Version: 3.0.1
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
@@ -16,519 +16,10 @@ _active_clusters = []
16
16
 
17
17
  logger = logging.getLogger(__name__)
18
18
 
19
- # Sentinel value for wildcard graph queries
20
- GRAPH_WILDCARD = "*"
21
-
22
19
  # Default graph stored as empty string
23
20
  DEFAULT_GRAPH = ""
24
21
 
25
22
 
26
- class KnowledgeGraph:
27
- """
28
- REDUNDANT: This 7-table implementation has been superseded by
29
- EntityCentricKnowledgeGraph which uses a more efficient 2-table model.
30
- This class is retained temporarily for reference but should not be used
31
- for new deployments.
32
-
33
- Cassandra-backed knowledge graph supporting quads (s, p, o, g).
34
-
35
- Uses 7 tables to support all 16 query patterns efficiently:
36
- - Family A (g-wildcard): SPOG, POSG, OSPG
37
- - Family B (g-specified): GSPO, GPOS, GOSP
38
- - Collection table: COLL (for iteration/deletion)
39
-
40
- Plus a metadata table for tracking collections.
41
- """
42
-
43
- def __init__(
44
- self, hosts=None,
45
- keyspace="trustgraph", username=None, password=None,
46
- replication_factor=1,
47
- ):
48
-
49
- if hosts is None:
50
- hosts = ["localhost"]
51
-
52
- self.keyspace = keyspace
53
- self.replication_factor = replication_factor
54
- self.username = username
55
-
56
- # 7-table schema for quads with full query pattern support
57
- # Family A: g-wildcard queries (g in clustering columns)
58
- self.spog_table = "quads_spog" # partition (collection, s), cluster (p, o, g)
59
- self.posg_table = "quads_posg" # partition (collection, p), cluster (o, s, g)
60
- self.ospg_table = "quads_ospg" # partition (collection, o), cluster (s, p, g)
61
-
62
- # Family B: g-specified queries (g in partition key)
63
- self.gspo_table = "quads_gspo" # partition (collection, g, s), cluster (p, o)
64
- self.gpos_table = "quads_gpos" # partition (collection, g, p), cluster (o, s)
65
- self.gosp_table = "quads_gosp" # partition (collection, g, o), cluster (s, p)
66
-
67
- # Collection table for iteration and bulk deletion
68
- self.coll_table = "quads_coll" # partition (collection), cluster (g, s, p, o)
69
-
70
- # Collection metadata tracking
71
- self.collection_metadata_table = "collection_metadata"
72
-
73
- if username and password:
74
- ssl_context = ssl.create_default_context()
75
- auth_provider = PlainTextAuthProvider(username=username, password=password)
76
- self.cluster = Cluster(hosts, auth_provider=auth_provider, ssl_context=ssl_context)
77
- else:
78
- self.cluster = Cluster(hosts)
79
- self.session = self.cluster.connect()
80
-
81
- # Track this cluster globally
82
- _active_clusters.append(self.cluster)
83
-
84
- self.init()
85
- self.prepare_statements()
86
-
87
- def clear(self):
88
- self.session.execute(f"""
89
- drop keyspace if exists {self.keyspace};
90
- """)
91
- self.init()
92
-
93
- def init(self):
94
- self.session.execute(f"""
95
- create keyspace if not exists {self.keyspace}
96
- with replication = {{
97
- 'class' : 'SimpleStrategy',
98
- 'replication_factor' : {self.replication_factor}
99
- }};
100
- """)
101
-
102
- self.session.set_keyspace(self.keyspace)
103
- self.init_quad_schema()
104
-
105
- def init_quad_schema(self):
106
- """Initialize 7-table schema for quads with full query pattern support"""
107
-
108
- # Family A: g-wildcard queries (g in clustering columns)
109
-
110
- # SPOG: partition (collection, s), cluster (p, o, g)
111
- # Supports: (?, s, ?, ?), (?, s, p, ?), (?, s, p, o)
112
- self.session.execute(f"""
113
- CREATE TABLE IF NOT EXISTS {self.spog_table} (
114
- collection text,
115
- s text,
116
- p text,
117
- o text,
118
- g text,
119
- PRIMARY KEY ((collection, s), p, o, g)
120
- );
121
- """)
122
-
123
- # POSG: partition (collection, p), cluster (o, s, g)
124
- # Supports: (?, ?, p, ?), (?, ?, p, o)
125
- self.session.execute(f"""
126
- CREATE TABLE IF NOT EXISTS {self.posg_table} (
127
- collection text,
128
- p text,
129
- o text,
130
- s text,
131
- g text,
132
- PRIMARY KEY ((collection, p), o, s, g)
133
- );
134
- """)
135
-
136
- # OSPG: partition (collection, o), cluster (s, p, g)
137
- # Supports: (?, ?, ?, o), (?, s, ?, o)
138
- self.session.execute(f"""
139
- CREATE TABLE IF NOT EXISTS {self.ospg_table} (
140
- collection text,
141
- o text,
142
- s text,
143
- p text,
144
- g text,
145
- PRIMARY KEY ((collection, o), s, p, g)
146
- );
147
- """)
148
-
149
- # Family B: g-specified queries (g in partition key)
150
-
151
- # GSPO: partition (collection, g, s), cluster (p, o)
152
- # Supports: (g, s, ?, ?), (g, s, p, ?), (g, s, p, o)
153
- self.session.execute(f"""
154
- CREATE TABLE IF NOT EXISTS {self.gspo_table} (
155
- collection text,
156
- g text,
157
- s text,
158
- p text,
159
- o text,
160
- PRIMARY KEY ((collection, g, s), p, o)
161
- );
162
- """)
163
-
164
- # GPOS: partition (collection, g, p), cluster (o, s)
165
- # Supports: (g, ?, p, ?), (g, ?, p, o)
166
- self.session.execute(f"""
167
- CREATE TABLE IF NOT EXISTS {self.gpos_table} (
168
- collection text,
169
- g text,
170
- p text,
171
- o text,
172
- s text,
173
- PRIMARY KEY ((collection, g, p), o, s)
174
- );
175
- """)
176
-
177
- # GOSP: partition (collection, g, o), cluster (s, p)
178
- # Supports: (g, ?, ?, o), (g, s, ?, o)
179
- self.session.execute(f"""
180
- CREATE TABLE IF NOT EXISTS {self.gosp_table} (
181
- collection text,
182
- g text,
183
- o text,
184
- s text,
185
- p text,
186
- PRIMARY KEY ((collection, g, o), s, p)
187
- );
188
- """)
189
-
190
- # Collection table for iteration and bulk deletion
191
- # COLL: partition (collection), cluster (g, s, p, o)
192
- self.session.execute(f"""
193
- CREATE TABLE IF NOT EXISTS {self.coll_table} (
194
- collection text,
195
- g text,
196
- s text,
197
- p text,
198
- o text,
199
- PRIMARY KEY (collection, g, s, p, o)
200
- );
201
- """)
202
-
203
- # Collection metadata tracking
204
- self.session.execute(f"""
205
- CREATE TABLE IF NOT EXISTS {self.collection_metadata_table} (
206
- collection text,
207
- created_at timestamp,
208
- PRIMARY KEY (collection)
209
- );
210
- """)
211
-
212
- logger.info("Quad schema initialized (7 tables + metadata)")
213
-
214
- def prepare_statements(self):
215
- """Prepare statements for all 7 tables"""
216
-
217
- # Insert statements
218
- self.insert_spog_stmt = self.session.prepare(
219
- f"INSERT INTO {self.spog_table} (collection, s, p, o, g) VALUES (?, ?, ?, ?, ?)"
220
- )
221
- self.insert_posg_stmt = self.session.prepare(
222
- f"INSERT INTO {self.posg_table} (collection, p, o, s, g) VALUES (?, ?, ?, ?, ?)"
223
- )
224
- self.insert_ospg_stmt = self.session.prepare(
225
- f"INSERT INTO {self.ospg_table} (collection, o, s, p, g) VALUES (?, ?, ?, ?, ?)"
226
- )
227
- self.insert_gspo_stmt = self.session.prepare(
228
- f"INSERT INTO {self.gspo_table} (collection, g, s, p, o) VALUES (?, ?, ?, ?, ?)"
229
- )
230
- self.insert_gpos_stmt = self.session.prepare(
231
- f"INSERT INTO {self.gpos_table} (collection, g, p, o, s) VALUES (?, ?, ?, ?, ?)"
232
- )
233
- self.insert_gosp_stmt = self.session.prepare(
234
- f"INSERT INTO {self.gosp_table} (collection, g, o, s, p) VALUES (?, ?, ?, ?, ?)"
235
- )
236
- self.insert_coll_stmt = self.session.prepare(
237
- f"INSERT INTO {self.coll_table} (collection, g, s, p, o) VALUES (?, ?, ?, ?, ?)"
238
- )
239
-
240
- # Delete statements (for single quad deletion)
241
- self.delete_spog_stmt = self.session.prepare(
242
- f"DELETE FROM {self.spog_table} WHERE collection = ? AND s = ? AND p = ? AND o = ? AND g = ?"
243
- )
244
- self.delete_posg_stmt = self.session.prepare(
245
- f"DELETE FROM {self.posg_table} WHERE collection = ? AND p = ? AND o = ? AND s = ? AND g = ?"
246
- )
247
- self.delete_ospg_stmt = self.session.prepare(
248
- f"DELETE FROM {self.ospg_table} WHERE collection = ? AND o = ? AND s = ? AND p = ? AND g = ?"
249
- )
250
- self.delete_gspo_stmt = self.session.prepare(
251
- f"DELETE FROM {self.gspo_table} WHERE collection = ? AND g = ? AND s = ? AND p = ? AND o = ?"
252
- )
253
- self.delete_gpos_stmt = self.session.prepare(
254
- f"DELETE FROM {self.gpos_table} WHERE collection = ? AND g = ? AND p = ? AND o = ? AND s = ?"
255
- )
256
- self.delete_gosp_stmt = self.session.prepare(
257
- f"DELETE FROM {self.gosp_table} WHERE collection = ? AND g = ? AND o = ? AND s = ? AND p = ?"
258
- )
259
- self.delete_coll_stmt = self.session.prepare(
260
- f"DELETE FROM {self.coll_table} WHERE collection = ? AND g = ? AND s = ? AND p = ? AND o = ?"
261
- )
262
-
263
- # Query statements - Family A (g-wildcard, g in clustering)
264
-
265
- # SPOG table queries
266
- self.get_s_wildcard_stmt = self.session.prepare(
267
- f"SELECT p, o, g FROM {self.spog_table} WHERE collection = ? AND s = ? LIMIT ?"
268
- )
269
- self.get_sp_wildcard_stmt = self.session.prepare(
270
- f"SELECT o, g FROM {self.spog_table} WHERE collection = ? AND s = ? AND p = ? LIMIT ?"
271
- )
272
- self.get_spo_wildcard_stmt = self.session.prepare(
273
- f"SELECT g FROM {self.spog_table} WHERE collection = ? AND s = ? AND p = ? AND o = ? LIMIT ?"
274
- )
275
-
276
- # POSG table queries
277
- self.get_p_wildcard_stmt = self.session.prepare(
278
- f"SELECT o, s, g FROM {self.posg_table} WHERE collection = ? AND p = ? LIMIT ?"
279
- )
280
- self.get_po_wildcard_stmt = self.session.prepare(
281
- f"SELECT s, g FROM {self.posg_table} WHERE collection = ? AND p = ? AND o = ? LIMIT ?"
282
- )
283
-
284
- # OSPG table queries
285
- self.get_o_wildcard_stmt = self.session.prepare(
286
- f"SELECT s, p, g FROM {self.ospg_table} WHERE collection = ? AND o = ? LIMIT ?"
287
- )
288
- self.get_os_wildcard_stmt = self.session.prepare(
289
- f"SELECT p, g FROM {self.ospg_table} WHERE collection = ? AND o = ? AND s = ? LIMIT ?"
290
- )
291
-
292
- # Query statements - Family B (g-specified, g in partition)
293
-
294
- # GSPO table queries
295
- self.get_gs_stmt = self.session.prepare(
296
- f"SELECT p, o FROM {self.gspo_table} WHERE collection = ? AND g = ? AND s = ? LIMIT ?"
297
- )
298
- self.get_gsp_stmt = self.session.prepare(
299
- f"SELECT o FROM {self.gspo_table} WHERE collection = ? AND g = ? AND s = ? AND p = ? LIMIT ?"
300
- )
301
- self.get_gspo_stmt = self.session.prepare(
302
- f"SELECT s FROM {self.gspo_table} WHERE collection = ? AND g = ? AND s = ? AND p = ? AND o = ? LIMIT ?"
303
- )
304
-
305
- # GPOS table queries
306
- self.get_gp_stmt = self.session.prepare(
307
- f"SELECT o, s FROM {self.gpos_table} WHERE collection = ? AND g = ? AND p = ? LIMIT ?"
308
- )
309
- self.get_gpo_stmt = self.session.prepare(
310
- f"SELECT s FROM {self.gpos_table} WHERE collection = ? AND g = ? AND p = ? AND o = ? LIMIT ?"
311
- )
312
-
313
- # GOSP table queries
314
- self.get_go_stmt = self.session.prepare(
315
- f"SELECT s, p FROM {self.gosp_table} WHERE collection = ? AND g = ? AND o = ? LIMIT ?"
316
- )
317
- self.get_gos_stmt = self.session.prepare(
318
- f"SELECT p FROM {self.gosp_table} WHERE collection = ? AND g = ? AND o = ? AND s = ? LIMIT ?"
319
- )
320
-
321
- # Collection table query (for get_all and iteration)
322
- self.get_all_stmt = self.session.prepare(
323
- f"SELECT g, s, p, o FROM {self.coll_table} WHERE collection = ? LIMIT ?"
324
- )
325
- self.get_g_stmt = self.session.prepare(
326
- f"SELECT s, p, o FROM {self.coll_table} WHERE collection = ? AND g = ? LIMIT ?"
327
- )
328
-
329
- logger.info("Prepared statements initialized for quad schema (7 tables)")
330
-
331
- def insert(self, collection, s, p, o, g=None):
332
- """Insert a quad into all 7 tables"""
333
- # Default graph stored as empty string
334
- if g is None:
335
- g = DEFAULT_GRAPH
336
-
337
- batch = BatchStatement()
338
-
339
- # Family A tables
340
- batch.add(self.insert_spog_stmt, (collection, s, p, o, g))
341
- batch.add(self.insert_posg_stmt, (collection, p, o, s, g))
342
- batch.add(self.insert_ospg_stmt, (collection, o, s, p, g))
343
-
344
- # Family B tables
345
- batch.add(self.insert_gspo_stmt, (collection, g, s, p, o))
346
- batch.add(self.insert_gpos_stmt, (collection, g, p, o, s))
347
- batch.add(self.insert_gosp_stmt, (collection, g, o, s, p))
348
-
349
- # Collection table
350
- batch.add(self.insert_coll_stmt, (collection, g, s, p, o))
351
-
352
- self.session.execute(batch)
353
-
354
- def delete_quad(self, collection, s, p, o, g=None):
355
- """Delete a single quad from all 7 tables"""
356
- if g is None:
357
- g = DEFAULT_GRAPH
358
-
359
- batch = BatchStatement()
360
-
361
- batch.add(self.delete_spog_stmt, (collection, s, p, o, g))
362
- batch.add(self.delete_posg_stmt, (collection, p, o, s, g))
363
- batch.add(self.delete_ospg_stmt, (collection, o, s, p, g))
364
- batch.add(self.delete_gspo_stmt, (collection, g, s, p, o))
365
- batch.add(self.delete_gpos_stmt, (collection, g, p, o, s))
366
- batch.add(self.delete_gosp_stmt, (collection, g, o, s, p))
367
- batch.add(self.delete_coll_stmt, (collection, g, s, p, o))
368
-
369
- self.session.execute(batch)
370
-
371
- # ========================================================================
372
- # Query methods
373
- # g=None means default graph, g="*" means all graphs
374
- # ========================================================================
375
-
376
- def get_all(self, collection, limit=50):
377
- """Get all quads in collection"""
378
- return self.session.execute(self.get_all_stmt, (collection, limit))
379
-
380
- def get_s(self, collection, s, g=None, limit=10):
381
- """Query by subject. g=None: default graph, g='*': all graphs"""
382
- if g is None or g == DEFAULT_GRAPH:
383
- # Default graph - use GSPO table
384
- return self.session.execute(self.get_gs_stmt, (collection, DEFAULT_GRAPH, s, limit))
385
- elif g == GRAPH_WILDCARD:
386
- # All graphs - use SPOG table
387
- return self.session.execute(self.get_s_wildcard_stmt, (collection, s, limit))
388
- else:
389
- # Specific graph - use GSPO table
390
- return self.session.execute(self.get_gs_stmt, (collection, g, s, limit))
391
-
392
- def get_p(self, collection, p, g=None, limit=10):
393
- """Query by predicate"""
394
- if g is None or g == DEFAULT_GRAPH:
395
- return self.session.execute(self.get_gp_stmt, (collection, DEFAULT_GRAPH, p, limit))
396
- elif g == GRAPH_WILDCARD:
397
- return self.session.execute(self.get_p_wildcard_stmt, (collection, p, limit))
398
- else:
399
- return self.session.execute(self.get_gp_stmt, (collection, g, p, limit))
400
-
401
- def get_o(self, collection, o, g=None, limit=10):
402
- """Query by object"""
403
- if g is None or g == DEFAULT_GRAPH:
404
- return self.session.execute(self.get_go_stmt, (collection, DEFAULT_GRAPH, o, limit))
405
- elif g == GRAPH_WILDCARD:
406
- return self.session.execute(self.get_o_wildcard_stmt, (collection, o, limit))
407
- else:
408
- return self.session.execute(self.get_go_stmt, (collection, g, o, limit))
409
-
410
- def get_sp(self, collection, s, p, g=None, limit=10):
411
- """Query by subject and predicate"""
412
- if g is None or g == DEFAULT_GRAPH:
413
- return self.session.execute(self.get_gsp_stmt, (collection, DEFAULT_GRAPH, s, p, limit))
414
- elif g == GRAPH_WILDCARD:
415
- return self.session.execute(self.get_sp_wildcard_stmt, (collection, s, p, limit))
416
- else:
417
- return self.session.execute(self.get_gsp_stmt, (collection, g, s, p, limit))
418
-
419
- def get_po(self, collection, p, o, g=None, limit=10):
420
- """Query by predicate and object"""
421
- if g is None or g == DEFAULT_GRAPH:
422
- return self.session.execute(self.get_gpo_stmt, (collection, DEFAULT_GRAPH, p, o, limit))
423
- elif g == GRAPH_WILDCARD:
424
- return self.session.execute(self.get_po_wildcard_stmt, (collection, p, o, limit))
425
- else:
426
- return self.session.execute(self.get_gpo_stmt, (collection, g, p, o, limit))
427
-
428
- def get_os(self, collection, o, s, g=None, limit=10):
429
- """Query by object and subject"""
430
- if g is None or g == DEFAULT_GRAPH:
431
- return self.session.execute(self.get_gos_stmt, (collection, DEFAULT_GRAPH, o, s, limit))
432
- elif g == GRAPH_WILDCARD:
433
- return self.session.execute(self.get_os_wildcard_stmt, (collection, o, s, limit))
434
- else:
435
- return self.session.execute(self.get_gos_stmt, (collection, g, o, s, limit))
436
-
437
- def get_spo(self, collection, s, p, o, g=None, limit=10):
438
- """Query by subject, predicate, object (find which graphs)"""
439
- if g is None or g == DEFAULT_GRAPH:
440
- return self.session.execute(self.get_gspo_stmt, (collection, DEFAULT_GRAPH, s, p, o, limit))
441
- elif g == GRAPH_WILDCARD:
442
- return self.session.execute(self.get_spo_wildcard_stmt, (collection, s, p, o, limit))
443
- else:
444
- return self.session.execute(self.get_gspo_stmt, (collection, g, s, p, o, limit))
445
-
446
- def get_g(self, collection, g, limit=50):
447
- """Get all quads in a specific graph"""
448
- if g is None:
449
- g = DEFAULT_GRAPH
450
- return self.session.execute(self.get_g_stmt, (collection, g, limit))
451
-
452
- # ========================================================================
453
- # Collection management
454
- # ========================================================================
455
-
456
- def collection_exists(self, collection):
457
- """Check if collection exists"""
458
- try:
459
- result = self.session.execute(
460
- f"SELECT collection FROM {self.collection_metadata_table} WHERE collection = %s LIMIT 1",
461
- (collection,)
462
- )
463
- return bool(list(result))
464
- except Exception as e:
465
- logger.error(f"Error checking collection existence: {e}")
466
- return False
467
-
468
- def create_collection(self, collection):
469
- """Create collection by inserting metadata row"""
470
- try:
471
- self.session.execute(
472
- f"INSERT INTO {self.collection_metadata_table} (collection, created_at) VALUES (%s, %s)",
473
- (collection, datetime.datetime.now())
474
- )
475
- logger.info(f"Created collection metadata for {collection}")
476
- except Exception as e:
477
- logger.error(f"Error creating collection: {e}")
478
- raise e
479
-
480
- def delete_collection(self, collection):
481
- """Delete all quads for a collection from all 7 tables"""
482
- # Read all quads from collection table
483
- rows = self.session.execute(
484
- f"SELECT g, s, p, o FROM {self.coll_table} WHERE collection = %s",
485
- (collection,)
486
- )
487
-
488
- batch = BatchStatement()
489
- count = 0
490
-
491
- for row in rows:
492
- g, s, p, o = row.g, row.s, row.p, row.o
493
-
494
- # Delete from all 7 tables
495
- batch.add(self.delete_spog_stmt, (collection, s, p, o, g))
496
- batch.add(self.delete_posg_stmt, (collection, p, o, s, g))
497
- batch.add(self.delete_ospg_stmt, (collection, o, s, p, g))
498
- batch.add(self.delete_gspo_stmt, (collection, g, s, p, o))
499
- batch.add(self.delete_gpos_stmt, (collection, g, p, o, s))
500
- batch.add(self.delete_gosp_stmt, (collection, g, o, s, p))
501
- batch.add(self.delete_coll_stmt, (collection, g, s, p, o))
502
-
503
- count += 1
504
-
505
- # Execute batch every 15 quads (7 deletes each = 105 statements)
506
- if count % 15 == 0:
507
- self.session.execute(batch)
508
- batch = BatchStatement()
509
-
510
- # Execute remaining
511
- if count % 15 != 0:
512
- self.session.execute(batch)
513
-
514
- # Delete collection metadata
515
- self.session.execute(
516
- f"DELETE FROM {self.collection_metadata_table} WHERE collection = %s",
517
- (collection,)
518
- )
519
-
520
- logger.info(f"Deleted {count} quads from collection {collection}")
521
-
522
- def close(self):
523
- """Close connections"""
524
- if hasattr(self, 'session') and self.session:
525
- self.session.shutdown()
526
- if hasattr(self, 'cluster') and self.cluster:
527
- self.cluster.shutdown()
528
- if self.cluster in _active_clusters:
529
- _active_clusters.remove(self.cluster)
530
-
531
-
532
23
  class EntityCentricKnowledgeGraph:
533
24
  """
534
25
  Entity-centric Cassandra-backed knowledge graph with append-only versioning.
@@ -791,6 +282,24 @@ class EntityCentricKnowledgeGraph:
791
282
  "WHERE collection = ? AND entity = ? AND role = 'S'"
792
283
  )
793
284
 
285
+ self.delete_collection_version_stmt = self.session.prepare(
286
+ f"DELETE FROM {self.collection_table} "
287
+ "WHERE collection = ? AND g = ? AND s = ? AND p = ? AND o = ? "
288
+ "AND otype = ? AND dtype = ? AND lang = ? AND version = ?"
289
+ )
290
+
291
+ self.delete_entity_version_stmt = self.session.prepare(
292
+ f"DELETE FROM {self.entity_table} "
293
+ "WHERE collection = ? AND entity = ? AND role = ? "
294
+ "AND p = ? AND otype = ? AND s = ? AND o = ? AND g = ? "
295
+ "AND dtype = ? AND lang = ? AND version = ?"
296
+ )
297
+
298
+ self.delete_version_log_stmt = self.session.prepare(
299
+ f"DELETE FROM {self.graph_version_log_table} "
300
+ "WHERE collection = ? AND named_graph = ? AND version = ?"
301
+ )
302
+
794
303
  logger.info("Prepared statements initialized")
795
304
 
796
305
  def insert(self, collection, s, p, o, g, version, is_deleted,
@@ -1634,6 +1143,106 @@ class EntityCentricKnowledgeGraph:
1634
1143
 
1635
1144
  return new_version
1636
1145
 
1146
+ # ========================================================================
1147
+ # Purge — drop version history before a cutoff
1148
+ # ========================================================================
1149
+
1150
+ async def async_purge_graph(self, collection, named_graph, before_version):
1151
+ """
1152
+ Remove version history before ``before_version`` for a named graph.
1153
+
1154
+ For each unique quad, the latest entry with version < before_version
1155
+ is kept (it establishes the state at the cutoff), older entries are
1156
+ deleted. Dead-end delete markers (no entries >= before_version) are
1157
+ removed entirely. Version log entries before the cutoff are also
1158
+ deleted.
1159
+ """
1160
+ cql = (
1161
+ f"SELECT g, s, p, o, otype, dtype, lang, version, is_deleted "
1162
+ f"FROM {self.collection_table} "
1163
+ "WHERE collection = %s AND g = %s"
1164
+ )
1165
+ stmt = SimpleStatement(cql, fetch_size=5000)
1166
+
1167
+ rows = await async_scan(
1168
+ self.session, stmt, (collection, named_graph),
1169
+ )
1170
+
1171
+ quads = {}
1172
+ for row in rows:
1173
+ key = (row.g, row.s, row.p, row.o, row.otype, row.dtype, row.lang)
1174
+ quads.setdefault(key, []).append(
1175
+ (row.version, row.is_deleted)
1176
+ )
1177
+
1178
+ to_delete = []
1179
+
1180
+ for key, entries in quads.items():
1181
+ entries.sort(key=lambda e: e[0], reverse=True)
1182
+
1183
+ has_post_cutoff = any(v >= before_version for v, _ in entries)
1184
+ pre_cutoff = [(v, d) for v, d in entries if v < before_version]
1185
+
1186
+ if not pre_cutoff:
1187
+ continue
1188
+
1189
+ keep_version = pre_cutoff[0][0]
1190
+ keep_is_deleted = pre_cutoff[0][1]
1191
+
1192
+ if keep_is_deleted and not has_post_cutoff:
1193
+ for v, _ in pre_cutoff:
1194
+ to_delete.append((key, v))
1195
+ else:
1196
+ for v, _ in pre_cutoff[1:]:
1197
+ to_delete.append((key, v))
1198
+
1199
+ batch = BatchStatement()
1200
+ count = 0
1201
+
1202
+ for (g, s, p, o, otype, dtype, lang), version in to_delete:
1203
+ batch.add(self.delete_collection_version_stmt,
1204
+ (collection, g, s, p, o, otype, dtype, lang, version))
1205
+
1206
+ for entity, role in [(s, 'S'), (p, 'P'), (o, 'O')]:
1207
+ batch.add(self.delete_entity_version_stmt,
1208
+ (collection, entity, role,
1209
+ p, otype, s, o, g, dtype, lang, version))
1210
+
1211
+ if g != DEFAULT_GRAPH:
1212
+ batch.add(self.delete_entity_version_stmt,
1213
+ (collection, g, 'G',
1214
+ p, otype, s, o, g, dtype, lang, version))
1215
+
1216
+ count += 1
1217
+ if count % 10 == 0:
1218
+ await async_execute(self.session, batch)
1219
+ batch = BatchStatement()
1220
+
1221
+ if count % 10 != 0:
1222
+ await async_execute(self.session, batch)
1223
+
1224
+ log = await self.async_get_version_log(collection, named_graph)
1225
+ log_batch = BatchStatement()
1226
+ log_count = 0
1227
+ for entry in log:
1228
+ if entry["version"] < before_version:
1229
+ log_batch.add(self.delete_version_log_stmt,
1230
+ (collection, named_graph, entry["version"]))
1231
+ log_count += 1
1232
+ if log_count % 50 == 0:
1233
+ await async_execute(self.session, log_batch)
1234
+ log_batch = BatchStatement()
1235
+ if log_count % 50 != 0:
1236
+ await async_execute(self.session, log_batch)
1237
+
1238
+ logger.info(
1239
+ f"Purged {collection}/{named_graph}: "
1240
+ f"{count} quad versions, {log_count} log entries removed "
1241
+ f"(before v{before_version})"
1242
+ )
1243
+
1244
+ return count
1245
+
1637
1246
  def close(self):
1638
1247
  if hasattr(self, 'session') and self.session:
1639
1248
  self.session.shutdown()
@@ -14,7 +14,8 @@ logger = logging.getLogger(__name__)
14
14
 
15
15
  default_ident = "query-formulation"
16
16
 
17
- FILTER_OPS = {"eq", "ne", "lt", "lte", "gt", "gte", "in", "like"}
17
+ FILTER_OPS = {"eq", "ne", "lt", "lte", "gt", "gte", "in", "like", "is_null", "is_not_null"}
18
+ NULLARY_OPS = {"is_null", "is_not_null"}
18
19
  ORDER_DIRECTIONS = {"asc", "desc"}
19
20
 
20
21
 
@@ -66,6 +67,10 @@ def validate_select(spec, schema):
66
67
  f"Unknown filter operator '{op}'. "
67
68
  f"Must be one of: {sorted(FILTER_OPS)}"
68
69
  )
70
+ if op not in NULLARY_OPS and "value" not in f:
71
+ raise ValueError(
72
+ f"Filter on '{col}' with op '{op}' requires a value"
73
+ )
69
74
 
70
75
  for o in spec.get("order_by", []):
71
76
  col = o.get("column", "")
@@ -0,0 +1 @@
1
+ __version__ = "3.0.1"