trustgraph-flow 1.3.11__tar.gz → 1.3.13__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-1.3.11 → trustgraph_flow-1.3.13}/PKG-INFO +1 -1
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/objects/processor.py +11 -8
- trustgraph_flow-1.3.13/trustgraph/flow_version.py +1 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/objects_import.py +7 -1
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/objects/cassandra/write.py +58 -50
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph_flow.egg-info/PKG-INFO +1 -1
- trustgraph_flow-1.3.11/trustgraph/flow_version.py +0 -1
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/README.md +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/pyproject.toml +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/setup.cfg +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/mcp_tool/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/mcp_tool/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/mcp_tool/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/react/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/react/types.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/agent/tool_filter.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/config/service/config.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/config/service/flow.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/config/service/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/cores/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/cores/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/cores/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/external/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/agent/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/agent/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/agent/extract.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/objects/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/auth.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/manager.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/objects_query.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/structured_query.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/running.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/librarian/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/metering/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/metering/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/metering/counter.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/vllm/llm.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/processing/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/processing/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/processing/processing.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/prompt/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/prompt/template/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/prompt/template/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/prompt/template/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/objects/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/objects/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/objects/cassandra/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/nlp_query/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/structured_query/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/structured_query/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/retrieval/structured_query/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/rev_gateway/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/rev_gateway/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/rev_gateway/dispatcher.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/rev_gateway/service.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/objects/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/objects/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/tables/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/tables/config.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/tables/library.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/template/__init__.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/template/prompt_manager.py +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph_flow.egg-info/entry_points.txt +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/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: 1.3.
|
3
|
+
Version: 1.3.13
|
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-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/objects/processor.py
RENAMED
@@ -256,31 +256,34 @@ class Processor(FlowProcessor):
|
|
256
256
|
flow
|
257
257
|
)
|
258
258
|
|
259
|
-
# Emit
|
260
|
-
|
259
|
+
# Emit extracted objects as a batch if any were found
|
260
|
+
if objects:
|
261
261
|
|
262
262
|
# Calculate confidence (could be enhanced with actual confidence from prompt)
|
263
263
|
confidence = 0.8 # Default confidence
|
264
264
|
|
265
|
-
# Convert all values to strings for Pulsar compatibility
|
266
|
-
|
265
|
+
# Convert all objects' values to strings for Pulsar compatibility
|
266
|
+
batch_values = []
|
267
|
+
for obj in objects:
|
268
|
+
string_values = convert_values_to_strings(obj)
|
269
|
+
batch_values.append(string_values)
|
267
270
|
|
268
|
-
# Create ExtractedObject
|
271
|
+
# Create ExtractedObject with batched values
|
269
272
|
extracted = ExtractedObject(
|
270
273
|
metadata=Metadata(
|
271
|
-
id=f"{v.metadata.id}:{schema_name}
|
274
|
+
id=f"{v.metadata.id}:{schema_name}",
|
272
275
|
metadata=[],
|
273
276
|
user=v.metadata.user,
|
274
277
|
collection=v.metadata.collection,
|
275
278
|
),
|
276
279
|
schema_name=schema_name,
|
277
|
-
values=
|
280
|
+
values=batch_values, # Array of objects
|
278
281
|
confidence=confidence,
|
279
282
|
source_span=chunk_text[:100] # First 100 chars as source reference
|
280
283
|
)
|
281
284
|
|
282
285
|
await flow("output").send(extracted)
|
283
|
-
logger.debug(f"Emitted
|
286
|
+
logger.debug(f"Emitted batch of {len(objects)} objects for schema {schema_name}")
|
284
287
|
|
285
288
|
except Exception as e:
|
286
289
|
logger.error(f"Object extraction exception: {e}", exc_info=True)
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "1.3.13"
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/objects_import.py
RENAMED
@@ -44,6 +44,12 @@ class ObjectsImport:
|
|
44
44
|
|
45
45
|
data = msg.json()
|
46
46
|
|
47
|
+
# Handle both single object and array of objects for backward compatibility
|
48
|
+
values_data = data["values"]
|
49
|
+
if not isinstance(values_data, list):
|
50
|
+
# Single object - wrap in array
|
51
|
+
values_data = [values_data]
|
52
|
+
|
47
53
|
elt = ExtractedObject(
|
48
54
|
metadata=Metadata(
|
49
55
|
id=data["metadata"]["id"],
|
@@ -52,7 +58,7 @@ class ObjectsImport:
|
|
52
58
|
collection=data["metadata"]["collection"],
|
53
59
|
),
|
54
60
|
schema_name=data["schema_name"],
|
55
|
-
values=
|
61
|
+
values=values_data,
|
56
62
|
confidence=data.get("confidence", 1.0),
|
57
63
|
source_span=data.get("source_span", ""),
|
58
64
|
)
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/storage/objects/cassandra/write.py
RENAMED
@@ -311,7 +311,7 @@ class Processor(FlowProcessor):
|
|
311
311
|
"""Process incoming ExtractedObject and store in Cassandra"""
|
312
312
|
|
313
313
|
obj = msg.value()
|
314
|
-
logger.info(f"Storing
|
314
|
+
logger.info(f"Storing {len(obj.values)} objects for schema {obj.schema_name} from {obj.metadata.id}")
|
315
315
|
|
316
316
|
# Get schema definition
|
317
317
|
schema = self.schemas.get(obj.schema_name)
|
@@ -328,59 +328,67 @@ class Processor(FlowProcessor):
|
|
328
328
|
safe_keyspace = self.sanitize_name(keyspace)
|
329
329
|
safe_table = self.sanitize_table(table_name)
|
330
330
|
|
331
|
-
#
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
has_primary_key = any(field.primary for field in schema.fields)
|
338
|
-
if not has_primary_key:
|
339
|
-
import uuid
|
340
|
-
columns.append("synthetic_id")
|
341
|
-
values.append(uuid.uuid4())
|
342
|
-
placeholders.append("%s")
|
343
|
-
|
344
|
-
# Process fields
|
345
|
-
for field in schema.fields:
|
346
|
-
safe_field_name = self.sanitize_name(field.name)
|
347
|
-
raw_value = obj.values.get(field.name)
|
331
|
+
# Process each object in the batch
|
332
|
+
for obj_index, value_map in enumerate(obj.values):
|
333
|
+
# Build column names and values for this object
|
334
|
+
columns = ["collection"]
|
335
|
+
values = [obj.metadata.collection]
|
336
|
+
placeholders = ["%s"]
|
348
337
|
|
349
|
-
#
|
350
|
-
|
351
|
-
|
352
|
-
|
338
|
+
# Check if we need a synthetic ID
|
339
|
+
has_primary_key = any(field.primary for field in schema.fields)
|
340
|
+
if not has_primary_key:
|
341
|
+
import uuid
|
342
|
+
columns.append("synthetic_id")
|
343
|
+
values.append(uuid.uuid4())
|
344
|
+
placeholders.append("%s")
|
353
345
|
|
354
|
-
#
|
355
|
-
|
356
|
-
|
357
|
-
|
346
|
+
# Process fields for this object
|
347
|
+
skip_object = False
|
348
|
+
for field in schema.fields:
|
349
|
+
safe_field_name = self.sanitize_name(field.name)
|
350
|
+
raw_value = value_map.get(field.name)
|
351
|
+
|
352
|
+
# Handle required fields
|
353
|
+
if field.required and raw_value is None:
|
354
|
+
logger.warning(f"Required field {field.name} is missing in object {obj_index}")
|
355
|
+
# Continue anyway - Cassandra doesn't enforce NOT NULL
|
356
|
+
|
357
|
+
# Check if primary key field is NULL
|
358
|
+
if field.primary and raw_value is None:
|
359
|
+
logger.error(f"Primary key field {field.name} cannot be NULL - skipping object {obj_index}")
|
360
|
+
skip_object = True
|
361
|
+
break
|
362
|
+
|
363
|
+
# Convert value to appropriate type
|
364
|
+
converted_value = self.convert_value(raw_value, field.type)
|
365
|
+
|
366
|
+
columns.append(safe_field_name)
|
367
|
+
values.append(converted_value)
|
368
|
+
placeholders.append("%s")
|
358
369
|
|
359
|
-
#
|
360
|
-
|
370
|
+
# Skip this object if primary key validation failed
|
371
|
+
if skip_object:
|
372
|
+
continue
|
361
373
|
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
self.session.execute(insert_cql, tuple(values))
|
381
|
-
except Exception as e:
|
382
|
-
logger.error(f"Failed to insert object: {e}", exc_info=True)
|
383
|
-
raise
|
374
|
+
# Build and execute insert query for this object
|
375
|
+
insert_cql = f"""
|
376
|
+
INSERT INTO {safe_keyspace}.{safe_table} ({', '.join(columns)})
|
377
|
+
VALUES ({', '.join(placeholders)})
|
378
|
+
"""
|
379
|
+
|
380
|
+
# Debug: Show data being inserted
|
381
|
+
logger.debug(f"Storing {obj.schema_name} object {obj_index}: {dict(zip(columns, values))}")
|
382
|
+
|
383
|
+
if len(columns) != len(values) or len(columns) != len(placeholders):
|
384
|
+
raise ValueError(f"Mismatch in counts - columns: {len(columns)}, values: {len(values)}, placeholders: {len(placeholders)}")
|
385
|
+
|
386
|
+
try:
|
387
|
+
# Convert to tuple - Cassandra driver requires tuple for parameters
|
388
|
+
self.session.execute(insert_cql, tuple(values))
|
389
|
+
except Exception as e:
|
390
|
+
logger.error(f"Failed to insert object {obj_index}: {e}", exc_info=True)
|
391
|
+
raise
|
384
392
|
|
385
393
|
def close(self):
|
386
394
|
"""Clean up Cassandra connections"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.13
|
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__ = "1.3.11"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/mistral_ocr/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/decoding/mistral_ocr/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/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-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/direct/milvus_object_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/embeddings/graph_embeddings/__main__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/definitions/extract.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/relationships/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/extract/kg/relationships/extract.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-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/core_export.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/core_import.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/document_load.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/document_rag.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
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/objects_query.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/structured_query.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/text_completion.py
RENAMED
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/triples_export.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/triples_import.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/dispatch/triples_query.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/constant_endpoint.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/stream_endpoint.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/endpoint/variable_endpoint.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/gateway/unused/internet_search.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-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/azure/llm.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.11 → trustgraph_flow-1.3.13}/trustgraph/model/text_completion/claude/llm.py
RENAMED
File without changes
|
File without changes
|