trustgraph-flow 2.7.13__tar.gz → 2.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/PKG-INFO +2 -2
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/pyproject.toml +1 -1
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/bootstrapper/service.py +16 -45
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/config/service/service.py +64 -76
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/cores/service.py +22 -40
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/agent/extract.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/definitions/extract.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/extract.py +0 -6
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/relationships/extract.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/rows/processor.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/flow/service/flow.py +5 -5
- trustgraph_flow-2.8.0/trustgraph/flow/service/service.py +283 -0
- trustgraph_flow-2.8.0/trustgraph/flow_version.py +1 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/noauth/service.py +25 -60
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/service/service.py +30 -61
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/librarian/collection_manager.py +5 -41
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/librarian/service.py +67 -106
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/prompt/template/service.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/row_embeddings/qdrant/service.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/rows/cassandra/service.py +0 -6
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/service.py +0 -8
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/graph_rag/rag.py +0 -7
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph_flow.egg-info/requires.txt +1 -1
- trustgraph_flow-2.7.13/trustgraph/flow/service/service.py +0 -203
- trustgraph_flow-2.7.13/trustgraph/flow_version.py +0 -1
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/README.md +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/setup.cfg +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/mcp_tool/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/mcp_tool/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/mcp_tool/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/aggregator.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/meta_router.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/pattern_base.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/plan_pattern.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/react_pattern.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/orchestrator/supervisor_pattern.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/streaming_parser.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/react/types.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/agent/tool_filter.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/base.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/bootstrapper/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/bootstrapper/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/initialisers/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/initialisers/default_flow_start.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/initialisers/pulsar_topology.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/initialisers/template_seed.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/initialisers/workspace_init.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/config/service/config.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/cores/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/cores/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/direct/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/direct/cassandra_kg.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/row_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/embeddings/row_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/external/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/agent/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/agent/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/entity_normalizer.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/ontology_embedder.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/ontology_loader.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/ontology_selector.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/run.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/simplified_parser.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/text_processor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/triple_converter.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/ontology/vector_store.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/rows/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/flow/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/flow/service/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/flow/service/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/audit.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/auth.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/capabilities.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/collection_management.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/document_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/document_stream.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/iam.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/image_to_text.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/manager.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/reranker.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/row_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/rows_import.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/rows_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/sparql_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/structured_diag.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/structured_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/auth_endpoints.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/i18n.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/iam_endpoint.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/registry_endpoint.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/registry.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/running.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/noauth/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/noauth/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/noauth/handler.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/service/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/service/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/iam/service/iam.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/metering/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/metering/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/metering/counter.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/image_to_text/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/image_to_text/openai/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/image_to_text/openai/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/image_to_text/openai/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/openai/variants.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/model/text_completion/vllm/llm.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/processing/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/processing/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/processing/processing.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/prompt/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/prompt/template/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/prompt/template/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graphql/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graphql/filters.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graphql/schema.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/graphql/types.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/answer_generator.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/backend_router.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/cache.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/cypher_executor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/cypher_generator.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/error_handling.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/monitoring.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/multi_language.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/ontology_matcher.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/query_explanation.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/query_optimizer.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/query_service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/question_analyzer.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/sparql_cassandra.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/ontology/sparql_generator.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/row_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/row_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/algebra.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/expressions.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/parser.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/sparql/solutions.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/reranker/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/reranker/flashrank/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/reranker/flashrank/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/reranker/flashrank/processor.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/document_rag/rerank.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/nlp_query/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/structured_diag/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/structured_diag/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/structured_diag/type_detector.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/structured_query/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/structured_query/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/retrieval/structured_query/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/rev_gateway/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/rev_gateway/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/rev_gateway/dispatcher.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/rev_gateway/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/kw_index/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/kw_index/fts5/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/kw_index/fts5/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/kw_index/fts5/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/row_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/row_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/row_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tables/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tables/cassandra_async.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tables/config.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tables/iam.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tables/library.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/template/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/template/prompt_manager.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tool_service/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tool_service/joke/__init__.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/tool_service/joke/service.py +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph_flow.egg-info/entry_points.txt +0 -0
- {trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph_flow.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-flow
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
|
5
5
|
Author-email: "trustgraph.ai" <security@trustgraph.ai>
|
|
6
6
|
Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
|
|
@@ -8,7 +8,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
8
8
|
Classifier: Operating System :: OS Independent
|
|
9
9
|
Requires-Python: >=3.8
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: trustgraph-base<2.
|
|
11
|
+
Requires-Dist: trustgraph-base<2.9,>=2.8
|
|
12
12
|
Requires-Dist: aiohttp
|
|
13
13
|
Requires-Dist: anthropic
|
|
14
14
|
Requires-Dist: scylla-driver
|
|
@@ -10,7 +10,7 @@ description = "TrustGraph provides a means to run a pipeline of flexible AI proc
|
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.8"
|
|
12
12
|
dependencies = [
|
|
13
|
-
"trustgraph-base>=2.
|
|
13
|
+
"trustgraph-base>=2.8,<2.9",
|
|
14
14
|
"aiohttp",
|
|
15
15
|
"anthropic",
|
|
16
16
|
"scylla-driver",
|
{trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/bootstrap/bootstrapper/service.py
RENAMED
|
@@ -17,9 +17,8 @@ from argparse import ArgumentParser
|
|
|
17
17
|
from dataclasses import dataclass
|
|
18
18
|
|
|
19
19
|
from trustgraph.base import AsyncProcessor
|
|
20
|
-
from trustgraph.base import
|
|
21
|
-
from trustgraph.base.
|
|
22
|
-
from trustgraph.base.request_response_spec import RequestResponse
|
|
20
|
+
from trustgraph.base.async_config_client import AsyncConfigClient
|
|
21
|
+
from trustgraph.base.async_rr_wrapper import AsyncRequestResponseWrapper
|
|
23
22
|
from trustgraph.schema import (
|
|
24
23
|
ConfigRequest, ConfigResponse,
|
|
25
24
|
config_request_queue, config_response_queue,
|
|
@@ -164,68 +163,40 @@ class Processor(AsyncProcessor):
|
|
|
164
163
|
# Client construction (short-lived per wake cycle).
|
|
165
164
|
# ------------------------------------------------------------------
|
|
166
165
|
|
|
167
|
-
def _make_config_client(self):
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
backend=self.pubsub_backend,
|
|
171
|
-
subscription=f"{self.id}--config--{rr_id}",
|
|
172
|
-
consumer_name=self.id,
|
|
166
|
+
async def _make_config_client(self):
|
|
167
|
+
return await AsyncConfigClient.create(
|
|
168
|
+
backend=self.async_backend,
|
|
173
169
|
request_topic=config_request_queue,
|
|
174
|
-
request_schema=ConfigRequest,
|
|
175
|
-
request_metrics=ProducerMetrics(
|
|
176
|
-
processor=self.id, producer="config-request",
|
|
177
|
-
),
|
|
178
170
|
response_topic=config_response_queue,
|
|
179
|
-
|
|
180
|
-
response_metrics=SubscriberMetrics(
|
|
181
|
-
processor=self.id, subscriber="config-response",
|
|
182
|
-
),
|
|
171
|
+
subscription=f"{self.id}--config--{uuid.uuid4()}",
|
|
183
172
|
)
|
|
184
173
|
|
|
185
174
|
def _make_flow_client(self, workspace):
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
backend=self.pubsub_backend,
|
|
189
|
-
subscription=f"{self.id}--flow--{rr_id}",
|
|
190
|
-
consumer_name=self.id,
|
|
175
|
+
return AsyncRequestResponseWrapper(
|
|
176
|
+
backend=self.async_backend,
|
|
191
177
|
request_topic=f"{flow_request_queue}:{workspace}",
|
|
192
|
-
request_schema=FlowRequest,
|
|
193
|
-
request_metrics=ProducerMetrics(
|
|
194
|
-
processor=self.id, producer="flow-request",
|
|
195
|
-
),
|
|
196
178
|
response_topic=f"{flow_response_queue}:{workspace}",
|
|
179
|
+
request_schema=FlowRequest,
|
|
197
180
|
response_schema=FlowResponse,
|
|
198
|
-
|
|
199
|
-
processor=self.id, subscriber="flow-response",
|
|
200
|
-
),
|
|
181
|
+
subscription=f"{self.id}--flow--{uuid.uuid4()}",
|
|
201
182
|
)
|
|
202
183
|
|
|
203
184
|
def _make_iam_client(self):
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
backend=self.pubsub_backend,
|
|
207
|
-
subscription=f"{self.id}--iam--{rr_id}",
|
|
208
|
-
consumer_name=self.id,
|
|
185
|
+
return AsyncRequestResponseWrapper(
|
|
186
|
+
backend=self.async_backend,
|
|
209
187
|
request_topic=iam_request_queue,
|
|
210
|
-
request_schema=IamRequest,
|
|
211
|
-
request_metrics=ProducerMetrics(
|
|
212
|
-
processor=self.id, producer="iam-request",
|
|
213
|
-
),
|
|
214
188
|
response_topic=iam_response_queue,
|
|
189
|
+
request_schema=IamRequest,
|
|
215
190
|
response_schema=IamResponse,
|
|
216
|
-
|
|
217
|
-
processor=self.id, subscriber="iam-response",
|
|
218
|
-
),
|
|
191
|
+
subscription=f"{self.id}--iam--{uuid.uuid4()}",
|
|
219
192
|
)
|
|
220
193
|
|
|
221
194
|
async def _open_clients(self):
|
|
222
|
-
|
|
223
|
-
await config.start()
|
|
224
|
-
return config
|
|
195
|
+
return await self._make_config_client()
|
|
225
196
|
|
|
226
197
|
async def _safe_stop(self, client):
|
|
227
198
|
try:
|
|
228
|
-
await client.
|
|
199
|
+
await client.close()
|
|
229
200
|
except Exception:
|
|
230
201
|
pass
|
|
231
202
|
|
|
@@ -21,13 +21,12 @@ from trustgraph.schema import WorkspaceChanges
|
|
|
21
21
|
from trustgraph.schema import config_request_queue, config_response_queue
|
|
22
22
|
from trustgraph.schema import config_push_queue
|
|
23
23
|
|
|
24
|
-
from trustgraph.base import AsyncProcessor
|
|
24
|
+
from trustgraph.base import AsyncProcessor
|
|
25
25
|
from trustgraph.base.cassandra_config import add_cassandra_args, resolve_cassandra_config
|
|
26
26
|
|
|
27
27
|
from . config import Configuration, WORKSPACES_NAMESPACE, WORKSPACE_TYPE
|
|
28
28
|
|
|
29
29
|
from ... base import ProcessorMetrics, ConsumerMetrics, ProducerMetrics
|
|
30
|
-
from ... base import Consumer, Producer
|
|
31
30
|
|
|
32
31
|
# Module logger
|
|
33
32
|
logger = logging.getLogger(__name__)
|
|
@@ -70,7 +69,7 @@ class Processor(AsyncProcessor):
|
|
|
70
69
|
self.config_response_queue_base = params.get(
|
|
71
70
|
"config_response_queue", default_config_response_queue
|
|
72
71
|
)
|
|
73
|
-
|
|
72
|
+
self.config_push_queue_name = params.get(
|
|
74
73
|
"config_push_queue", default_config_push_queue
|
|
75
74
|
)
|
|
76
75
|
|
|
@@ -105,44 +104,10 @@ class Processor(AsyncProcessor):
|
|
|
105
104
|
}
|
|
106
105
|
)
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
processor=self.id, consumer="config-request",
|
|
110
|
-
)
|
|
111
|
-
config_response_metrics = ProducerMetrics(
|
|
112
|
-
processor=self.id, producer="config-response",
|
|
113
|
-
)
|
|
114
|
-
config_push_metrics = ProducerMetrics(
|
|
115
|
-
processor=self.id, producer="config-push",
|
|
116
|
-
)
|
|
117
|
-
|
|
107
|
+
# Store queue names and schemas for pool registration in start()
|
|
118
108
|
self.config_request_queue_base = config_request_queue
|
|
119
109
|
self.config_request_subscriber = id
|
|
120
110
|
|
|
121
|
-
self.system_consumer = Consumer(
|
|
122
|
-
taskgroup = self.taskgroup,
|
|
123
|
-
backend = self.pubsub,
|
|
124
|
-
flow = None,
|
|
125
|
-
topic = config_request_queue,
|
|
126
|
-
subscriber = id,
|
|
127
|
-
schema = ConfigRequest,
|
|
128
|
-
handler = self.on_system_config_request,
|
|
129
|
-
metrics = config_request_metrics,
|
|
130
|
-
)
|
|
131
|
-
|
|
132
|
-
self.config_response_producer = Producer(
|
|
133
|
-
backend = self.pubsub,
|
|
134
|
-
topic = self.config_response_queue_base,
|
|
135
|
-
schema = ConfigResponse,
|
|
136
|
-
metrics = config_response_metrics,
|
|
137
|
-
)
|
|
138
|
-
|
|
139
|
-
self.config_push_producer = Producer(
|
|
140
|
-
backend = self.pubsub,
|
|
141
|
-
topic = config_push_queue,
|
|
142
|
-
schema = ConfigPush,
|
|
143
|
-
metrics = config_push_metrics,
|
|
144
|
-
)
|
|
145
|
-
|
|
146
111
|
self.config = Configuration(
|
|
147
112
|
host = self.cassandra_host,
|
|
148
113
|
username = self.cassandra_username,
|
|
@@ -217,42 +182,32 @@ class Processor(AsyncProcessor):
|
|
|
217
182
|
self.config_response_queue_base, workspace_id,
|
|
218
183
|
)
|
|
219
184
|
|
|
220
|
-
await self.
|
|
221
|
-
await self.
|
|
185
|
+
await self.async_backend.ensure_topic(req_queue)
|
|
186
|
+
await self.async_backend.ensure_topic(resp_queue)
|
|
222
187
|
|
|
223
|
-
|
|
224
|
-
backend=self.pubsub,
|
|
188
|
+
response_handle = await self.sender_pool.add_producer(
|
|
225
189
|
topic=resp_queue,
|
|
226
190
|
schema=ConfigResponse,
|
|
227
|
-
metrics=ProducerMetrics(
|
|
228
|
-
processor=self.id, producer="config-response",
|
|
229
|
-
workspace=workspace_id,
|
|
230
|
-
),
|
|
231
191
|
)
|
|
232
192
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
193
|
+
handler = partial(
|
|
194
|
+
self.on_workspace_config_request,
|
|
195
|
+
workspace=workspace_id,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
async def wrapper(message):
|
|
199
|
+
await handler(message, None, None)
|
|
200
|
+
|
|
201
|
+
consumer_reg = await self.receiver_pool.add_consumer(
|
|
237
202
|
topic=req_queue,
|
|
238
|
-
|
|
203
|
+
subscription=self.id,
|
|
239
204
|
schema=ConfigRequest,
|
|
240
|
-
handler=
|
|
241
|
-
self.on_workspace_config_request,
|
|
242
|
-
workspace=workspace_id,
|
|
243
|
-
),
|
|
244
|
-
metrics=ConsumerMetrics(
|
|
245
|
-
processor=self.id, consumer="config-request",
|
|
246
|
-
workspace=workspace_id,
|
|
247
|
-
),
|
|
205
|
+
handler=wrapper,
|
|
248
206
|
)
|
|
249
207
|
|
|
250
|
-
await response_producer.start()
|
|
251
|
-
await consumer.start()
|
|
252
|
-
|
|
253
208
|
self.workspace_consumers[workspace_id] = {
|
|
254
|
-
"consumer":
|
|
255
|
-
"response":
|
|
209
|
+
"consumer": consumer_reg,
|
|
210
|
+
"response": response_handle,
|
|
256
211
|
}
|
|
257
212
|
|
|
258
213
|
logger.info(
|
|
@@ -262,22 +217,55 @@ class Processor(AsyncProcessor):
|
|
|
262
217
|
async def _remove_workspace_consumer(self, workspace_id):
|
|
263
218
|
clients = self.workspace_consumers.pop(workspace_id, None)
|
|
264
219
|
if clients:
|
|
265
|
-
|
|
266
|
-
|
|
220
|
+
await clients["consumer"].unregister()
|
|
221
|
+
await clients["response"].unregister()
|
|
267
222
|
logger.info(
|
|
268
223
|
f"Unsubscribed from workspace config queue: {workspace_id}"
|
|
269
224
|
)
|
|
270
225
|
|
|
271
226
|
async def start(self):
|
|
272
227
|
|
|
273
|
-
|
|
274
|
-
await self.
|
|
228
|
+
# Start the pools since we don't call super().start()
|
|
229
|
+
await self.receiver_pool.start()
|
|
230
|
+
await self.sender_pool.start()
|
|
231
|
+
|
|
232
|
+
await self.async_backend.ensure_topic(self.config_request_queue_base)
|
|
233
|
+
|
|
234
|
+
# Create system-level producers via sender_pool
|
|
235
|
+
self.config_response_handle = await self.sender_pool.add_producer(
|
|
236
|
+
topic=self.config_response_queue_base,
|
|
237
|
+
schema=ConfigResponse,
|
|
238
|
+
)
|
|
239
|
+
|
|
240
|
+
self.config_push_handle = await self.sender_pool.add_producer(
|
|
241
|
+
topic=self.config_push_queue_name,
|
|
242
|
+
schema=ConfigPush,
|
|
243
|
+
)
|
|
244
|
+
|
|
275
245
|
await self.push() # Startup poke: empty types = everything
|
|
276
|
-
|
|
246
|
+
|
|
247
|
+
# Create system consumer via receiver_pool
|
|
248
|
+
async def system_handler_wrapper(message):
|
|
249
|
+
await self.on_system_config_request(message, None, None)
|
|
250
|
+
|
|
251
|
+
self._system_consumer_reg = await self.receiver_pool.add_consumer(
|
|
252
|
+
topic=self.config_request_queue_base,
|
|
253
|
+
subscription=self.id,
|
|
254
|
+
schema=ConfigRequest,
|
|
255
|
+
handler=system_handler_wrapper,
|
|
256
|
+
)
|
|
277
257
|
|
|
278
258
|
# Start the config push subscriber so we receive our own
|
|
279
259
|
# workspace change notifications.
|
|
280
|
-
|
|
260
|
+
async def config_notify_wrapper(message):
|
|
261
|
+
await self.on_config_notify(message, None, None)
|
|
262
|
+
|
|
263
|
+
self._config_sub_reg = await self.receiver_pool.add_consumer(
|
|
264
|
+
topic=self.config_push_queue,
|
|
265
|
+
subscription=self.id,
|
|
266
|
+
schema=ConfigPush,
|
|
267
|
+
handler=config_notify_wrapper,
|
|
268
|
+
)
|
|
281
269
|
|
|
282
270
|
await self._discover_workspaces()
|
|
283
271
|
|
|
@@ -306,7 +294,7 @@ class Processor(AsyncProcessor):
|
|
|
306
294
|
workspace_changes = workspace_changes,
|
|
307
295
|
)
|
|
308
296
|
|
|
309
|
-
await self.
|
|
297
|
+
await self.config_push_handle.send(resp)
|
|
310
298
|
|
|
311
299
|
logger.info(
|
|
312
300
|
f"Pushed config poke version {version}, "
|
|
@@ -330,11 +318,11 @@ class Processor(AsyncProcessor):
|
|
|
330
318
|
f"workspace={workspace}..."
|
|
331
319
|
)
|
|
332
320
|
|
|
333
|
-
|
|
321
|
+
handle = self.workspace_consumers[workspace]["response"]
|
|
334
322
|
|
|
335
323
|
resp = await self.config.handle_workspace(v, workspace)
|
|
336
324
|
|
|
337
|
-
await
|
|
325
|
+
await handle.send(
|
|
338
326
|
resp, properties={"id": id}
|
|
339
327
|
)
|
|
340
328
|
|
|
@@ -347,7 +335,7 @@ class Processor(AsyncProcessor):
|
|
|
347
335
|
),
|
|
348
336
|
)
|
|
349
337
|
|
|
350
|
-
await
|
|
338
|
+
await handle.send(
|
|
351
339
|
resp, properties={"id": id}
|
|
352
340
|
)
|
|
353
341
|
|
|
@@ -364,7 +352,7 @@ class Processor(AsyncProcessor):
|
|
|
364
352
|
|
|
365
353
|
resp = await self.config.handle_system(v)
|
|
366
354
|
|
|
367
|
-
await self.
|
|
355
|
+
await self.config_response_handle.send(
|
|
368
356
|
resp, properties={"id": id}
|
|
369
357
|
)
|
|
370
358
|
|
|
@@ -377,7 +365,7 @@ class Processor(AsyncProcessor):
|
|
|
377
365
|
),
|
|
378
366
|
)
|
|
379
367
|
|
|
380
|
-
await self.
|
|
368
|
+
await self.config_response_handle.send(
|
|
381
369
|
resp, properties={"id": id}
|
|
382
370
|
)
|
|
383
371
|
|
|
@@ -9,10 +9,9 @@ import base64
|
|
|
9
9
|
import json
|
|
10
10
|
import logging
|
|
11
11
|
|
|
12
|
-
from .. base import WorkspaceProcessor,
|
|
12
|
+
from .. base import WorkspaceProcessor, AsyncLibrarianClient
|
|
13
13
|
from .. base import ConsumerMetrics, ProducerMetrics
|
|
14
14
|
from .. base.cassandra_config import add_cassandra_args, resolve_cassandra_config
|
|
15
|
-
from .. base import LibrarianClient
|
|
16
15
|
|
|
17
16
|
from .. schema import KnowledgeRequest, KnowledgeResponse, Error
|
|
18
17
|
from .. schema import knowledge_request_queue, knowledge_response_queue
|
|
@@ -112,59 +111,42 @@ class Processor(WorkspaceProcessor):
|
|
|
112
111
|
self.knowledge_response_queue_base, workspace,
|
|
113
112
|
)
|
|
114
113
|
|
|
115
|
-
await self.
|
|
116
|
-
await self.
|
|
114
|
+
await self.async_backend.ensure_topic(req_queue)
|
|
115
|
+
await self.async_backend.ensure_topic(resp_queue)
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
backend=self.pubsub,
|
|
117
|
+
response_handle = await self.sender_pool.add_producer(
|
|
120
118
|
topic=resp_queue,
|
|
121
119
|
schema=KnowledgeResponse,
|
|
122
|
-
metrics=ProducerMetrics(
|
|
123
|
-
processor=self.id, producer="knowledge-response",
|
|
124
|
-
workspace=workspace,
|
|
125
|
-
),
|
|
126
120
|
)
|
|
127
121
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
122
|
+
async def handler(message):
|
|
123
|
+
await self.on_knowledge_request(
|
|
124
|
+
message, None, None, workspace=workspace,
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
consumer_reg = await self.receiver_pool.add_consumer(
|
|
132
128
|
topic=req_queue,
|
|
133
|
-
|
|
129
|
+
subscription=self.id,
|
|
134
130
|
schema=KnowledgeRequest,
|
|
135
|
-
handler=
|
|
136
|
-
self.on_knowledge_request, workspace=workspace,
|
|
137
|
-
),
|
|
138
|
-
metrics=ConsumerMetrics(
|
|
139
|
-
processor=self.id, consumer="knowledge-request",
|
|
140
|
-
workspace=workspace,
|
|
141
|
-
),
|
|
131
|
+
handler=handler,
|
|
142
132
|
)
|
|
143
133
|
|
|
144
|
-
librarian_client =
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
taskgroup=self.taskgroup,
|
|
148
|
-
librarian_request_queue=workspace_queue(
|
|
134
|
+
librarian_client = await AsyncLibrarianClient.create(
|
|
135
|
+
backend=self.async_backend,
|
|
136
|
+
request_topic=workspace_queue(
|
|
149
137
|
librarian_request_queue, workspace,
|
|
150
138
|
),
|
|
151
|
-
|
|
139
|
+
response_topic=workspace_queue(
|
|
152
140
|
librarian_response_queue, workspace,
|
|
153
141
|
),
|
|
154
|
-
|
|
155
|
-
f"{self.id}--{workspace}--librarian"
|
|
156
|
-
),
|
|
142
|
+
subscription=f"{self.id}--{workspace}--librarian",
|
|
157
143
|
)
|
|
158
144
|
|
|
159
|
-
await response_producer.start()
|
|
160
|
-
await consumer.start()
|
|
161
|
-
await librarian_client.start()
|
|
162
|
-
|
|
163
145
|
self.librarian_clients[workspace] = librarian_client
|
|
164
146
|
|
|
165
147
|
self.workspace_consumers[workspace] = {
|
|
166
|
-
"consumer":
|
|
167
|
-
"response":
|
|
148
|
+
"consumer": consumer_reg,
|
|
149
|
+
"response": response_handle,
|
|
168
150
|
"librarian": librarian_client,
|
|
169
151
|
}
|
|
170
152
|
|
|
@@ -176,8 +158,9 @@ class Processor(WorkspaceProcessor):
|
|
|
176
158
|
|
|
177
159
|
clients = self.workspace_consumers.pop(workspace, None)
|
|
178
160
|
if clients:
|
|
179
|
-
|
|
180
|
-
|
|
161
|
+
await clients["consumer"].unregister()
|
|
162
|
+
await clients["response"].unregister()
|
|
163
|
+
await clients["librarian"].stop()
|
|
181
164
|
logger.info(f"Unsubscribed from workspace queue: {workspace}")
|
|
182
165
|
|
|
183
166
|
async def start(self):
|
|
@@ -301,4 +284,3 @@ class Processor(WorkspaceProcessor):
|
|
|
301
284
|
def run():
|
|
302
285
|
|
|
303
286
|
Processor.launch(default_ident, __doc__)
|
|
304
|
-
|
|
@@ -345,13 +345,6 @@ class Processor(FlowProcessor):
|
|
|
345
345
|
@staticmethod
|
|
346
346
|
def add_args(parser):
|
|
347
347
|
|
|
348
|
-
parser.add_argument(
|
|
349
|
-
'-c', '--concurrency',
|
|
350
|
-
type=int,
|
|
351
|
-
default=default_concurrency,
|
|
352
|
-
help=f'Concurrent processing threads (default: {default_concurrency})'
|
|
353
|
-
)
|
|
354
|
-
|
|
355
348
|
parser.add_argument(
|
|
356
349
|
"--template-id",
|
|
357
350
|
type=str,
|
{trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/definitions/extract.py
RENAMED
|
@@ -239,13 +239,6 @@ class Processor(FlowProcessor):
|
|
|
239
239
|
@staticmethod
|
|
240
240
|
def add_args(parser):
|
|
241
241
|
|
|
242
|
-
parser.add_argument(
|
|
243
|
-
'-c', '--concurrency',
|
|
244
|
-
type=int,
|
|
245
|
-
default=default_concurrency,
|
|
246
|
-
help=f'Concurrent processing threads (default: {default_concurrency})'
|
|
247
|
-
)
|
|
248
|
-
|
|
249
242
|
parser.add_argument(
|
|
250
243
|
'--triples-batch-size',
|
|
251
244
|
type=int,
|
|
@@ -965,12 +965,6 @@ class Processor(FlowProcessor):
|
|
|
965
965
|
@staticmethod
|
|
966
966
|
def add_args(parser):
|
|
967
967
|
"""Add command-line arguments."""
|
|
968
|
-
parser.add_argument(
|
|
969
|
-
'-c', '--concurrency',
|
|
970
|
-
type=int,
|
|
971
|
-
default=default_concurrency,
|
|
972
|
-
help=f'Concurrent processing threads (default: {default_concurrency})'
|
|
973
|
-
)
|
|
974
968
|
parser.add_argument(
|
|
975
969
|
'--top-k',
|
|
976
970
|
type=int,
|
{trustgraph_flow-2.7.13 → trustgraph_flow-2.8.0}/trustgraph/extract/kg/relationships/extract.py
RENAMED
|
@@ -220,13 +220,6 @@ class Processor(FlowProcessor):
|
|
|
220
220
|
@staticmethod
|
|
221
221
|
def add_args(parser):
|
|
222
222
|
|
|
223
|
-
parser.add_argument(
|
|
224
|
-
'-c', '--concurrency',
|
|
225
|
-
type=int,
|
|
226
|
-
default=default_concurrency,
|
|
227
|
-
help=f'Concurrent processing threads (default: {default_concurrency})'
|
|
228
|
-
)
|
|
229
|
-
|
|
230
223
|
parser.add_argument(
|
|
231
224
|
'--triples-batch-size',
|
|
232
225
|
type=int,
|
|
@@ -315,13 +315,6 @@ class Processor(FlowProcessor):
|
|
|
315
315
|
def add_args(parser):
|
|
316
316
|
"""Add command-line arguments"""
|
|
317
317
|
|
|
318
|
-
parser.add_argument(
|
|
319
|
-
'-c', '--concurrency',
|
|
320
|
-
type=int,
|
|
321
|
-
default=default_concurrency,
|
|
322
|
-
help=f'Concurrent processing threads (default: {default_concurrency})'
|
|
323
|
-
)
|
|
324
|
-
|
|
325
318
|
parser.add_argument(
|
|
326
319
|
'--config-type',
|
|
327
320
|
default='schema',
|
|
@@ -13,10 +13,10 @@ DELETE_RETRY_DELAY = 2 # seconds
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class FlowConfig:
|
|
16
|
-
def __init__(self, config,
|
|
16
|
+
def __init__(self, config, async_backend):
|
|
17
17
|
|
|
18
18
|
self.config = config
|
|
19
|
-
self.
|
|
19
|
+
self.async_backend = async_backend
|
|
20
20
|
# Per-workspace cache for parameter type definitions
|
|
21
21
|
# Keyed by (workspace, type-name)
|
|
22
22
|
self.param_type_cache = {}
|
|
@@ -241,7 +241,7 @@ class FlowConfig:
|
|
|
241
241
|
# before processors receive their config and start connecting.
|
|
242
242
|
topics = self._collect_flow_topics(cls, repl_template_with_params)
|
|
243
243
|
for topic in topics:
|
|
244
|
-
await self.
|
|
244
|
+
await self.async_backend.create_topic(topic)
|
|
245
245
|
|
|
246
246
|
# Build all processor config updates, then write in a single batch.
|
|
247
247
|
updates = []
|
|
@@ -364,7 +364,7 @@ class FlowConfig:
|
|
|
364
364
|
|
|
365
365
|
topics = self._collect_flow_topics(cls, repl_template)
|
|
366
366
|
for topic in topics:
|
|
367
|
-
await self.
|
|
367
|
+
await self.async_backend.ensure_topic(topic)
|
|
368
368
|
|
|
369
369
|
logger.info(
|
|
370
370
|
f"Ensured topics for existing flow "
|
|
@@ -524,7 +524,7 @@ class FlowConfig:
|
|
|
524
524
|
|
|
525
525
|
for topic in topics:
|
|
526
526
|
try:
|
|
527
|
-
await self.
|
|
527
|
+
await self.async_backend.delete_topic(topic)
|
|
528
528
|
except Exception as e:
|
|
529
529
|
logger.warning(
|
|
530
530
|
f"Topic delete failed (attempt {attempt + 1}/"
|