trustgraph-flow 0.15.3__tar.gz → 0.15.4__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 (198) hide show
  1. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/PKG-INFO +2 -2
  2. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/react/agent_manager.py +11 -91
  3. trustgraph-flow-0.15.4/trustgraph/flow_version.py +1 -0
  4. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph_flow.egg-info/PKG-INFO +2 -2
  5. trustgraph-flow-0.15.3/trustgraph/flow_version.py +0 -1
  6. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/README.md +0 -0
  7. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/agent-manager-react +0 -0
  8. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/chunker-recursive +0 -0
  9. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/chunker-token +0 -0
  10. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/de-query-milvus +0 -0
  11. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/de-query-qdrant +0 -0
  12. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/de-write-milvus +0 -0
  13. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/de-write-qdrant +0 -0
  14. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/document-rag +0 -0
  15. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/embeddings-ollama +0 -0
  16. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/embeddings-vectorize +0 -0
  17. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/ge-query-milvus +0 -0
  18. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/ge-query-qdrant +0 -0
  19. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/ge-write-milvus +0 -0
  20. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/ge-write-qdrant +0 -0
  21. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/graph-rag +0 -0
  22. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/kg-extract-definitions +0 -0
  23. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/kg-extract-relationships +0 -0
  24. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/kg-extract-topics +0 -0
  25. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/metering +0 -0
  26. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/object-extract-row +0 -0
  27. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/oe-write-milvus +0 -0
  28. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/pdf-decoder +0 -0
  29. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/prompt-generic +0 -0
  30. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/prompt-template +0 -0
  31. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/rows-write-cassandra +0 -0
  32. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/run-processing +0 -0
  33. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-azure +0 -0
  34. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-azure-openai +0 -0
  35. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-claude +0 -0
  36. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-cohere +0 -0
  37. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-googleaistudio +0 -0
  38. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-llamafile +0 -0
  39. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-ollama +0 -0
  40. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/text-completion-openai +0 -0
  41. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/triples-query-cassandra +0 -0
  42. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/triples-query-neo4j +0 -0
  43. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/triples-write-cassandra +0 -0
  44. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/scripts/triples-write-neo4j +0 -0
  45. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/setup.cfg +0 -0
  46. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/setup.py +0 -0
  47. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/__init__.py +0 -0
  48. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/__init__.py +0 -0
  49. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/react/__init__.py +0 -0
  50. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/react/__main__.py +0 -0
  51. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/react/service.py +0 -0
  52. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/react/tools.py +0 -0
  53. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/agent/react/types.py +0 -0
  54. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/__init__.py +0 -0
  55. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/recursive/__init__.py +0 -0
  56. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/recursive/__main__.py +0 -0
  57. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/recursive/chunker.py +0 -0
  58. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/token/__init__.py +0 -0
  59. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/token/__main__.py +0 -0
  60. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/chunking/token/chunker.py +0 -0
  61. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/decoding/__init__.py +0 -0
  62. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/decoding/pdf/__init__.py +0 -0
  63. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/decoding/pdf/__main__.py +0 -0
  64. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
  65. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/direct/__init__.py +0 -0
  66. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/direct/cassandra.py +0 -0
  67. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
  68. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
  69. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/direct/milvus_object_embeddings.py +0 -0
  70. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/document_rag.py +0 -0
  71. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/__init__.py +0 -0
  72. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/ollama/__init__.py +0 -0
  73. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/ollama/__main__.py +0 -0
  74. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/ollama/processor.py +0 -0
  75. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/vectorize/__init__.py +0 -0
  76. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/vectorize/__main__.py +0 -0
  77. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/embeddings/vectorize/vectorize.py +0 -0
  78. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/__init__.py +0 -0
  79. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/__init__.py +0 -0
  80. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/definitions/__init__.py +0 -0
  81. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/definitions/__main__.py +0 -0
  82. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/definitions/extract.py +0 -0
  83. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/relationships/__init__.py +0 -0
  84. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/relationships/__main__.py +0 -0
  85. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/relationships/extract.py +0 -0
  86. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/topics/__init__.py +0 -0
  87. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/topics/__main__.py +0 -0
  88. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/kg/topics/extract.py +0 -0
  89. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/object/__init__.py +0 -0
  90. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/object/row/__init__.py +0 -0
  91. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/object/row/__main__.py +0 -0
  92. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/extract/object/row/extract.py +0 -0
  93. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/graph_rag.py +0 -0
  94. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/metering/__init__.py +0 -0
  95. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/metering/__main__.py +0 -0
  96. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/metering/counter.py +0 -0
  97. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/metering/pricelist.py +0 -0
  98. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/__init__.py +0 -0
  99. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/__init__.py +0 -0
  100. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/generic/__init__.py +0 -0
  101. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/generic/__main__.py +0 -0
  102. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/generic/prompts.py +0 -0
  103. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/generic/service.py +0 -0
  104. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/template/__init__.py +0 -0
  105. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/template/__main__.py +0 -0
  106. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
  107. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/prompt/template/service.py +0 -0
  108. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/__init__.py +0 -0
  109. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/azure/__init__.py +0 -0
  110. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/azure/__main__.py +0 -0
  111. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/azure/llm.py +0 -0
  112. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
  113. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
  114. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
  115. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/claude/__init__.py +0 -0
  116. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/claude/__main__.py +0 -0
  117. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/claude/llm.py +0 -0
  118. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
  119. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
  120. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/cohere/llm.py +0 -0
  121. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
  122. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
  123. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
  124. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
  125. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
  126. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
  127. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
  128. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
  129. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/ollama/llm.py +0 -0
  130. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/openai/__init__.py +0 -0
  131. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/openai/__main__.py +0 -0
  132. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/model/text_completion/openai/llm.py +0 -0
  133. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/processing/__init__.py +0 -0
  134. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/processing/__main__.py +0 -0
  135. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/processing/processing.py +0 -0
  136. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/__init__.py +0 -0
  137. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/__init__.py +0 -0
  138. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
  139. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
  140. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
  141. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
  142. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
  143. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
  144. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/__init__.py +0 -0
  145. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
  146. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
  147. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
  148. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
  149. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
  150. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
  151. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/__init__.py +0 -0
  152. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/cassandra/__init__.py +0 -0
  153. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/cassandra/__main__.py +0 -0
  154. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/cassandra/service.py +0 -0
  155. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/neo4j/__init__.py +0 -0
  156. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/neo4j/__main__.py +0 -0
  157. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/query/triples/neo4j/service.py +0 -0
  158. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/__init__.py +0 -0
  159. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/document_rag/__init__.py +0 -0
  160. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/document_rag/__main__.py +0 -0
  161. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/document_rag/rag.py +0 -0
  162. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
  163. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
  164. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/retrieval/graph_rag/rag.py +0 -0
  165. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/__init__.py +0 -0
  166. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
  167. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
  168. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
  169. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
  170. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
  171. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
  172. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
  173. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
  174. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
  175. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
  176. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
  177. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
  178. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
  179. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
  180. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/object_embeddings/__init__.py +0 -0
  181. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
  182. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
  183. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
  184. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/rows/__init__.py +0 -0
  185. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
  186. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
  187. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/rows/cassandra/write.py +0 -0
  188. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/__init__.py +0 -0
  189. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
  190. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
  191. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/cassandra/write.py +0 -0
  192. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
  193. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
  194. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph/storage/triples/neo4j/write.py +0 -0
  195. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
  196. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
  197. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph_flow.egg-info/requires.txt +0 -0
  198. {trustgraph-flow-0.15.3 → trustgraph-flow-0.15.4}/trustgraph_flow.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-flow
