trustgraph-flow 0.20.5__tar.gz → 0.20.7__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 (277) hide show
  1. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/PKG-INFO +2 -2
  2. trustgraph-flow-0.20.7/scripts/embeddings-fastembed +6 -0
  3. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/setup.py +2 -0
  4. trustgraph-flow-0.20.7/trustgraph/embeddings/fastembed/processor.py +89 -0
  5. trustgraph-flow-0.20.7/trustgraph/embeddings/ollama/__init__.py +3 -0
  6. trustgraph-flow-0.20.7/trustgraph/embeddings/ollama/__main__.py +7 -0
  7. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/ollama/processor.py +1 -1
  8. trustgraph-flow-0.20.7/trustgraph/flow_version.py +1 -0
  9. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph_flow.egg-info/PKG-INFO +2 -2
  10. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph_flow.egg-info/SOURCES.txt +4 -0
  11. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph_flow.egg-info/requires.txt +1 -0
  12. trustgraph-flow-0.20.5/trustgraph/flow_version.py +0 -1
  13. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/README.md +0 -0
  14. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/agent-manager-react +0 -0
  15. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/api-gateway +0 -0
  16. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/chunker-recursive +0 -0
  17. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/chunker-token +0 -0
  18. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/de-query-milvus +0 -0
  19. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/de-query-pinecone +0 -0
  20. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/de-query-qdrant +0 -0
  21. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/de-write-milvus +0 -0
  22. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/de-write-pinecone +0 -0
  23. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/de-write-qdrant +0 -0
  24. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/document-embeddings +0 -0
  25. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/document-rag +0 -0
  26. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/embeddings-ollama +0 -0
  27. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/ge-query-milvus +0 -0
  28. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/ge-query-pinecone +0 -0
  29. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/ge-query-qdrant +0 -0
  30. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/ge-write-milvus +0 -0
  31. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/ge-write-pinecone +0 -0
  32. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/ge-write-qdrant +0 -0
  33. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/graph-embeddings +0 -0
  34. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/graph-rag +0 -0
  35. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/kg-extract-definitions +0 -0
  36. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/kg-extract-relationships +0 -0
  37. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/kg-extract-topics +0 -0
  38. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/metering +0 -0
  39. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/object-extract-row +0 -0
  40. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/oe-write-milvus +0 -0
  41. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/pdf-decoder +0 -0
  42. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/prompt-generic +0 -0
  43. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/prompt-template +0 -0
  44. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/rows-write-cassandra +0 -0
  45. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/run-processing +0 -0
  46. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-azure +0 -0
  47. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-azure-openai +0 -0
  48. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-claude +0 -0
  49. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-cohere +0 -0
  50. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-googleaistudio +0 -0
  51. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-llamafile +0 -0
  52. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-ollama +0 -0
  53. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/text-completion-openai +0 -0
  54. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-query-cassandra +0 -0
  55. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-query-falkordb +0 -0
  56. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-query-memgraph +0 -0
  57. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-query-neo4j +0 -0
  58. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-write-cassandra +0 -0
  59. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-write-falkordb +0 -0
  60. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-write-memgraph +0 -0
  61. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/triples-write-neo4j +0 -0
  62. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/scripts/wikipedia-lookup +0 -0
  63. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/setup.cfg +0 -0
  64. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/__init__.py +0 -0
  65. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/__init__.py +0 -0
  66. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/react/__init__.py +0 -0
  67. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/react/__main__.py +0 -0
  68. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/react/agent_manager.py +0 -0
  69. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/react/service.py +0 -0
  70. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/react/tools.py +0 -0
  71. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/agent/react/types.py +0 -0
  72. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/__init__.py +0 -0
  73. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/recursive/__init__.py +0 -0
  74. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/recursive/__main__.py +0 -0
  75. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/recursive/chunker.py +0 -0
  76. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/token/__init__.py +0 -0
  77. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/token/__main__.py +0 -0
  78. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/chunking/token/chunker.py +0 -0
  79. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/decoding/__init__.py +0 -0
  80. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/decoding/pdf/__init__.py +0 -0
  81. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/decoding/pdf/__main__.py +0 -0
  82. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
  83. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/direct/__init__.py +0 -0
  84. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/direct/cassandra.py +0 -0
  85. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
  86. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
  87. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/direct/milvus_object_embeddings.py +0 -0
  88. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/document_rag.py +0 -0
  89. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/__init__.py +0 -0
  90. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
  91. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
  92. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
  93. {trustgraph-flow-0.20.5/trustgraph/embeddings/ollama → trustgraph-flow-0.20.7/trustgraph/embeddings/fastembed}/__init__.py +0 -0
  94. {trustgraph-flow-0.20.5/trustgraph/embeddings/ollama → trustgraph-flow-0.20.7/trustgraph/embeddings/fastembed}/__main__.py +0 -0
  95. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
  96. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
  97. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
  98. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/external/__init__.py +0 -0
  99. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/external/wikipedia/__init__.py +0 -0
  100. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/external/wikipedia/__main__.py +0 -0
  101. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/external/wikipedia/service.py +0 -0
  102. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/__init__.py +0 -0
  103. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/__init__.py +0 -0
  104. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/definitions/__init__.py +0 -0
  105. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/definitions/__main__.py +0 -0
  106. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/definitions/extract.py +0 -0
  107. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/relationships/__init__.py +0 -0
  108. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/relationships/__main__.py +0 -0
  109. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/relationships/extract.py +0 -0
  110. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/topics/__init__.py +0 -0
  111. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/topics/__main__.py +0 -0
  112. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/kg/topics/extract.py +0 -0
  113. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/object/__init__.py +0 -0
  114. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/object/row/__init__.py +0 -0
  115. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/object/row/__main__.py +0 -0
  116. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/extract/object/row/extract.py +0 -0
  117. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/__init__.py +0 -0
  118. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/__main__.py +0 -0
  119. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/agent.py +0 -0
  120. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/auth.py +0 -0
  121. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/dbpedia.py +0 -0
  122. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/document_embeddings_load.py +0 -0
  123. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/document_embeddings_stream.py +0 -0
  124. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/document_load.py +0 -0
  125. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/document_rag.py +0 -0
  126. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/embeddings.py +0 -0
  127. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/encyclopedia.py +0 -0
  128. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/endpoint.py +0 -0
  129. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/graph_embeddings_load.py +0 -0
  130. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/graph_embeddings_query.py +0 -0
  131. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/graph_embeddings_stream.py +0 -0
  132. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/graph_rag.py +0 -0
  133. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/internet_search.py +0 -0
  134. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/metrics.py +0 -0
  135. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/mux.py +0 -0
  136. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/prompt.py +0 -0
  137. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/publisher.py +0 -0
  138. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/requestor.py +0 -0
  139. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/running.py +0 -0
  140. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/sender.py +0 -0
  141. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/serialize.py +0 -0
  142. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/service.py +0 -0
  143. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/socket.py +0 -0
  144. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/subscriber.py +0 -0
  145. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/text_completion.py +0 -0
  146. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/text_load.py +0 -0
  147. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/triples_load.py +0 -0
  148. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/triples_query.py +0 -0
  149. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/gateway/triples_stream.py +0 -0
  150. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/graph_rag.py +0 -0
  151. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/metering/__init__.py +0 -0
  152. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/metering/__main__.py +0 -0
  153. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/metering/counter.py +0 -0
  154. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/metering/pricelist.py +0 -0
  155. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/__init__.py +0 -0
  156. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/__init__.py +0 -0
  157. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/generic/__init__.py +0 -0
  158. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/generic/__main__.py +0 -0
  159. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/generic/prompts.py +0 -0
  160. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/generic/service.py +0 -0
  161. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/template/__init__.py +0 -0
  162. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/template/__main__.py +0 -0
  163. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
  164. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/prompt/template/service.py +0 -0
  165. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/__init__.py +0 -0
  166. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/azure/__init__.py +0 -0
  167. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/azure/__main__.py +0 -0
  168. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/azure/llm.py +0 -0
  169. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
  170. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
  171. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
  172. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/claude/__init__.py +0 -0
  173. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/claude/__main__.py +0 -0
  174. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/claude/llm.py +0 -0
  175. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
  176. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
  177. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/cohere/llm.py +0 -0
  178. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
  179. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
  180. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
  181. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
  182. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
  183. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
  184. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
  185. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
  186. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/ollama/llm.py +0 -0
  187. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/openai/__init__.py +0 -0
  188. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/openai/__main__.py +0 -0
  189. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/model/text_completion/openai/llm.py +0 -0
  190. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/processing/__init__.py +0 -0
  191. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/processing/__main__.py +0 -0
  192. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/processing/processing.py +0 -0
  193. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/__init__.py +0 -0
  194. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/__init__.py +0 -0
  195. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
  196. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
  197. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
  198. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
  199. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
  200. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
  201. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
  202. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
  203. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
  204. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/__init__.py +0 -0
  205. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
  206. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
  207. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
  208. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
  209. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
  210. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
  211. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
  212. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
  213. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
  214. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/__init__.py +0 -0
  215. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/cassandra/__init__.py +0 -0
  216. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/cassandra/__main__.py +0 -0
  217. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/cassandra/service.py +0 -0
  218. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/falkordb/__init__.py +0 -0
  219. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/falkordb/__main__.py +0 -0
  220. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/falkordb/service.py +0 -0
  221. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/memgraph/__init__.py +0 -0
  222. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/memgraph/__main__.py +0 -0
  223. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/memgraph/service.py +0 -0
  224. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/neo4j/__init__.py +0 -0
  225. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/neo4j/__main__.py +0 -0
  226. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/query/triples/neo4j/service.py +0 -0
  227. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/__init__.py +0 -0
  228. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/document_rag/__init__.py +0 -0
  229. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/document_rag/__main__.py +0 -0
  230. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/document_rag/rag.py +0 -0
  231. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
  232. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
  233. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/retrieval/graph_rag/rag.py +0 -0
  234. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/__init__.py +0 -0
  235. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
  236. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
  237. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
  238. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
  239. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
  240. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
  241. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
  242. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
  243. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
  244. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
  245. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
  246. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
  247. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
  248. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
  249. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
  250. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
  251. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
  252. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
  253. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
  254. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
  255. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/object_embeddings/__init__.py +0 -0
  256. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
  257. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
  258. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
  259. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/rows/__init__.py +0 -0
  260. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
  261. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
  262. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/rows/cassandra/write.py +0 -0
  263. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/__init__.py +0 -0
  264. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
  265. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
  266. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/cassandra/write.py +0 -0
  267. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
  268. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
  269. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/falkordb/write.py +0 -0
  270. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
  271. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
  272. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/memgraph/write.py +0 -0
  273. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
  274. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
  275. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph/storage/triples/neo4j/write.py +0 -0
  276. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
  277. {trustgraph-flow-0.20.5 → trustgraph-flow-0.20.7}/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: 0.20.5
