trustgraph-flow 0.21.2__tar.gz → 0.21.3__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.21.2 → trustgraph-flow-0.21.3}/PKG-INFO +2 -2
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/react/service.py +6 -4
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/document_rag.py +4 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/document_embeddings/embeddings.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/definitions/extract.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/relationships/extract.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/topics/extract.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/object/row/extract.py +1 -0
- trustgraph-flow-0.21.3/trustgraph/flow_version.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/document_embeddings_stream.py +1 -1
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/service.py +19 -3
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/graph_rag.py +5 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/generic/service.py +2 -1
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/template/service.py +2 -1
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/processing/processing.py +11 -1
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/document_rag/rag.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/graph_rag/rag.py +1 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- trustgraph-flow-0.21.2/trustgraph/flow_version.py +0 -1
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/README.md +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/agent-manager-react +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/api-gateway +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/chunker-recursive +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/chunker-token +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/de-query-milvus +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/de-query-pinecone +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/de-query-qdrant +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/de-write-milvus +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/de-write-pinecone +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/de-write-qdrant +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/document-embeddings +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/document-rag +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/embeddings-fastembed +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/embeddings-ollama +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/ge-query-milvus +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/ge-query-pinecone +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/ge-query-qdrant +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/ge-write-milvus +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/ge-write-pinecone +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/ge-write-qdrant +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/graph-embeddings +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/graph-rag +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/kg-extract-definitions +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/kg-extract-relationships +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/kg-extract-topics +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/librarian +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/metering +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/object-extract-row +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/oe-write-milvus +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/pdf-decoder +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/prompt-generic +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/prompt-template +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/rows-write-cassandra +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/run-processing +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-azure +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-azure-openai +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-claude +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-cohere +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-googleaistudio +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-llamafile +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-ollama +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/text-completion-openai +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-query-cassandra +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-query-falkordb +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-query-memgraph +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-query-neo4j +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-write-cassandra +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-write-falkordb +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-write-memgraph +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/triples-write-neo4j +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/scripts/wikipedia-lookup +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/setup.cfg +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/setup.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/agent/react/types.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/external/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/object/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/object/row/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/object/row/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/agent.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/auth.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/dbpedia.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/document_embeddings_load.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/document_load.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/document_rag.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/embeddings.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/encyclopedia.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/endpoint.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/graph_embeddings_load.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/graph_embeddings_query.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/graph_embeddings_stream.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/graph_rag.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/internet_search.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/librarian.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/metrics.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/mux.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/prompt.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/requestor.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/running.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/sender.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/serialize.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/socket.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/text_completion.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/text_load.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/triples_load.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/triples_query.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/triples_stream.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/librarian/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/librarian/table_store.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/metering/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/metering/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/metering/counter.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/metering/pricelist.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/generic/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/generic/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/generic/prompts.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/template/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/template/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/processing/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/processing/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/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.21.
|
3
|
+
Version: 0.21.3
|
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.21.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.21.3.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -156,14 +156,16 @@ class Processor(ConsumerProducer):
|
|
156
156
|
subscriber=subscriber,
|
157
157
|
input_queue=prompt_request_queue,
|
158
158
|
output_queue=prompt_response_queue,
|
159
|
-
pulsar_host = self.pulsar_host
|
159
|
+
pulsar_host = self.pulsar_host,
|
160
|
+
pulsar_api_key=self.pulsar_api_key,
|
160
161
|
)
|
161
162
|
|
162
163
|
self.graph_rag = GraphRagClient(
|
163
164
|
subscriber=subscriber,
|
164
165
|
input_queue=graph_rag_request_queue,
|
165
166
|
output_queue=graph_rag_response_queue,
|
166
|
-
pulsar_host = self.pulsar_host
|
167
|
+
pulsar_host = self.pulsar_host,
|
168
|
+
pulsar_api_key=self.pulsar_api_key,
|
167
169
|
)
|
168
170
|
|
169
171
|
# Need to be able to feed requests to myself
|
@@ -218,7 +220,7 @@ class Processor(ConsumerProducer):
|
|
218
220
|
|
219
221
|
print(f"History: {history}", flush=True)
|
220
222
|
|
221
|
-
def think(x):
|
223
|
+
async def think(x):
|
222
224
|
|
223
225
|
print(f"Think: {x}", flush=True)
|
224
226
|
|
@@ -231,7 +233,7 @@ class Processor(ConsumerProducer):
|
|
231
233
|
|
232
234
|
await self.producer.send(r, properties={"id": id})
|
233
235
|
|
234
|
-
def observe(x):
|
236
|
+
async def observe(x):
|
235
237
|
|
236
238
|
print(f"Observe: {x}", flush=True)
|
237
239
|
|
@@ -59,6 +59,7 @@ class DocumentRag:
|
|
59
59
|
def __init__(
|
60
60
|
self,
|
61
61
|
pulsar_host="pulsar://pulsar:6650",
|
62
|
+
pulsar_api_key=None,
|
62
63
|
pr_request_queue=None,
|
63
64
|
pr_response_queue=None,
|
64
65
|
emb_request_queue=None,
|
@@ -100,6 +101,7 @@ class DocumentRag:
|
|
100
101
|
subscriber=module + "-de",
|
101
102
|
input_queue=de_request_queue,
|
102
103
|
output_queue=de_response_queue,
|
104
|
+
pulsar_api_key=pulsar_api_key,
|
103
105
|
)
|
104
106
|
|
105
107
|
self.embeddings = EmbeddingsClient(
|
@@ -107,6 +109,7 @@ class DocumentRag:
|
|
107
109
|
input_queue=emb_request_queue,
|
108
110
|
output_queue=emb_response_queue,
|
109
111
|
subscriber=module + "-emb",
|
112
|
+
pulsar_api_key=pulsar_api_key,
|
110
113
|
)
|
111
114
|
|
112
115
|
self.lang = PromptClient(
|
@@ -114,6 +117,7 @@ class DocumentRag:
|
|
114
117
|
input_queue=pr_request_queue,
|
115
118
|
output_queue=pr_response_queue,
|
116
119
|
subscriber=module + "-de-prompt",
|
120
|
+
pulsar_api_key=pulsar_api_key,
|
117
121
|
)
|
118
122
|
|
119
123
|
if self.verbose:
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.21.3"
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/document_embeddings_stream.py
RENAMED
@@ -27,7 +27,7 @@ class DocumentEmbeddingsStreamEndpoint(SocketEndpoint):
|
|
27
27
|
self.subscriber = Subscriber(
|
28
28
|
self.pulsar_client, document_embeddings_store_queue,
|
29
29
|
"api-gateway", "api-gateway",
|
30
|
-
schema=JsonSchema(DocumentEmbeddings)
|
30
|
+
schema=JsonSchema(DocumentEmbeddings),
|
31
31
|
)
|
32
32
|
|
33
33
|
async def listener(self, ws, running):
|
@@ -57,6 +57,7 @@ logger.setLevel(logging.INFO)
|
|
57
57
|
|
58
58
|
default_pulsar_host = os.getenv("PULSAR_HOST", "pulsar://pulsar:6650")
|
59
59
|
default_prometheus_url = os.getenv("PROMETHEUS_URL", "http://prometheus:9090")
|
60
|
+
default_pulsar_api_key = os.getenv("PULSAR_API_KEY", None)
|
60
61
|
default_timeout = 600
|
61
62
|
default_port = 8088
|
62
63
|
default_api_token = os.getenv("GATEWAY_SECRET", "")
|
@@ -73,11 +74,20 @@ class Api:
|
|
73
74
|
self.port = int(config.get("port", default_port))
|
74
75
|
self.timeout = int(config.get("timeout", default_timeout))
|
75
76
|
self.pulsar_host = config.get("pulsar_host", default_pulsar_host)
|
77
|
+
self.pulsar_api_key = config.get(
|
78
|
+
"pulsar_api_key", default_pulsar_api_key
|
79
|
+
)
|
76
80
|
self.pulsar_listener = config.get("pulsar_listener", None)
|
77
81
|
|
78
|
-
self.
|
79
|
-
self.
|
80
|
-
|
82
|
+
if self.pulsar_api_key:
|
83
|
+
self.pulsar_client = pulsar.Client(
|
84
|
+
self.pulsar_host, listener_name=self.pulsar_listener,
|
85
|
+
authentication=pulsar.AuthenticationToken(self.pulsar_api_key)
|
86
|
+
)
|
87
|
+
else:
|
88
|
+
self.pulsar_client = pulsar.Client(
|
89
|
+
self.pulsar_host, listener_name=self.pulsar_listener,
|
90
|
+
)
|
81
91
|
|
82
92
|
self.prometheus_url = config.get(
|
83
93
|
"prometheus_url", default_prometheus_url,
|
@@ -270,6 +280,12 @@ def run():
|
|
270
280
|
default=default_pulsar_host,
|
271
281
|
help=f'Pulsar host (default: {default_pulsar_host})',
|
272
282
|
)
|
283
|
+
|
284
|
+
parser.add_argument(
|
285
|
+
'--pulsar-api-key',
|
286
|
+
default=default_pulsar_api_key,
|
287
|
+
help=f'Pulsar API key',
|
288
|
+
)
|
273
289
|
|
274
290
|
parser.add_argument(
|
275
291
|
'--pulsar-listener',
|
@@ -161,6 +161,7 @@ class GraphRag:
|
|
161
161
|
def __init__(
|
162
162
|
self,
|
163
163
|
pulsar_host="pulsar://pulsar:6650",
|
164
|
+
pulsar_api_key=None,
|
164
165
|
pr_request_queue=None,
|
165
166
|
pr_response_queue=None,
|
166
167
|
emb_request_queue=None,
|
@@ -207,6 +208,7 @@ class GraphRag:
|
|
207
208
|
|
208
209
|
self.ge_client = GraphEmbeddingsClient(
|
209
210
|
pulsar_host=pulsar_host,
|
211
|
+
pulsar_api_key=pulsar_api_key,
|
210
212
|
subscriber=module + "-ge",
|
211
213
|
input_queue=ge_request_queue,
|
212
214
|
output_queue=ge_response_queue,
|
@@ -214,6 +216,7 @@ class GraphRag:
|
|
214
216
|
|
215
217
|
self.triples_client = TriplesQueryClient(
|
216
218
|
pulsar_host=pulsar_host,
|
219
|
+
pulsar_api_key=pulsar_api_key,
|
217
220
|
subscriber=module + "-tpl",
|
218
221
|
input_queue=tpl_request_queue,
|
219
222
|
output_queue=tpl_response_queue
|
@@ -221,6 +224,7 @@ class GraphRag:
|
|
221
224
|
|
222
225
|
self.embeddings = EmbeddingsClient(
|
223
226
|
pulsar_host=pulsar_host,
|
227
|
+
pulsar_api_key=pulsar_api_key,
|
224
228
|
input_queue=emb_request_queue,
|
225
229
|
output_queue=emb_response_queue,
|
226
230
|
subscriber=module + "-emb",
|
@@ -234,6 +238,7 @@ class GraphRag:
|
|
234
238
|
|
235
239
|
self.prompt = PromptClient(
|
236
240
|
pulsar_host=pulsar_host,
|
241
|
+
pulsar_api_key=pulsar_api_key,
|
237
242
|
input_queue=pr_request_queue,
|
238
243
|
output_queue=pr_response_queue,
|
239
244
|
subscriber=module + "-prompt",
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/generic/service.py
RENAMED
@@ -63,7 +63,8 @@ class Processor(ConsumerProducer):
|
|
63
63
|
subscriber=subscriber,
|
64
64
|
input_queue=tc_request_queue,
|
65
65
|
output_queue=tc_response_queue,
|
66
|
-
pulsar_host = self.pulsar_host
|
66
|
+
pulsar_host = self.pulsar_host,
|
67
|
+
pulsar_api_key=self.pulsar_api_key,
|
67
68
|
)
|
68
69
|
|
69
70
|
def parse_json(self, text):
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/model/prompt/template/service.py
RENAMED
@@ -136,7 +136,8 @@ class Processor(ConsumerProducer):
|
|
136
136
|
subscriber=subscriber,
|
137
137
|
input_queue=tc_request_queue,
|
138
138
|
output_queue=tc_response_queue,
|
139
|
-
pulsar_host = self.pulsar_host
|
139
|
+
pulsar_host = self.pulsar_host,
|
140
|
+
pulsar_api_key=self.pulsar_api_key,
|
140
141
|
)
|
141
142
|
|
142
143
|
# System prompt hack
|
@@ -49,11 +49,12 @@ class Processing:
|
|
49
49
|
pulsar_host,
|
50
50
|
log_level,
|
51
51
|
file,
|
52
|
+
pulsar_api_key=None,
|
52
53
|
):
|
53
54
|
self.pulsar_host = pulsar_host
|
54
55
|
self.log_level = log_level
|
55
56
|
self.file = file
|
56
|
-
|
57
|
+
self.pulsar_api_key = pulsar_api_key
|
57
58
|
self.defs = load(open(file, "r"), Loader=Loader)
|
58
59
|
|
59
60
|
def run(self):
|
@@ -68,6 +69,7 @@ class Processing:
|
|
68
69
|
|
69
70
|
params = {
|
70
71
|
"pulsar_host": self.pulsar_host,
|
72
|
+
"pulsar_api_key": self.pulsar_api_key,
|
71
73
|
"log_level": str(self.log_level),
|
72
74
|
}
|
73
75
|
|
@@ -125,12 +127,19 @@ def run():
|
|
125
127
|
)
|
126
128
|
|
127
129
|
default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://pulsar:6650')
|
130
|
+
default_pulsar_api_key = os.getenv("PULSAR_API_KEY", None)
|
128
131
|
|
129
132
|
parser.add_argument(
|
130
133
|
'-p', '--pulsar-host',
|
131
134
|
default=default_pulsar_host,
|
132
135
|
help=f'Pulsar host (default: {default_pulsar_host})',
|
133
136
|
)
|
137
|
+
|
138
|
+
parser.add_argument(
|
139
|
+
'--pulsar-api-key',
|
140
|
+
default=default_pulsar_api_key,
|
141
|
+
help=f'Pulsar API key',
|
142
|
+
)
|
134
143
|
|
135
144
|
parser.add_argument(
|
136
145
|
'-l', '--log-level',
|
@@ -153,6 +162,7 @@ def run():
|
|
153
162
|
try:
|
154
163
|
p = Processing(
|
155
164
|
pulsar_host=args.pulsar_host,
|
165
|
+
pulsar_api_key=args.pulsar_api_key,
|
156
166
|
file=args.file,
|
157
167
|
log_level=args.log_level,
|
158
168
|
)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.21.
|
3
|
+
Version: 0.21.3
|
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.21.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.21.3.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.21.2"
|
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
|
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.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/direct/milvus_object_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/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
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/extract/kg/relationships/__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
|
{trustgraph-flow-0.21.2 → trustgraph-flow-0.21.3}/trustgraph/gateway/document_embeddings_load.py
RENAMED
File without changes
|