trustgraph-flow 0.23.22__tar.gz → 0.23.24__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.
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/PKG-INFO +2 -2
- trustgraph-flow-0.23.24/trustgraph/flow_version.py +1 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/document_embeddings_import.py +3 -0
- trustgraph-flow-0.23.24/trustgraph/gateway/dispatch/entity_contexts_export.py +67 -0
- trustgraph-flow-0.23.24/trustgraph/gateway/dispatch/entity_contexts_import.py +67 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/graph_embeddings_import.py +3 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/manager.py +22 -5
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/serialize.py +17 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/triples_import.py +3 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph_flow.egg-info/SOURCES.txt +2 -0
- trustgraph-flow-0.23.22/trustgraph/flow_version.py +0 -1
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/README.md +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/agent-manager-react +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/api-gateway +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/chunker-recursive +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/chunker-token +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/config-svc +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/de-query-milvus +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/de-query-pinecone +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/de-query-qdrant +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/de-write-milvus +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/de-write-pinecone +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/de-write-qdrant +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/document-embeddings +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/document-rag +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/embeddings-fastembed +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/embeddings-ollama +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/ge-query-milvus +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/ge-query-pinecone +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/ge-query-qdrant +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/ge-write-milvus +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/ge-write-pinecone +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/ge-write-qdrant +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/graph-embeddings +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/graph-rag +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/kg-extract-definitions +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/kg-extract-relationships +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/kg-extract-topics +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/kg-manager +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/kg-store +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/librarian +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/metering +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/object-extract-row +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/oe-write-milvus +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/pdf-decoder +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/pdf-ocr-mistral +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/prompt-generic +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/prompt-template +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/rows-write-cassandra +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/run-processing +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-azure +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-azure-openai +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-claude +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-cohere +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-googleaistudio +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-llamafile +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-lmstudio +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-mistral +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-ollama +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/text-completion-openai +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-query-cassandra +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-query-falkordb +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-query-memgraph +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-query-neo4j +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-write-cassandra +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-write-falkordb +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-write-memgraph +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/triples-write-neo4j +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/scripts/wikipedia-lookup +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/setup.cfg +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/setup.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/react/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/agent/react/types.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/config/service/config.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/config/service/flow.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/config/service/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/cores/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/cores/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/cores/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/object/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/object/row/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/object/row/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/object/row/extract.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/auth.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/running.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/librarian/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/metering/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/metering/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/metering/counter.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/generic/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/generic/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/generic/prompts.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/generic/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/template/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/template/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/prompt/template/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/processing/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/processing/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/processing/processing.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/tables/__init__.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/tables/config.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/tables/library.py +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/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.23.
|
3
|
+
Version: 0.23.24
|
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.23.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.23.24.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.23.24"
|
@@ -0,0 +1,67 @@
|
|
1
|
+
|
2
|
+
import asyncio
|
3
|
+
import queue
|
4
|
+
import uuid
|
5
|
+
|
6
|
+
from ... schema import EntityContexts
|
7
|
+
from ... base import Subscriber
|
8
|
+
|
9
|
+
from . serialize import serialize_entity_contexts
|
10
|
+
|
11
|
+
class EntityContextsExport:
|
12
|
+
|
13
|
+
def __init__(
|
14
|
+
self, ws, running, pulsar_client, queue, consumer, subscriber
|
15
|
+
):
|
16
|
+
|
17
|
+
self.ws = ws
|
18
|
+
self.running = running
|
19
|
+
self.pulsar_client = pulsar_client
|
20
|
+
self.queue = queue
|
21
|
+
self.consumer = consumer
|
22
|
+
self.subscriber = subscriber
|
23
|
+
|
24
|
+
async def destroy(self):
|
25
|
+
self.running.stop()
|
26
|
+
await self.ws.close()
|
27
|
+
|
28
|
+
async def receive(self, msg):
|
29
|
+
# Ignore incoming info from websocket
|
30
|
+
pass
|
31
|
+
|
32
|
+
async def run(self):
|
33
|
+
|
34
|
+
subs = Subscriber(
|
35
|
+
client = self.pulsar_client, topic = self.queue,
|
36
|
+
consumer_name = self.consumer, subscription = self.subscriber,
|
37
|
+
schema = EntityContexts
|
38
|
+
)
|
39
|
+
|
40
|
+
await subs.start()
|
41
|
+
|
42
|
+
id = str(uuid.uuid4())
|
43
|
+
q = await subs.subscribe_all(id)
|
44
|
+
|
45
|
+
while self.running.get():
|
46
|
+
try:
|
47
|
+
|
48
|
+
resp = await asyncio.wait_for(q.get(), timeout=0.5)
|
49
|
+
await self.ws.send_json(serialize_entity_contexts(resp))
|
50
|
+
|
51
|
+
except TimeoutError:
|
52
|
+
continue
|
53
|
+
|
54
|
+
except queue.Empty:
|
55
|
+
continue
|
56
|
+
|
57
|
+
except Exception as e:
|
58
|
+
print(f"Exception: {str(e)}", flush=True)
|
59
|
+
break
|
60
|
+
|
61
|
+
await subs.unsubscribe_all(id)
|
62
|
+
|
63
|
+
await subs.stop()
|
64
|
+
|
65
|
+
await self.ws.close()
|
66
|
+
self.running.stop()
|
67
|
+
|
@@ -0,0 +1,67 @@
|
|
1
|
+
|
2
|
+
import asyncio
|
3
|
+
import uuid
|
4
|
+
from aiohttp import WSMsgType
|
5
|
+
|
6
|
+
from ... schema import Metadata
|
7
|
+
from ... schema import EntityContexts, EntityContext
|
8
|
+
from ... base import Publisher
|
9
|
+
|
10
|
+
from . serialize import to_subgraph, to_value
|
11
|
+
|
12
|
+
class EntityContextsImport:
|
13
|
+
|
14
|
+
def __init__(
|
15
|
+
self, ws, running, pulsar_client, queue
|
16
|
+
):
|
17
|
+
|
18
|
+
self.ws = ws
|
19
|
+
self.running = running
|
20
|
+
|
21
|
+
self.publisher = Publisher(
|
22
|
+
pulsar_client, topic = queue, schema = EntityContexts
|
23
|
+
)
|
24
|
+
|
25
|
+
async def start(self):
|
26
|
+
await self.publisher.start()
|
27
|
+
|
28
|
+
async def destroy(self):
|
29
|
+
self.running.stop()
|
30
|
+
|
31
|
+
if self.ws:
|
32
|
+
await self.ws.close()
|
33
|
+
|
34
|
+
await self.publisher.stop()
|
35
|
+
|
36
|
+
async def receive(self, msg):
|
37
|
+
|
38
|
+
data = msg.json()
|
39
|
+
|
40
|
+
elt = EntityContexts(
|
41
|
+
metadata=Metadata(
|
42
|
+
id=data["metadata"]["id"],
|
43
|
+
metadata=to_subgraph(data["metadata"]["metadata"]),
|
44
|
+
user=data["metadata"]["user"],
|
45
|
+
collection=data["metadata"]["collection"],
|
46
|
+
),
|
47
|
+
entities=[
|
48
|
+
EntityContext(
|
49
|
+
entity=to_value(ent["entity"]),
|
50
|
+
context=ent["context"],
|
51
|
+
)
|
52
|
+
for ent in data["entities"]
|
53
|
+
]
|
54
|
+
)
|
55
|
+
|
56
|
+
await self.publisher.send(None, elt)
|
57
|
+
|
58
|
+
async def run(self):
|
59
|
+
|
60
|
+
while self.running.get():
|
61
|
+
await asyncio.sleep(0.5)
|
62
|
+
|
63
|
+
if self.ws:
|
64
|
+
await self.ws.close()
|
65
|
+
|
66
|
+
self.ws = None
|
67
|
+
|
@@ -23,10 +23,12 @@ from . document_load import DocumentLoad
|
|
23
23
|
from . triples_export import TriplesExport
|
24
24
|
from . graph_embeddings_export import GraphEmbeddingsExport
|
25
25
|
from . document_embeddings_export import DocumentEmbeddingsExport
|
26
|
+
from . entity_contexts_export import EntityContextsExport
|
26
27
|
|
27
28
|
from . triples_import import TriplesImport
|
28
29
|
from . graph_embeddings_import import GraphEmbeddingsImport
|
29
30
|
from . document_embeddings_import import DocumentEmbeddingsImport
|
31
|
+
from . entity_contexts_import import EntityContextsImport
|
30
32
|
|
31
33
|
from . mux import Mux
|
32
34
|
|
@@ -57,12 +59,14 @@ export_dispatchers = {
|
|
57
59
|
"triples": TriplesExport,
|
58
60
|
"graph-embeddings": GraphEmbeddingsExport,
|
59
61
|
"document-embeddings": DocumentEmbeddingsExport,
|
62
|
+
"entity-contexts": EntityContextsExport,
|
60
63
|
}
|
61
64
|
|
62
65
|
import_dispatchers = {
|
63
66
|
"triples": TriplesImport,
|
64
67
|
"graph-embeddings": GraphEmbeddingsImport,
|
65
68
|
"document-embeddings": DocumentEmbeddingsImport,
|
69
|
+
"entity-contexts": EntityContextsImport,
|
66
70
|
}
|
67
71
|
|
68
72
|
class DispatcherWrapper:
|
@@ -146,11 +150,17 @@ class DispatcherManager:
|
|
146
150
|
|
147
151
|
intf_defs = self.flows[flow]["interfaces"]
|
148
152
|
|
149
|
-
|
153
|
+
# FIXME: The -store bit, does it make sense?
|
154
|
+
if kind == "entity-contexts":
|
155
|
+
int_kind = kind + "-load"
|
156
|
+
else:
|
157
|
+
int_kind = kind + "-store"
|
158
|
+
|
159
|
+
if int_kind not in intf_defs:
|
150
160
|
raise RuntimeError("This kind not supported by flow")
|
151
161
|
|
152
162
|
# FIXME: The -store bit, does it make sense?
|
153
|
-
qconfig = intf_defs[
|
163
|
+
qconfig = intf_defs[int_kind]
|
154
164
|
|
155
165
|
id = str(uuid.uuid4())
|
156
166
|
dispatcher = import_dispatchers[kind](
|
@@ -160,6 +170,8 @@ class DispatcherManager:
|
|
160
170
|
queue = qconfig,
|
161
171
|
)
|
162
172
|
|
173
|
+
await dispatcher.start()
|
174
|
+
|
163
175
|
return dispatcher
|
164
176
|
|
165
177
|
async def process_flow_export(self, ws, running, params):
|
@@ -177,11 +189,16 @@ class DispatcherManager:
|
|
177
189
|
|
178
190
|
intf_defs = self.flows[flow]["interfaces"]
|
179
191
|
|
180
|
-
|
192
|
+
# FIXME: The -store bit, does it make sense?
|
193
|
+
if kind == "entity-contexts":
|
194
|
+
int_kind = kind + "-load"
|
195
|
+
else:
|
196
|
+
int_kind = kind + "-store"
|
197
|
+
|
198
|
+
if int_kind not in intf_defs:
|
181
199
|
raise RuntimeError("This kind not supported by flow")
|
182
200
|
|
183
|
-
|
184
|
-
qconfig = intf_defs[kind + "-store"]
|
201
|
+
qconfig = intf_defs[int_kind]
|
185
202
|
|
186
203
|
id = str(uuid.uuid4())
|
187
204
|
dispatcher = export_dispatchers[kind](
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/gateway/dispatch/serialize.py
RENAMED
@@ -63,6 +63,23 @@ def serialize_graph_embeddings(message):
|
|
63
63
|
],
|
64
64
|
}
|
65
65
|
|
66
|
+
def serialize_entity_contexts(message):
|
67
|
+
return {
|
68
|
+
"metadata": {
|
69
|
+
"id": message.metadata.id,
|
70
|
+
"metadata": serialize_subgraph(message.metadata.metadata),
|
71
|
+
"user": message.metadata.user,
|
72
|
+
"collection": message.metadata.collection,
|
73
|
+
},
|
74
|
+
"entities": [
|
75
|
+
{
|
76
|
+
"context": entity.context,
|
77
|
+
"entity": serialize_value(entity.entity),
|
78
|
+
}
|
79
|
+
for entity in message.entities
|
80
|
+
],
|
81
|
+
}
|
82
|
+
|
66
83
|
def serialize_document_embeddings(message):
|
67
84
|
return {
|
68
85
|
"metadata": {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.23.
|
3
|
+
Version: 0.23.24
|
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.23.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.23.24.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -139,6 +139,8 @@ trustgraph/gateway/dispatch/document_embeddings_import.py
|
|
139
139
|
trustgraph/gateway/dispatch/document_load.py
|
140
140
|
trustgraph/gateway/dispatch/document_rag.py
|
141
141
|
trustgraph/gateway/dispatch/embeddings.py
|
142
|
+
trustgraph/gateway/dispatch/entity_contexts_export.py
|
143
|
+
trustgraph/gateway/dispatch/entity_contexts_import.py
|
142
144
|
trustgraph/gateway/dispatch/flow.py
|
143
145
|
trustgraph/gateway/dispatch/graph_embeddings_export.py
|
144
146
|
trustgraph/gateway/dispatch/graph_embeddings_import.py
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.23.22"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/recursive/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/recursive/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/chunking/recursive/chunker.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/mistral_ocr/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/mistral_ocr/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/decoding/mistral_ocr/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/direct/milvus_object_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/ollama/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/ollama/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/embeddings/ollama/processor.py
RENAMED
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/wikipedia/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/wikipedia/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/external/wikipedia/service.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/definitions/extract.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.22 → trustgraph-flow-0.23.24}/trustgraph/extract/kg/relationships/__main__.py
RENAMED
File without changes
|