3
- Version: 0.15.3
3
+ Version: 0.15.4
4
4
  Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
5
  Home-page: https://github.com/trustgraph-ai/trustgraph
6
6
  Author: trustgraph.ai
7
7
  Author-email: security@trustgraph.ai
8
8
  License: UNKNOWN
9
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.15.3.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.15.4.tar.gz
10
10
  Platform: UNKNOWN
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -1,5 +1,4 @@
1
1
 
2
- import ibis
3
2
  import logging
4
3
  import json
5
4
 
@@ -9,79 +8,6 @@ logger = logging.getLogger(__name__)
9
8
 
10
9
  class AgentManager:
11
10
 
12
- template="""Answer the following questions as best you can. You have
13
- access to the following functions:
14
-
15
- {% for tool in tools %}{
16
- "function": "{{ tool.name }}",
17
- "description": "{{ tool.description }}",
18
- "arguments": [
19
- {% for arg in tool.arguments %} {
20
- "name": "{{ arg.name }}",
21
- "type": "{{ arg.type }}",
22
- "description": "{{ arg.description }}",
23
- }
24
- {% endfor %}
25
- ]
26
- }
27
- {% endfor %}
28
-
29
- You can either choose to call a function to get more information, or
30
- return a final answer.
31
-
32
- To call a function, respond with a JSON object of the following format:
33
-
34
- {
35
- "thought": "your thought about what to do",
36
- "action": "the action to take, should be one of [{{tool_names}}]",
37
- "arguments": {
38
- "argument1": "argument_value",
39
- "argument2": "argument_value"
40
- }
41
- }
42
-
43
- To provide a final answer, response a JSON object of the following format:
44
-
45
- {
46
- "thought": "I now know the final answer",
47
- "final-answer": "the final answer to the original input question"
48
- }
49
-
50
- Previous steps are included in the input. Each step has the following
51
- format in your output:
52
-
53
- {
54
- "thought": "your thought about what to do",
55
- "action": "the action taken",
56
- "arguments": {
57
- "argument1": action argument,
58
- "argument2": action argument2
59
- },
60
- "observation": "the result of the action",
61
- }
62
-
63
- Respond by describing either one single thought/action/arguments or
64
- the final-answer. Pause after providing one action or final-answer.
65
-
66
- {% if context %}Additional context has been provided:
67
- {{context}}{% endif %}
68
-
69
- Question: {{question}}
70
-
71
- Input:
72
-
73
- {% for h in history %}
74
- {
75
- "action": "{{h.action}}",
76
- "arguments": [
77
- {% for k, v in h.arguments.items() %} {
78
- "{{k}}": "{{v}}",
79
- {%endfor%} }
80
- ],
81
- "observation": "{{h.observation}}"
82
- }
83
- {% endfor %}"""
84
-
85
11
  def __init__(self, context, tools, additional_context=None):