3
+ Version: 0.20.7
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/v0.20.5.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.20.7.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.embeddings.fastembed import run
4
+
5
+ run()
6
+
@@ -41,6 +41,7 @@ setuptools.setup(
41
41
  "cohere",
42
42
  "cryptography",
43
43
  "falkordb",
44
+ "fastembed",
44
45
  "google-generativeai",
45
46
  "ibis",
46
47
  "jsonschema",
@@ -78,6 +79,7 @@ setuptools.setup(
78
79
  "scripts/document-embeddings",
79
80
  "scripts/document-rag",
80
81
  "scripts/embeddings-ollama",
82
+ "scripts/embeddings-fastembed",
81
83
  "scripts/ge-query-milvus",
82
84
  "scripts/ge-query-pinecone",
83
85
  "scripts/ge-query-qdrant",
@@ -0,0 +1,89 @@
1
+
2
+ """
3
+ Embeddings service, applies an embeddings model selected from HuggingFace.
4
+ Input is text, output is embeddings vector.
5
+ """
6
+
7
+ from ... schema import EmbeddingsRequest, EmbeddingsResponse
8
+ from ... schema import embeddings_request_queue, embeddings_response_queue
9
+ from ... log_level import LogLevel
10
+ from ... base import ConsumerProducer
11
+ from fastembed import TextEmbedding
12
+ import os
13
+
14
+ module = ".".join(__name__.split(".")[1:-1])
15
+
16
+ default_input_queue = embeddings_request_queue
17
+ default_output_queue = embeddings_response_queue
18
+ default_subscriber = module
19
+ default_model="sentence-transformers/all-MiniLM-L6-v2"
20
+
21
+ class Processor(ConsumerProducer):
22
+
23
+ def __init__(self, **params):
24
+
25
+ input_queue = params.get("input_queue", default_input_queue)
26
+ output_queue = params.get("output_queue", default_output_queue)
27
+ subscriber = params.get("subscriber", default_subscriber)
28
+
29
+ model = params.get("model", default_model)
30
+
31
+ super(Processor, self).__init__(
32
+ **params | {
33
+ "input_queue": input_queue,
34
+ "output_queue": output_queue,
35
+ "subscriber": subscriber,
36
+ "input_schema": EmbeddingsRequest,
37
+ "output_schema": EmbeddingsResponse,
38
+ "model": model,
39
+ }
40
+ )
41
+
42
+ self.embeddings = TextEmbedding(model_name = model)
43
+
44
+ def handle(self, msg):
45
+
46
+ v = msg.value()
47
+
48
+ # Sender-produced ID
49
+
50
+ id = msg.properties()["id"]
51
+
52
+ print(f"Handling input {id}...", flush=True)
53
+
54
+ text = v.text
55
+ vecs = self.embeddings.embed([text])
56
+
57
+ vecs = [
58
+ v.tolist()
59
+ for v in vecs
60
+ ]
61
+
62
+ print("Send response...", flush=True)
63
+ r = EmbeddingsResponse(
64
+ vectors=list(vecs),
65
+ error=None,
66
+ )
67
+
68
+ self.producer.send(r, properties={"id": id})
69
+
70
+ print("Done.", flush=True)
71
+
72
+ @staticmethod
73
+ def add_args(parser):
74
+
75
+ ConsumerProducer.add_args(
76
+ parser, default_input_queue, default_subscriber,
77
+ default_output_queue,
78
+ )
79
+
80
+ parser.add_argument(
81
+ '-m', '--model',
82
+ default=default_model,
83
+ help=f'Embeddings model (default: {default_model})'
84
+ )
85
+
86
+ def run():
87
+
88
+ Processor.start(module, __doc__)
89
+
@@ -0,0 +1,3 @@
1
+
2
+ from . processor import *
3
+
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env python3
2
+
3
+ from . processor import run
4
+
5
+ if __name__ == '__main__':
6
+ run()
7
+
@@ -1,6 +1,6 @@
1
1
 
2
2
  """
3
- Embeddings service, applies an embeddings model selected from HuggingFace.
3
+ Embeddings service, applies an embeddings model hosted on a local Ollama.
4
4
  Input is text, output is embeddings vector.
5
5
  """
6
6
 
@@ -0,0 +1 @@
1
+ __version__ = "0.20.7"
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-flow
3
- Version: 0.20.5
3
+ Version: 0.20.7
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/v0.20.5.tar.gz
6
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.20.7.tar.gz
7
7
  Author: trustgraph.ai
8
8
  Author-email: security@trustgraph.ai
9
9
  Classifier: Programming Language :: Python :: 3
@@ -12,6 +12,7 @@ scripts/de-write-pinecone
12
12
  scripts/de-write-qdrant
13
13
  scripts/document-embeddings
14
14
  scripts/document-rag
15
+ scripts/embeddings-fastembed
15
16
  scripts/embeddings-ollama
16
17
  scripts/ge-query-milvus
17
18
  scripts/ge-query-pinecone
@@ -80,6 +81,9 @@ trustgraph/embeddings/__init__.py
80
81
  trustgraph/embeddings/document_embeddings/__init__.py
81
82
  trustgraph/embeddings/document_embeddings/__main__.py
82
83
  trustgraph/embeddings/document_embeddings/embeddings.py
84
+ trustgraph/embeddings/fastembed/__init__.py
85
+ trustgraph/embeddings/fastembed/__main__.py
86
+ trustgraph/embeddings/fastembed/processor.py
83
87
  trustgraph/embeddings/graph_embeddings/__init__.py
84
88
  trustgraph/embeddings/graph_embeddings/__main__.py
85
89
  trustgraph/embeddings/graph_embeddings/embeddings.py
@@ -4,6 +4,7 @@ cassandra-driver
4
4
  cohere
5
5
  cryptography
6
6
  falkordb
7
+ fastembed
7
8
  google-generativeai
8
9
  ibis
9
10
  jsonschema
@@ -1 +0,0 @@
1
- __version__ = "0.20.5"