trustgraph-flow 1.3.18__tar.gz → 1.3.20__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.18 → trustgraph_flow-1.3.20}/PKG-INFO +1 -1
- trustgraph_flow-1.3.20/trustgraph/flow_version.py +1 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/mux.py +2 -2
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/pinecone/service.py +35 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/qdrant/service.py +20 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/pinecone/service.py +35 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/qdrant/service.py +20 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph_flow.egg-info/PKG-INFO +1 -1
- trustgraph_flow-1.3.18/trustgraph/flow_version.py +0 -1
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/README.md +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/pyproject.toml +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/setup.cfg +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/mcp_tool/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/mcp_tool/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/mcp_tool/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/react/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/react/types.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/agent/tool_filter.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/config/service/config.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/config/service/flow.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/config/service/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/cores/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/cores/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/cores/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/direct/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/external/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/agent/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/agent/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/agent/extract.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/objects/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/objects/processor.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/auth.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/manager.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/mcp_tool.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/nlp_query.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/objects_import.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/objects_query.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/structured_query.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/running.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/librarian/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/metering/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/metering/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/metering/counter.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/vllm/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/vllm/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/vllm/llm.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/processing/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/processing/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/processing/processing.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/prompt/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/prompt/template/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/prompt/template/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/prompt/template/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/objects/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/objects/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/objects/cassandra/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/nlp_query/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/nlp_query/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/nlp_query/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/structured_query/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/structured_query/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/retrieval/structured_query/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/rev_gateway/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/rev_gateway/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/rev_gateway/dispatcher.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/rev_gateway/service.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/objects/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/objects/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/objects/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/objects/cassandra/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/tables/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/tables/config.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/tables/library.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/template/__init__.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/template/prompt_manager.py +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph_flow.egg-info/entry_points.txt +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/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.20
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "1.3.20"
|
@@ -147,7 +147,7 @@ class Mux:
|
|
147
147
|
self.running.stop()
|
148
148
|
|
149
149
|
if self.ws:
|
150
|
-
self.ws.close()
|
150
|
+
await self.ws.close()
|
151
151
|
self.ws = None
|
152
152
|
|
153
153
|
break
|
@@ -165,6 +165,6 @@ class Mux:
|
|
165
165
|
self.running.stop()
|
166
166
|
|
167
167
|
if self.ws:
|
168
|
-
self.ws.close()
|
168
|
+
await self.ws.close()
|
169
169
|
self.ws = None
|
170
170
|
|
@@ -47,6 +47,39 @@ class Processor(DocumentEmbeddingsQueryService):
|
|
47
47
|
}
|
48
48
|
)
|
49
49
|
|
50
|
+
self.last_index_name = None
|
51
|
+
|
52
|
+
def ensure_index_exists(self, index_name, dim):
|
53
|
+
"""Ensure index exists, create if it doesn't"""
|
54
|
+
if index_name != self.last_index_name:
|
55
|
+
if not self.pinecone.has_index(index_name):
|
56
|
+
try:
|
57
|
+
self.pinecone.create_index(
|
58
|
+
name=index_name,
|
59
|
+
dimension=dim,
|
60
|
+
metric="cosine",
|
61
|
+
spec=ServerlessSpec(
|
62
|
+
cloud="aws",
|
63
|
+
region="us-east-1",
|
64
|
+
)
|
65
|
+
)
|
66
|
+
logger.info(f"Created index: {index_name}")
|
67
|
+
|
68
|
+
# Wait for index to be ready
|
69
|
+
import time
|
70
|
+
for i in range(0, 1000):
|
71
|
+
if self.pinecone.describe_index(index_name).status["ready"]:
|
72
|
+
break
|
73
|
+
time.sleep(1)
|
74
|
+
|
75
|
+
if not self.pinecone.describe_index(index_name).status["ready"]:
|
76
|
+
raise RuntimeError("Gave up waiting for index creation")
|
77
|
+
|
78
|
+
except Exception as e:
|
79
|
+
logger.error(f"Pinecone index creation failed: {e}")
|
80
|
+
raise e
|
81
|
+
self.last_index_name = index_name
|
82
|
+
|
50
83
|
async def query_document_embeddings(self, msg):
|
51
84
|
|
52
85
|
try:
|
@@ -65,6 +98,8 @@ class Processor(DocumentEmbeddingsQueryService):
|
|
65
98
|
"d-" + msg.user + "-" + msg.collection + "-" + str(dim)
|
66
99
|
)
|
67
100
|
|
101
|
+
self.ensure_index_exists(index_name, dim)
|
102
|
+
|
68
103
|
index = self.pinecone.Index(index_name)
|
69
104
|
|
70
105
|
results = index.query(
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/query/doc_embeddings/qdrant/service.py
RENAMED
@@ -38,6 +38,24 @@ class Processor(DocumentEmbeddingsQueryService):
|
|
38
38
|
)
|
39
39
|
|
40
40
|
self.qdrant = QdrantClient(url=store_uri, api_key=api_key)
|
41
|
+
self.last_collection = None
|
42
|
+
|
43
|
+
def ensure_collection_exists(self, collection, dim):
|
44
|
+
"""Ensure collection exists, create if it doesn't"""
|
45
|
+
if collection != self.last_collection:
|
46
|
+
if not self.qdrant.collection_exists(collection):
|
47
|
+
try:
|
48
|
+
self.qdrant.create_collection(
|
49
|
+
collection_name=collection,
|
50
|
+
vectors_config=VectorParams(
|
51
|
+
size=dim, distance=Distance.COSINE
|
52
|
+
),
|
53
|
+
)
|
54
|
+
logger.info(f"Created collection: {collection}")
|
55
|
+
except Exception as e:
|
56
|
+
logger.error(f"Qdrant collection creation failed: {e}")
|
57
|
+
raise e
|
58
|
+
self.last_collection = collection
|
41
59
|
|
42
60
|
async def query_document_embeddings(self, msg):
|
43
61
|
|
@@ -53,6 +71,8 @@ class Processor(DocumentEmbeddingsQueryService):
|
|
53
71
|
str(dim)
|
54
72
|
)
|
55
73
|
|
74
|
+
self.ensure_collection_exists(collection, dim)
|
75
|
+
|
56
76
|
search_result = self.qdrant.query_points(
|
57
77
|
collection_name=collection,
|
58
78
|
query=vec,
|
@@ -49,6 +49,39 @@ class Processor(GraphEmbeddingsQueryService):
|
|
49
49
|
}
|
50
50
|
)
|
51
51
|
|
52
|
+
self.last_index_name = None
|
53
|
+
|
54
|
+
def ensure_index_exists(self, index_name, dim):
|
55
|
+
"""Ensure index exists, create if it doesn't"""
|
56
|
+
if index_name != self.last_index_name:
|
57
|
+
if not self.pinecone.has_index(index_name):
|
58
|
+
try:
|
59
|
+
self.pinecone.create_index(
|
60
|
+
name=index_name,
|
61
|
+
dimension=dim,
|
62
|
+
metric="cosine",
|
63
|
+
spec=ServerlessSpec(
|
64
|
+
cloud="aws",
|
65
|
+
region="us-east-1",
|
66
|
+
)
|
67
|
+
)
|
68
|
+
logger.info(f"Created index: {index_name}")
|
69
|
+
|
70
|
+
# Wait for index to be ready
|
71
|
+
import time
|
72
|
+
for i in range(0, 1000):
|
73
|
+
if self.pinecone.describe_index(index_name).status["ready"]:
|
74
|
+
break
|
75
|
+
time.sleep(1)
|
76
|
+
|
77
|
+
if not self.pinecone.describe_index(index_name).status["ready"]:
|
78
|
+
raise RuntimeError("Gave up waiting for index creation")
|
79
|
+
|
80
|
+
except Exception as e:
|
81
|
+
logger.error(f"Pinecone index creation failed: {e}")
|
82
|
+
raise e
|
83
|
+
self.last_index_name = index_name
|
84
|
+
|
52
85
|
def create_value(self, ent):
|
53
86
|
if ent.startswith("http://") or ent.startswith("https://"):
|
54
87
|
return Value(value=ent, is_uri=True)
|
@@ -74,6 +107,8 @@ class Processor(GraphEmbeddingsQueryService):
|
|
74
107
|
"t-" + msg.user + "-" + msg.collection + "-" + str(dim)
|
75
108
|
)
|
76
109
|
|
110
|
+
self.ensure_index_exists(index_name, dim)
|
111
|
+
|
77
112
|
index = self.pinecone.Index(index_name)
|
78
113
|
|
79
114
|
# Heuristic hack, get (2*limit), so that we have more chance
|
@@ -38,6 +38,24 @@ class Processor(GraphEmbeddingsQueryService):
|
|
38
38
|
)
|
39
39
|
|
40
40
|
self.qdrant = QdrantClient(url=store_uri, api_key=api_key)
|
41
|
+
self.last_collection = None
|
42
|
+
|
43
|
+
def ensure_collection_exists(self, collection, dim):
|
44
|
+
"""Ensure collection exists, create if it doesn't"""
|
45
|
+
if collection != self.last_collection:
|
46
|
+
if not self.qdrant.collection_exists(collection):
|
47
|
+
try:
|
48
|
+
self.qdrant.create_collection(
|
49
|
+
collection_name=collection,
|
50
|
+
vectors_config=VectorParams(
|
51
|
+
size=dim, distance=Distance.COSINE
|
52
|
+
),
|
53
|
+
)
|
54
|
+
logger.info(f"Created collection: {collection}")
|
55
|
+
except Exception as e:
|
56
|
+
logger.error(f"Qdrant collection creation failed: {e}")
|
57
|
+
raise e
|
58
|
+
self.last_collection = collection
|
41
59
|
|
42
60
|
def create_value(self, ent):
|
43
61
|
if ent.startswith("http://") or ent.startswith("https://"):
|
@@ -60,6 +78,8 @@ class Processor(GraphEmbeddingsQueryService):
|
|
60
78
|
str(dim)
|
61
79
|
)
|
62
80
|
|
81
|
+
self.ensure_collection_exists(collection, dim)
|
82
|
+
|
63
83
|
# Heuristic hack, get (2*limit), so that we have more chance
|
64
84
|
# of getting (limit) entities
|
65
85
|
search_result = self.qdrant.query_points(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.20
|
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.18"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/mistral_ocr/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/mistral_ocr/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/decoding/mistral_ocr/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/embeddings/graph_embeddings/__main__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/definitions/extract.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/objects/processor.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/relationships/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/extract/kg/relationships/extract.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/core_export.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/core_import.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/document_load.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/document_rag.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/objects_import.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/objects_query.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/structured_query.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/text_completion.py
RENAMED
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/triples_export.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/triples_import.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/dispatch/triples_query.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/constant_endpoint.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/stream_endpoint.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/endpoint/variable_endpoint.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/gateway/unused/internet_search.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure/__init__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure/__main__.py
RENAMED
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/azure/llm.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/claude/llm.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph_flow-1.3.18 → trustgraph_flow-1.3.20}/trustgraph/model/text_completion/cohere/llm.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|