trustgraph-flow 2.7.4__tar.gz → 2.7.6__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.4 → trustgraph_flow-2.7.6}/PKG-INFO +1 -1
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/pyproject.toml +1 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/direct/cassandra_kg.py +7 -15
- trustgraph_flow-2.7.6/trustgraph/flow_version.py +1 -0
- trustgraph_flow-2.7.6/trustgraph/gateway/dispatch/image_to_text.py +32 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/manager.py +2 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/registry.py +1 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/service/iam.py +1 -0
- trustgraph_flow-2.7.6/trustgraph/model/image_to_text/openai/service.py +172 -0
- trustgraph_flow-2.7.6/trustgraph/storage/kw_index/fts5/__init__.py +1 -0
- trustgraph_flow-2.7.6/trustgraph/storage/kw_index/fts5/__main__.py +6 -0
- trustgraph_flow-2.7.6/trustgraph/tables/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph_flow.egg-info/PKG-INFO +1 -1
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph_flow.egg-info/SOURCES.txt +5 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph_flow.egg-info/entry_points.txt +1 -0
- trustgraph_flow-2.7.4/trustgraph/flow_version.py +0 -1
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/README.md +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/setup.cfg +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/mcp_tool/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/mcp_tool/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/mcp_tool/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/aggregator.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/meta_router.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/pattern_base.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/plan_pattern.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/react_pattern.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/supervisor_pattern.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/streaming_parser.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/react/types.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/tool_filter.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/base.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/bootstrapper/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/bootstrapper/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/bootstrapper/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/default_flow_start.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/pulsar_topology.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/template_seed.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/workspace_init.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/config/service/config.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/config/service/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/cores/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/cores/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/cores/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/direct/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/row_embeddings/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/row_embeddings/embeddings.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/external/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/agent/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/agent/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/agent/extract.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/entity_normalizer.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/extract.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/ontology_embedder.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/ontology_loader.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/ontology_selector.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/run.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/simplified_parser.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/text_processor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/triple_converter.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/vector_store.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/rows/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/rows/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/rows/processor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/flow/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/flow/service/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/flow/service/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/flow/service/flow.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/flow/service/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/audit.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/auth.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/capabilities.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/collection_management.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/document_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/document_stream.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/iam.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/reranker.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/row_embeddings_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/rows_import.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/rows_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/sparql_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/structured_diag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/structured_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/auth_endpoints.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/i18n.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/iam_endpoint.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/registry_endpoint.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/running.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/noauth/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/noauth/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/noauth/handler.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/noauth/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/service/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/service/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/iam/service/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/librarian/collection_manager.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/librarian/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/metering/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/metering/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/metering/counter.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/__init__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/model/text_completion → trustgraph_flow-2.7.6/trustgraph/model/image_to_text}/__init__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query/sparql → trustgraph_flow-2.7.6/trustgraph/model/image_to_text/openai}/__init__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query/sparql → trustgraph_flow-2.7.6/trustgraph/model/image_to_text/openai}/__main__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/prompt → trustgraph_flow-2.7.6/trustgraph/model/text_completion}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/openai/variants.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/model/text_completion/vllm/llm.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/processing/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/processing/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/processing/processing.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query → trustgraph_flow-2.7.6/trustgraph/prompt}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/prompt/template/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/prompt/template/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/prompt/template/service.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query/doc_embeddings → trustgraph_flow-2.7.6/trustgraph/query}/__init__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query/graph_embeddings → trustgraph_flow-2.7.6/trustgraph/query/doc_embeddings}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query/rows → trustgraph_flow-2.7.6/trustgraph/query/graph_embeddings}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graphql/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graphql/filters.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graphql/schema.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/graphql/types.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/answer_generator.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/backend_router.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/cache.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/cypher_executor.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/cypher_generator.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/error_handling.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/monitoring.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/multi_language.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/ontology_matcher.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/query_explanation.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/query_optimizer.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/query_service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/question_analyzer.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/sparql_cassandra.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/ontology/sparql_generator.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/row_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/row_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/row_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/query/triples → trustgraph_flow-2.7.6/trustgraph/query/rows}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/rows/cassandra/service.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/kw_index/fts5 → trustgraph_flow-2.7.6/trustgraph/query/sparql}/__init__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/kw_index/fts5 → trustgraph_flow-2.7.6/trustgraph/query/sparql}/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/sparql/algebra.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/sparql/expressions.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/sparql/parser.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/sparql/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/sparql/solutions.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/retrieval → trustgraph_flow-2.7.6/trustgraph/query/triples}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/reranker/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/reranker/flashrank/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/reranker/flashrank/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/reranker/flashrank/processor.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage → trustgraph_flow-2.7.6/trustgraph/retrieval}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/document_rag/rerank.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/nlp_query/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/structured_diag/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/structured_diag/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/structured_diag/type_detector.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/structured_query/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/structured_query/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/retrieval/structured_query/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/rev_gateway/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/rev_gateway/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/rev_gateway/dispatcher.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/rev_gateway/service.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/doc_embeddings → trustgraph_flow-2.7.6/trustgraph/storage}/__init__.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/graph_embeddings → trustgraph_flow-2.7.6/trustgraph/storage/doc_embeddings}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/kw_index → trustgraph_flow-2.7.6/trustgraph/storage/graph_embeddings}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/rows → trustgraph_flow-2.7.6/trustgraph/storage/kw_index}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/kw_index/fts5/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/row_embeddings/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/row_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/row_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/row_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/storage/triples → trustgraph_flow-2.7.6/trustgraph/storage/rows}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph_flow-2.7.4/trustgraph/tables → trustgraph_flow-2.7.6/trustgraph/storage/triples}/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tables/cassandra_async.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tables/config.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tables/iam.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tables/library.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/template/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/template/prompt_manager.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tool_service/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tool_service/joke/__init__.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/tool_service/joke/service.py +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/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.6
|
|
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
|
|
@@ -85,6 +85,7 @@ graph-embeddings-write-pinecone = "trustgraph.storage.graph_embeddings.pinecone:
|
|
|
85
85
|
graph-embeddings-write-qdrant = "trustgraph.storage.graph_embeddings.qdrant:run"
|
|
86
86
|
graph-embeddings = "trustgraph.embeddings.graph_embeddings:run"
|
|
87
87
|
graph-rag = "trustgraph.retrieval.graph_rag:run"
|
|
88
|
+
image-to-text-openai = "trustgraph.model.image_to_text.openai:run"
|
|
88
89
|
reranker-flashrank = "trustgraph.reranker.flashrank:run"
|
|
89
90
|
kg-extract-agent = "trustgraph.extract.kg.agent:run"
|
|
90
91
|
kg-extract-definitions = "trustgraph.extract.kg.definitions:run"
|
|
@@ -776,11 +776,10 @@ class EntityCentricKnowledgeGraph:
|
|
|
776
776
|
collection, p, 'P', p, otype, s, o, g, dtype, lang
|
|
777
777
|
))
|
|
778
778
|
|
|
779
|
-
# Write row for object entity (role='O')
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
))
|
|
779
|
+
# Write row for object entity (role='O')
|
|
780
|
+
batch.add(self.insert_entity_stmt, (
|
|
781
|
+
collection, o, 'O', p, otype, s, o, g, dtype, lang
|
|
782
|
+
))
|
|
784
783
|
|
|
785
784
|
# Write row for graph entity (role='G') - only for non-default graphs
|
|
786
785
|
if g != DEFAULT_GRAPH:
|
|
@@ -997,15 +996,10 @@ class EntityCentricKnowledgeGraph:
|
|
|
997
996
|
lang = row.lang if hasattr(row, 'lang') else ''
|
|
998
997
|
quads.append((d, s, p, o, otype, dtype, lang))
|
|
999
998
|
|
|
1000
|
-
# Subject and predicate are always entities
|
|
1001
999
|
entities.add(s)
|
|
1002
1000
|
entities.add(p)
|
|
1001
|
+
entities.add(o)
|
|
1003
1002
|
|
|
1004
|
-
# Object is an entity only for URIs
|
|
1005
|
-
if otype == 'u' or otype == 't':
|
|
1006
|
-
entities.add(o)
|
|
1007
|
-
|
|
1008
|
-
# Graph is an entity for non-default graphs
|
|
1009
1003
|
if d != DEFAULT_GRAPH:
|
|
1010
1004
|
entities.add(d)
|
|
1011
1005
|
|
|
@@ -1067,8 +1061,7 @@ class EntityCentricKnowledgeGraph:
|
|
|
1067
1061
|
batch = BatchStatement()
|
|
1068
1062
|
batch.add(self.insert_entity_stmt, (collection, s, 'S', p, otype, s, o, g, dtype, lang))
|
|
1069
1063
|
batch.add(self.insert_entity_stmt, (collection, p, 'P', p, otype, s, o, g, dtype, lang))
|
|
1070
|
-
|
|
1071
|
-
batch.add(self.insert_entity_stmt, (collection, o, 'O', p, otype, s, o, g, dtype, lang))
|
|
1064
|
+
batch.add(self.insert_entity_stmt, (collection, o, 'O', p, otype, s, o, g, dtype, lang))
|
|
1072
1065
|
if g != DEFAULT_GRAPH:
|
|
1073
1066
|
batch.add(self.insert_entity_stmt, (collection, g, 'G', p, otype, s, o, g, dtype, lang))
|
|
1074
1067
|
batch.add(self.insert_collection_stmt, (collection, g, s, p, o, otype, dtype, lang))
|
|
@@ -1233,8 +1226,7 @@ class EntityCentricKnowledgeGraph:
|
|
|
1233
1226
|
quads.append((d, s, p, o, otype, dtype, lang))
|
|
1234
1227
|
entities.add(s)
|
|
1235
1228
|
entities.add(p)
|
|
1236
|
-
|
|
1237
|
-
entities.add(o)
|
|
1229
|
+
entities.add(o)
|
|
1238
1230
|
if d != DEFAULT_GRAPH:
|
|
1239
1231
|
entities.add(d)
|
|
1240
1232
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.7.6"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
from ... schema import ImageToTextRequest, ImageToTextResponse
|
|
3
|
+
from ... messaging import TranslatorRegistry
|
|
4
|
+
|
|
5
|
+
from . requestor import ServiceRequestor
|
|
6
|
+
|
|
7
|
+
class ImageToTextRequestor(ServiceRequestor):
|
|
8
|
+
def __init__(
|
|
9
|
+
self, backend, request_queue, response_queue, timeout,
|
|
10
|
+
consumer, subscriber,
|
|
11
|
+
):
|
|
12
|
+
|
|
13
|
+
super(ImageToTextRequestor, self).__init__(
|
|
14
|
+
backend=backend,
|
|
15
|
+
request_queue=request_queue,
|
|
16
|
+
response_queue=response_queue,
|
|
17
|
+
request_schema=ImageToTextRequest,
|
|
18
|
+
response_schema=ImageToTextResponse,
|
|
19
|
+
subscription = subscriber,
|
|
20
|
+
consumer_name = consumer,
|
|
21
|
+
timeout=timeout,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
self.request_translator = TranslatorRegistry.get_request_translator("image-to-text")
|
|
25
|
+
self.response_translator = TranslatorRegistry.get_response_translator("image-to-text")
|
|
26
|
+
|
|
27
|
+
def to_request(self, body):
|
|
28
|
+
return self.request_translator.decode(body)
|
|
29
|
+
|
|
30
|
+
def from_response(self, message):
|
|
31
|
+
return self.response_translator.encode_with_completion(message)
|
|
32
|
+
|
|
@@ -23,6 +23,7 @@ from . collection_management import CollectionManagementRequestor
|
|
|
23
23
|
from . embeddings import EmbeddingsRequestor
|
|
24
24
|
from . agent import AgentRequestor
|
|
25
25
|
from . text_completion import TextCompletionRequestor
|
|
26
|
+
from . image_to_text import ImageToTextRequestor
|
|
26
27
|
from . prompt import PromptRequestor
|
|
27
28
|
from . graph_rag import GraphRagRequestor
|
|
28
29
|
from . document_rag import DocumentRagRequestor
|
|
@@ -76,6 +77,7 @@ request_response_dispatchers = {
|
|
|
76
77
|
"row-embeddings": RowEmbeddingsQueryRequestor,
|
|
77
78
|
"sparql": SparqlQueryRequestor,
|
|
78
79
|
"reranker": RerankerRequestor,
|
|
80
|
+
"image-to-text": ImageToTextRequestor,
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
system_dispatchers = {
|
|
@@ -519,6 +519,7 @@ _FLOW_SERVICES = {
|
|
|
519
519
|
"row-embeddings": "row-embeddings:read",
|
|
520
520
|
"sparql": "sparql:read",
|
|
521
521
|
"reranker": "reranker",
|
|
522
|
+
"image-to-text": "image-to-text",
|
|
522
523
|
}
|
|
523
524
|
for _kind, _cap in _FLOW_SERVICES.items():
|
|
524
525
|
_register_flow_kind("flow-service", _kind, _cap)
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
|
|
2
|
+
"""
|
|
3
|
+
Simple image-to-text service, describes images using the OpenAI vision
|
|
4
|
+
API. Input is base64-encoded image, MIME type and prompt, output is
|
|
5
|
+
image description.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from openai import OpenAI, RateLimitError, InternalServerError
|
|
9
|
+
import os
|
|
10
|
+
import logging
|
|
11
|
+
|
|
12
|
+
from .... exceptions import TooManyRequests, LlmError
|
|
13
|
+
from .... base import ImageToTextService, ImageDescriptionResult
|
|
14
|
+
|
|
15
|
+
# Module logger
|
|
16
|
+
logger = logging.getLogger(__name__)
|
|
17
|
+
|
|
18
|
+
default_ident = "image-to-text"
|
|
19
|
+
|
|
20
|
+
default_model = 'gpt-5-mini'
|
|
21
|
+
default_max_output = 4096
|
|
22
|
+
default_api_key = os.getenv("OPENAI_TOKEN")
|
|
23
|
+
default_base_url = os.getenv("OPENAI_BASE_URL")
|
|
24
|
+
default_prompt = 'Describe this image'
|
|
25
|
+
|
|
26
|
+
if default_base_url is None or default_base_url == "":
|
|
27
|
+
default_base_url = "https://api.openai.com/v1"
|
|
28
|
+
|
|
29
|
+
class Processor(ImageToTextService):
|
|
30
|
+
|
|
31
|
+
def __init__(self, **params):
|
|
32
|
+
|
|
33
|
+
model = params.get("model", default_model)
|
|
34
|
+
api_key = params.get("api_key", default_api_key)
|
|
35
|
+
base_url = params.get("url", default_base_url)
|
|
36
|
+
max_output = params.get("max_output", default_max_output)
|
|
37
|
+
|
|
38
|
+
if not api_key:
|
|
39
|
+
api_key = "not-set"
|
|
40
|
+
|
|
41
|
+
super(Processor, self).__init__(
|
|
42
|
+
**params | {
|
|
43
|
+
"model": model,
|
|
44
|
+
"max_output": max_output,
|
|
45
|
+
"base_url": base_url,
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
self.default_model = model
|
|
50
|
+
self.max_output = max_output
|
|
51
|
+
|
|
52
|
+
if base_url:
|
|
53
|
+
self.openai = OpenAI(base_url=base_url, api_key=api_key)
|
|
54
|
+
else:
|
|
55
|
+
self.openai = OpenAI(api_key=api_key)
|
|
56
|
+
|
|
57
|
+
logger.info("OpenAI image-to-text service initialized")
|
|
58
|
+
|
|
59
|
+
async def describe_image(
|
|
60
|
+
self, image, mime_type, prompt, system, model=None,
|
|
61
|
+
):
|
|
62
|
+
|
|
63
|
+
model_name = model or self.default_model
|
|
64
|
+
|
|
65
|
+
logger.debug(f"Using model: {model_name}")
|
|
66
|
+
|
|
67
|
+
if not prompt:
|
|
68
|
+
prompt = default_prompt
|
|
69
|
+
|
|
70
|
+
if system:
|
|
71
|
+
prompt = system + "\n\n" + prompt
|
|
72
|
+
|
|
73
|
+
try:
|
|
74
|
+
|
|
75
|
+
messages = [
|
|
76
|
+
{
|
|
77
|
+
"role": "user",
|
|
78
|
+
"content": [
|
|
79
|
+
{
|
|
80
|
+
"type": "text",
|
|
81
|
+
"text": prompt
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "image_url",
|
|
85
|
+
"image_url": {
|
|
86
|
+
"url": f"data:{mime_type};base64,{image}"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
resp = self.openai.chat.completions.create(
|
|
94
|
+
model=model_name,
|
|
95
|
+
messages=messages,
|
|
96
|
+
max_completion_tokens=self.max_output,
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
inputtokens = resp.usage.prompt_tokens
|
|
100
|
+
outputtokens = resp.usage.completion_tokens
|
|
101
|
+
|
|
102
|
+
content = resp.choices[0].message.content
|
|
103
|
+
|
|
104
|
+
logger.debug(f"Image description: {content}")
|
|
105
|
+
logger.info(f"Input Tokens: {inputtokens}")
|
|
106
|
+
logger.info(f"Output Tokens: {outputtokens}")
|
|
107
|
+
|
|
108
|
+
resp = ImageDescriptionResult(
|
|
109
|
+
text = content,
|
|
110
|
+
in_token = inputtokens,
|
|
111
|
+
out_token = outputtokens,
|
|
112
|
+
model = model_name
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
return resp
|
|
116
|
+
|
|
117
|
+
except RateLimitError as e:
|
|
118
|
+
try:
|
|
119
|
+
body = getattr(e, 'body', {})
|
|
120
|
+
if isinstance(body, dict):
|
|
121
|
+
code = body.get('error', {}).get('code')
|
|
122
|
+
if code in ('insufficient_quota', 'invalid_api_key', 'account_deactivated'):
|
|
123
|
+
raise RuntimeError(f"OpenAI unrecoverable error: {code} - {body['error'].get('message', '')}")
|
|
124
|
+
except (ValueError, KeyError, TypeError, AttributeError):
|
|
125
|
+
pass
|
|
126
|
+
# Leave rate limit retries to the base handler
|
|
127
|
+
raise TooManyRequests()
|
|
128
|
+
|
|
129
|
+
except InternalServerError:
|
|
130
|
+
# Treat 503 as a retryable LlmError
|
|
131
|
+
raise LlmError()
|
|
132
|
+
|
|
133
|
+
except Exception as e:
|
|
134
|
+
|
|
135
|
+
# Apart from rate limits, treat all exceptions as unrecoverable
|
|
136
|
+
|
|
137
|
+
logger.error(f"OpenAI image-to-text exception ({type(e).__name__}): {e}", exc_info=True)
|
|
138
|
+
raise e
|
|
139
|
+
|
|
140
|
+
@staticmethod
|
|
141
|
+
def add_args(parser):
|
|
142
|
+
|
|
143
|
+
ImageToTextService.add_args(parser)
|
|
144
|
+
|
|
145
|
+
parser.add_argument(
|
|
146
|
+
'-m', '--model',
|
|
147
|
+
default=default_model,
|
|
148
|
+
help=f'Vision model (default: {default_model})'
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
parser.add_argument(
|
|
152
|
+
'-k', '--api-key',
|
|
153
|
+
default=default_api_key,
|
|
154
|
+
help=f'OpenAI API key'
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
parser.add_argument(
|
|
158
|
+
'-u', '--url',
|
|
159
|
+
default=default_base_url,
|
|
160
|
+
help=f'OpenAI service base URL'
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
parser.add_argument(
|
|
164
|
+
'-x', '--max-output',
|
|
165
|
+
type=int,
|
|
166
|
+
default=default_max_output,
|
|
167
|
+
help=f'Vision model max output tokens (default: {default_max_output})'
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
def run():
|
|
171
|
+
|
|
172
|
+
Processor.launch(default_ident, __doc__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from . service import *
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-flow
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.6
|
|
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
|
|
@@ -141,6 +141,7 @@ trustgraph/gateway/dispatch/graph_embeddings_import.py
|
|
|
141
141
|
trustgraph/gateway/dispatch/graph_embeddings_query.py
|
|
142
142
|
trustgraph/gateway/dispatch/graph_rag.py
|
|
143
143
|
trustgraph/gateway/dispatch/iam.py
|
|
144
|
+
trustgraph/gateway/dispatch/image_to_text.py
|
|
144
145
|
trustgraph/gateway/dispatch/knowledge.py
|
|
145
146
|
trustgraph/gateway/dispatch/librarian.py
|
|
146
147
|
trustgraph/gateway/dispatch/manager.py
|
|
@@ -196,6 +197,10 @@ trustgraph/metering/__init__.py
|
|
|
196
197
|
trustgraph/metering/__main__.py
|
|
197
198
|
trustgraph/metering/counter.py
|
|
198
199
|
trustgraph/model/__init__.py
|
|
200
|
+
trustgraph/model/image_to_text/__init__.py
|
|
201
|
+
trustgraph/model/image_to_text/openai/__init__.py
|
|
202
|
+
trustgraph/model/image_to_text/openai/__main__.py
|
|
203
|
+
trustgraph/model/image_to_text/openai/service.py
|
|
199
204
|
trustgraph/model/text_completion/__init__.py
|
|
200
205
|
trustgraph/model/text_completion/azure/__init__.py
|
|
201
206
|
trustgraph/model/text_completion/azure/__main__.py
|
|
@@ -26,6 +26,7 @@ graph-embeddings-write-pinecone = trustgraph.storage.graph_embeddings.pinecone:r
|
|
|
26
26
|
graph-embeddings-write-qdrant = trustgraph.storage.graph_embeddings.qdrant:run
|
|
27
27
|
graph-rag = trustgraph.retrieval.graph_rag:run
|
|
28
28
|
iam-svc = trustgraph.iam.service:run
|
|
29
|
+
image-to-text-openai = trustgraph.model.image_to_text.openai:run
|
|
29
30
|
joke-service = trustgraph.tool_service.joke:run
|
|
30
31
|
kg-extract-agent = trustgraph.extract.kg.agent:run
|
|
31
32
|
kg-extract-definitions = trustgraph.extract.kg.definitions:run
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.7.4"
|
|
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.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/meta_router.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/pattern_base.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/plan_pattern.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/agent/orchestrator/react_pattern.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/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.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/bootstrapper/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/bootstrapper/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/bootstrapper/service.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/pulsar_topology.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/bootstrap/initialisers/template_seed.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/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.4 → trustgraph_flow-2.7.6}/trustgraph/decoding/mistral_ocr/processor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/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.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/fastembed/processor.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/graph_embeddings/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/graph_embeddings/embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/row_embeddings/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/embeddings/row_embeddings/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/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.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/definitions/extract.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/entity_normalizer.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/ontology_embedder.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/ontology_loader.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/ontology_selector.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/simplified_parser.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/text_processor.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/triple_converter.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/ontology/vector_store.py
RENAMED
|
File without changes
|
{trustgraph_flow-2.7.4 → trustgraph_flow-2.7.6}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
|
File without changes
|