trustgraph-flow 0.20.11__tar.gz → 0.21.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/PKG-INFO +2 -2
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/setup.py +1 -1
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/cassandra.py +7 -2
- trustgraph-flow-0.21.0/trustgraph/flow_version.py +1 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/qdrant/service.py +11 -2
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/qdrant/service.py +10 -2
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/cassandra/service.py +30 -4
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/qdrant/write.py +9 -1
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/qdrant/write.py +9 -1
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/rows/cassandra/write.py +22 -2
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/cassandra/write.py +30 -5
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph_flow.egg-info/requires.txt +1 -1
- trustgraph-flow-0.20.11/trustgraph/flow_version.py +0 -1
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/README.md +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/agent-manager-react +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/api-gateway +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/chunker-recursive +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/chunker-token +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/de-query-milvus +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/de-query-pinecone +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/de-query-qdrant +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/de-write-milvus +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/de-write-pinecone +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/de-write-qdrant +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/document-embeddings +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/document-rag +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/embeddings-fastembed +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/embeddings-ollama +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/ge-query-milvus +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/ge-query-pinecone +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/ge-query-qdrant +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/ge-write-milvus +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/ge-write-pinecone +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/ge-write-qdrant +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/graph-embeddings +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/graph-rag +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/kg-extract-definitions +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/kg-extract-relationships +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/kg-extract-topics +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/metering +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/object-extract-row +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/oe-write-milvus +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/pdf-decoder +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/prompt-generic +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/prompt-template +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/rows-write-cassandra +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/run-processing +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-azure +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-azure-openai +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-claude +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-cohere +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-googleaistudio +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-llamafile +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-ollama +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/text-completion-openai +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-query-cassandra +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-query-falkordb +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-query-memgraph +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-query-neo4j +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-write-cassandra +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-write-falkordb +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-write-memgraph +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/triples-write-neo4j +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/scripts/wikipedia-lookup +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/setup.cfg +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/react/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/agent/react/types.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/document_rag.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/external/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/object/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/object/row/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/object/row/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/extract/object/row/extract.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/agent.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/auth.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/dbpedia.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/document_embeddings_load.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/document_embeddings_stream.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/document_load.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/document_rag.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/embeddings.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/encyclopedia.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/endpoint.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/graph_embeddings_load.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/graph_embeddings_query.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/graph_embeddings_stream.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/graph_rag.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/internet_search.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/metrics.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/mux.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/prompt.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/publisher.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/requestor.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/running.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/sender.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/serialize.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/socket.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/subscriber.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/text_completion.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/text_load.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/triples_load.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/triples_query.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/gateway/triples_stream.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/graph_rag.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/metering/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/metering/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/metering/counter.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/metering/pricelist.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/generic/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/generic/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/generic/prompts.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/generic/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/template/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/template/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/prompt/template/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/processing/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/processing/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/processing/processing.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph_flow.egg-info/top_level.txt +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.21.0
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
5
5
|
Home-page: https://github.com/trustgraph-ai/trustgraph
|
6
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.21.0.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -34,7 +34,7 @@ setuptools.setup(
|
|
34
34
|
python_requires='>=3.8',
|
35
35
|
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
36
36
|
install_requires=[
|
37
|
-
"trustgraph-base>=0.
|
37
|
+
"trustgraph-base>=0.21,<0.22",
|
38
38
|
"aiohttp",
|
39
39
|
"anthropic",
|
40
40
|
"cassandra-driver",
|
@@ -6,7 +6,7 @@ class TrustGraph:
|
|
6
6
|
|
7
7
|
def __init__(
|
8
8
|
self, hosts=None,
|
9
|
-
keyspace="trustgraph", table="default",
|
9
|
+
keyspace="trustgraph", table="default", username=None, password=None
|
10
10
|
):
|
11
11
|
|
12
12
|
if hosts is None:
|
@@ -14,8 +14,13 @@ class TrustGraph:
|
|
14
14
|
|
15
15
|
self.keyspace = keyspace
|
16
16
|
self.table = table
|
17
|
+
self.username = username
|
17
18
|
|
18
|
-
|
19
|
+
if username and password:
|
20
|
+
auth_provider = PlainTextAuthProvider(username=username, password=password)
|
21
|
+
self.cluster = Cluster(hosts, auth_provider=auth_provider)
|
22
|
+
else:
|
23
|
+
self.cluster = Cluster(hosts)
|
19
24
|
self.session = self.cluster.connect()
|
20
25
|
|
21
26
|
self.init()
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.21.0"
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/doc_embeddings/qdrant/service.py
RENAMED
@@ -30,6 +30,8 @@ class Processor(ConsumerProducer):
|
|
30
30
|
output_queue = params.get("output_queue", default_output_queue)
|
31
31
|
subscriber = params.get("subscriber", default_subscriber)
|
32
32
|
store_uri = params.get("store_uri", default_store_uri)
|
33
|
+
#optional api key
|
34
|
+
api_key = params.get("api_key", None)
|
33
35
|
|
34
36
|
super(Processor, self).__init__(
|
35
37
|
**params | {
|
@@ -39,10 +41,11 @@ class Processor(ConsumerProducer):
|
|
39
41
|
"input_schema": DocumentEmbeddingsRequest,
|
40
42
|
"output_schema": DocumentEmbeddingsResponse,
|
41
43
|
"store_uri": store_uri,
|
44
|
+
"api_key": api_key,
|
42
45
|
}
|
43
46
|
)
|
44
47
|
|
45
|
-
self.client = QdrantClient(url=store_uri)
|
48
|
+
self.client = QdrantClient(url=store_uri, api_key=api_key)
|
46
49
|
|
47
50
|
def handle(self, msg):
|
48
51
|
|
@@ -111,7 +114,13 @@ class Processor(ConsumerProducer):
|
|
111
114
|
parser.add_argument(
|
112
115
|
'-t', '--store-uri',
|
113
116
|
default=default_store_uri,
|
114
|
-
help=f'
|
117
|
+
help=f'Qdrant store URI (default: {default_store_uri})'
|
118
|
+
)
|
119
|
+
|
120
|
+
parser.add_argument(
|
121
|
+
'-k', '--api-key',
|
122
|
+
default=None,
|
123
|
+
help=f'API key for qdrant (default: None)'
|
115
124
|
)
|
116
125
|
|
117
126
|
def run():
|
@@ -30,6 +30,7 @@ class Processor(ConsumerProducer):
|
|
30
30
|
output_queue = params.get("output_queue", default_output_queue)
|
31
31
|
subscriber = params.get("subscriber", default_subscriber)
|
32
32
|
store_uri = params.get("store_uri", default_store_uri)
|
33
|
+
api_key = params.get("api_key", None)
|
33
34
|
|
34
35
|
super(Processor, self).__init__(
|
35
36
|
**params | {
|
@@ -39,10 +40,11 @@ class Processor(ConsumerProducer):
|
|
39
40
|
"input_schema": GraphEmbeddingsRequest,
|
40
41
|
"output_schema": GraphEmbeddingsResponse,
|
41
42
|
"store_uri": store_uri,
|
43
|
+
"api_key": api_key,
|
42
44
|
}
|
43
45
|
)
|
44
46
|
|
45
|
-
self.client = QdrantClient(url=store_uri)
|
47
|
+
self.client = QdrantClient(url=store_uri, api_key=api_key)
|
46
48
|
|
47
49
|
def create_value(self, ent):
|
48
50
|
if ent.startswith("http://") or ent.startswith("https://"):
|
@@ -137,7 +139,13 @@ class Processor(ConsumerProducer):
|
|
137
139
|
parser.add_argument(
|
138
140
|
'-t', '--store-uri',
|
139
141
|
default=default_store_uri,
|
140
|
-
help=f'
|
142
|
+
help=f'Qdrant store URI (default: {default_store_uri})'
|
143
|
+
)
|
144
|
+
|
145
|
+
parser.add_argument(
|
146
|
+
'-k', '--api-key',
|
147
|
+
default=None,
|
148
|
+
help=f'API key for qdrant (default: None)'
|
141
149
|
)
|
142
150
|
|
143
151
|
def run():
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/query/triples/cassandra/service.py
RENAMED
@@ -26,6 +26,8 @@ class Processor(ConsumerProducer):
|
|
26
26
|
output_queue = params.get("output_queue", default_output_queue)
|
27
27
|
subscriber = params.get("subscriber", default_subscriber)
|
28
28
|
graph_host = params.get("graph_host", default_graph_host)
|
29
|
+
graph_username = params.get("graph_username", None)
|
30
|
+
graph_password = params.get("graph_password", None)
|
29
31
|
|
30
32
|
super(Processor, self).__init__(
|
31
33
|
**params | {
|
@@ -35,10 +37,14 @@ class Processor(ConsumerProducer):
|
|
35
37
|
"input_schema": TriplesQueryRequest,
|
36
38
|
"output_schema": TriplesQueryResponse,
|
37
39
|
"graph_host": graph_host,
|
40
|
+
"graph_username": graph_username,
|
41
|
+
"graph_password": graph_password,
|
38
42
|
}
|
39
43
|
)
|
40
44
|
|
41
45
|
self.graph_host = [graph_host]
|
46
|
+
self.username = graph_username
|
47
|
+
self.password = graph_password
|
42
48
|
self.table = None
|
43
49
|
|
44
50
|
def create_value(self, ent):
|
@@ -56,10 +62,17 @@ class Processor(ConsumerProducer):
|
|
56
62
|
table = (v.user, v.collection)
|
57
63
|
|
58
64
|
if table != self.table:
|
59
|
-
self.
|
60
|
-
|
61
|
-
|
62
|
-
|
65
|
+
if self.username and self.password:
|
66
|
+
self.tg = TrustGraph(
|
67
|
+
hosts=self.graph_host,
|
68
|
+
keyspace=v.user, table=v.collection,
|
69
|
+
username=self.username, password=self.password
|
70
|
+
)
|
71
|
+
else:
|
72
|
+
self.tg = TrustGraph(
|
73
|
+
hosts=self.graph_host,
|
74
|
+
keyspace=v.user, table=v.collection,
|
75
|
+
)
|
63
76
|
self.table = table
|
64
77
|
|
65
78
|
# Sender-produced ID
|
@@ -176,6 +189,19 @@ class Processor(ConsumerProducer):
|
|
176
189
|
default="localhost",
|
177
190
|
help=f'Graph host (default: localhost)'
|
178
191
|
)
|
192
|
+
|
193
|
+
parser.add_argument(
|
194
|
+
'--graph-username',
|
195
|
+
default=None,
|
196
|
+
help=f'Cassandra username'
|
197
|
+
)
|
198
|
+
|
199
|
+
parser.add_argument(
|
200
|
+
'--graph-password',
|
201
|
+
default=None,
|
202
|
+
help=f'Cassandra password'
|
203
|
+
)
|
204
|
+
|
179
205
|
|
180
206
|
def run():
|
181
207
|
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/doc_embeddings/qdrant/write.py
RENAMED
@@ -26,6 +26,7 @@ class Processor(Consumer):
|
|
26
26
|
input_queue = params.get("input_queue", default_input_queue)
|
27
27
|
subscriber = params.get("subscriber", default_subscriber)
|
28
28
|
store_uri = params.get("store_uri", default_store_uri)
|
29
|
+
api_key = params.get("api_key", None)
|
29
30
|
|
30
31
|
super(Processor, self).__init__(
|
31
32
|
**params | {
|
@@ -33,6 +34,7 @@ class Processor(Consumer):
|
|
33
34
|
"subscriber": subscriber,
|
34
35
|
"input_schema": DocumentEmbeddings,
|
35
36
|
"store_uri": store_uri,
|
37
|
+
"api_key": api_key,
|
36
38
|
}
|
37
39
|
)
|
38
40
|
|
@@ -97,7 +99,13 @@ class Processor(Consumer):
|
|
97
99
|
parser.add_argument(
|
98
100
|
'-t', '--store-uri',
|
99
101
|
default=default_store_uri,
|
100
|
-
help=f'Qdrant
|
102
|
+
help=f'Qdrant URI (default: {default_store_uri})'
|
103
|
+
)
|
104
|
+
|
105
|
+
parser.add_argument(
|
106
|
+
'-k', '--api-key',
|
107
|
+
default=None,
|
108
|
+
help=f'Qdrant API key (default: None)'
|
101
109
|
)
|
102
110
|
|
103
111
|
def run():
|
@@ -26,6 +26,7 @@ class Processor(Consumer):
|
|
26
26
|
input_queue = params.get("input_queue", default_input_queue)
|
27
27
|
subscriber = params.get("subscriber", default_subscriber)
|
28
28
|
store_uri = params.get("store_uri", default_store_uri)
|
29
|
+
api_key = params.get("api_key", None)
|
29
30
|
|
30
31
|
super(Processor, self).__init__(
|
31
32
|
**params | {
|
@@ -33,12 +34,13 @@ class Processor(Consumer):
|
|
33
34
|
"subscriber": subscriber,
|
34
35
|
"input_schema": GraphEmbeddings,
|
35
36
|
"store_uri": store_uri,
|
37
|
+
"api_key": api_key,
|
36
38
|
}
|
37
39
|
)
|
38
40
|
|
39
41
|
self.last_collection = None
|
40
42
|
|
41
|
-
self.client = QdrantClient(url=store_uri)
|
43
|
+
self.client = QdrantClient(url=store_uri, api_key=api_key)
|
42
44
|
|
43
45
|
def get_collection(self, dim, user, collection):
|
44
46
|
|
@@ -106,6 +108,12 @@ class Processor(Consumer):
|
|
106
108
|
default=default_store_uri,
|
107
109
|
help=f'Qdrant store URI (default: {default_store_uri})'
|
108
110
|
)
|
111
|
+
|
112
|
+
parser.add_argument(
|
113
|
+
'-k', '--api-key',
|
114
|
+
default=None,
|
115
|
+
help=f'Qdrant API key'
|
116
|
+
)
|
109
117
|
|
110
118
|
def run():
|
111
119
|
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/rows/cassandra/write.py
RENAMED
@@ -29,6 +29,8 @@ class Processor(Consumer):
|
|
29
29
|
input_queue = params.get("input_queue", default_input_queue)
|
30
30
|
subscriber = params.get("subscriber", default_subscriber)
|
31
31
|
graph_host = params.get("graph_host", default_graph_host)
|
32
|
+
graph_username = params.get("graph_username", None)
|
33
|
+
graph_password = params.get("graph_password", None)
|
32
34
|
|
33
35
|
super(Processor, self).__init__(
|
34
36
|
**params | {
|
@@ -36,10 +38,16 @@ class Processor(Consumer):
|
|
36
38
|
"subscriber": subscriber,
|
37
39
|
"input_schema": Rows,
|
38
40
|
"graph_host": graph_host,
|
41
|
+
"graph_username": graph_username,
|
42
|
+
"graph_password": graph_password,
|
39
43
|
}
|
40
44
|
)
|
41
|
-
|
42
|
-
|
45
|
+
|
46
|
+
if graph_username and graph_password:
|
47
|
+
auth_provider = PlainTextAuthProvider(username=graph_username, password=graph_password)
|
48
|
+
self.cluster = Cluster(graph_host.split(","), auth_provider=auth_provider)
|
49
|
+
else:
|
50
|
+
self.cluster = Cluster(graph_host.split(","))
|
43
51
|
self.session = self.cluster.connect()
|
44
52
|
|
45
53
|
self.tables = set()
|
@@ -120,6 +128,18 @@ class Processor(Consumer):
|
|
120
128
|
default="localhost",
|
121
129
|
help=f'Graph host (default: localhost)'
|
122
130
|
)
|
131
|
+
|
132
|
+
parser.add_argument(
|
133
|
+
'--graph-username',
|
134
|
+
default=None,
|
135
|
+
help=f'Cassandra username'
|
136
|
+
)
|
137
|
+
|
138
|
+
parser.add_argument(
|
139
|
+
'--graph-password',
|
140
|
+
default=None,
|
141
|
+
help=f'Cassandra password'
|
142
|
+
)
|
123
143
|
|
124
144
|
def run():
|
125
145
|
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/storage/triples/cassandra/write.py
RENAMED
@@ -28,6 +28,8 @@ class Processor(Consumer):
|
|
28
28
|
input_queue = params.get("input_queue", default_input_queue)
|
29
29
|
subscriber = params.get("subscriber", default_subscriber)
|
30
30
|
graph_host = params.get("graph_host", default_graph_host)
|
31
|
+
graph_username = params.get("graph_username", None)
|
32
|
+
graph_password = params.get("graph_password", None)
|
31
33
|
|
32
34
|
super(Processor, self).__init__(
|
33
35
|
**params | {
|
@@ -35,10 +37,14 @@ class Processor(Consumer):
|
|
35
37
|
"subscriber": subscriber,
|
36
38
|
"input_schema": Triples,
|
37
39
|
"graph_host": graph_host,
|
40
|
+
"graph_username": graph_username,
|
41
|
+
"graph_password": graph_password,
|
38
42
|
}
|
39
43
|
)
|
40
|
-
|
44
|
+
|
41
45
|
self.graph_host = [graph_host]
|
46
|
+
self.username = graph_username
|
47
|
+
self.password = graph_password
|
42
48
|
self.table = None
|
43
49
|
|
44
50
|
def handle(self, msg):
|
@@ -52,10 +58,17 @@ class Processor(Consumer):
|
|
52
58
|
self.tg = None
|
53
59
|
|
54
60
|
try:
|
55
|
-
self.
|
56
|
-
|
57
|
-
|
58
|
-
|
61
|
+
if self.username and self.password:
|
62
|
+
self.tg = TrustGraph(
|
63
|
+
hosts=self.graph_host,
|
64
|
+
keyspace=v.metadata.user, table=v.metadata.collection,
|
65
|
+
username=self.username, password=self.password
|
66
|
+
)
|
67
|
+
else:
|
68
|
+
self.tg = TrustGraph(
|
69
|
+
hosts=self.graph_host,
|
70
|
+
keyspace=v.metadata.user, table=v.metadata.collection,
|
71
|
+
)
|
59
72
|
except Exception as e:
|
60
73
|
print("Exception", e, flush=True)
|
61
74
|
time.sleep(1)
|
@@ -82,6 +95,18 @@ class Processor(Consumer):
|
|
82
95
|
default="localhost",
|
83
96
|
help=f'Graph host (default: localhost)'
|
84
97
|
)
|
98
|
+
|
99
|
+
parser.add_argument(
|
100
|
+
'--graph-username',
|
101
|
+
default=None,
|
102
|
+
help=f'Cassandra username'
|
103
|
+
)
|
104
|
+
|
105
|
+
parser.add_argument(
|
106
|
+
'--graph-password',
|
107
|
+
default=None,
|
108
|
+
help=f'Cassandra password'
|
109
|
+
)
|
85
110
|
|
86
111
|
def run():
|
87
112
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.21.0
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
5
5
|
Home-page: https://github.com/trustgraph-ai/trustgraph
|
6
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.21.0.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.20.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
|
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-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/recursive/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/chunking/recursive/__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
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/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
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/embeddings/ollama/processor.py
RENAMED
File without changes
|
File without changes
|
{trustgraph-flow-0.20.11 → trustgraph-flow-0.21.0}/trustgraph/external/wikipedia/__init__.py
RENAMED
File without changes
|