From e8d1f36b7dc1b6f4cc2a3700335ecb11484f0573 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sun, 29 Sep 2024 20:14:31 +0100 Subject: [PATCH] Update templates to include metering-rag --- tg-launch-azure-cassandra.yaml | 17 +++++++++++++++++ tg-launch-azure-neo4j.yaml | 17 +++++++++++++++++ tg-launch-bedrock-cassandra.yaml | 17 +++++++++++++++++ tg-launch-bedrock-neo4j.yaml | 17 +++++++++++++++++ tg-launch-claude-cassandra.yaml | 17 +++++++++++++++++ tg-launch-claude-neo4j.yaml | 17 +++++++++++++++++ tg-launch-cohere-cassandra.yaml | 17 +++++++++++++++++ tg-launch-cohere-neo4j.yaml | 17 +++++++++++++++++ tg-launch-llamafile-cassandra.yaml | 17 +++++++++++++++++ tg-launch-llamafile-neo4j.yaml | 17 +++++++++++++++++ tg-launch-ollama-cassandra.yaml | 17 +++++++++++++++++ tg-launch-ollama-neo4j.yaml | 17 +++++++++++++++++ tg-launch-openai-cassandra.yaml | 17 +++++++++++++++++ tg-launch-openai-neo4j.yaml | 17 +++++++++++++++++ tg-launch-vertexai-cassandra.yaml | 17 +++++++++++++++++ tg-launch-vertexai-neo4j.yaml | 17 +++++++++++++++++ 16 files changed, 272 insertions(+) diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 3969cf0d..53469d07 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 76206719..889908c0 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index bf9fcac6..95705407 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 01381794..1a725faa 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 1ba47dff..d67fb96b 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 173f7ec8..4b7652cd 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index feba0d82..fb4ee290 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index e82fb8d1..93a274c6 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 69c4b9c9..dcea893a 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 65175d86..5bbe44e6 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 2446a273..0fc5bac4 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index b97ad5e5..4d030ba5 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 81b98003..93b6d5fe 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 8193fc0b..637320f8 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index e4cbfe70..55f69fe5 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -177,6 +177,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 pdf-decoder: command: - pdf-decoder diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index b3fac0cb..b21ac9c5 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -160,6 +160,23 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering-rag: + command: + - metering + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.1 + restart: on-failure:100 neo4j: deploy: resources: