trustgraph-flow 1.1.9__tar.gz → 1.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/PKG-INFO +2 -2
  2. trustgraph-flow-1.2.0/scripts/kg-extract-agent +6 -0
  3. trustgraph-flow-1.2.0/scripts/prompt-template +6 -0
  4. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/setup.py +2 -3
  5. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/mcp_tool/service.py +2 -2
  6. trustgraph-flow-1.2.0/trustgraph/agent/react/agent_manager.py +280 -0
  7. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/react/service.py +70 -50
  8. trustgraph-flow-1.2.0/trustgraph/agent/react/tools.py +101 -0
  9. trustgraph-flow-1.2.0/trustgraph/extract/kg/agent/__init__.py +1 -0
  10. trustgraph-flow-1.2.0/trustgraph/extract/kg/agent/__main__.py +4 -0
  11. trustgraph-flow-1.2.0/trustgraph/extract/kg/agent/extract.py +336 -0
  12. trustgraph-flow-1.2.0/trustgraph/flow_version.py +1 -0
  13. {trustgraph-flow-1.1.9/trustgraph/model → trustgraph-flow-1.2.0/trustgraph}/prompt/template/service.py +12 -40
  14. trustgraph-flow-1.2.0/trustgraph/template/__init__.py +3 -0
  15. {trustgraph-flow-1.1.9/trustgraph/model/prompt → trustgraph-flow-1.2.0/trustgraph}/template/prompt_manager.py +56 -11
  16. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph_flow.egg-info/PKG-INFO +2 -2
  17. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph_flow.egg-info/SOURCES.txt +10 -11
  18. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph_flow.egg-info/requires.txt +1 -1
  19. trustgraph-flow-1.1.9/scripts/kg-extract-topics +0 -6
  20. trustgraph-flow-1.1.9/scripts/prompt-generic +0 -6
  21. trustgraph-flow-1.1.9/scripts/prompt-template +0 -6
  22. trustgraph-flow-1.1.9/trustgraph/agent/react/agent_manager.py +0 -134
  23. trustgraph-flow-1.1.9/trustgraph/agent/react/tools.py +0 -53
  24. trustgraph-flow-1.1.9/trustgraph/flow_version.py +0 -1
  25. trustgraph-flow-1.1.9/trustgraph/model/prompt/generic/prompts.py +0 -176
  26. trustgraph-flow-1.1.9/trustgraph/model/prompt/generic/service.py +0 -485
  27. trustgraph-flow-1.1.9/trustgraph/model/prompt/template/__main__.py +0 -7
  28. trustgraph-flow-1.1.9/trustgraph/query/triples/neo4j/__init__.py +0 -3
  29. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/README.md +0 -0
  30. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/agent-manager-react +0 -0
  31. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/api-gateway +0 -0
  32. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/chunker-recursive +0 -0
  33. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/chunker-token +0 -0
  34. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/config-svc +0 -0
  35. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/de-query-milvus +0 -0
  36. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/de-query-pinecone +0 -0
  37. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/de-query-qdrant +0 -0
  38. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/de-write-milvus +0 -0
  39. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/de-write-pinecone +0 -0
  40. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/de-write-qdrant +0 -0
  41. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/document-embeddings +0 -0
  42. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/document-rag +0 -0
  43. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/embeddings-fastembed +0 -0
  44. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/embeddings-ollama +0 -0
  45. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/ge-query-milvus +0 -0
  46. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/ge-query-pinecone +0 -0
  47. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/ge-query-qdrant +0 -0
  48. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/ge-write-milvus +0 -0
  49. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/ge-write-pinecone +0 -0
  50. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/ge-write-qdrant +0 -0
  51. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/graph-embeddings +0 -0
  52. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/graph-rag +0 -0
  53. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/kg-extract-definitions +0 -0
  54. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/kg-extract-relationships +0 -0
  55. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/kg-manager +0 -0
  56. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/kg-store +0 -0
  57. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/librarian +0 -0
  58. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/mcp-tool +0 -0
  59. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/metering +0 -0
  60. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/object-extract-row +0 -0
  61. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/oe-write-milvus +0 -0
  62. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/pdf-decoder +0 -0
  63. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/pdf-ocr-mistral +0 -0
  64. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/rev-gateway +0 -0
  65. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/rows-write-cassandra +0 -0
  66. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/run-processing +0 -0
  67. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-azure +0 -0
  68. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-azure-openai +0 -0
  69. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-claude +0 -0
  70. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-cohere +0 -0
  71. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-googleaistudio +0 -0
  72. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-llamafile +0 -0
  73. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-lmstudio +0 -0
  74. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-mistral +0 -0
  75. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-ollama +0 -0
  76. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-openai +0 -0
  77. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-tgi +0 -0
  78. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/text-completion-vllm +0 -0
  79. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-query-cassandra +0 -0
  80. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-query-falkordb +0 -0
  81. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-query-memgraph +0 -0
  82. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-query-neo4j +0 -0
  83. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-write-cassandra +0 -0
  84. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-write-falkordb +0 -0
  85. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-write-memgraph +0 -0
  86. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/triples-write-neo4j +0 -0
  87. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/scripts/wikipedia-lookup +0 -0
  88. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/setup.cfg +0 -0
  89. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/__init__.py +0 -0
  90. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/__init__.py +0 -0
  91. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/mcp_tool/__init__.py +0 -0
  92. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/mcp_tool/__main__.py +0 -0
  93. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/react/__init__.py +0 -0
  94. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/react/__main__.py +0 -0
  95. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/agent/react/types.py +0 -0
  96. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/__init__.py +0 -0
  97. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/recursive/__init__.py +0 -0
  98. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/recursive/__main__.py +0 -0
  99. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/recursive/chunker.py +0 -0
  100. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/token/__init__.py +0 -0
  101. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/token/__main__.py +0 -0
  102. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/chunking/token/chunker.py +0 -0
  103. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/config/service/__init__.py +0 -0
  104. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/config/service/__main__.py +0 -0
  105. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/config/service/config.py +0 -0
  106. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/config/service/flow.py +0 -0
  107. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/config/service/service.py +0 -0
  108. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/cores/__init__.py +0 -0
  109. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/cores/__main__.py +0 -0
  110. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/cores/knowledge.py +0 -0
  111. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/cores/service.py +0 -0
  112. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/__init__.py +0 -0
  113. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
  114. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
  115. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
  116. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/pdf/__init__.py +0 -0
  117. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/pdf/__main__.py +0 -0
  118. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
  119. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/direct/__init__.py +0 -0
  120. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/direct/cassandra.py +0 -0
  121. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
  122. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
  123. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/direct/milvus_object_embeddings.py +0 -0
  124. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/__init__.py +0 -0
  125. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
  126. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
  127. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
  128. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/fastembed/__init__.py +0 -0
  129. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/fastembed/__main__.py +0 -0
  130. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/fastembed/processor.py +0 -0
  131. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
  132. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
  133. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
  134. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/ollama/__init__.py +0 -0
  135. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/ollama/__main__.py +0 -0
  136. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/embeddings/ollama/processor.py +0 -0
  137. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/external/__init__.py +0 -0
  138. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/external/wikipedia/__init__.py +0 -0
  139. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/external/wikipedia/__main__.py +0 -0
  140. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/external/wikipedia/service.py +0 -0
  141. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/__init__.py +0 -0
  142. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/__init__.py +0 -0
  143. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/definitions/__init__.py +0 -0
  144. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/definitions/__main__.py +0 -0
  145. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/definitions/extract.py +0 -0
  146. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/relationships/__init__.py +0 -0
  147. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/relationships/__main__.py +0 -0
  148. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/relationships/extract.py +0 -0
  149. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/topics/__init__.py +0 -0
  150. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/topics/__main__.py +0 -0
  151. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/kg/topics/extract.py +0 -0
  152. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/object/__init__.py +0 -0
  153. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/object/row/__init__.py +0 -0
  154. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/object/row/__main__.py +0 -0
  155. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/extract/object/row/extract.py +0 -0
  156. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/__init__.py +0 -0
  157. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/__main__.py +0 -0
  158. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/auth.py +0 -0
  159. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/config/receiver.py +0 -0
  160. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/agent.py +0 -0
  161. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/config.py +0 -0
  162. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/core_export.py +0 -0
  163. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/core_import.py +0 -0
  164. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
  165. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
  166. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/document_load.py +0 -0
  167. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/document_rag.py +0 -0
  168. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/embeddings.py +0 -0
  169. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
  170. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
  171. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/flow.py +0 -0
  172. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
  173. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
  174. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
  175. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
  176. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/knowledge.py +0 -0
  177. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/librarian.py +0 -0
  178. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/manager.py +0 -0
  179. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
  180. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/mux.py +0 -0
  181. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/prompt.py +0 -0
  182. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/requestor.py +0 -0
  183. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/sender.py +0 -0
  184. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/serialize.py +0 -0
  185. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/streamer.py +0 -0
  186. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/text_completion.py +0 -0
  187. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/text_load.py +0 -0
  188. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/triples_export.py +0 -0
  189. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/triples_import.py +0 -0
  190. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/dispatch/triples_query.py +0 -0
  191. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
  192. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/endpoint/manager.py +0 -0
  193. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/endpoint/metrics.py +0 -0
  194. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/endpoint/socket.py +0 -0
  195. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
  196. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
  197. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/running.py +0 -0
  198. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/service.py +0 -0
  199. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/unused/dbpedia.py +0 -0
  200. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/unused/encyclopedia.py +0 -0
  201. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/gateway/unused/internet_search.py +0 -0
  202. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/librarian/__init__.py +0 -0
  203. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/librarian/__main__.py +0 -0
  204. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/librarian/blob_store.py +0 -0
  205. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/librarian/librarian.py +0 -0
  206. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/librarian/service.py +0 -0
  207. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/metering/__init__.py +0 -0
  208. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/metering/__main__.py +0 -0
  209. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/metering/counter.py +0 -0
  210. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/__init__.py +0 -0
  211. {trustgraph-flow-1.1.9/trustgraph/model/prompt → trustgraph-flow-1.2.0/trustgraph/model/text_completion}/__init__.py +0 -0
  212. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/azure/__init__.py +0 -0
  213. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/azure/__main__.py +0 -0
  214. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/azure/llm.py +0 -0
  215. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
  216. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
  217. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
  218. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/claude/__init__.py +0 -0
  219. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/claude/__main__.py +0 -0
  220. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/claude/llm.py +0 -0
  221. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
  222. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
  223. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/cohere/llm.py +0 -0
  224. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
  225. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
  226. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
  227. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
  228. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
  229. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
  230. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
  231. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
  232. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
  233. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
  234. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
  235. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/mistral/llm.py +0 -0
  236. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
  237. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
  238. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/ollama/llm.py +0 -0
  239. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/openai/__init__.py +0 -0
  240. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/openai/__main__.py +0 -0
  241. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/openai/llm.py +0 -0
  242. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
  243. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
  244. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/tgi/llm.py +0 -0
  245. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
  246. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
  247. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/model/text_completion/vllm/llm.py +0 -0
  248. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/processing/__init__.py +0 -0
  249. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/processing/__main__.py +0 -0
  250. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/processing/processing.py +0 -0
  251. {trustgraph-flow-1.1.9/trustgraph/model/text_completion → trustgraph-flow-1.2.0/trustgraph/prompt}/__init__.py +0 -0
  252. {trustgraph-flow-1.1.9/trustgraph/model/prompt/generic → trustgraph-flow-1.2.0/trustgraph/prompt/template}/__init__.py +0 -0
  253. {trustgraph-flow-1.1.9/trustgraph/model/prompt/generic → trustgraph-flow-1.2.0/trustgraph/prompt/template}/__main__.py +0 -0
  254. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/__init__.py +0 -0
  255. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/__init__.py +0 -0
  256. {trustgraph-flow-1.1.9/trustgraph/model/prompt/template → trustgraph-flow-1.2.0/trustgraph/query/doc_embeddings/milvus}/__init__.py +0 -0
  257. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
  258. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
  259. {trustgraph-flow-1.1.9/trustgraph/query/doc_embeddings/milvus → trustgraph-flow-1.2.0/trustgraph/query/doc_embeddings/pinecone}/__init__.py +0 -0
  260. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
  261. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
  262. {trustgraph-flow-1.1.9/trustgraph/query/doc_embeddings/pinecone → trustgraph-flow-1.2.0/trustgraph/query/doc_embeddings/qdrant}/__init__.py +0 -0
  263. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
  264. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
  265. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/__init__.py +0 -0
  266. {trustgraph-flow-1.1.9/trustgraph/query/doc_embeddings/qdrant → trustgraph-flow-1.2.0/trustgraph/query/graph_embeddings/milvus}/__init__.py +0 -0
  267. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
  268. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
  269. {trustgraph-flow-1.1.9/trustgraph/query/graph_embeddings/milvus → trustgraph-flow-1.2.0/trustgraph/query/graph_embeddings/pinecone}/__init__.py +0 -0
  270. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
  271. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
  272. {trustgraph-flow-1.1.9/trustgraph/query/graph_embeddings/pinecone → trustgraph-flow-1.2.0/trustgraph/query/graph_embeddings/qdrant}/__init__.py +0 -0
  273. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
  274. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
  275. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/__init__.py +0 -0
  276. {trustgraph-flow-1.1.9/trustgraph/query/graph_embeddings/qdrant → trustgraph-flow-1.2.0/trustgraph/query/triples/cassandra}/__init__.py +0 -0
  277. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/cassandra/__main__.py +0 -0
  278. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/cassandra/service.py +0 -0
  279. {trustgraph-flow-1.1.9/trustgraph/query/triples/cassandra → trustgraph-flow-1.2.0/trustgraph/query/triples/falkordb}/__init__.py +0 -0
  280. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/falkordb/__main__.py +0 -0
  281. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/falkordb/service.py +0 -0
  282. {trustgraph-flow-1.1.9/trustgraph/query/triples/falkordb → trustgraph-flow-1.2.0/trustgraph/query/triples/memgraph}/__init__.py +0 -0
  283. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/memgraph/__main__.py +0 -0
  284. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/memgraph/service.py +0 -0
  285. {trustgraph-flow-1.1.9/trustgraph/query/triples/memgraph → trustgraph-flow-1.2.0/trustgraph/query/triples/neo4j}/__init__.py +0 -0
  286. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/neo4j/__main__.py +0 -0
  287. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/query/triples/neo4j/service.py +0 -0
  288. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/__init__.py +0 -0
  289. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/document_rag/__init__.py +0 -0
  290. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/document_rag/__main__.py +0 -0
  291. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
  292. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/document_rag/rag.py +0 -0
  293. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
  294. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
  295. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
  296. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/retrieval/graph_rag/rag.py +0 -0
  297. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/rev_gateway/__init__.py +0 -0
  298. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/rev_gateway/__main__.py +0 -0
  299. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/rev_gateway/dispatcher.py +0 -0
  300. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/rev_gateway/service.py +0 -0
  301. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/__init__.py +0 -0
  302. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
  303. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
  304. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
  305. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
  306. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
  307. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
  308. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
  309. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
  310. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
  311. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
  312. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
  313. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
  314. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
  315. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
  316. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
  317. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
  318. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
  319. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
  320. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
  321. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
  322. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/knowledge/__init__.py +0 -0
  323. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/knowledge/__main__.py +0 -0
  324. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/knowledge/store.py +0 -0
  325. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/object_embeddings/__init__.py +0 -0
  326. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
  327. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
  328. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
  329. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/rows/__init__.py +0 -0
  330. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
  331. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
  332. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/rows/cassandra/write.py +0 -0
  333. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/__init__.py +0 -0
  334. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
  335. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
  336. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/cassandra/write.py +0 -0
  337. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
  338. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
  339. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/falkordb/write.py +0 -0
  340. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
  341. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
  342. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/memgraph/write.py +0 -0
  343. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
  344. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
  345. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/storage/triples/neo4j/write.py +0 -0
  346. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/tables/__init__.py +0 -0
  347. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/tables/config.py +0 -0
  348. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/tables/knowledge.py +0 -0
  349. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph/tables/library.py +0 -0
  350. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
  351. {trustgraph-flow-1.1.9 → trustgraph-flow-1.2.0}/trustgraph_flow.egg-info/top_level.txt +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-flow
3
- Version: 1.1.9
3
+ Version: 1.2.0
4
4
  Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
5
  Home-page: https://github.com/trustgraph-ai/trustgraph
6
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v1.1.9.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v1.2.0.tar.gz
7
7
  Author: trustgraph.ai
8
8
  Author-email: security@trustgraph.ai
9
9
  Classifier: Programming Language :: Python :: 3
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env python3
2
+
3
+ from trustgraph.extract.kg.agent import run
4
+
5
+ run()
6
+
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env python3
2
+
3
+ from trustgraph.prompt.template import run
4
+
5
+ run()
6
+
@@ -34,7 +34,7 @@ setuptools.setup(
34
34
  python_requires='>=3.8',
35
35
  download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
36
36
  install_requires=[
37
- "trustgraph-base>=1.1,<1.2",
37
+ "trustgraph-base>=1.2,<1.3",
38
38
  "aiohttp",
39
39
  "anthropic",
40
40
  "cassandra-driver",
@@ -96,7 +96,7 @@ setuptools.setup(
96
96
  "scripts/graph-rag",
97
97
  "scripts/kg-extract-definitions",
98
98
  "scripts/kg-extract-relationships",
99
- "scripts/kg-extract-topics",
99
+ "scripts/kg-extract-agent",
100
100
  "scripts/kg-store",
101
101
  "scripts/kg-manager",
102
102
  "scripts/librarian",
@@ -106,7 +106,6 @@ setuptools.setup(
106
106
  "scripts/oe-write-milvus",
107
107
  "scripts/pdf-decoder",
108
108
  "scripts/pdf-ocr-mistral",
109
- "scripts/prompt-generic",
110
109
  "scripts/prompt-template",
111
110
  "scripts/rows-write-cassandra",
112
111
  "scripts/run-processing",
@@ -47,8 +47,8 @@ class Service(ToolService):
47
47
 
48
48
  url = self.mcp_services[name]["url"]
49
49
 
50
- if "name" in self.mcp_services[name]:
51
- remote_name = self.mcp_services[name]["name"]
50
+ if "remote-name" in self.mcp_services[name]:
51
+ remote_name = self.mcp_services[name]["remote-name"]
52
52
  else:
53
53
  remote_name = name
54
54
 
@@ -0,0 +1,280 @@
1
+
2
+ import logging
3
+ import json
4
+ import re
5
+
6
+ from . types import Action, Final
7
+
8
+ logger = logging.getLogger(__name__)
9
+
10
+ class AgentManager:
11
+
12
+ def __init__(self, tools, additional_context=None):
13
+ self.tools = tools
14
+ self.additional_context = additional_context
15
+
16
+ def parse_react_response(self, text):
17
+ """Parse text-based ReAct response format.
18
+
19
+ Expected format:
20
+ Thought: [reasoning about what to do next]
21
+ Action: [tool_name]
22
+ Args: {
23
+ "param": "value"
24
+ }
25
+
26
+ OR
27
+
28
+ Thought: [reasoning about the final answer]
29
+ Final Answer: [the answer]
30
+ """
31
+ if not isinstance(text, str):
32
+ raise ValueError(f"Expected string response, got {type(text)}")
33
+
34
+ # Remove any markdown code blocks that might wrap the response
35
+ text = re.sub(r'^```[^\n]*\n', '', text.strip())
36
+ text = re.sub(r'\n```$', '', text.strip())
37
+
38
+ lines = text.strip().split('\n')
39
+
40
+ thought = None
41
+ action = None
42
+ args = None
43
+ final_answer = None
44
+
45
+ i = 0
46
+ while i < len(lines):
47
+ line = lines[i].strip()
48
+
49
+ # Parse Thought
50
+ if line.startswith("Thought:"):
51
+ thought = line[8:].strip()
52
+ # Handle multi-line thoughts
53
+ i += 1
54
+ while i < len(lines):
55
+ next_line = lines[i].strip()
56
+ if next_line.startswith(("Action:", "Final Answer:", "Args:")):
57
+ break
58
+ thought += " " + next_line
59
+ i += 1
60
+ continue
61
+
62
+ # Parse Final Answer
63
+ if line.startswith("Final Answer:"):
64
+ final_answer = line[13:].strip()
65
+ # Handle multi-line final answers (including JSON)
66
+ i += 1
67
+
68
+ # Check if the answer might be JSON
69
+ if final_answer.startswith('{') or (i < len(lines) and lines[i].strip().startswith('{')):
70
+ # Collect potential JSON answer
71
+ json_text = final_answer if final_answer.startswith('{') else ""
72
+ brace_count = json_text.count('{') - json_text.count('}')
73
+
74
+ while i < len(lines) and (brace_count > 0 or not json_text):
75
+ current_line = lines[i].strip()
76
+ if current_line.startswith(("Thought:", "Action:")) and brace_count == 0:
77
+ break
78
+ json_text += ("\n" if json_text else "") + current_line
79
+ brace_count += current_line.count('{') - current_line.count('}')
80
+ i += 1
81
+
82
+ # Try to parse as JSON
83
+ # try:
84
+ # final_answer = json.loads(json_text)
85
+ # except json.JSONDecodeError:
86
+ # # Not valid JSON, treat as regular text
87
+ # final_answer = json_text
88
+ final_answer = json_text
89
+ else:
90
+ # Regular text answer
91
+ while i < len(lines):
92
+ next_line = lines[i].strip()
93
+ if next_line.startswith(("Thought:", "Action:")):
94
+ break
95
+ final_answer += " " + next_line
96
+ i += 1
97
+
98
+ # If we have a final answer, return Final object
99
+ return Final(
100
+ thought=thought or "",
101
+ final=final_answer
102
+ )
103
+
104
+ # Parse Action
105
+ if line.startswith("Action:"):
106
+ action = line[7:].strip()
107
+
108
+ # Parse Args
109
+ if line.startswith("Args:"):
110
+ # Check if JSON starts on the same line
111
+ args_on_same_line = line[5:].strip()
112
+ if args_on_same_line:
113
+ args_text = args_on_same_line
114
+ brace_count = args_on_same_line.count('{') - args_on_same_line.count('}')
115
+ else:
116
+ args_text = ""
117
+ brace_count = 0
118
+
119
+ # Collect all lines that form the JSON arguments
120
+ i += 1
121
+ started = bool(args_on_same_line and '{' in args_on_same_line)
122
+
123
+ while i < len(lines) and (not started or brace_count > 0):
124
+ current_line = lines[i]
125
+ args_text += ("\n" if args_text else "") + current_line
126
+
127
+ # Count braces to determine when JSON is complete
128
+ for char in current_line:
129
+ if char == '{':
130
+ brace_count += 1
131
+ started = True
132
+ elif char == '}':
133
+ brace_count -= 1
134
+
135
+ # If we've started and braces are balanced, we're done
136
+ if started and brace_count == 0:
137
+ break
138
+
139
+ i += 1
140
+
141
+ # Parse the JSON arguments
142
+ try:
143
+ args = json.loads(args_text.strip())
144
+ except json.JSONDecodeError as e:
145
+ logger.error(f"Failed to parse JSON arguments: {args_text}")
146
+ raise ValueError(f"Invalid JSON in Args: {e}")
147
+
148
+ i += 1
149
+
150
+ # If we have an action, return Action object
151
+ if action:
152
+ return Action(
153
+ thought=thought or "",
154
+ name=action,
155
+ arguments=args or {},
156
+ observation=""
157
+ )
158
+
159
+ # If we only have a thought but no action or final answer
160
+ if thought and not action and not final_answer:
161
+ raise ValueError(f"Response has thought but no action or final answer: {text}")
162
+
163
+ raise ValueError(f"Could not parse response: {text}")
164
+
165
+ async def reason(self, question, history, context):
166
+
167
+ print(f"calling reason: {question}", flush=True)
168
+
169
+ tools = self.tools
170
+
171
+ print(f"in reason", flush=True)
172
+ print(tools, flush=True)
173
+
174
+ tool_names = ",".join([
175
+ t for t in self.tools.keys()
176
+ ])
177
+
178
+ print("Tool names:", tool_names, flush=True)
179
+
180
+ variables = {
181
+ "question": question,
182
+ "tools": [
183
+ {
184
+ "name": tool.name,
185
+ "description": tool.description,
186
+ "arguments": [
187
+ {
188
+ "name": arg.name,
189
+ "type": arg.type,
190
+ "description": arg.description
191
+ }
192
+ for arg in tool.arguments
193
+ ]
194
+ }
195
+ for tool in self.tools.values()
196
+ ],
197
+ "context": self.additional_context,
198
+ "question": question,
199
+ "tool_names": tool_names,
200
+ "history": [
201
+ {
202
+ "thought": h.thought,
203
+ "action": h.name,
204
+ "arguments": h.arguments,
205
+ "observation": h.observation,
206
+ }
207
+ for h in history
208
+ ]
209
+ }
210
+
211
+ print(json.dumps(variables, indent=4), flush=True)
212
+
213
+ logger.info(f"prompt: {variables}")
214
+
215
+ # Get text response from prompt service
216
+ response_text = await context("prompt-request").agent_react(variables)
217
+
218
+ print(f"Response text:\n{response_text}", flush=True)
219
+
220
+ logger.info(f"response: {response_text}")
221
+
222
+ # Parse the text response
223
+ try:
224
+ result = self.parse_react_response(response_text)
225
+ logger.info(f"Parsed result: {result}")
226
+ return result
227
+ except ValueError as e:
228
+ logger.error(f"Failed to parse response: {e}")
229
+ # Try to provide a helpful error message
230
+ logger.error(f"Response was: {response_text}")
231
+ raise RuntimeError(f"Failed to parse agent response: {e}")
232
+
233
+ async def react(self, question, history, think, observe, context):
234
+
235
+ logger.info(f"question: {question}")
236
+ print(f"question: {question}", flush=True)
237
+
238
+ act = await self.reason(
239
+ question = question,
240
+ history = history,
241
+ context = context,
242
+ )
243
+ logger.info(f"act: {act}")
244
+
245
+ if isinstance(act, Final):
246
+
247
+ await think(act.thought)
248
+ return act
249
+
250
+ else:
251
+
252
+ await think(act.thought)
253
+
254
+ if act.name in self.tools:
255
+ action = self.tools[act.name]
256
+ else:
257
+ raise RuntimeError(f"No action for {act.name}!")
258
+
259
+ print("TOOL>>>", act, flush=True)
260
+
261
+ resp = await action.implementation(context).invoke(
262
+ **act.arguments
263
+ )
264
+
265
+ if isinstance(resp, str):
266
+ resp = resp.strip()
267
+ else:
268
+ resp = str(resp)
269
+ resp = resp.strip()
270
+
271
+ logger.info(f"resp: {resp}")
272
+
273
+ await observe(resp)
274
+
275
+ act.observation = resp
276
+
277
+ logger.info(f"iter: {act}")
278
+
279
+ return act
280
+
@@ -6,13 +6,17 @@ import json
6
6
  import re
7
7
  import sys
8
8
  import functools
9
+ import logging
10
+
11
+ logging.basicConfig(level=logging.DEBUG)
12
+ logger = logging.getLogger(__name__)
9
13
 
10
14
  from ... base import AgentService, TextCompletionClientSpec, PromptClientSpec
11
15
  from ... base import GraphRagClientSpec, ToolClientSpec
12
16
 
13
17
  from ... schema import AgentRequest, AgentResponse, AgentStep, Error
14
18
 
15
- from . tools import KnowledgeQueryImpl, TextCompletionImpl, McpToolImpl
19
+ from . tools import KnowledgeQueryImpl, TextCompletionImpl, McpToolImpl, PromptImpl
16
20
  from . agent_manager import AgentManager
17
21
 
18
22
  from . types import Final, Action, Tool, Argument
@@ -79,64 +83,76 @@ class Processor(AgentService):
79
83
 
80
84
  print("Loading configuration version", version)
81
85
 
82
- if self.config_key not in config:
83
- print(f"No key {self.config_key} in config", flush=True)
84
- return
85
-
86
- config = config[self.config_key]
87
-
88
86
  try:
89
87
 
90
- # This is some extra stuff to put in the prompt
91
- additional = config.get("additional-context", None)
92
-
93
- ix = json.loads(config["tool-index"])
94
-
95
88
  tools = {}
96
89
 
97
- for k in ix:
98
-
99
- pc = config[f"tool.{k}"]
100
- data = json.loads(pc)
101
-
102
- arguments = {
103
- v.get("name"): Argument(
104
- name = v.get("name"),
105
- type = v.get("type"),
106
- description = v.get("description")
90
+ # Load tool configurations from the new location
91
+ if "tool" in config:
92
+ for tool_id, tool_value in config["tool"].items():
93
+ data = json.loads(tool_value)
94
+
95
+ impl_id = data.get("type")
96
+ name = data.get("name")
97
+
98
+ # Create the appropriate implementation
99
+ if impl_id == "knowledge-query":
100
+ impl = functools.partial(
101
+ KnowledgeQueryImpl,
102
+ collection=data.get("collection")
103
+ )
104
+ arguments = KnowledgeQueryImpl.get_arguments()
105
+ elif impl_id == "text-completion":
106
+ impl = TextCompletionImpl
107
+ arguments = TextCompletionImpl.get_arguments()
108
+ elif impl_id == "mcp-tool":
109
+ impl = functools.partial(
110
+ McpToolImpl,
111
+ mcp_tool_id=data.get("mcp-tool")
112
+ )
113
+ arguments = McpToolImpl.get_arguments()
114
+ elif impl_id == "prompt":
115
+ # For prompt tools, arguments come from config
116
+ config_args = data.get("arguments", [])
117
+ arguments = [
118
+ Argument(
119
+ name=arg.get("name"),
120
+ type=arg.get("type"),
121
+ description=arg.get("description")
122
+ )
123
+ for arg in config_args
124
+ ]
125
+ impl = functools.partial(
126
+ PromptImpl,
127
+ template_id=data.get("template"),
128
+ arguments=arguments
129
+ )
130
+ else:
131
+ raise RuntimeError(
132
+ f"Tool type {impl_id} not known"
133
+ )
134
+
135
+ tools[name] = Tool(
136
+ name=name,
137
+ description=data.get("description"),
138
+ implementation=impl,
139
+ config=data, # Store full config for reference
140
+ arguments=arguments,
107
141
  )
108
- for v in data["arguments"]
109
- }
110
-
111
- impl_id = data.get("type")
112
-
113
- name = data.get("name")
114
-
115
- if impl_id == "knowledge-query":
116
- impl = KnowledgeQueryImpl
117
- elif impl_id == "text-completion":
118
- impl = TextCompletionImpl
119
- elif impl_id == "mcp-tool":
120
- impl = functools.partial(McpToolImpl, name=k)
121
- else:
122
- raise RuntimeError(
123
- f"Tool-kind {impl_id} not known"
124
- )
125
-
126
- tools[data.get("name")] = Tool(
127
- name = name,
128
- description = data.get("description"),
129
- implementation = impl,
130
- config=data.get("config", {}),
131
- arguments = arguments,
132
- )
133
-
142
+
143
+ # Load additional context from agent config if it exists
144
+ additional = None
145
+ if self.config_key in config:
146
+ agent_config = config[self.config_key]
147
+ additional = agent_config.get("additional-context", None)
148
+
134
149
  self.agent = AgentManager(
135
150
  tools=tools,
136
151
  additional_context=additional
137
152
  )
138
153
 
139
- print("Prompt configuration reloaded.", flush=True)
154
+ print(f"Loaded {len(tools)} tools", flush=True)
155
+ print("Tool configuration reloaded.", flush=True)
140
156
 
141
157
  except Exception as e:
142
158
 
@@ -209,6 +225,11 @@ class Processor(AgentService):
209
225
 
210
226
  print("Send final response...", flush=True)
211
227
 
228
+ if isinstance(act.final, str):
229
+ f = act.final
230
+ else:
231
+ f = json.dumps(act.final)
232
+
212
233
  r = AgentResponse(
213
234
  answer=act.final,
214
235
  error=None,
@@ -280,6 +301,5 @@ class Processor(AgentService):
280
301
  )
281
302
 
282
303
  def run():
283
-
284
304
  Processor.launch(default_ident, __doc__)
285
305
 
@@ -0,0 +1,101 @@
1
+
2
+ import json
3
+ from .types import Argument
4
+
5
+ # This tool implementation knows how to put a question to the graph RAG
6
+ # service
7
+ class KnowledgeQueryImpl:
8
+ def __init__(self, context, collection=None):
9
+ self.context = context
10
+ self.collection = collection
11
+
12
+ @staticmethod
13
+ def get_arguments():
14
+ return [
15
+ Argument(
16
+ name="question",
17
+ type="string",
18
+ description="The question to ask the knowledge base"
19
+ )
20
+ ]
21
+
22
+ async def invoke(self, **arguments):
23
+ client = self.context("graph-rag-request")
24
+ print("Graph RAG question...", flush=True)
25
+ return await client.rag(
26
+ arguments.get("question")
27
+ )
28
+
29
+ # This tool implementation knows how to do text completion. This uses
30
+ # the prompt service, rather than talking to TextCompletion directly.
31
+ class TextCompletionImpl:
32
+ def __init__(self, context):
33
+ self.context = context
34
+
35
+ @staticmethod
36
+ def get_arguments():
37
+ return [
38
+ Argument(
39
+ name="question",
40
+ type="string",
41
+ description="The text prompt or question for completion"
42
+ )
43
+ ]
44
+
45
+ async def invoke(self, **arguments):
46
+ client = self.context("prompt-request")
47
+ print("Prompt question...", flush=True)
48
+ return await client.question(
49
+ arguments.get("question")
50
+ )
51
+
52
+ # This tool implementation knows how to do MCP tool invocation. This uses
53
+ # the mcp-tool service.
54
+ class McpToolImpl:
55
+
56
+ def __init__(self, context, mcp_tool_id):
57
+ self.context = context
58
+ self.mcp_tool_id = mcp_tool_id
59
+
60
+ @staticmethod
61
+ def get_arguments():
62
+ # MCP tools define their own arguments dynamically
63
+ # For now, we return empty list and let the MCP service handle validation
64
+ return []
65
+
66
+ async def invoke(self, **arguments):
67
+
68
+ client = self.context("mcp-tool-request")
69
+
70
+ print(f"MCP tool invocation: {self.mcp_tool_id}...", flush=True)
71
+ output = await client.invoke(
72
+ name = self.mcp_tool_id,
73
+ parameters = arguments, # Pass the actual arguments
74
+ )
75
+
76
+ print(output)
77
+
78
+ if isinstance(output, str):
79
+ return output
80
+ else:
81
+ return json.dumps(output)
82
+
83
+
84
+ # This tool implementation knows how to execute prompt templates
85
+ class PromptImpl:
86
+ def __init__(self, context, template_id, arguments=None):
87
+ self.context = context
88
+ self.template_id = template_id
89
+ self.arguments = arguments or [] # These come from config
90
+
91
+ def get_arguments(self):
92
+ # For prompt tools, arguments are defined in configuration
93
+ return self.arguments
94
+
95
+ async def invoke(self, **arguments):
96
+ client = self.context("prompt-request")
97
+ print(f"Prompt template invocation: {self.template_id}...", flush=True)
98
+ return await client.prompt(
99
+ id=self.template_id,
100
+ variables=arguments
101
+ )
@@ -0,0 +1 @@
1
+ from .extract import *
@@ -0,0 +1,4 @@
1
+ from .extract import Processor
2
+
3
+ if __name__ == "__main__":
4
+ Processor.run()