trustgraph-flow 1.1.10__tar.gz → 1.2.3__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 (352) hide show
  1. trustgraph_flow-1.2.3/PKG-INFO +46 -0
  2. trustgraph_flow-1.2.3/pyproject.toml +123 -0
  3. trustgraph_flow-1.2.3/trustgraph/agent/react/agent_manager.py +280 -0
  4. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/react/service.py +9 -1
  5. trustgraph_flow-1.2.3/trustgraph/extract/kg/agent/__init__.py +1 -0
  6. trustgraph_flow-1.2.3/trustgraph/extract/kg/agent/__main__.py +4 -0
  7. trustgraph_flow-1.2.3/trustgraph/extract/kg/agent/extract.py +336 -0
  8. trustgraph_flow-1.2.3/trustgraph/flow_version.py +1 -0
  9. {trustgraph-flow-1.1.10/trustgraph/model → trustgraph_flow-1.2.3/trustgraph}/prompt/template/service.py +12 -40
  10. trustgraph_flow-1.2.3/trustgraph/template/__init__.py +3 -0
  11. {trustgraph-flow-1.1.10/trustgraph/model/prompt → trustgraph_flow-1.2.3/trustgraph}/template/prompt_manager.py +56 -11
  12. trustgraph_flow-1.2.3/trustgraph_flow.egg-info/PKG-INFO +46 -0
  13. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph_flow.egg-info/SOURCES.txt +11 -71
  14. trustgraph_flow-1.2.3/trustgraph_flow.egg-info/entry_points.txt +62 -0
  15. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph_flow.egg-info/requires.txt +2 -2
  16. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph_flow.egg-info/top_level.txt +0 -1
  17. trustgraph-flow-1.1.10/PKG-INFO +0 -15
  18. trustgraph-flow-1.1.10/scripts/agent-manager-react +0 -6
  19. trustgraph-flow-1.1.10/scripts/api-gateway +0 -6
  20. trustgraph-flow-1.1.10/scripts/chunker-recursive +0 -6
  21. trustgraph-flow-1.1.10/scripts/chunker-token +0 -6
  22. trustgraph-flow-1.1.10/scripts/config-svc +0 -6
  23. trustgraph-flow-1.1.10/scripts/de-query-milvus +0 -6
  24. trustgraph-flow-1.1.10/scripts/de-query-pinecone +0 -6
  25. trustgraph-flow-1.1.10/scripts/de-query-qdrant +0 -6
  26. trustgraph-flow-1.1.10/scripts/de-write-milvus +0 -6
  27. trustgraph-flow-1.1.10/scripts/de-write-pinecone +0 -6
  28. trustgraph-flow-1.1.10/scripts/de-write-qdrant +0 -6
  29. trustgraph-flow-1.1.10/scripts/document-embeddings +0 -6
  30. trustgraph-flow-1.1.10/scripts/document-rag +0 -6
  31. trustgraph-flow-1.1.10/scripts/embeddings-fastembed +0 -6
  32. trustgraph-flow-1.1.10/scripts/embeddings-ollama +0 -6
  33. trustgraph-flow-1.1.10/scripts/ge-query-milvus +0 -6
  34. trustgraph-flow-1.1.10/scripts/ge-query-pinecone +0 -6
  35. trustgraph-flow-1.1.10/scripts/ge-query-qdrant +0 -6
  36. trustgraph-flow-1.1.10/scripts/ge-write-milvus +0 -6
  37. trustgraph-flow-1.1.10/scripts/ge-write-pinecone +0 -6
  38. trustgraph-flow-1.1.10/scripts/ge-write-qdrant +0 -6
  39. trustgraph-flow-1.1.10/scripts/graph-embeddings +0 -6
  40. trustgraph-flow-1.1.10/scripts/graph-rag +0 -6
  41. trustgraph-flow-1.1.10/scripts/kg-extract-definitions +0 -6
  42. trustgraph-flow-1.1.10/scripts/kg-extract-relationships +0 -6
  43. trustgraph-flow-1.1.10/scripts/kg-extract-topics +0 -6
  44. trustgraph-flow-1.1.10/scripts/kg-manager +0 -6
  45. trustgraph-flow-1.1.10/scripts/kg-store +0 -6
  46. trustgraph-flow-1.1.10/scripts/librarian +0 -6
  47. trustgraph-flow-1.1.10/scripts/mcp-tool +0 -6
  48. trustgraph-flow-1.1.10/scripts/metering +0 -5
  49. trustgraph-flow-1.1.10/scripts/object-extract-row +0 -6
  50. trustgraph-flow-1.1.10/scripts/oe-write-milvus +0 -6
  51. trustgraph-flow-1.1.10/scripts/pdf-decoder +0 -6
  52. trustgraph-flow-1.1.10/scripts/pdf-ocr-mistral +0 -6
  53. trustgraph-flow-1.1.10/scripts/prompt-generic +0 -6
  54. trustgraph-flow-1.1.10/scripts/prompt-template +0 -6
  55. trustgraph-flow-1.1.10/scripts/rev-gateway +0 -6
  56. trustgraph-flow-1.1.10/scripts/rows-write-cassandra +0 -6
  57. trustgraph-flow-1.1.10/scripts/run-processing +0 -6
  58. trustgraph-flow-1.1.10/scripts/text-completion-azure +0 -6
  59. trustgraph-flow-1.1.10/scripts/text-completion-azure-openai +0 -6
  60. trustgraph-flow-1.1.10/scripts/text-completion-claude +0 -6
  61. trustgraph-flow-1.1.10/scripts/text-completion-cohere +0 -6
  62. trustgraph-flow-1.1.10/scripts/text-completion-googleaistudio +0 -6
  63. trustgraph-flow-1.1.10/scripts/text-completion-llamafile +0 -6
  64. trustgraph-flow-1.1.10/scripts/text-completion-lmstudio +0 -6
  65. trustgraph-flow-1.1.10/scripts/text-completion-mistral +0 -6
  66. trustgraph-flow-1.1.10/scripts/text-completion-ollama +0 -6
  67. trustgraph-flow-1.1.10/scripts/text-completion-openai +0 -6
  68. trustgraph-flow-1.1.10/scripts/text-completion-tgi +0 -6
  69. trustgraph-flow-1.1.10/scripts/text-completion-vllm +0 -6
  70. trustgraph-flow-1.1.10/scripts/triples-query-cassandra +0 -6
  71. trustgraph-flow-1.1.10/scripts/triples-query-falkordb +0 -6
  72. trustgraph-flow-1.1.10/scripts/triples-query-memgraph +0 -6
  73. trustgraph-flow-1.1.10/scripts/triples-query-neo4j +0 -6
  74. trustgraph-flow-1.1.10/scripts/triples-write-cassandra +0 -6
  75. trustgraph-flow-1.1.10/scripts/triples-write-falkordb +0 -6
  76. trustgraph-flow-1.1.10/scripts/triples-write-memgraph +0 -6
  77. trustgraph-flow-1.1.10/scripts/triples-write-neo4j +0 -6
  78. trustgraph-flow-1.1.10/scripts/wikipedia-lookup +0 -6
  79. trustgraph-flow-1.1.10/setup.py +0 -135
  80. trustgraph-flow-1.1.10/trustgraph/agent/react/agent_manager.py +0 -134
  81. trustgraph-flow-1.1.10/trustgraph/flow_version.py +0 -1
  82. trustgraph-flow-1.1.10/trustgraph/model/prompt/generic/prompts.py +0 -176
  83. trustgraph-flow-1.1.10/trustgraph/model/prompt/generic/service.py +0 -485
  84. trustgraph-flow-1.1.10/trustgraph/model/prompt/template/__main__.py +0 -7
  85. trustgraph-flow-1.1.10/trustgraph/query/triples/neo4j/__init__.py +0 -3
  86. trustgraph-flow-1.1.10/trustgraph_flow.egg-info/PKG-INFO +0 -15
  87. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/README.md +0 -0
  88. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/setup.cfg +0 -0
  89. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/__init__.py +0 -0
  90. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/__init__.py +0 -0
  91. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/mcp_tool/__init__.py +0 -0
  92. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/mcp_tool/__main__.py +0 -0
  93. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/mcp_tool/service.py +0 -0
  94. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/react/__init__.py +0 -0
  95. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/react/__main__.py +0 -0
  96. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/react/tools.py +0 -0
  97. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/agent/react/types.py +0 -0
  98. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/__init__.py +0 -0
  99. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/recursive/__init__.py +0 -0
  100. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/recursive/__main__.py +0 -0
  101. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/recursive/chunker.py +0 -0
  102. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/token/__init__.py +0 -0
  103. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/token/__main__.py +0 -0
  104. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/chunking/token/chunker.py +0 -0
  105. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/config/service/__init__.py +0 -0
  106. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/config/service/__main__.py +0 -0
  107. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/config/service/config.py +0 -0
  108. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/config/service/flow.py +0 -0
  109. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/config/service/service.py +0 -0
  110. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/cores/__init__.py +0 -0
  111. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/cores/__main__.py +0 -0
  112. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/cores/knowledge.py +0 -0
  113. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/cores/service.py +0 -0
  114. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/__init__.py +0 -0
  115. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
  116. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
  117. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
  118. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/pdf/__init__.py +0 -0
  119. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/pdf/__main__.py +0 -0
  120. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
  121. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/direct/__init__.py +0 -0
  122. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/direct/cassandra.py +0 -0
  123. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
  124. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
  125. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/direct/milvus_object_embeddings.py +0 -0
  126. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/__init__.py +0 -0
  127. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
  128. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
  129. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
  130. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/fastembed/__init__.py +0 -0
  131. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/fastembed/__main__.py +0 -0
  132. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/fastembed/processor.py +0 -0
  133. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
  134. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
  135. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
  136. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/ollama/__init__.py +0 -0
  137. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/ollama/__main__.py +0 -0
  138. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/embeddings/ollama/processor.py +0 -0
  139. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/external/__init__.py +0 -0
  140. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/external/wikipedia/__init__.py +0 -0
  141. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/external/wikipedia/__main__.py +0 -0
  142. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/external/wikipedia/service.py +0 -0
  143. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/__init__.py +0 -0
  144. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/__init__.py +0 -0
  145. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/definitions/__init__.py +0 -0
  146. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/definitions/__main__.py +0 -0
  147. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/definitions/extract.py +0 -0
  148. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/relationships/__init__.py +0 -0
  149. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/relationships/__main__.py +0 -0
  150. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/relationships/extract.py +0 -0
  151. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/topics/__init__.py +0 -0
  152. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/topics/__main__.py +0 -0
  153. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/kg/topics/extract.py +0 -0
  154. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/object/__init__.py +0 -0
  155. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/object/row/__init__.py +0 -0
  156. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/object/row/__main__.py +0 -0
  157. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/extract/object/row/extract.py +0 -0
  158. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/__init__.py +0 -0
  159. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/__main__.py +0 -0
  160. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/auth.py +0 -0
  161. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/config/receiver.py +0 -0
  162. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/agent.py +0 -0
  163. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/config.py +0 -0
  164. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/core_export.py +0 -0
  165. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/core_import.py +0 -0
  166. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
  167. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
  168. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/document_load.py +0 -0
  169. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/document_rag.py +0 -0
  170. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/embeddings.py +0 -0
  171. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
  172. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
  173. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/flow.py +0 -0
  174. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
  175. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
  176. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
  177. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
  178. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/knowledge.py +0 -0
  179. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/librarian.py +0 -0
  180. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/manager.py +0 -0
  181. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
  182. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/mux.py +0 -0
  183. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/prompt.py +0 -0
  184. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/requestor.py +0 -0
  185. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/sender.py +0 -0
  186. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/serialize.py +0 -0
  187. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/streamer.py +0 -0
  188. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/text_completion.py +0 -0
  189. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/text_load.py +0 -0
  190. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/triples_export.py +0 -0
  191. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/triples_import.py +0 -0
  192. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/dispatch/triples_query.py +0 -0
  193. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
  194. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/endpoint/manager.py +0 -0
  195. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/endpoint/metrics.py +0 -0
  196. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/endpoint/socket.py +0 -0
  197. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
  198. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
  199. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/running.py +0 -0
  200. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/service.py +0 -0
  201. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/unused/dbpedia.py +0 -0
  202. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/unused/encyclopedia.py +0 -0
  203. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/gateway/unused/internet_search.py +0 -0
  204. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/librarian/__init__.py +0 -0
  205. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/librarian/__main__.py +0 -0
  206. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/librarian/blob_store.py +0 -0
  207. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/librarian/librarian.py +0 -0
  208. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/librarian/service.py +0 -0
  209. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/metering/__init__.py +0 -0
  210. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/metering/__main__.py +0 -0
  211. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/metering/counter.py +0 -0
  212. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/__init__.py +0 -0
  213. {trustgraph-flow-1.1.10/trustgraph/model/prompt → trustgraph_flow-1.2.3/trustgraph/model/text_completion}/__init__.py +0 -0
  214. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/azure/__init__.py +0 -0
  215. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/azure/__main__.py +0 -0
  216. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/azure/llm.py +0 -0
  217. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
  218. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
  219. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
  220. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/claude/__init__.py +0 -0
  221. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/claude/__main__.py +0 -0
  222. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/claude/llm.py +0 -0
  223. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
  224. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
  225. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/cohere/llm.py +0 -0
  226. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
  227. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
  228. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
  229. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
  230. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
  231. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
  232. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
  233. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
  234. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
  235. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
  236. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
  237. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/mistral/llm.py +0 -0
  238. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
  239. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
  240. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/ollama/llm.py +0 -0
  241. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/openai/__init__.py +0 -0
  242. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/openai/__main__.py +0 -0
  243. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/openai/llm.py +0 -0
  244. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
  245. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
  246. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/tgi/llm.py +0 -0
  247. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
  248. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
  249. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/model/text_completion/vllm/llm.py +0 -0
  250. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/processing/__init__.py +0 -0
  251. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/processing/__main__.py +0 -0
  252. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/processing/processing.py +0 -0
  253. {trustgraph-flow-1.1.10/trustgraph/model/text_completion → trustgraph_flow-1.2.3/trustgraph/prompt}/__init__.py +0 -0
  254. {trustgraph-flow-1.1.10/trustgraph/model/prompt/generic → trustgraph_flow-1.2.3/trustgraph/prompt/template}/__init__.py +0 -0
  255. {trustgraph-flow-1.1.10/trustgraph/model/prompt/generic → trustgraph_flow-1.2.3/trustgraph/prompt/template}/__main__.py +0 -0
  256. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/__init__.py +0 -0
  257. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/__init__.py +0 -0
  258. {trustgraph-flow-1.1.10/trustgraph/model/prompt/template → trustgraph_flow-1.2.3/trustgraph/query/doc_embeddings/milvus}/__init__.py +0 -0
  259. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
  260. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
  261. {trustgraph-flow-1.1.10/trustgraph/query/doc_embeddings/milvus → trustgraph_flow-1.2.3/trustgraph/query/doc_embeddings/pinecone}/__init__.py +0 -0
  262. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
  263. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
  264. {trustgraph-flow-1.1.10/trustgraph/query/doc_embeddings/pinecone → trustgraph_flow-1.2.3/trustgraph/query/doc_embeddings/qdrant}/__init__.py +0 -0
  265. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
  266. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
  267. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/__init__.py +0 -0
  268. {trustgraph-flow-1.1.10/trustgraph/query/doc_embeddings/qdrant → trustgraph_flow-1.2.3/trustgraph/query/graph_embeddings/milvus}/__init__.py +0 -0
  269. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
  270. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
  271. {trustgraph-flow-1.1.10/trustgraph/query/graph_embeddings/milvus → trustgraph_flow-1.2.3/trustgraph/query/graph_embeddings/pinecone}/__init__.py +0 -0
  272. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
  273. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
  274. {trustgraph-flow-1.1.10/trustgraph/query/graph_embeddings/pinecone → trustgraph_flow-1.2.3/trustgraph/query/graph_embeddings/qdrant}/__init__.py +0 -0
  275. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
  276. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
  277. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/__init__.py +0 -0
  278. {trustgraph-flow-1.1.10/trustgraph/query/graph_embeddings/qdrant → trustgraph_flow-1.2.3/trustgraph/query/triples/cassandra}/__init__.py +0 -0
  279. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/cassandra/__main__.py +0 -0
  280. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/cassandra/service.py +0 -0
  281. {trustgraph-flow-1.1.10/trustgraph/query/triples/cassandra → trustgraph_flow-1.2.3/trustgraph/query/triples/falkordb}/__init__.py +0 -0
  282. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/falkordb/__main__.py +0 -0
  283. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/falkordb/service.py +0 -0
  284. {trustgraph-flow-1.1.10/trustgraph/query/triples/falkordb → trustgraph_flow-1.2.3/trustgraph/query/triples/memgraph}/__init__.py +0 -0
  285. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/memgraph/__main__.py +0 -0
  286. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/memgraph/service.py +0 -0
  287. {trustgraph-flow-1.1.10/trustgraph/query/triples/memgraph → trustgraph_flow-1.2.3/trustgraph/query/triples/neo4j}/__init__.py +0 -0
  288. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/neo4j/__main__.py +0 -0
  289. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/query/triples/neo4j/service.py +0 -0
  290. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/__init__.py +0 -0
  291. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/document_rag/__init__.py +0 -0
  292. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/document_rag/__main__.py +0 -0
  293. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
  294. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/document_rag/rag.py +0 -0
  295. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
  296. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
  297. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
  298. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/retrieval/graph_rag/rag.py +0 -0
  299. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/rev_gateway/__init__.py +0 -0
  300. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/rev_gateway/__main__.py +0 -0
  301. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/rev_gateway/dispatcher.py +0 -0
  302. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/rev_gateway/service.py +0 -0
  303. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/__init__.py +0 -0
  304. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
  305. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
  306. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
  307. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
  308. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
  309. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
  310. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
  311. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
  312. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
  313. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
  314. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
  315. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
  316. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
  317. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
  318. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
  319. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
  320. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
  321. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
  322. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
  323. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
  324. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/knowledge/__init__.py +0 -0
  325. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/knowledge/__main__.py +0 -0
  326. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/knowledge/store.py +0 -0
  327. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/object_embeddings/__init__.py +0 -0
  328. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
  329. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
  330. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
  331. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/rows/__init__.py +0 -0
  332. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
  333. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
  334. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/rows/cassandra/write.py +0 -0
  335. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/__init__.py +0 -0
  336. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
  337. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
  338. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/cassandra/write.py +0 -0
  339. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
  340. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
  341. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/falkordb/write.py +0 -0
  342. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
  343. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
  344. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/memgraph/write.py +0 -0
  345. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
  346. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
  347. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/storage/triples/neo4j/write.py +0 -0
  348. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/tables/__init__.py +0 -0
  349. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/tables/config.py +0 -0
  350. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/tables/knowledge.py +0 -0
  351. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph/tables/library.py +0 -0
  352. {trustgraph-flow-1.1.10 → trustgraph_flow-1.2.3}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: trustgraph-flow
