trustgraph-flow 1.3.3__tar.gz → 1.3.5__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.3 → trustgraph_flow-1.3.5}/PKG-INFO +1 -1
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/config/service/config.py +2 -2
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/config/service/service.py +3 -3
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/cores/knowledge.py +2 -2
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/cores/service.py +2 -2
- trustgraph_flow-1.3.5/trustgraph/flow_version.py +1 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/librarian/librarian.py +2 -2
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/librarian/service.py +3 -3
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/objects/cassandra/service.py +25 -30
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/cassandra/service.py +11 -11
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/knowledge/store.py +2 -2
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/objects/cassandra/write.py +14 -14
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/rows/cassandra/write.py +4 -4
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/cassandra/write.py +11 -11
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/tables/config.py +3 -3
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/tables/knowledge.py +3 -3
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/tables/library.py +3 -3
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph_flow.egg-info/PKG-INFO +1 -1
- trustgraph_flow-1.3.3/trustgraph/flow_version.py +0 -1
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/README.md +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/pyproject.toml +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/setup.cfg +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/mcp_tool/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/mcp_tool/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/mcp_tool/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/react/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/react/types.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/agent/tool_filter.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/config/service/flow.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/cores/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/cores/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/external/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/agent/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/agent/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/agent/extract.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/objects/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/objects/processor.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/auth.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/manager.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/objects_query.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/running.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/metering/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/metering/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/metering/counter.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/model/text_completion/vllm/llm.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/processing/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/processing/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/processing/processing.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/prompt/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/prompt/template/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/prompt/template/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/prompt/template/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/objects/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/objects/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/rev_gateway/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/rev_gateway/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/rev_gateway/dispatcher.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/rev_gateway/service.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/objects/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/objects/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/tables/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/template/__init__.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/template/prompt_manager.py +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph_flow.egg-info/entry_points.txt +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/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.5
|
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
|
@@ -45,13 +45,13 @@ class Configuration:
|
|
45
45
|
|
46
46
|
# FIXME: Some version vs config race conditions
|
47
47
|
|
48
|
-
def __init__(self, push, host,
|
48
|
+
def __init__(self, push, host, username, password, keyspace):
|
49
49
|
|
50
50
|
# External function to respond to update
|
51
51
|
self.push = push
|
52
52
|
|
53
53
|
self.table_store = ConfigTableStore(
|
54
|
-
host,
|
54
|
+
host, username, password, keyspace
|
55
55
|
)
|
56
56
|
|
57
57
|
async def inc_version(self):
|
@@ -61,7 +61,7 @@ class Processor(AsyncProcessor):
|
|
61
61
|
)
|
62
62
|
|
63
63
|
cassandra_host = params.get("cassandra_host", default_cassandra_host)
|
64
|
-
|
64
|
+
cassandra_username = params.get("cassandra_username")
|
65
65
|
cassandra_password = params.get("cassandra_password")
|
66
66
|
|
67
67
|
id = params.get("id")
|
@@ -77,7 +77,7 @@ class Processor(AsyncProcessor):
|
|
77
77
|
"flow_request_schema": FlowRequest.__name__,
|
78
78
|
"flow_response_schema": FlowResponse.__name__,
|
79
79
|
"cassandra_host": cassandra_host,
|
80
|
-
"
|
80
|
+
"cassandra_username": cassandra_username,
|
81
81
|
}
|
82
82
|
)
|
83
83
|
|
@@ -143,7 +143,7 @@ class Processor(AsyncProcessor):
|
|
143
143
|
|
144
144
|
self.config = Configuration(
|
145
145
|
host = cassandra_host.split(","),
|
146
|
-
|
146
|
+
username = cassandra_username,
|
147
147
|
password = cassandra_password,
|
148
148
|
keyspace = keyspace,
|
149
149
|
push = self.push
|
@@ -16,12 +16,12 @@ logger = logging.getLogger(__name__)
|
|
16
16
|
class KnowledgeManager:
|
17
17
|
|
18
18
|
def __init__(
|
19
|
-
self, cassandra_host,
|
19
|
+
self, cassandra_host, cassandra_username, cassandra_password,
|
20
20
|
keyspace, flow_config,
|
21
21
|
):
|
22
22
|
|
23
23
|
self.table_store = KnowledgeTableStore(
|
24
|
-
cassandra_host,
|
24
|
+
cassandra_host, cassandra_username, cassandra_password, keyspace
|
25
25
|
)
|
26
26
|
|
27
27
|
self.loader_queue = asyncio.Queue(maxsize=20)
|
@@ -50,7 +50,7 @@ class Processor(AsyncProcessor):
|
|
50
50
|
)
|
51
51
|
|
52
52
|
cassandra_host = params.get("cassandra_host", default_cassandra_host)
|
53
|
-
|
53
|
+
cassandra_username = params.get("cassandra_username")
|
54
54
|
cassandra_password = params.get("cassandra_password")
|
55
55
|
|
56
56
|
super(Processor, self).__init__(
|
@@ -90,7 +90,7 @@ class Processor(AsyncProcessor):
|
|
90
90
|
|
91
91
|
self.knowledge = KnowledgeManager(
|
92
92
|
cassandra_host = cassandra_host.split(","),
|
93
|
-
|
93
|
+
cassandra_username = cassandra_username,
|
94
94
|
cassandra_password = cassandra_password,
|
95
95
|
keyspace = keyspace,
|
96
96
|
flow_config = self,
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "1.3.5"
|
@@ -16,7 +16,7 @@ class Librarian:
|
|
16
16
|
|
17
17
|
def __init__(
|
18
18
|
self,
|
19
|
-
cassandra_host,
|
19
|
+
cassandra_host, cassandra_username, cassandra_password,
|
20
20
|
minio_host, minio_access_key, minio_secret_key,
|
21
21
|
bucket_name, keyspace, load_document,
|
22
22
|
):
|
@@ -26,7 +26,7 @@ class Librarian:
|
|
26
26
|
)
|
27
27
|
|
28
28
|
self.table_store = LibraryTableStore(
|
29
|
-
cassandra_host,
|
29
|
+
cassandra_host, cassandra_username, cassandra_password, keyspace
|
30
30
|
)
|
31
31
|
|
32
32
|
self.load_document = load_document
|
@@ -67,7 +67,7 @@ class Processor(AsyncProcessor):
|
|
67
67
|
)
|
68
68
|
|
69
69
|
cassandra_host = params.get("cassandra_host", default_cassandra_host)
|
70
|
-
|
70
|
+
cassandra_username = params.get("cassandra_username")
|
71
71
|
cassandra_password = params.get("cassandra_password")
|
72
72
|
|
73
73
|
super(Processor, self).__init__(
|
@@ -77,7 +77,7 @@ class Processor(AsyncProcessor):
|
|
77
77
|
"minio_host": minio_host,
|
78
78
|
"minio_access_key": minio_access_key,
|
79
79
|
"cassandra_host": cassandra_host,
|
80
|
-
"
|
80
|
+
"cassandra_username": cassandra_username,
|
81
81
|
}
|
82
82
|
)
|
83
83
|
|
@@ -109,7 +109,7 @@ class Processor(AsyncProcessor):
|
|
109
109
|
|
110
110
|
self.librarian = Librarian(
|
111
111
|
cassandra_host = cassandra_host.split(","),
|
112
|
-
|
112
|
+
cassandra_username = cassandra_username,
|
113
113
|
cassandra_password = cassandra_password,
|
114
114
|
minio_host = minio_host,
|
115
115
|
minio_access_key = minio_access_key,
|
{trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/objects/cassandra/service.py
RENAMED
@@ -21,12 +21,12 @@ from strawberry.tools import create_type
|
|
21
21
|
from .... schema import ObjectsQueryRequest, ObjectsQueryResponse, GraphQLError
|
22
22
|
from .... schema import Error, RowSchema, Field as SchemaField
|
23
23
|
from .... base import FlowProcessor, ConsumerSpec, ProducerSpec
|
24
|
+
from .... base.cassandra_config import add_cassandra_args, resolve_cassandra_config
|
24
25
|
|
25
26
|
# Module logger
|
26
27
|
logger = logging.getLogger(__name__)
|
27
28
|
|
28
29
|
default_ident = "objects-query"
|
29
|
-
default_graph_host = 'localhost'
|
30
30
|
|
31
31
|
# GraphQL filter input types
|
32
32
|
@strawberry.input
|
@@ -68,10 +68,22 @@ class Processor(FlowProcessor):
|
|
68
68
|
|
69
69
|
id = params.get("id", default_ident)
|
70
70
|
|
71
|
-
# Cassandra
|
72
|
-
|
73
|
-
|
74
|
-
|
71
|
+
# Get Cassandra parameters
|
72
|
+
cassandra_host = params.get("cassandra_host")
|
73
|
+
cassandra_username = params.get("cassandra_username")
|
74
|
+
cassandra_password = params.get("cassandra_password")
|
75
|
+
|
76
|
+
# Resolve configuration with environment variable fallback
|
77
|
+
hosts, username, password = resolve_cassandra_config(
|
78
|
+
host=cassandra_host,
|
79
|
+
username=cassandra_username,
|
80
|
+
password=cassandra_password
|
81
|
+
)
|
82
|
+
|
83
|
+
# Store resolved configuration with proper names
|
84
|
+
self.cassandra_host = hosts # Store as list
|
85
|
+
self.cassandra_username = username
|
86
|
+
self.cassandra_password = password
|
75
87
|
|
76
88
|
# Config key for schemas
|
77
89
|
self.config_key = params.get("config_type", "schema")
|
@@ -124,20 +136,20 @@ class Processor(FlowProcessor):
|
|
124
136
|
return
|
125
137
|
|
126
138
|
try:
|
127
|
-
if self.
|
139
|
+
if self.cassandra_username and self.cassandra_password:
|
128
140
|
auth_provider = PlainTextAuthProvider(
|
129
|
-
username=self.
|
130
|
-
password=self.
|
141
|
+
username=self.cassandra_username,
|
142
|
+
password=self.cassandra_password
|
131
143
|
)
|
132
144
|
self.cluster = Cluster(
|
133
|
-
contact_points=
|
145
|
+
contact_points=self.cassandra_host,
|
134
146
|
auth_provider=auth_provider
|
135
147
|
)
|
136
148
|
else:
|
137
|
-
self.cluster = Cluster(contact_points=
|
149
|
+
self.cluster = Cluster(contact_points=self.cassandra_host)
|
138
150
|
|
139
151
|
self.session = self.cluster.connect()
|
140
|
-
logger.info(f"Connected to Cassandra cluster at {self.
|
152
|
+
logger.info(f"Connected to Cassandra cluster at {self.cassandra_host}")
|
141
153
|
|
142
154
|
except Exception as e:
|
143
155
|
logger.error(f"Failed to connect to Cassandra: {e}", exc_info=True)
|
@@ -399,7 +411,6 @@ class Processor(FlowProcessor):
|
|
399
411
|
def make_resolver(s_name, r_schema, g_type, f_type, sort_enum):
|
400
412
|
async def resolver(
|
401
413
|
info: Info,
|
402
|
-
collection: str,
|
403
414
|
where: Optional[f_type] = None,
|
404
415
|
order_by: Optional[str] = None,
|
405
416
|
direction: Optional[sort_enum] = None,
|
@@ -408,6 +419,7 @@ class Processor(FlowProcessor):
|
|
408
419
|
# Get the processor instance from context
|
409
420
|
processor = info.context["processor"]
|
410
421
|
user = info.context["user"]
|
422
|
+
collection = info.context["collection"]
|
411
423
|
|
412
424
|
# Parse the idiomatic where clause
|
413
425
|
filters = processor.parse_idiomatic_where_clause(where)
|
@@ -712,24 +724,7 @@ class Processor(FlowProcessor):
|
|
712
724
|
"""Add command-line arguments"""
|
713
725
|
|
714
726
|
FlowProcessor.add_args(parser)
|
715
|
-
|
716
|
-
parser.add_argument(
|
717
|
-
'-g', '--graph-host',
|
718
|
-
default=default_graph_host,
|
719
|
-
help=f'Cassandra host (default: {default_graph_host})'
|
720
|
-
)
|
721
|
-
|
722
|
-
parser.add_argument(
|
723
|
-
'--graph-username',
|
724
|
-
default=None,
|
725
|
-
help='Cassandra username'
|
726
|
-
)
|
727
|
-
|
728
|
-
parser.add_argument(
|
729
|
-
'--graph-password',
|
730
|
-
default=None,
|
731
|
-
help='Cassandra password'
|
732
|
-
)
|
727
|
+
add_cassandra_args(parser)
|
733
728
|
|
734
729
|
parser.add_argument(
|
735
730
|
'--config-type',
|
{trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/query/triples/cassandra/service.py
RENAMED
@@ -22,10 +22,10 @@ class Processor(TriplesQueryService):
|
|
22
22
|
|
23
23
|
def __init__(self, **params):
|
24
24
|
|
25
|
-
#
|
26
|
-
cassandra_host = params.get("cassandra_host"
|
27
|
-
cassandra_username = params.get("cassandra_username"
|
28
|
-
cassandra_password = params.get("cassandra_password"
|
25
|
+
# Get Cassandra parameters
|
26
|
+
cassandra_host = params.get("cassandra_host")
|
27
|
+
cassandra_username = params.get("cassandra_username")
|
28
|
+
cassandra_password = params.get("cassandra_password")
|
29
29
|
|
30
30
|
# Resolve configuration with environment variable fallback
|
31
31
|
hosts, username, password = resolve_cassandra_config(
|
@@ -41,9 +41,9 @@ class Processor(TriplesQueryService):
|
|
41
41
|
}
|
42
42
|
)
|
43
43
|
|
44
|
-
self.
|
45
|
-
self.
|
46
|
-
self.
|
44
|
+
self.cassandra_host = hosts
|
45
|
+
self.cassandra_username = username
|
46
|
+
self.cassandra_password = password
|
47
47
|
self.table = None
|
48
48
|
|
49
49
|
def create_value(self, ent):
|
@@ -59,15 +59,15 @@ class Processor(TriplesQueryService):
|
|
59
59
|
table = (query.user, query.collection)
|
60
60
|
|
61
61
|
if table != self.table:
|
62
|
-
if self.
|
62
|
+
if self.cassandra_username and self.cassandra_password:
|
63
63
|
self.tg = TrustGraph(
|
64
|
-
hosts=self.
|
64
|
+
hosts=self.cassandra_host,
|
65
65
|
keyspace=query.user, table=query.collection,
|
66
|
-
username=self.
|
66
|
+
username=self.cassandra_username, password=self.cassandra_password
|
67
67
|
)
|
68
68
|
else:
|
69
69
|
self.tg = TrustGraph(
|
70
|
-
hosts=self.
|
70
|
+
hosts=self.cassandra_host,
|
71
71
|
keyspace=query.user, table=query.collection,
|
72
72
|
)
|
73
73
|
self.table = table
|
@@ -25,7 +25,7 @@ class Processor(FlowProcessor):
|
|
25
25
|
# Use helper to resolve configuration
|
26
26
|
hosts, username, password = resolve_cassandra_config(
|
27
27
|
host=params.get("cassandra_host"),
|
28
|
-
username=params.get("
|
28
|
+
username=params.get("cassandra_username"),
|
29
29
|
password=params.get("cassandra_password")
|
30
30
|
)
|
31
31
|
|
@@ -55,7 +55,7 @@ class Processor(FlowProcessor):
|
|
55
55
|
|
56
56
|
self.table_store = KnowledgeTableStore(
|
57
57
|
cassandra_host = hosts,
|
58
|
-
|
58
|
+
cassandra_username = username,
|
59
59
|
cassandra_password = password,
|
60
60
|
keyspace = keyspace,
|
61
61
|
)
|
{trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/objects/cassandra/write.py
RENAMED
@@ -27,10 +27,10 @@ class Processor(FlowProcessor):
|
|
27
27
|
|
28
28
|
id = params.get("id", default_ident)
|
29
29
|
|
30
|
-
#
|
31
|
-
cassandra_host = params.get("cassandra_host"
|
32
|
-
cassandra_username = params.get("cassandra_username"
|
33
|
-
cassandra_password = params.get("cassandra_password"
|
30
|
+
# Get Cassandra parameters
|
31
|
+
cassandra_host = params.get("cassandra_host")
|
32
|
+
cassandra_username = params.get("cassandra_username")
|
33
|
+
cassandra_password = params.get("cassandra_password")
|
34
34
|
|
35
35
|
# Resolve configuration with environment variable fallback
|
36
36
|
hosts, username, password = resolve_cassandra_config(
|
@@ -39,10 +39,10 @@ class Processor(FlowProcessor):
|
|
39
39
|
password=cassandra_password
|
40
40
|
)
|
41
41
|
|
42
|
-
# Store resolved configuration
|
43
|
-
self.
|
44
|
-
self.
|
45
|
-
self.
|
42
|
+
# Store resolved configuration with proper names
|
43
|
+
self.cassandra_host = hosts # Store as list
|
44
|
+
self.cassandra_username = username
|
45
|
+
self.cassandra_password = password
|
46
46
|
|
47
47
|
# Config key for schemas
|
48
48
|
self.config_key = params.get("config_type", "schema")
|
@@ -82,20 +82,20 @@ class Processor(FlowProcessor):
|
|
82
82
|
return
|
83
83
|
|
84
84
|
try:
|
85
|
-
if self.
|
85
|
+
if self.cassandra_username and self.cassandra_password:
|
86
86
|
auth_provider = PlainTextAuthProvider(
|
87
|
-
username=self.
|
88
|
-
password=self.
|
87
|
+
username=self.cassandra_username,
|
88
|
+
password=self.cassandra_password
|
89
89
|
)
|
90
90
|
self.cluster = Cluster(
|
91
|
-
contact_points=self.
|
91
|
+
contact_points=self.cassandra_host,
|
92
92
|
auth_provider=auth_provider
|
93
93
|
)
|
94
94
|
else:
|
95
|
-
self.cluster = Cluster(contact_points=self.
|
95
|
+
self.cluster = Cluster(contact_points=self.cassandra_host)
|
96
96
|
|
97
97
|
self.session = self.cluster.connect()
|
98
|
-
logger.info(f"Connected to Cassandra cluster at {self.
|
98
|
+
logger.info(f"Connected to Cassandra cluster at {self.cassandra_host}")
|
99
99
|
|
100
100
|
except Exception as e:
|
101
101
|
logger.error(f"Failed to connect to Cassandra: {e}", exc_info=True)
|
@@ -36,10 +36,10 @@ class Processor(Consumer):
|
|
36
36
|
input_queue = params.get("input_queue", default_input_queue)
|
37
37
|
subscriber = params.get("subscriber", default_subscriber)
|
38
38
|
|
39
|
-
#
|
40
|
-
cassandra_host = params.get("cassandra_host"
|
41
|
-
cassandra_username = params.get("cassandra_username"
|
42
|
-
cassandra_password = params.get("cassandra_password"
|
39
|
+
# Get Cassandra parameters
|
40
|
+
cassandra_host = params.get("cassandra_host")
|
41
|
+
cassandra_username = params.get("cassandra_username")
|
42
|
+
cassandra_password = params.get("cassandra_password")
|
43
43
|
|
44
44
|
# Resolve configuration with environment variable fallback
|
45
45
|
hosts, username, password = resolve_cassandra_config(
|
{trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/storage/triples/cassandra/write.py
RENAMED
@@ -26,10 +26,10 @@ class Processor(TriplesStoreService):
|
|
26
26
|
|
27
27
|
id = params.get("id", default_ident)
|
28
28
|
|
29
|
-
#
|
30
|
-
cassandra_host = params.get("cassandra_host"
|
31
|
-
cassandra_username = params.get("cassandra_username"
|
32
|
-
cassandra_password = params.get("cassandra_password"
|
29
|
+
# Get Cassandra parameters
|
30
|
+
cassandra_host = params.get("cassandra_host")
|
31
|
+
cassandra_username = params.get("cassandra_username")
|
32
|
+
cassandra_password = params.get("cassandra_password")
|
33
33
|
|
34
34
|
# Resolve configuration with environment variable fallback
|
35
35
|
hosts, username, password = resolve_cassandra_config(
|
@@ -45,9 +45,9 @@ class Processor(TriplesStoreService):
|
|
45
45
|
}
|
46
46
|
)
|
47
47
|
|
48
|
-
self.
|
49
|
-
self.
|
50
|
-
self.
|
48
|
+
self.cassandra_host = hosts
|
49
|
+
self.cassandra_username = username
|
50
|
+
self.cassandra_password = password
|
51
51
|
self.table = None
|
52
52
|
|
53
53
|
async def store_triples(self, message):
|
@@ -59,16 +59,16 @@ class Processor(TriplesStoreService):
|
|
59
59
|
self.tg = None
|
60
60
|
|
61
61
|
try:
|
62
|
-
if self.
|
62
|
+
if self.cassandra_username and self.cassandra_password:
|
63
63
|
self.tg = TrustGraph(
|
64
|
-
hosts=self.
|
64
|
+
hosts=self.cassandra_host,
|
65
65
|
keyspace=message.metadata.user,
|
66
66
|
table=message.metadata.collection,
|
67
|
-
username=self.
|
67
|
+
username=self.cassandra_username, password=self.cassandra_password
|
68
68
|
)
|
69
69
|
else:
|
70
70
|
self.tg = TrustGraph(
|
71
|
-
hosts=self.
|
71
|
+
hosts=self.cassandra_host,
|
72
72
|
keyspace=message.metadata.user,
|
73
73
|
table=message.metadata.collection,
|
74
74
|
)
|
@@ -17,7 +17,7 @@ class ConfigTableStore:
|
|
17
17
|
|
18
18
|
def __init__(
|
19
19
|
self,
|
20
|
-
cassandra_host,
|
20
|
+
cassandra_host, cassandra_username, cassandra_password, keyspace,
|
21
21
|
):
|
22
22
|
|
23
23
|
self.keyspace = keyspace
|
@@ -28,10 +28,10 @@ class ConfigTableStore:
|
|
28
28
|
if isinstance(cassandra_host, str):
|
29
29
|
cassandra_host = [h.strip() for h in cassandra_host.split(',')]
|
30
30
|
|
31
|
-
if
|
31
|
+
if cassandra_username and cassandra_password:
|
32
32
|
ssl_context = SSLContext(PROTOCOL_TLSv1_2)
|
33
33
|
auth_provider = PlainTextAuthProvider(
|
34
|
-
username=
|
34
|
+
username=cassandra_username, password=cassandra_password
|
35
35
|
)
|
36
36
|
self.cluster = Cluster(
|
37
37
|
cassandra_host,
|
@@ -17,7 +17,7 @@ class KnowledgeTableStore:
|
|
17
17
|
|
18
18
|
def __init__(
|
19
19
|
self,
|
20
|
-
cassandra_host,
|
20
|
+
cassandra_host, cassandra_username, cassandra_password, keyspace,
|
21
21
|
):
|
22
22
|
|
23
23
|
self.keyspace = keyspace
|
@@ -28,10 +28,10 @@ class KnowledgeTableStore:
|
|
28
28
|
if isinstance(cassandra_host, str):
|
29
29
|
cassandra_host = [h.strip() for h in cassandra_host.split(',')]
|
30
30
|
|
31
|
-
if
|
31
|
+
if cassandra_username and cassandra_password:
|
32
32
|
ssl_context = SSLContext(PROTOCOL_TLSv1_2)
|
33
33
|
auth_provider = PlainTextAuthProvider(
|
34
|
-
username=
|
34
|
+
username=cassandra_username, password=cassandra_password
|
35
35
|
)
|
36
36
|
self.cluster = Cluster(
|
37
37
|
cassandra_host,
|
@@ -21,7 +21,7 @@ class LibraryTableStore:
|
|
21
21
|
|
22
22
|
def __init__(
|
23
23
|
self,
|
24
|
-
cassandra_host,
|
24
|
+
cassandra_host, cassandra_username, cassandra_password, keyspace,
|
25
25
|
):
|
26
26
|
|
27
27
|
self.keyspace = keyspace
|
@@ -32,10 +32,10 @@ class LibraryTableStore:
|
|
32
32
|
if isinstance(cassandra_host, str):
|
33
33
|
cassandra_host = [h.strip() for h in cassandra_host.split(',')]
|
34
34
|
|
35
|
-
if
|
35
|
+
if cassandra_username and cassandra_password:
|
36
36
|
ssl_context = SSLContext(PROTOCOL_TLSv1_2)
|
37
37
|
auth_provider = PlainTextAuthProvider(
|
38
|
-
username=
|
38
|
+
username=cassandra_username, password=cassandra_password
|
39
39
|
)
|
40
40
|
self.cluster = Cluster(
|
41
41
|
cassandra_host,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.5
|
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.3"
|
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.3 → trustgraph_flow-1.3.5}/trustgraph/decoding/mistral_ocr/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/direct/milvus_object_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-1.3.3 → trustgraph_flow-1.3.5}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|