trustgraph-flow 2.7.1__tar.gz → 2.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/PKG-INFO +1 -1
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/entity_normalizer.py +9 -4
- trustgraph_flow-2.7.3/trustgraph/flow_version.py +1 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/auth.py +33 -23
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/document_rag/rag.py +12 -1
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/graph_rag/graph_rag.py +31 -24
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/graph_rag/rag.py +8 -3
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph_flow.egg-info/PKG-INFO +1 -1
- trustgraph_flow-2.7.1/trustgraph/flow_version.py +0 -1
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/README.md +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/pyproject.toml +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/setup.cfg +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/mcp_tool/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/mcp_tool/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/mcp_tool/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/aggregator.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/meta_router.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/pattern_base.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/plan_pattern.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/react_pattern.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/supervisor_pattern.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/streaming_parser.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/react/types.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/tool_filter.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/base.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/bootstrapper/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/bootstrapper/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/bootstrapper/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/default_flow_start.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/pulsar_topology.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/template_seed.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/workspace_init.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/config/service/config.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/config/service/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/cores/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/cores/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/cores/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/direct/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/direct/cassandra_kg.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/row_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/row_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/external/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/agent/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/agent/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/agent/extract.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/extract.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/ontology_embedder.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/ontology_loader.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/ontology_selector.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/run.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/simplified_parser.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/text_processor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/triple_converter.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/vector_store.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/rows/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/rows/processor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/flow/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/flow/service/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/flow/service/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/flow/service/flow.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/flow/service/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/audit.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/capabilities.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/collection_management.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/document_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/document_stream.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/iam.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/manager.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/reranker.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/row_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/rows_import.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/rows_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/sparql_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/structured_diag.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/structured_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/auth_endpoints.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/i18n.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/iam_endpoint.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/registry_endpoint.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/registry.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/running.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/noauth/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/noauth/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/noauth/handler.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/noauth/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/service/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/service/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/service/iam.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/iam/service/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/librarian/collection_manager.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/librarian/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/metering/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/metering/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/metering/counter.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/openai/variants.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/model/text_completion/vllm/llm.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/processing/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/processing/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/processing/processing.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/prompt/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/prompt/template/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/prompt/template/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/prompt/template/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graphql/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graphql/filters.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graphql/schema.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/graphql/types.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/answer_generator.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/backend_router.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/cache.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/cypher_executor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/cypher_generator.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/error_handling.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/monitoring.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/multi_language.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/ontology_matcher.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/query_explanation.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/query_optimizer.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/query_service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/question_analyzer.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/sparql_cassandra.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/ontology/sparql_generator.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/row_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/row_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/row_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/rows/cassandra/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/algebra.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/expressions.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/parser.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/sparql/solutions.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/reranker/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/reranker/flashrank/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/reranker/flashrank/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/reranker/flashrank/processor.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/document_rag/rerank.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/nlp_query/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/structured_diag/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/structured_diag/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/structured_diag/type_detector.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/structured_query/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/structured_query/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/retrieval/structured_query/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/rev_gateway/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/rev_gateway/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/rev_gateway/dispatcher.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/rev_gateway/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/kw_index/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/kw_index/fts5/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/kw_index/fts5/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/kw_index/fts5/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/row_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/row_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/row_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tables/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tables/cassandra_async.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tables/config.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tables/iam.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tables/library.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/template/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/template/prompt_manager.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tool_service/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tool_service/joke/__init__.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/tool_service/joke/service.py +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph_flow.egg-info/entry_points.txt +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/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.7.
|
|
3
|
+
Version: 2.7.3
|
|
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
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/entity_normalizer.py
RENAMED
|
@@ -23,8 +23,11 @@ def normalize_entity_name(entity_name: str) -> str:
|
|
|
23
23
|
# Replace spaces and underscores with hyphens
|
|
24
24
|
normalized = re.sub(r'[\s_]+', '-', normalized)
|
|
25
25
|
|
|
26
|
-
# Remove any characters that aren't
|
|
27
|
-
|
|
26
|
+
# Remove any characters that aren't word characters (incl. non-ASCII
|
|
27
|
+
# letters such as CJK), hyphens, or periods. \w is Unicode-aware for
|
|
28
|
+
# str patterns in Python 3, so non-ASCII entity names are preserved
|
|
29
|
+
# rather than stripped (which would collapse them onto a single URI).
|
|
30
|
+
normalized = re.sub(r'[^\w\-.]', '', normalized)
|
|
28
31
|
|
|
29
32
|
# Remove leading/trailing hyphens
|
|
30
33
|
normalized = normalized.strip('-')
|
|
@@ -52,8 +55,10 @@ def normalize_type_identifier(type_id: str) -> str:
|
|
|
52
55
|
# Replace slashes, colons, and spaces with hyphens
|
|
53
56
|
normalized = re.sub(r'[/:.\s_]+', '-', normalized)
|
|
54
57
|
|
|
55
|
-
# Remove any remaining
|
|
56
|
-
|
|
58
|
+
# Remove any remaining characters that aren't word characters (incl.
|
|
59
|
+
# non-ASCII letters such as CJK) or hyphens. \w is Unicode-aware for
|
|
60
|
+
# str patterns in Python 3, preserving non-ASCII type identifiers.
|
|
61
|
+
normalized = re.sub(r'[^\w\-]', '', normalized)
|
|
57
62
|
|
|
58
63
|
# Remove leading/trailing hyphens
|
|
59
64
|
normalized = normalized.strip('-')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.7.3"
|
|
@@ -189,36 +189,44 @@ class IamAuth:
|
|
|
189
189
|
# Lifecycle
|
|
190
190
|
# ------------------------------------------------------------------
|
|
191
191
|
|
|
192
|
+
async def _fetch_signing_key(self):
|
|
193
|
+
"""Single attempt to fetch the IAM signing public key.
|
|
194
|
+
Returns True on success."""
|
|
195
|
+
try:
|
|
196
|
+
async def _fetch(client):
|
|
197
|
+
return await client.get_signing_key_public()
|
|
198
|
+
|
|
199
|
+
pem = await self._with_client(_fetch)
|
|
200
|
+
if pem:
|
|
201
|
+
self._signing_public_pem = pem
|
|
202
|
+
logger.info(
|
|
203
|
+
"IamAuth: fetched IAM signing public key "
|
|
204
|
+
f"({len(pem)} bytes)"
|
|
205
|
+
)
|
|
206
|
+
return True
|
|
207
|
+
except Exception as e:
|
|
208
|
+
logger.debug(
|
|
209
|
+
f"IamAuth: signing key fetch failed: "
|
|
210
|
+
f"{type(e).__name__}: {e}"
|
|
211
|
+
)
|
|
212
|
+
return False
|
|
213
|
+
|
|
192
214
|
async def start(self, max_retries=30, retry_delay=2.0):
|
|
193
215
|
"""Fetch the signing public key from IAM. Retries on
|
|
194
216
|
failure — the gateway may be starting before IAM is ready."""
|
|
195
217
|
|
|
196
|
-
async def _fetch(client):
|
|
197
|
-
return await client.get_signing_key_public()
|
|
198
|
-
|
|
199
218
|
for attempt in range(max_retries):
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
f"({len(pem)} bytes)"
|
|
207
|
-
)
|
|
208
|
-
return
|
|
209
|
-
except Exception as e:
|
|
210
|
-
logger.info(
|
|
211
|
-
f"IamAuth: waiting for IAM signing key "
|
|
212
|
-
f"({type(e).__name__}: {e}); "
|
|
213
|
-
f"retry {attempt + 1}/{max_retries}"
|
|
214
|
-
)
|
|
219
|
+
if await self._fetch_signing_key():
|
|
220
|
+
return
|
|
221
|
+
logger.info(
|
|
222
|
+
f"IamAuth: waiting for IAM signing key; "
|
|
223
|
+
f"retry {attempt + 1}/{max_retries}"
|
|
224
|
+
)
|
|
215
225
|
await asyncio.sleep(retry_delay)
|
|
216
226
|
|
|
217
|
-
# Don't prevent startup forever. A later authenticate() call
|
|
218
|
-
# will try again via the JWT path.
|
|
219
227
|
logger.warning(
|
|
220
228
|
"IamAuth: could not fetch IAM signing key at startup; "
|
|
221
|
-
"JWT validation will
|
|
229
|
+
"JWT validation will retry on first request"
|
|
222
230
|
)
|
|
223
231
|
|
|
224
232
|
# ------------------------------------------------------------------
|
|
@@ -259,7 +267,7 @@ class IamAuth:
|
|
|
259
267
|
self._annotate_request(request, identity)
|
|
260
268
|
return identity
|
|
261
269
|
if token.count(".") == 2:
|
|
262
|
-
identity = self._verify_jwt(token)
|
|
270
|
+
identity = await self._verify_jwt(token)
|
|
263
271
|
self._annotate_request(request, identity)
|
|
264
272
|
return identity
|
|
265
273
|
raise _auth_failure()
|
|
@@ -281,7 +289,9 @@ class IamAuth:
|
|
|
281
289
|
except Exception:
|
|
282
290
|
pass
|
|
283
291
|
|
|
284
|
-
def _verify_jwt(self, token):
|
|
292
|
+
async def _verify_jwt(self, token):
|
|
293
|
+
if not self._signing_public_pem:
|
|
294
|
+
await self._fetch_signing_key()
|
|
285
295
|
if not self._signing_public_pem:
|
|
286
296
|
raise _auth_failure()
|
|
287
297
|
try:
|
|
@@ -36,6 +36,7 @@ class Processor(FlowProcessor):
|
|
|
36
36
|
fetch_limit = params.get("fetch_limit", 0)
|
|
37
37
|
rerank_diversity_mode = params.get("rerank_diversity_mode", "none")
|
|
38
38
|
rerank_diversity_lambda = params.get("rerank_diversity_lambda", 0.7)
|
|
39
|
+
fetch_chunk_timeout = params.get("fetch_chunk_timeout", 120)
|
|
39
40
|
retrieval_mode = params.get("retrieval_mode", "vector")
|
|
40
41
|
vector_weight = params.get("vector_weight", 1.0)
|
|
41
42
|
keyword_weight = params.get("keyword_weight", 1.0)
|
|
@@ -47,6 +48,7 @@ class Processor(FlowProcessor):
|
|
|
47
48
|
"fetch_limit": fetch_limit,
|
|
48
49
|
"rerank_diversity_mode": rerank_diversity_mode,
|
|
49
50
|
"rerank_diversity_lambda": rerank_diversity_lambda,
|
|
51
|
+
"fetch_chunk_timeout": fetch_chunk_timeout,
|
|
50
52
|
"retrieval_mode": retrieval_mode,
|
|
51
53
|
"vector_weight": vector_weight,
|
|
52
54
|
"keyword_weight": keyword_weight,
|
|
@@ -57,6 +59,7 @@ class Processor(FlowProcessor):
|
|
|
57
59
|
self.fetch_limit = fetch_limit
|
|
58
60
|
self.rerank_diversity_mode = rerank_diversity_mode
|
|
59
61
|
self.rerank_diversity_lambda = rerank_diversity_lambda
|
|
62
|
+
self.fetch_chunk_timeout = fetch_chunk_timeout
|
|
60
63
|
self.retrieval_mode = retrieval_mode
|
|
61
64
|
self.vector_weight = vector_weight
|
|
62
65
|
self.keyword_weight = keyword_weight
|
|
@@ -139,7 +142,7 @@ class Processor(FlowProcessor):
|
|
|
139
142
|
|
|
140
143
|
logger.info(f"Handling input {id}...")
|
|
141
144
|
|
|
142
|
-
async def fetch_chunk(chunk_id, timeout=
|
|
145
|
+
async def fetch_chunk(chunk_id, timeout=self.fetch_chunk_timeout):
|
|
143
146
|
return await flow.librarian.fetch_document_text(
|
|
144
147
|
document_id=chunk_id, timeout=timeout,
|
|
145
148
|
)
|
|
@@ -329,6 +332,14 @@ class Processor(FlowProcessor):
|
|
|
329
332
|
help='MMR relevance/diversity tradeoff, higher values prefer relevance'
|
|
330
333
|
)
|
|
331
334
|
|
|
335
|
+
parser.add_argument(
|
|
336
|
+
'--fetch-chunk-timeout',
|
|
337
|
+
type=int,
|
|
338
|
+
default=120,
|
|
339
|
+
help='Timeout in seconds for fetching a document chunk from the '
|
|
340
|
+
'librarian (default: 120)'
|
|
341
|
+
)
|
|
342
|
+
|
|
332
343
|
parser.add_argument(
|
|
333
344
|
'--retrieval-mode',
|
|
334
345
|
choices=['vector', 'keyword', 'hybrid'],
|
|
@@ -27,6 +27,7 @@ from trustgraph.provenance import (
|
|
|
27
27
|
set_graph,
|
|
28
28
|
GRAPH_RETRIEVAL, GRAPH_SOURCE,
|
|
29
29
|
TG_CONTAINS, PROV_WAS_DERIVED_FROM,
|
|
30
|
+
DC_TITLE, RDFS_LABEL,
|
|
30
31
|
)
|
|
31
32
|
|
|
32
33
|
# Module logger
|
|
@@ -500,7 +501,9 @@ class Query:
|
|
|
500
501
|
edge_uris: List of (s, p, o) URI string tuples
|
|
501
502
|
|
|
502
503
|
Returns:
|
|
503
|
-
|
|
504
|
+
(doc_edges, sources): document metadata edges as (s, p, o)
|
|
505
|
+
string tuples, and per-document source references as
|
|
506
|
+
{"uri", "title"} dicts sorted by uri
|
|
504
507
|
"""
|
|
505
508
|
# Step 1: Find subgraphs containing these edges via tg:contains
|
|
506
509
|
subgraph_tasks = []
|
|
@@ -535,7 +538,7 @@ class Query:
|
|
|
535
538
|
subgraph_uris.add(str(triple.s))
|
|
536
539
|
|
|
537
540
|
if not subgraph_uris:
|
|
538
|
-
return []
|
|
541
|
+
return [], []
|
|
539
542
|
|
|
540
543
|
# Step 2: Walk prov:wasDerivedFrom chain to find documents
|
|
541
544
|
current_uris = subgraph_uris
|
|
@@ -569,7 +572,7 @@ class Query:
|
|
|
569
572
|
current_uris = next_uris - doc_uris
|
|
570
573
|
|
|
571
574
|
if not doc_uris:
|
|
572
|
-
return []
|
|
575
|
+
return [], []
|
|
573
576
|
|
|
574
577
|
# Step 3: Get all document metadata properties
|
|
575
578
|
SKIP_PREDICATES = {
|
|
@@ -577,12 +580,14 @@ class Query:
|
|
|
577
580
|
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
|
|
578
581
|
}
|
|
579
582
|
|
|
583
|
+
sorted_doc_uris = sorted(doc_uris)
|
|
584
|
+
|
|
580
585
|
metadata_tasks = [
|
|
581
586
|
self.rag.triples_client.query(
|
|
582
587
|
s=uri, p=None, o=None, limit=50,
|
|
583
588
|
collection=self.collection,
|
|
584
589
|
)
|
|
585
|
-
for uri in
|
|
590
|
+
for uri in sorted_doc_uris
|
|
586
591
|
]
|
|
587
592
|
|
|
588
593
|
metadata_results = await asyncio.gather(
|
|
@@ -590,18 +595,22 @@ class Query:
|
|
|
590
595
|
)
|
|
591
596
|
|
|
592
597
|
doc_edges = []
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
598
|
+
sources = []
|
|
599
|
+
for uri, result in zip(sorted_doc_uris, metadata_results):
|
|
600
|
+
title = ""
|
|
601
|
+
if not isinstance(result, Exception) and result:
|
|
602
|
+
for triple in result:
|
|
603
|
+
p = str(triple.p)
|
|
604
|
+
if p in SKIP_PREDICATES:
|
|
605
|
+
continue
|
|
606
|
+
doc_edges.append((
|
|
607
|
+
str(triple.s), p, str(triple.o)
|
|
608
|
+
))
|
|
609
|
+
if p == DC_TITLE or (p == RDFS_LABEL and not title):
|
|
610
|
+
title = str(triple.o)
|
|
611
|
+
sources.append({"uri": uri, "title": title})
|
|
603
612
|
|
|
604
|
-
return doc_edges
|
|
613
|
+
return doc_edges, sources
|
|
605
614
|
|
|
606
615
|
class GraphRag:
|
|
607
616
|
"""
|
|
@@ -740,15 +749,13 @@ class GraphRag:
|
|
|
740
749
|
if edge_id(s, p, o) in uri_map
|
|
741
750
|
]
|
|
742
751
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
if isinstance(source_documents, Exception):
|
|
748
|
-
logger.warning(
|
|
749
|
-
f"Document tracing failed: {source_documents}"
|
|
752
|
+
try:
|
|
753
|
+
source_documents, sources = await q.trace_source_documents(
|
|
754
|
+
selected_edge_uris,
|
|
750
755
|
)
|
|
751
|
-
|
|
756
|
+
except Exception as e:
|
|
757
|
+
logger.warning(f"Document tracing failed: {e}")
|
|
758
|
+
source_documents, sources = [], []
|
|
752
759
|
|
|
753
760
|
# Build focus explainability data with cross-encoder metadata
|
|
754
761
|
selected_edges_with_reasoning = []
|
|
@@ -866,4 +873,4 @@ class GraphRag:
|
|
|
866
873
|
"model": last_model,
|
|
867
874
|
}
|
|
868
875
|
|
|
869
|
-
return resp, usage
|
|
876
|
+
return resp, usage, sources
|
|
@@ -6,7 +6,7 @@ Input is query, output is response.
|
|
|
6
6
|
|
|
7
7
|
import logging
|
|
8
8
|
|
|
9
|
-
from ... schema import GraphRagQuery, GraphRagResponse, Error
|
|
9
|
+
from ... schema import GraphRagQuery, GraphRagResponse, Error, Source
|
|
10
10
|
from ... schema import Triples, Metadata
|
|
11
11
|
from ... provenance import GRAPH_RETRIEVAL
|
|
12
12
|
from . graph_rag import GraphRag
|
|
@@ -22,6 +22,9 @@ logger = logging.getLogger(__name__)
|
|
|
22
22
|
default_ident = "graph-rag"
|
|
23
23
|
default_concurrency = 1
|
|
24
24
|
|
|
25
|
+
def source_refs(sources):
|
|
26
|
+
return [Source(uri=s["uri"], title=s["title"]) for s in sources]
|
|
27
|
+
|
|
25
28
|
class Processor(FlowProcessor):
|
|
26
29
|
|
|
27
30
|
def __init__(self, **params):
|
|
@@ -229,7 +232,7 @@ class Processor(FlowProcessor):
|
|
|
229
232
|
)
|
|
230
233
|
|
|
231
234
|
# Query with streaming and real-time explain
|
|
232
|
-
response, usage = await rag.query(
|
|
235
|
+
response, usage, sources = await rag.query(
|
|
233
236
|
query = v.query, collection = v.collection,
|
|
234
237
|
entity_limit = entity_limit, triple_limit = triple_limit,
|
|
235
238
|
max_subgraph_size = max_subgraph_size,
|
|
@@ -245,7 +248,7 @@ class Processor(FlowProcessor):
|
|
|
245
248
|
|
|
246
249
|
else:
|
|
247
250
|
# Non-streaming path with real-time explain
|
|
248
|
-
response, usage = await rag.query(
|
|
251
|
+
response, usage, sources = await rag.query(
|
|
249
252
|
query = v.query, collection = v.collection,
|
|
250
253
|
entity_limit = entity_limit, triple_limit = triple_limit,
|
|
251
254
|
max_subgraph_size = max_subgraph_size,
|
|
@@ -267,6 +270,7 @@ class Processor(FlowProcessor):
|
|
|
267
270
|
in_token=usage.get("in_token"),
|
|
268
271
|
out_token=usage.get("out_token"),
|
|
269
272
|
model=usage.get("model"),
|
|
273
|
+
sources=source_refs(sources),
|
|
270
274
|
),
|
|
271
275
|
properties={"id": id}
|
|
272
276
|
)
|
|
@@ -281,6 +285,7 @@ class Processor(FlowProcessor):
|
|
|
281
285
|
in_token=usage.get("in_token"),
|
|
282
286
|
out_token=usage.get("out_token"),
|
|
283
287
|
model=usage.get("model"),
|
|
288
|
+
sources=source_refs(sources),
|
|
284
289
|
),
|
|
285
290
|
properties={"id": id}
|
|
286
291
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-flow
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.7.1"
|
|
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-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/meta_router.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/pattern_base.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/plan_pattern.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/react_pattern.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/agent/orchestrator/supervisor_pattern.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
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/bootstrapper/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/bootstrapper/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/bootstrapper/service.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/pulsar_topology.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/template_seed.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/bootstrap/initialisers/workspace_init.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/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
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/fastembed/processor.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/graph_embeddings/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/graph_embeddings/embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/row_embeddings/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/row_embeddings/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/embeddings/row_embeddings/embeddings.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
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/definitions/extract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/ontology_embedder.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/ontology_loader.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/ontology_selector.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/simplified_parser.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/text_processor.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/triple_converter.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/ontology/vector_store.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/relationships/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.1 → trustgraph_flow-2.7.3}/trustgraph/extract/kg/relationships/extract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|