3
+ Version: 1.2.3
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
+ Author-email: "trustgraph.ai" <security@trustgraph.ai>
6
+ Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: trustgraph-base<1.3,>=1.2
12
+ Requires-Dist: aiohttp
13
+ Requires-Dist: anthropic
14
+ Requires-Dist: cassandra-driver
15
+ Requires-Dist: cohere
16
+ Requires-Dist: cryptography
17
+ Requires-Dist: falkordb
18
+ Requires-Dist: fastembed
19
+ Requires-Dist: google-genai
20
+ Requires-Dist: ibis
21
+ Requires-Dist: jsonschema
22
+ Requires-Dist: langchain
23
+ Requires-Dist: langchain-community
24
+ Requires-Dist: langchain-core
25
+ Requires-Dist: langchain-text-splitters
26
+ Requires-Dist: mcp
27
+ Requires-Dist: minio
28
+ Requires-Dist: mistralai
29
+ Requires-Dist: neo4j
30
+ Requires-Dist: ollama
31
+ Requires-Dist: openai
32
+ Requires-Dist: pinecone[grpc]
33
+ Requires-Dist: prometheus-client
34
+ Requires-Dist: pulsar-client
35
+ Requires-Dist: pymilvus
36
+ Requires-Dist: pypdf
37
+ Requires-Dist: mistralai
38
+ Requires-Dist: pyyaml
39
+ Requires-Dist: qdrant-client
40
+ Requires-Dist: rdflib
41
+ Requires-Dist: requests
42
+ Requires-Dist: tabulate
43
+ Requires-Dist: tiktoken
44
+ Requires-Dist: urllib3
45
+
46
+ See https://trustgraph.ai/
@@ -0,0 +1,123 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "trustgraph-flow"
7
+ dynamic = ["version"]
8
+ authors = [{name = "trustgraph.ai", email = "security@trustgraph.ai"}]
9
+ description = "TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline."
10
+ readme = "README.md"
11
+ requires-python = ">=3.8"
12
+ dependencies = [
13
+ "trustgraph-base>=1.2,<1.3",
14
+ "aiohttp",
15
+ "anthropic",
16
+ "cassandra-driver",
17
+ "cohere",
18
+ "cryptography",
19
+ "falkordb",
20
+ "fastembed",
21
+ "google-genai",
22
+ "ibis",
23
+ "jsonschema",
24
+ "langchain",
25
+ "langchain-community",
26
+ "langchain-core",
27
+ "langchain-text-splitters",
28
+ "mcp",
29
+ "minio",
30
+ "mistralai",
31
+ "neo4j",
32
+ "ollama",
33
+ "openai",
34
+ "pinecone[grpc]",
35
+ "prometheus-client",
36
+ "pulsar-client",
37
+ "pymilvus",
38
+ "pypdf",
39
+ "mistralai",
40
+ "pyyaml",
41
+ "qdrant-client",
42
+ "rdflib",
43
+ "requests",
44
+ "tabulate",
45
+ "tiktoken",
46
+ "urllib3",
47
+ ]
48
+ classifiers = [
49
+ "Programming Language :: Python :: 3",
50
+ "Operating System :: OS Independent",
51
+ ]
52
+
53
+ [project.urls]
54
+ Homepage = "https://github.com/trustgraph-ai/trustgraph"
55
+
56
+ [project.scripts]
57
+ agent-manager-react = "trustgraph.agent.react:run"
58
+ api-gateway = "trustgraph.gateway:run"
59
+ chunker-recursive = "trustgraph.chunking.recursive:run"
60
+ chunker-token = "trustgraph.chunking.token:run"
61
+ config-svc = "trustgraph.config.service:run"
62
+ de-query-milvus = "trustgraph.query.doc_embeddings.milvus:run"
63
+ de-query-pinecone = "trustgraph.query.doc_embeddings.pinecone:run"
64
+ de-query-qdrant = "trustgraph.query.doc_embeddings.qdrant:run"
65
+ de-write-milvus = "trustgraph.storage.doc_embeddings.milvus:run"
66
+ de-write-pinecone = "trustgraph.storage.doc_embeddings.pinecone:run"
67
+ de-write-qdrant = "trustgraph.storage.doc_embeddings.qdrant:run"
68
+ document-embeddings = "trustgraph.embeddings.document_embeddings:run"
69
+ document-rag = "trustgraph.retrieval.document_rag:run"
70
+ embeddings-fastembed = "trustgraph.embeddings.fastembed:run"
71
+ embeddings-ollama = "trustgraph.embeddings.ollama:run"
72
+ ge-query-milvus = "trustgraph.query.graph_embeddings.milvus:run"
73
+ ge-query-pinecone = "trustgraph.query.graph_embeddings.pinecone:run"
74
+ ge-query-qdrant = "trustgraph.query.graph_embeddings.qdrant:run"
75
+ ge-write-milvus = "trustgraph.storage.graph_embeddings.milvus:run"
76
+ ge-write-pinecone = "trustgraph.storage.graph_embeddings.pinecone:run"
77
+ ge-write-qdrant = "trustgraph.storage.graph_embeddings.qdrant:run"
78
+ graph-embeddings = "trustgraph.embeddings.graph_embeddings:run"
79
+ graph-rag = "trustgraph.retrieval.graph_rag:run"
80
+ kg-extract-agent = "trustgraph.extract.kg.agent:run"
81
+ kg-extract-definitions = "trustgraph.extract.kg.definitions:run"
82
+ kg-extract-relationships = "trustgraph.extract.kg.relationships:run"
83
+ kg-extract-topics = "trustgraph.extract.kg.topics:run"
84
+ kg-manager = "trustgraph.cores:run"
85
+ kg-store = "trustgraph.storage.knowledge:run"
86
+ librarian = "trustgraph.librarian:run"
87
+ mcp-tool = "trustgraph.agent.mcp_tool:run"
88
+ metering = "trustgraph.metering:run"
89
+ object-extract-row = "trustgraph.extract.object.row:run"
90
+ oe-write-milvus = "trustgraph.storage.object_embeddings.milvus:run"
91
+ pdf-decoder = "trustgraph.decoding.pdf:run"
92
+ pdf-ocr-mistral = "trustgraph.decoding.mistral_ocr:run"
93
+ prompt-template = "trustgraph.prompt.template:run"
94
+ rev-gateway = "trustgraph.rev_gateway:run"
95
+ rows-write-cassandra = "trustgraph.storage.rows.cassandra:run"
96
+ run-processing = "trustgraph.processing:run"
97
+ text-completion-azure = "trustgraph.model.text_completion.azure:run"
98
+ text-completion-azure-openai = "trustgraph.model.text_completion.azure_openai:run"
99
+ text-completion-claude = "trustgraph.model.text_completion.claude:run"
100
+ text-completion-cohere = "trustgraph.model.text_completion.cohere:run"
101
+ text-completion-googleaistudio = "trustgraph.model.text_completion.googleaistudio:run"
102
+ text-completion-llamafile = "trustgraph.model.text_completion.llamafile:run"
103
+ text-completion-lmstudio = "trustgraph.model.text_completion.lmstudio:run"
104
+ text-completion-mistral = "trustgraph.model.text_completion.mistral:run"
105
+ text-completion-ollama = "trustgraph.model.text_completion.ollama:run"
106
+ text-completion-openai = "trustgraph.model.text_completion.openai:run"
107
+ text-completion-tgi = "trustgraph.model.text_completion.tgi:run"
108
+ text-completion-vllm = "trustgraph.model.text_completion.vllm:run"
109
+ triples-query-cassandra = "trustgraph.query.triples.cassandra:run"
110
+ triples-query-falkordb = "trustgraph.query.triples.falkordb:run"
111
+ triples-query-memgraph = "trustgraph.query.triples.memgraph:run"
112
+ triples-query-neo4j = "trustgraph.query.triples.neo4j:run"
113
+ triples-write-cassandra = "trustgraph.storage.triples.cassandra:run"
114
+ triples-write-falkordb = "trustgraph.storage.triples.falkordb:run"
115
+ triples-write-memgraph = "trustgraph.storage.triples.memgraph:run"
116
+ triples-write-neo4j = "trustgraph.storage.triples.neo4j:run"
117
+ wikipedia-lookup = "trustgraph.external.wikipedia:run"
118
+
119
+ [tool.setuptools.packages.find]
120
+ include = ["trustgraph*"]
121
+
122
+ [tool.setuptools.dynamic]
123
+ version = {attr = "trustgraph.flow_version.__version__"}
@@ -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,6 +6,10 @@ 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
@@ -221,6 +225,11 @@ class Processor(AgentService):
221
225
 
222
226
  print("Send final response...", flush=True)
223
227
 
228
+ if isinstance(act.final, str):
229
+ f = act.final
230
+ else:
231
+ f = json.dumps(act.final)
232
+
224
233
  r = AgentResponse(
225
234
  answer=act.final,
226
235
  error=None,
@@ -292,6 +301,5 @@ class Processor(AgentService):
292
301
  )
293
302
 
294
303
  def run():
295
-
296
304
  Processor.launch(default_ident, __doc__)
297
305
 
@@ -0,0 +1 @@
1
+ from .extract import *
@@ -0,0 +1,4 @@
1
+ from .extract import Processor
2
+
3
+ if __name__ == "__main__":
4
+ Processor.run()