trustgraph-flow 0.23.2__tar.gz → 0.23.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.23.2 → trustgraph-flow-0.23.3}/PKG-INFO +2 -2
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/config/service/flow.py +8 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/pdf/pdf_decoder.py +0 -1
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/relationships/extract.py +1 -1
- trustgraph-flow-0.23.3/trustgraph/flow_version.py +1 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/metering/counter.py +47 -31
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph_flow.egg-info/SOURCES.txt +0 -1
- trustgraph-flow-0.23.2/trustgraph/flow_version.py +0 -1
- trustgraph-flow-0.23.2/trustgraph/metering/pricelist.py +0 -104
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/README.md +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/agent-manager-react +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/api-gateway +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/chunker-recursive +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/chunker-token +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/config-svc +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/de-query-milvus +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/de-query-pinecone +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/de-query-qdrant +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/de-write-milvus +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/de-write-pinecone +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/de-write-qdrant +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/document-embeddings +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/document-rag +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/embeddings-fastembed +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/embeddings-ollama +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/ge-query-milvus +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/ge-query-pinecone +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/ge-query-qdrant +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/ge-write-milvus +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/ge-write-pinecone +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/ge-write-qdrant +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/graph-embeddings +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/graph-rag +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/kg-extract-definitions +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/kg-extract-relationships +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/kg-extract-topics +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/librarian +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/metering +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/object-extract-row +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/oe-write-milvus +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/pdf-decoder +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/pdf-ocr-mistral +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/prompt-generic +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/prompt-template +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/rows-write-cassandra +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/run-processing +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-azure +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-azure-openai +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-claude +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-cohere +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-googleaistudio +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-llamafile +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-lmstudio +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-mistral +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-ollama +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/text-completion-openai +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-query-cassandra +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-query-falkordb +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-query-memgraph +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-query-neo4j +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-write-cassandra +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-write-falkordb +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-write-memgraph +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/triples-write-neo4j +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/scripts/wikipedia-lookup +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/setup.cfg +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/setup.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/react/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/agent/react/types.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/config/service/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/config/service/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/config/service/config.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/config/service/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/mistral_ocr/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/mistral_ocr/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/mistral_ocr/processor.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/document_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/document_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/document_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/fastembed/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/fastembed/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/fastembed/processor.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/graph_embeddings/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/graph_embeddings/embeddings.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/external/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/object/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/object/row/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/object/row/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/object/row/extract.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/agent.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/auth.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/config.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/dbpedia.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/document_embeddings_load.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/document_embeddings_stream.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/document_load.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/document_rag.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/embeddings.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/encyclopedia.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/endpoint.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/flow.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/graph_embeddings_load.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/graph_embeddings_query.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/graph_embeddings_stream.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/graph_rag.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/internet_search.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/librarian.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/metrics.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/mux.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/prompt.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/requestor.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/running.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/sender.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/serialize.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/socket.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/text_completion.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/text_load.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/triples_load.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/triples_query.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/gateway/triples_stream.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/librarian/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/librarian/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/librarian/blob_store.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/librarian/librarian.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/librarian/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/librarian/table_store.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/metering/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/metering/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/generic/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/generic/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/generic/prompts.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/generic/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/template/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/template/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/prompt/template/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/lmstudio/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/lmstudio/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/lmstudio/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/mistral/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/mistral/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/mistral/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/processing/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/processing/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/processing/processing.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/falkordb/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/memgraph/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/document_rag/document_rag.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/graph_rag/graph_rag.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/falkordb/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/falkordb/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/falkordb/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/memgraph/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/memgraph/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/memgraph/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph-flow-0.23.2 → trustgraph-flow-0.23.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.23.
|
3
|
+
Version: 0.23.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.23.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.23.3.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -27,6 +27,8 @@ class FlowConfig:
|
|
27
27
|
|
28
28
|
self.config["flow-classes"][msg.class_name] = msg.class_definition
|
29
29
|
|
30
|
+
self.config.version += 1
|
31
|
+
|
30
32
|
await self.config.push()
|
31
33
|
|
32
34
|
return FlowResponse(
|
@@ -39,6 +41,8 @@ class FlowConfig:
|
|
39
41
|
|
40
42
|
del self.config["flow-classes"][msg.class_name]
|
41
43
|
|
44
|
+
self.config.version += 1
|
45
|
+
|
42
46
|
await self.config.push()
|
43
47
|
|
44
48
|
return FlowResponse(
|
@@ -135,6 +139,8 @@ class FlowConfig:
|
|
135
139
|
"interfaces": interfaces,
|
136
140
|
})
|
137
141
|
|
142
|
+
self.config.version += 1
|
143
|
+
|
138
144
|
await self.config.push()
|
139
145
|
|
140
146
|
return FlowResponse(
|
@@ -186,6 +192,8 @@ class FlowConfig:
|
|
186
192
|
if msg.flow_id in self.config["flows"]:
|
187
193
|
del self.config["flows"][msg.flow_id]
|
188
194
|
|
195
|
+
self.config.version += 1
|
196
|
+
|
189
197
|
await self.config.push()
|
190
198
|
|
191
199
|
return FlowResponse(
|
@@ -9,7 +9,6 @@ import base64
|
|
9
9
|
from langchain_community.document_loaders import PyPDFLoader
|
10
10
|
|
11
11
|
from ... schema import Document, TextDocument, Metadata
|
12
|
-
from ... log_level import LogLevel
|
13
12
|
from ... base import FlowProcessor, ConsumerSpec, ProducerSpec
|
14
13
|
|
15
14
|
default_ident = "pdf-decoder"
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.23.3"
|
@@ -3,22 +3,19 @@ Simple token counter for each LLM response.
|
|
3
3
|
"""
|
4
4
|
|
5
5
|
from prometheus_client import Counter
|
6
|
-
|
6
|
+
import json
|
7
7
|
|
8
8
|
from .. schema import TextCompletionResponse, Error
|
9
|
-
from ..
|
10
|
-
from .. log_level import LogLevel
|
11
|
-
from .. base import Consumer
|
9
|
+
from .. base import FlowProcessor, ConsumerSpec
|
12
10
|
|
13
|
-
|
11
|
+
default_ident = "metering"
|
14
12
|
|
15
|
-
|
16
|
-
default_subscriber = module
|
17
|
-
|
18
|
-
class Processor(Consumer):
|
13
|
+
class Processor(FlowProcessor):
|
19
14
|
|
20
15
|
def __init__(self, **params):
|
21
16
|
|
17
|
+
id = params.get("id", default_ident)
|
18
|
+
|
22
19
|
if not hasattr(__class__, "input_token_metric"):
|
23
20
|
__class__.input_token_metric = Counter(
|
24
21
|
'input_tokens', 'Input token count'
|
@@ -39,40 +36,61 @@ class Processor(Consumer):
|
|
39
36
|
'output_cost', 'Output cost'
|
40
37
|
)
|
41
38
|
|
42
|
-
input_queue = params.get("input_queue", default_input_queue)
|
43
|
-
subscriber = params.get("subscriber", default_subscriber)
|
44
|
-
|
45
39
|
super(Processor, self).__init__(
|
46
40
|
**params | {
|
47
|
-
"
|
48
|
-
"subscriber": subscriber,
|
49
|
-
"input_schema": TextCompletionResponse,
|
41
|
+
"id": id,
|
50
42
|
}
|
51
43
|
)
|
52
44
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
45
|
+
self.register_config_handler(self.on_cost_config)
|
46
|
+
|
47
|
+
self.register_specification(
|
48
|
+
ConsumerSpec(
|
49
|
+
name = "input",
|
50
|
+
schema = TextCompletionResponse,
|
51
|
+
handler = self.on_message,
|
52
|
+
)
|
53
|
+
)
|
58
54
|
|
59
|
-
|
55
|
+
self.prices = {}
|
60
56
|
|
61
|
-
|
62
|
-
|
57
|
+
self.config_key = "token-costs"
|
58
|
+
|
59
|
+
# Load token costs from the config service
|
60
|
+
async def on_cost_config(self, config, version):
|
63
61
|
|
64
|
-
|
65
|
-
id = msg.properties()["id"]
|
62
|
+
print("Loading configuration version", version)
|
66
63
|
|
67
|
-
|
64
|
+
if self.config_key not in config:
|
65
|
+
print(f"No key {self.config_key} in config", flush=True)
|
66
|
+
return
|
68
67
|
|
68
|
+
config = config[self.config_key]
|
69
|
+
|
70
|
+
self.prices = {
|
71
|
+
k: json.loads(v)
|
72
|
+
for k, v in config.items()
|
73
|
+
}
|
74
|
+
|
75
|
+
def get_prices(self, modelname):
|
76
|
+
|
77
|
+
if modelname in self.prices:
|
78
|
+
model = self.prices[modelname]
|
79
|
+
return model["input_price"], model["output_price"]
|
80
|
+
return None, None # Return None if model is not found
|
81
|
+
|
82
|
+
async def on_message(self, msg, consumer, flow):
|
83
|
+
|
84
|
+
v = msg.value()
|
85
|
+
|
86
|
+
modelname = v.model
|
69
87
|
num_in = v.in_token
|
70
88
|
num_out = v.out_token
|
71
89
|
|
72
90
|
__class__.input_token_metric.inc(num_in)
|
73
91
|
__class__.output_token_metric.inc(num_out)
|
74
92
|
|
75
|
-
model_input_price, model_output_price = self.get_prices(
|
93
|
+
model_input_price, model_output_price = self.get_prices(modelname)
|
76
94
|
|
77
95
|
if model_input_price == None:
|
78
96
|
cost_per_call = f"Model Not Found in Price list"
|
@@ -91,10 +109,8 @@ class Processor(Consumer):
|
|
91
109
|
@staticmethod
|
92
110
|
def add_args(parser):
|
93
111
|
|
94
|
-
|
95
|
-
parser, default_input_queue, default_subscriber,
|
96
|
-
)
|
112
|
+
FlowProcessor.add_args(parser)
|
97
113
|
|
98
114
|
def run():
|
99
115
|
|
100
|
-
Processor.launch(
|
116
|
+
Processor.launch(default_ident, __doc__)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.23.
|
3
|
+
Version: 0.23.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.23.
|
6
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.23.3.tar.gz
|
7
7
|
Author: trustgraph.ai
|
8
8
|
Author-email: security@trustgraph.ai
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -163,7 +163,6 @@ trustgraph/librarian/table_store.py
|
|
163
163
|
trustgraph/metering/__init__.py
|
164
164
|
trustgraph/metering/__main__.py
|
165
165
|
trustgraph/metering/counter.py
|
166
|
-
trustgraph/metering/pricelist.py
|
167
166
|
trustgraph/model/__init__.py
|
168
167
|
trustgraph/model/prompt/__init__.py
|
169
168
|
trustgraph/model/prompt/generic/__init__.py
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.23.2"
|
@@ -1,104 +0,0 @@
|
|
1
|
-
price_list = {
|
2
|
-
"price_list": [
|
3
|
-
{
|
4
|
-
"model_name": "mistral.mistral-large-2407-v1:0",
|
5
|
-
"input_price": 0.000004,
|
6
|
-
"output_price": 0.000012
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"model_name": "meta.llama3-1-405b-instruct-v1:0",
|
10
|
-
"input_price": 0.00000532,
|
11
|
-
"output_price": 0.000016
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"model_name": "mistral.mixtral-8x7b-instruct-v0:1",
|
15
|
-
"input_price": 0.00000045,
|
16
|
-
"output_price": 0.0000007
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"model_name": "meta.llama3-1-70b-instruct-v1:0",
|
20
|
-
"input_price": 0.00000099,
|
21
|
-
"output_price": 0.00000099
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"model_name": "meta.llama3-1-8b-instruct-v1:0",
|
25
|
-
"input_price": 0.00000022,
|
26
|
-
"output_price": 0.00000022
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"model_name": "anthropic.claude-3-haiku-20240307-v1:0",
|
30
|
-
"input_price": 0.00000025,
|
31
|
-
"output_price": 0.00000125
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"model_name": "anthropic.claude-3-5-sonnet-20240620-v1:0",
|
35
|
-
"input_price": 0.000003,
|
36
|
-
"output_price": 0.000015
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"model_name": "cohere.command-r-plus-v1:0",
|
40
|
-
"input_price": 0.0000030,
|
41
|
-
"output_price": 0.0000150
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"model_name": "ollama",
|
45
|
-
"input_price": 0,
|
46
|
-
"output_price": 0
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"model_name": "claude-3-haiku-20240307",
|
50
|
-
"input_price": 0.00000025,
|
51
|
-
"output_price": 0.00000125
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"model_name": "claude-3-5-sonnet-20240620",
|
55
|
-
"input_price": 0.000003,
|
56
|
-
"output_price": 0.000015
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"model_name": "claude-3-opus-20240229",
|
60
|
-
"input_price": 0.000015,
|
61
|
-
"output_price": 0.000075
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"model_name": "claude-3-sonnet-20240229",
|
65
|
-
"input_price": 0.000003,
|
66
|
-
"output_price": 0.000015
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"model_name": "command-r-08-202",
|
70
|
-
"input_price": 0.0000025,
|
71
|
-
"output_price": 0.000010
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"model_name": "c4ai-aya-23-8b",
|
75
|
-
"input_price": 0,
|
76
|
-
"output_price": 0
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"model_name": "llama.cpp",
|
80
|
-
"input_price": 0,
|
81
|
-
"output_price": 0
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"model_name": "gpt-4o",
|
85
|
-
"input_price": 0.000005,
|
86
|
-
"output_price": 0.000015
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"model_name": "gpt-4o-2024-08-06",
|
90
|
-
"input_price": 0.0000025,
|
91
|
-
"output_price": 0.000010
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"model_name": "gpt-4o-2024-05-13",
|
95
|
-
"input_price": 0.000005,
|
96
|
-
"output_price": 0.000015
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"model_name": "gpt-4o-mini",
|
100
|
-
"input_price": 0.00000015,
|
101
|
-
"output_price": 0.0000006
|
102
|
-
},
|
103
|
-
]
|
104
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/mistral_ocr/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/mistral_ocr/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/decoding/mistral_ocr/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/direct/milvus_object_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/fastembed/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/fastembed/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/fastembed/processor.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/embeddings/graph_embeddings/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.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.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/definitions/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/definitions/__main__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/definitions/extract.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.3}/trustgraph/extract/kg/relationships/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.23.2 → trustgraph-flow-0.23.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
|