trustgraph-flow 1.0.13__tar.gz → 1.0.14__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.0.13 → trustgraph-flow-1.0.14}/PKG-INFO +2 -2
- trustgraph-flow-1.0.14/scripts/text-completion-vllm +6 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/setup.py +1 -0
- trustgraph-flow-1.0.14/trustgraph/flow_version.py +1 -0
- trustgraph-flow-1.0.14/trustgraph/model/text_completion/vllm/__init__.py +3 -0
- trustgraph-flow-1.0.14/trustgraph/model/text_completion/vllm/__main__.py +7 -0
- trustgraph-flow-1.0.14/trustgraph/model/text_completion/vllm/llm.py +138 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph_flow.egg-info/SOURCES.txt +4 -0
- trustgraph-flow-1.0.13/trustgraph/flow_version.py +0 -1
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/README.md +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/agent-manager-react +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/api-gateway +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/chunker-recursive +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/chunker-token +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/config-svc +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/de-query-milvus +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/de-query-pinecone +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/de-query-qdrant +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/de-write-milvus +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/de-write-pinecone +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/de-write-qdrant +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/document-embeddings +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/document-rag +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/embeddings-fastembed +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/embeddings-ollama +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/ge-query-milvus +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/ge-query-pinecone +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/ge-query-qdrant +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/ge-write-milvus +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/ge-write-pinecone +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/ge-write-qdrant +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/graph-embeddings +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/graph-rag +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/kg-extract-definitions +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/kg-extract-relationships +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/kg-extract-topics +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/kg-manager +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/kg-store +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/librarian +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/metering +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/object-extract-row +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/oe-write-milvus +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/pdf-decoder +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/pdf-ocr-mistral +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/prompt-generic +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/prompt-template +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/rows-write-cassandra +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/run-processing +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-azure +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-azure-openai +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-claude +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-cohere +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-googleaistudio +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-llamafile +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-lmstudio +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-mistral +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-ollama +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-openai +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/text-completion-tgi +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-query-cassandra +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-query-falkordb +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-query-memgraph +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-query-neo4j +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-write-cassandra +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-write-falkordb +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-write-memgraph +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/triples-write-neo4j +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/scripts/wikipedia-lookup +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/setup.cfg +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/react/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/agent/react/types.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/config/service/config.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/config/service/flow.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/config/service/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/cores/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/cores/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/cores/knowledge.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/cores/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/external/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/object/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/object/row/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/object/row/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/object/row/extract.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/auth.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/config/receiver.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/agent.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/config.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/core_export.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/core_import.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/document_embeddings_export.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/document_embeddings_import.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/document_load.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/document_rag.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/embeddings.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/entity_contexts_export.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/entity_contexts_import.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/flow.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/graph_embeddings_export.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/graph_embeddings_import.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/graph_embeddings_query.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/graph_rag.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/knowledge.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/librarian.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/manager.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/mux.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/prompt.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/requestor.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/sender.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/serialize.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/streamer.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/text_completion.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/text_load.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/triples_export.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/triples_import.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/triples_query.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/endpoint/constant_endpoint.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/endpoint/manager.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/endpoint/metrics.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/endpoint/socket.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/endpoint/stream_endpoint.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/endpoint/variable_endpoint.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/running.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/unused/dbpedia.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/unused/encyclopedia.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/unused/internet_search.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/librarian/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/metering/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/metering/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/metering/counter.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/generic/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/generic/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/generic/prompts.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/generic/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/template/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/template/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/prompt/template/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/tgi/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/tgi/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/model/text_completion/tgi/llm.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/processing/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/processing/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/processing/processing.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/knowledge/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/knowledge/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/knowledge/store.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/tables/__init__.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/tables/config.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/tables/knowledge.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/tables/library.py +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/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: 1.0.
|
3
|
+
Version: 1.0.14
|
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/v1.0.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v1.0.14.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -118,6 +118,7 @@ setuptools.setup(
|
|
118
118
|
"scripts/text-completion-ollama",
|
119
119
|
"scripts/text-completion-openai",
|
120
120
|
"scripts/text-completion-tgi",
|
121
|
+
"scripts/text-completion-vllm",
|
121
122
|
"scripts/triples-query-cassandra",
|
122
123
|
"scripts/triples-query-falkordb",
|
123
124
|
"scripts/triples-query-memgraph",
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "1.0.14"
|
@@ -0,0 +1,138 @@
|
|
1
|
+
|
2
|
+
"""
|
3
|
+
Simple LLM service, performs text prompt completion using vLLM
|
4
|
+
Input is prompt, output is response.
|
5
|
+
"""
|
6
|
+
|
7
|
+
import os
|
8
|
+
import aiohttp
|
9
|
+
|
10
|
+
from .... exceptions import TooManyRequests
|
11
|
+
from .... base import LlmService, LlmResult
|
12
|
+
|
13
|
+
default_ident = "text-completion"
|
14
|
+
|
15
|
+
default_temperature = 0.0
|
16
|
+
default_max_output = 2048
|
17
|
+
default_base_url = os.getenv("VLLM_BASE_URL")
|
18
|
+
default_model = "TheBloke/Mistral-7B-v0.1-AWQ"
|
19
|
+
|
20
|
+
if default_base_url == "" or default_base_url is None:
|
21
|
+
default_base_url = "http://vllm-service:8899/v1"
|
22
|
+
|
23
|
+
class Processor(LlmService):
|
24
|
+
|
25
|
+
def __init__(self, **params):
|
26
|
+
|
27
|
+
base_url = params.get("url", default_base_url)
|
28
|
+
temperature = params.get("temperature", default_temperature)
|
29
|
+
max_output = params.get("max_output", default_max_output)
|
30
|
+
model = params.get("model", default_model)
|
31
|
+
|
32
|
+
super(Processor, self).__init__(
|
33
|
+
**params | {
|
34
|
+
"temperature": temperature,
|
35
|
+
"max_output": max_output,
|
36
|
+
"url": base_url,
|
37
|
+
"model": model,
|
38
|
+
}
|
39
|
+
)
|
40
|
+
|
41
|
+
self.base_url = base_url
|
42
|
+
self.temperature = temperature
|
43
|
+
self.max_output = max_output
|
44
|
+
self.model = model
|
45
|
+
|
46
|
+
self.session = aiohttp.ClientSession()
|
47
|
+
|
48
|
+
print("Using vLLM service at", base_url)
|
49
|
+
|
50
|
+
print("Initialised", flush=True)
|
51
|
+
|
52
|
+
async def generate_content(self, system, prompt):
|
53
|
+
|
54
|
+
headers = {
|
55
|
+
"Content-Type": "application/json",
|
56
|
+
}
|
57
|
+
|
58
|
+
request = {
|
59
|
+
"model": self.model,
|
60
|
+
"prompt": system + "\n\n" + prompt,
|
61
|
+
"max_tokens": self.max_output,
|
62
|
+
"temperature": self.temperature,
|
63
|
+
}
|
64
|
+
|
65
|
+
try:
|
66
|
+
|
67
|
+
url = f"{self.base_url}/completions"
|
68
|
+
|
69
|
+
async with self.session.post(
|
70
|
+
url,
|
71
|
+
headers=headers,
|
72
|
+
json=request,
|
73
|
+
) as response:
|
74
|
+
|
75
|
+
if response.status != 200:
|
76
|
+
raise RuntimeError("Bad status: " + str(response.status))
|
77
|
+
|
78
|
+
resp = await response.json()
|
79
|
+
|
80
|
+
inputtokens = resp["usage"]["prompt_tokens"]
|
81
|
+
outputtokens = resp["usage"]["completion_tokens"]
|
82
|
+
ans = resp["choices"][0]["text"]
|
83
|
+
print(f"Input Tokens: {inputtokens}", flush=True)
|
84
|
+
print(f"Output Tokens: {outputtokens}", flush=True)
|
85
|
+
print(ans, flush=True)
|
86
|
+
|
87
|
+
resp = LlmResult(
|
88
|
+
text = ans,
|
89
|
+
in_token = inputtokens,
|
90
|
+
out_token = outputtokens,
|
91
|
+
model = self.model,
|
92
|
+
)
|
93
|
+
|
94
|
+
return resp
|
95
|
+
|
96
|
+
# FIXME: Assuming vLLM won't produce rate limits?
|
97
|
+
|
98
|
+
except Exception as e:
|
99
|
+
|
100
|
+
# Apart from rate limits, treat all exceptions as unrecoverable
|
101
|
+
|
102
|
+
print(f"Exception: {type(e)} {e}")
|
103
|
+
raise e
|
104
|
+
|
105
|
+
@staticmethod
|
106
|
+
def add_args(parser):
|
107
|
+
|
108
|
+
LlmService.add_args(parser)
|
109
|
+
|
110
|
+
parser.add_argument(
|
111
|
+
'-u', '--url',
|
112
|
+
default=default_base_url,
|
113
|
+
help=f'vLLM service base URL (default: {default_base_url})'
|
114
|
+
)
|
115
|
+
|
116
|
+
parser.add_argument(
|
117
|
+
'-m', '--model',
|
118
|
+
default=default_model,
|
119
|
+
help=f'LLM model (default: {default_model})'
|
120
|
+
)
|
121
|
+
|
122
|
+
parser.add_argument(
|
123
|
+
'-t', '--temperature',
|
124
|
+
type=float,
|
125
|
+
default=default_temperature,
|
126
|
+
help=f'LLM temperature parameter (default: {default_temperature})'
|
127
|
+
)
|
128
|
+
|
129
|
+
parser.add_argument(
|
130
|
+
'-x', '--max-output',
|
131
|
+
type=int,
|
132
|
+
default=default_max_output,
|
133
|
+
help=f'LLM max output tokens (default: {default_max_output})'
|
134
|
+
)
|
135
|
+
|
136
|
+
def run():
|
137
|
+
|
138
|
+
Processor.launch(default_ident, __doc__)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.14
|
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/v1.0.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v1.0.14.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -49,6 +49,7 @@ scripts/text-completion-mistral
|
|
49
49
|
scripts/text-completion-ollama
|
50
50
|
scripts/text-completion-openai
|
51
51
|
scripts/text-completion-tgi
|
52
|
+
scripts/text-completion-vllm
|
52
53
|
scripts/triples-query-cassandra
|
53
54
|
scripts/triples-query-falkordb
|
54
55
|
scripts/triples-query-memgraph
|
@@ -224,6 +225,9 @@ trustgraph/model/text_completion/openai/llm.py
|
|
224
225
|
trustgraph/model/text_completion/tgi/__init__.py
|
225
226
|
trustgraph/model/text_completion/tgi/__main__.py
|
226
227
|
trustgraph/model/text_completion/tgi/llm.py
|
228
|
+
trustgraph/model/text_completion/vllm/__init__.py
|
229
|
+
trustgraph/model/text_completion/vllm/__main__.py
|
230
|
+
trustgraph/model/text_completion/vllm/llm.py
|
227
231
|
trustgraph/processing/__init__.py
|
228
232
|
trustgraph/processing/__main__.py
|
229
233
|
trustgraph/processing/processing.py
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "1.0.13"
|
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
|
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.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/mistral_ocr/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/decoding/mistral_ocr/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/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.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/direct/milvus_object_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/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-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/definitions/extract.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/extract/kg/relationships/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/core_export.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/core_import.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/trustgraph/gateway/dispatch/document_load.py
RENAMED
File without changes
|
{trustgraph-flow-1.0.13 → trustgraph-flow-1.0.14}/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
|