86
12
  self.context = context
87
13
  self.tools = tools
@@ -89,15 +15,14 @@ Input:
89
15
 
90
16
  def reason(self, question, history):
91
17
 
92
- tpl = ibis.Template(self.template)
93
-
94
18
  tools = self.tools
95
19
 
96
20
  tool_names = ",".join([
97
21
  t for t in self.tools.keys()
98
22
  ])
99
23
 
100
- prompt = tpl.render({
24
+ variables = {
25
+ "question": question,
101
26
  "tools": [
102
27
  {
103
28
  "name": tool.name,
@@ -124,26 +49,21 @@ Input:
124
49
  "observation": h.observation,
125
50
  }
126
51
  for h in history
127
- ],
128
- })
52
+ ]
53
+ }
129
54
 
130
- print(prompt)
55
+ print(json.dumps(variables, indent=4), flush=True)
131
56
 
132
- logger.info(f"prompt: {prompt}")
57
+ logger.info(f"prompt: {variables}")
133
58
 
134
- resp = self.context.prompt.request(
135
- "question",
136
- {
137
- "question": prompt
138
- }
59
+ obj = self.context.prompt.request(
60
+ "agent-react",
61
+ variables
139
62
  )
140
63
 
141
- resp = resp.replace("```json", "")
142
- resp = resp.replace("```", "")
143
-
144
- logger.info(f"response: {resp}")
64
+ print(json.dumps(obj, indent=4), flush=True)
145
65
 
146
- obj = json.loads(resp)
66
+ logger.info(f"response: {obj}")
147
67
 
148
68
  if obj.get("final-answer"):
149
69
 
@@ -0,0 +1 @@
1
+ __version__ = "0.15.4"
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-flow
3
- Version: 0.15.3
3
+ Version: 0.15.4
4
4
  Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
5
  Home-page: https://github.com/trustgraph-ai/trustgraph
6
6
  Author: trustgraph.ai
7
7
  Author-email: security@trustgraph.ai
8
8
  License: UNKNOWN
9
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.15.3.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.15.4.tar.gz
10
10
  Platform: UNKNOWN
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -1 +0,0 @@
1
- __version__ = "0.15.3"