From f661791bbf30d14e3b151353b70cfe61c6795586 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sat, 7 Sep 2024 18:59:38 +0100 Subject: [PATCH 01/44] K8s (#58) Added templates which produce K8s resources. With the provided GCP wrapper, it works on GCP K8s cluster. This isn't stable enough for other folks to use so will need more piloting before it can be documented and released. --- Makefile | 7 + grafana/{ => dashboards}/dashboard.json | 0 grafana/{ => provisioning}/dashboard.yml | 0 grafana/{ => provisioning}/datasource.yml | 0 templates/components/azure.jsonnet | 10 + templates/components/bedrock.jsonnet | 10 + templates/components/cassandra.jsonnet | 10 + .../components/chunker-recursive.jsonnet | 5 + templates/components/claude.jsonnet | 10 + templates/components/cohere.jsonnet | 10 + templates/components/document-rag.jsonnet | 5 + templates/components/embeddings-hf.jsonnet | 9 +- .../components/embeddings-ollama.jsonnet | 5 + templates/components/grafana.jsonnet | 73 +++- templates/components/graph-rag.jsonnet | 15 + templates/components/milvus.jsonnet | 20 ++ templates/components/neo4j.jsonnet | 10 + templates/components/ollama.jsonnet | 10 + templates/components/openai.jsonnet | 10 + templates/components/prompt-generic.jsonnet | 10 + templates/components/prompt-template.jsonnet | 10 + templates/components/pulsar-manager.jsonnet | 4 +- templates/components/pulsar.jsonnet | 37 +- templates/components/qdrant.jsonnet | 20 ++ templates/components/trustgraph.jsonnet | 15 + templates/components/vertexai.jsonnet | 35 +- templates/config-to-gcp-k8s.jsonnet | 52 +++ templates/docker-compose.jsonnet | 41 ++- templates/k8s.jsonnet | 330 ++++++++++++++++++ templates/stores/cassandra.jsonnet | 2 +- templates/stores/milvus.jsonnet | 8 +- templates/stores/neo4j.jsonnet | 8 +- templates/stores/qdrant.jsonnet | 6 + templates/values/version.jsonnet | 1 + tg-launch-azure-cassandra.yaml | 36 +- tg-launch-azure-neo4j.yaml | 36 +- tg-launch-bedrock-cassandra.yaml | 36 +- tg-launch-bedrock-neo4j.yaml | 36 +- tg-launch-claude-cassandra.yaml | 36 +- tg-launch-claude-neo4j.yaml | 36 +- tg-launch-cohere-cassandra.yaml | 36 +- tg-launch-cohere-neo4j.yaml | 36 +- tg-launch-ollama-cassandra.yaml | 36 +- tg-launch-ollama-neo4j.yaml | 36 +- tg-launch-openai-cassandra.yaml | 36 +- tg-launch-openai-neo4j.yaml | 36 +- tg-launch-vertexai-cassandra.yaml | 44 +-- tg-launch-vertexai-neo4j.yaml | 44 +-- tg-storage-cassandra.yaml | 32 +- tg-storage-neo4j.yaml | 32 +- 50 files changed, 1037 insertions(+), 345 deletions(-) rename grafana/{ => dashboards}/dashboard.json (100%) rename grafana/{ => provisioning}/dashboard.yml (100%) rename grafana/{ => provisioning}/datasource.yml (100%) create mode 100644 templates/config-to-gcp-k8s.jsonnet create mode 100644 templates/k8s.jsonnet create mode 100644 templates/values/version.jsonnet diff --git a/Makefile b/Makefile index f361bd80..5fd5cc9b 100644 --- a/Makefile +++ b/Makefile @@ -69,3 +69,10 @@ update-templates: set-version --ext-str options=$${cm} -S $${input} > $${output}; \ done; \ done + +config.yaml: config.json FORCE + jsonnet -J . -J templates/ templates/config-to-k8s.jsonnet | \ + python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@ + +FORCE: + diff --git a/grafana/dashboard.json b/grafana/dashboards/dashboard.json similarity index 100% rename from grafana/dashboard.json rename to grafana/dashboards/dashboard.json diff --git a/grafana/dashboard.yml b/grafana/provisioning/dashboard.yml similarity index 100% rename from grafana/dashboard.yml rename to grafana/provisioning/dashboard.yml diff --git a/grafana/datasource.yml b/grafana/provisioning/datasource.yml similarity index 100% rename from grafana/datasource.yml rename to grafana/provisioning/datasource.yml diff --git a/templates/components/azure.jsonnet b/templates/components/azure.jsonnet index f10803eb..3ee819ee 100644 --- a/templates/components/azure.jsonnet +++ b/templates/components/azure.jsonnet @@ -37,8 +37,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -74,8 +79,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/bedrock.jsonnet b/templates/components/bedrock.jsonnet index 666d6bf5..1c375621 100644 --- a/templates/components/bedrock.jsonnet +++ b/templates/components/bedrock.jsonnet @@ -44,8 +44,13 @@ local chunker = import "chunker-recursive.jsonnet"; "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -85,8 +90,13 @@ local chunker = import "chunker-recursive.jsonnet"; "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/cassandra.jsonnet b/templates/components/cassandra.jsonnet index 4e08e72e..b9345fed 100644 --- a/templates/components/cassandra.jsonnet +++ b/templates/components/cassandra.jsonnet @@ -27,8 +27,13 @@ cassandra + { "stop-triples", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -54,8 +59,13 @@ cassandra + { "query-triples", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) } diff --git a/templates/components/chunker-recursive.jsonnet b/templates/components/chunker-recursive.jsonnet index 58bcba46..0b64b712 100644 --- a/templates/components/chunker-recursive.jsonnet +++ b/templates/components/chunker-recursive.jsonnet @@ -31,8 +31,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "chunker", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/claude.jsonnet b/templates/components/claude.jsonnet index d4f3df15..0cd190d4 100644 --- a/templates/components/claude.jsonnet +++ b/templates/components/claude.jsonnet @@ -34,8 +34,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -69,8 +74,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/cohere.jsonnet b/templates/components/cohere.jsonnet index 64e77bcf..6c99086a 100644 --- a/templates/components/cohere.jsonnet +++ b/templates/components/cohere.jsonnet @@ -35,8 +35,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -68,8 +73,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/document-rag.jsonnet b/templates/components/document-rag.jsonnet index b1a43db7..ac5c11ec 100644 --- a/templates/components/document-rag.jsonnet +++ b/templates/components/document-rag.jsonnet @@ -28,8 +28,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "document-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/embeddings-hf.jsonnet b/templates/components/embeddings-hf.jsonnet index 3e53d32c..b46feac7 100644 --- a/templates/components/embeddings-hf.jsonnet +++ b/templates/components/embeddings-hf.jsonnet @@ -21,15 +21,20 @@ local prompts = import "prompts/mixtral.jsonnet"; "-m", $["embeddings-model"], ]) - .with_limits("1.0", "256M") - .with_reservations("0.5", "256M"); + .with_limits("1.0", "400M") + .with_reservations("0.5", "400M"); local containerSet = engine.containers( "embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/embeddings-ollama.jsonnet b/templates/components/embeddings-ollama.jsonnet index c2a2809c..425a1c47 100644 --- a/templates/components/embeddings-ollama.jsonnet +++ b/templates/components/embeddings-ollama.jsonnet @@ -30,8 +30,13 @@ local url = import "values/url.jsonnet"; "embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/grafana.jsonnet b/templates/components/grafana.jsonnet index ccc92d4b..133e49c1 100644 --- a/templates/components/grafana.jsonnet +++ b/templates/components/grafana.jsonnet @@ -8,26 +8,37 @@ local images = import "values/images.jsonnet"; create:: function(engine) local vol = engine.volume("prometheus-data").with_size("20G"); - local cfgVol = engine.configVolume("./prometheus") - .with_size("20G"); + + local cfgVol = engine.configVolume( + "prometheus-cfg", "./prometheus", + { + "prometheus.yml": importstr "prometheus/prometheus.yml", + } + ); local container = engine.container("prometheus") .with_image(images.prometheus) .with_limits("0.5", "128M") .with_reservations("0.1", "128M") +// .with_command(["/bin/sh", "-c", "sleep 9999999"]) .with_port(9090, 9090, "http") - .with_volume_mount(cfgVol, "/etc/prometheus") + .with_volume_mount(cfgVol, "/etc/prometheus/") .with_volume_mount(vol, "/prometheus"); local containerSet = engine.containers( "prometheus", [ container ] ); + local service = + engine.service(containerSet) + .with_port(9090, 9090, "http"); + engine.resources([ cfgVol, vol, containerSet, + service, ]) }, @@ -37,12 +48,33 @@ local images = import "values/images.jsonnet"; create:: function(engine) local vol = engine.volume("grafana-storage").with_size("20G"); - local cv1 = engine.configVolume("./grafana/dashboard.yml") - .with_size("20G"); - local cv2 = engine.configVolume("./grafana/datasource.yml") - .with_size("20G"); - local cv3 = engine.configVolume("./grafana/dashboard.json") - .with_size("20G"); + + local provDashVol = engine.configVolume( + "prov-dash", "./grafana/provisioning/", + { + "dashboard.yml": + importstr "grafana/provisioning/dashboard.yml", + } + + ); + + local provDataVol = engine.configVolume( + "prov-data", "./grafana/provisioning/", + { + "datasource.yml": + importstr "grafana/provisioning/datasource.yml", + } + + ); + + local dashVol = engine.configVolume( + "dashboards", "./grafana/dashboards/", + { + "dashboard.json": + importstr "grafana/dashboards/dashboard.json", + } + + ); local container = engine.container("grafana") @@ -58,20 +90,31 @@ local images = import "values/images.jsonnet"; .with_reservations("0.5", "256M") .with_port(3000, 3000, "cassandra") .with_volume_mount(vol, "/var/lib/grafana") - .with_volume_mount(cv1, "/etc/grafana/provisioning/dashboards/dashboard.yml") - .with_volume_mount(cv2, "/etc/grafana/provisioning/datasources/datasource.yml") - .with_volume_mount(cv3, "/var/lib/grafana/dashboards/dashboard.json"); + .with_volume_mount( + provDashVol, "/etc/grafana/provisioning/dashboards/" + ) + .with_volume_mount( + provDataVol, "/etc/grafana/provisioning/datasources/" + ) + .with_volume_mount( + dashVol, "/var/lib/grafana/dashboards/" + ); local containerSet = engine.containers( "grafana", [ container ] ); + local service = + engine.service(containerSet) + .with_port(3000, 3000, "http"); + engine.resources([ vol, - cv1, - cv2, - cv3, + provDashVol, + provDataVol, + dashVol, containerSet, + service, ]) }, diff --git a/templates/components/graph-rag.jsonnet b/templates/components/graph-rag.jsonnet index ad5ae6f4..39fe3b47 100644 --- a/templates/components/graph-rag.jsonnet +++ b/templates/components/graph-rag.jsonnet @@ -27,8 +27,13 @@ local url = import "values/url.jsonnet"; "kg-extract-definitions", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -52,8 +57,13 @@ local url = import "values/url.jsonnet"; "kg-extract-relationships", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -87,8 +97,13 @@ local url = import "values/url.jsonnet"; "graph-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/milvus.jsonnet b/templates/components/milvus.jsonnet index 556b1fe8..b3044f98 100644 --- a/templates/components/milvus.jsonnet +++ b/templates/components/milvus.jsonnet @@ -27,8 +27,13 @@ milvus + { "store-graph-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -54,8 +59,13 @@ milvus + { "query-graph-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -81,8 +91,13 @@ milvus + { "store-doc-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -108,8 +123,13 @@ milvus + { "query-doc-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/neo4j.jsonnet b/templates/components/neo4j.jsonnet index 2e808ff0..b70562fe 100644 --- a/templates/components/neo4j.jsonnet +++ b/templates/components/neo4j.jsonnet @@ -28,8 +28,13 @@ neo4j + { "store-triples", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -55,8 +60,13 @@ neo4j + { "query-triples", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/ollama.jsonnet b/templates/components/ollama.jsonnet index e6b8e895..b0507cef 100644 --- a/templates/components/ollama.jsonnet +++ b/templates/components/ollama.jsonnet @@ -31,8 +31,13 @@ local prompts = import "prompts/slm.jsonnet"; "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -64,8 +69,13 @@ local prompts = import "prompts/slm.jsonnet"; "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/openai.jsonnet b/templates/components/openai.jsonnet index 63917376..3d1a2b73 100644 --- a/templates/components/openai.jsonnet +++ b/templates/components/openai.jsonnet @@ -37,8 +37,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -74,8 +79,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/prompt-generic.jsonnet b/templates/components/prompt-generic.jsonnet index aa19fb74..5d6d7c54 100644 --- a/templates/components/prompt-generic.jsonnet +++ b/templates/components/prompt-generic.jsonnet @@ -28,8 +28,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "prompt", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -61,8 +66,13 @@ local prompts = import "prompts/mixtral.jsonnet"; "prompt-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/prompt-template.jsonnet b/templates/components/prompt-template.jsonnet index e64a18e8..7816fa39 100644 --- a/templates/components/prompt-template.jsonnet +++ b/templates/components/prompt-template.jsonnet @@ -39,8 +39,13 @@ local default_prompts = import "prompts/default-prompts.jsonnet"; "prompt", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -82,8 +87,13 @@ local default_prompts = import "prompts/default-prompts.jsonnet"; "prompt-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/pulsar-manager.jsonnet b/templates/components/pulsar-manager.jsonnet index 12ce99da..9a0b59b2 100644 --- a/templates/components/pulsar-manager.jsonnet +++ b/templates/components/pulsar-manager.jsonnet @@ -27,8 +27,8 @@ local images = import "values/images.jsonnet"; local service = engine.service(containerSet) - .with_port(9527, 9527) - .with_port(7750, 7750); + .with_port(9527, 9527, "api") + .with_port(7750, 7750, "api2); engine.resources([ containerSet, diff --git a/templates/components/pulsar.jsonnet b/templates/components/pulsar.jsonnet index 562e2819..058c35c1 100644 --- a/templates/components/pulsar.jsonnet +++ b/templates/components/pulsar.jsonnet @@ -7,19 +7,20 @@ local images = import "values/images.jsonnet"; create:: function(engine) - local confVolume = engine.volume("pulsar-conf").with_size("2G"); +// local confVolume = engine.volume("pulsar-conf").with_size("2G"); local dataVolume = engine.volume("pulsar-data").with_size("20G"); local container = engine.container("pulsar") .with_image(images.pulsar) - .with_command("bin/pulsar standalone") + .with_command(["bin/pulsar", "standalone"]) +// .with_command(["/bin/sh", "-c", "sleep 9999999"]) .with_environment({ - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" }) - .with_limits("1.0", "900M") - .with_reservations("0.5", "900M") - .with_volume_mount(confVolume, "/pulsar/conf") + .with_limits("2.0", "1500M") + .with_reservations("1.0", "1500M") +// .with_volume_mount(confVolume, "/pulsar/conf") .with_volume_mount(dataVolume, "/pulsar/data") .with_port(6650, 6650, "bookie") .with_port(8080, 8080, "http"); @@ -30,27 +31,35 @@ local images = import "values/images.jsonnet"; .with_command([ "sh", "-c", - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response", + "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done", ]) - .with_limits("0.5", "128M") - .with_reservations("0.1", "128M"); + .with_limits("1", "400M") + .with_reservations("0.1", "400M"); local containerSet = engine.containers( "pulsar", [ - container, adminContainer + container + ] + ); + + local adminContainerSet = engine.containers( + "init-pulsar", + [ + adminContainer ] ); local service = engine.service(containerSet) - .with_port(6650, 6650) - .with_port(8080, 8080); + .with_port(6650, 6650, "bookie") + .with_port(8080, 8080, "http"); engine.resources([ - confVolume, +// confVolume, dataVolume, containerSet, + adminContainerSet, service, ]) @@ -58,5 +67,3 @@ local images = import "values/images.jsonnet"; } - - diff --git a/templates/components/qdrant.jsonnet b/templates/components/qdrant.jsonnet index ac6eadf9..f923e84f 100644 --- a/templates/components/qdrant.jsonnet +++ b/templates/components/qdrant.jsonnet @@ -27,8 +27,13 @@ qdrant + { "store-graph-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -54,8 +59,13 @@ qdrant + { "query-graph-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -81,8 +91,13 @@ qdrant + { "store-doc-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -108,8 +123,13 @@ qdrant + { "query-doc-embeddings", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8080, 8080, "metrics"); + engine.resources([ containerSet, + service, ]) diff --git a/templates/components/trustgraph.jsonnet b/templates/components/trustgraph.jsonnet index 787f1a0c..c7615ed4 100644 --- a/templates/components/trustgraph.jsonnet +++ b/templates/components/trustgraph.jsonnet @@ -31,8 +31,13 @@ local prompt = import "prompt-template.jsonnet"; "chunker", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -56,8 +61,13 @@ local prompt = import "prompt-template.jsonnet"; "pdf-decoder", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, @@ -81,8 +91,13 @@ local prompt = import "prompt-template.jsonnet"; "vectorize", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, + service, ]) }, diff --git a/templates/components/vertexai.jsonnet b/templates/components/vertexai.jsonnet index f2fd3d86..2bc97799 100644 --- a/templates/components/vertexai.jsonnet +++ b/templates/components/vertexai.jsonnet @@ -15,7 +15,13 @@ local prompts = import "prompts/mixtral.jsonnet"; create:: function(engine) - local cfgVol = engine.configVolume("./vertexai"); + local cfgVol = engine.secretVolume( + "vertexai-creds", + "./vertexai", + { + "private.json": importstr "vertexai/private.json", + } + ); local container = engine.container("text-completion") @@ -35,17 +41,22 @@ local prompts = import "prompts/mixtral.jsonnet"; "-m", $["vertexai-model"], ]) - .with_limits("0.5", "128M") - .with_reservations("0.1", "128M") + .with_limits("0.5", "256M") + .with_reservations("0.1", "256M") .with_volume_mount(cfgVol, "/vertexai"); local containerSet = engine.containers( "text-completion", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ cfgVol, containerSet, + service, ]) }, @@ -54,7 +65,13 @@ local prompts = import "prompts/mixtral.jsonnet"; create:: function(engine) - local cfgVol = engine.configVolume("./vertexai"); + local cfgVol = engine.secretVolume( + "vertexai-creds", + "./vertexai", + { + "private.json": importstr "vertexai/private.json", + } + ); local container = engine.container("text-completion-rag") @@ -78,20 +95,24 @@ local prompts = import "prompts/mixtral.jsonnet"; "-o", "non-persistent://tg/response/text-completion-rag-response", ]) - .with_limits("0.5", "128M") - .with_reservations("0.1", "128M") + .with_limits("0.5", "256M") + .with_reservations("0.1", "256M") .with_volume_mount(cfgVol, "/vertexai"); local containerSet = engine.containers( "text-completion-rag", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ cfgVol, containerSet, + service, ]) - } } + prompts diff --git a/templates/config-to-gcp-k8s.jsonnet b/templates/config-to-gcp-k8s.jsonnet new file mode 100644 index 00000000..4ba0325e --- /dev/null +++ b/templates/config-to-gcp-k8s.jsonnet @@ -0,0 +1,52 @@ + +local engine = import "k8s.jsonnet"; +local decode = import "decode-config.jsonnet"; +local components = import "components.jsonnet"; + +// Import config +local config = import "config.json"; + +// Produce patterns from config +local patterns = decode(config); + +local ns = { + apiVersion: "v1", + kind: "Namespace", + metadata: { + name: "trustgraph", + }, + "spec": { + }, +}; + +local sc = { + apiVersion: "storage.k8s.io/v1", + kind: "StorageClass", + metadata: { + name: "tg", + }, + provisioner: "pd.csi.storage.gke.io", + parameters: { + type: "pd-balanced", + "csi.storage.k8s.io/fstype": "ext4", + }, + reclaimPolicy: "Delete", + volumeBindingMode: "WaitForFirstConsumer", +}; + +//patterns["pulsar"].create(engine) + +// Extract resources usnig the engine +local resources = std.flattenArrays([ + p.create(engine) for p in std.objectValues(patterns) +]); + +local resourceList = { + apiVersion: "v1", + kind: "List", + items: [ns, sc] + resources, +}; + + +resourceList + diff --git a/templates/docker-compose.jsonnet b/templates/docker-compose.jsonnet index 32697c66..e1733b78 100644 --- a/templates/docker-compose.jsonnet +++ b/templates/docker-compose.jsonnet @@ -26,7 +26,7 @@ function(vol, mnt) self + { volumes: super.volumes + [{ - volume: vol.name, mount: mnt + volume: vol, mount: mnt }] }, @@ -70,7 +70,7 @@ (if std.length(container.volumes) > 0 then { volumes: [ - "%s:%s" % [vol.volume, vol.mount] + "%s:%s" % [vol.volume.name, vol.mount] for vol in container.volumes ] } @@ -81,6 +81,21 @@ }, + internalService:: function(containers) + { + + local service = self, + + name: containers.name, + + with_port:: function(src, dest, name) + self + { port: [src, dest] }, + + add:: function() { + } + + }, + service:: function(containers) { @@ -88,7 +103,8 @@ name: containers.name, - with_port:: function(src, dest) self + { port: [src, dest] }, + with_port:: function(src, dest, name) + self + { port: [src, dest] }, add:: function() { } @@ -112,13 +128,26 @@ }, - // FIXME: For K8s - configVolume:: function(name) + configVolume:: function(name, dir, parts) { local volume = self, - name: name, + name: dir, + + with_size:: function(size) self + { size: size }, + + add:: function() { + } + + }, + + secretVolume:: function(name, dir, parts) + { + + local volume = self, + + name: dir, with_size:: function(size) self + { size: size }, diff --git a/templates/k8s.jsonnet b/templates/k8s.jsonnet new file mode 100644 index 00000000..cbde28d0 --- /dev/null +++ b/templates/k8s.jsonnet @@ -0,0 +1,330 @@ +{ + + container:: function(name) + { + + local container = self, + + name: name, + limits: {}, + reservations: {}, + ports: [], + volumes: [], + + with_image:: function(x) self + { image: x }, + + with_command:: function(x) self + { command: x }, + + with_environment:: function(x) self + { environment: x }, + + with_limits:: function(c, m) self + { limits: { cpu: c, memory: m } }, + + with_reservations:: + function(c, m) self + { reservations: { cpu: c, memory: m } }, + + with_volume_mount:: + function(vol, mnt) + self + { + volumes: super.volumes + [{ + volume: vol, mount: mnt + }] + }, + + with_port:: + function(src, dest, name) self + { + ports: super.ports + [ + { src: src, dest: dest, name : name } + ] + }, + + add:: function() [ + + { + apiVersion: "apps/v1", + kind: "Deployment", + metadata: { + name: container.name, + namespace: "trustgraph", + labels: { + app: container.name + } + }, + spec: { + replicas: 1, + selector: { + matchLabels: { + app: container.name, + } + }, + template: { + metadata: { + labels: { + app: container.name, + } + }, + spec: { + containers: [ + { + name: container.name, + image: container.image, + securityContext: { + // fsGroup: 1234 + // runAsUser: 65534 + // runAsGroup: 65534 + // runAsNonRoot: true + runAsUser: 0, + runAsGroup: 0, + // runAsNonRoot: true, + // readOnlyRootFilesystem: true, + }, + resources: { + requests: container.reservations, + limits: container.limits + }, + } + ( + if std.length(container.ports) > 0 then + { + ports: [ + { + hostPort: port.src, + containerPort: port.dest, + } + for port in container.ports + ] + } else + {}) + + + (if std.objectHas(container, "command") then + { command: container.command } + else {}) + + (if std.objectHas(container, "environment") then + { env: [ { + name: e.key, value: e.value + } + for e in + std.objectKeysValues( + container.environment + ) + ] + } + else {}) + + + (if std.length(container.volumes) > 0 then + { + volumeMounts: [ + { + mountPath: vol.mount, + name: vol.volume.name, + } + for vol in container.volumes + ] + } + + else + {} + ) + ], + volumes: [ + vol.volume.volRef() + for vol in container.volumes + + ] + } + }, + } + {} + + } + + ] + + }, + + // Just an alias + internalService:: self.service, + + service:: function(containers) + { + + local service = self, + + name: containers.name, + + ports: [], + + with_port:: + function(src, dest, name) + self + { + ports: super.ports + [ + { src: src, dest: dest, name: name } + ] + }, + + add:: function() [ + + { + + apiVersion: "v1", + kind: "Service", + metadata: { + name: service.name, + namespace: "trustgraph", + }, + spec: { + selector: { + app: service.name, + }, + ports: [ + { + port: port.src, + targetPort: port.dest, + name: port.name, + } + for port in service.ports + ], + } + } + ], + + }, + + volume:: function(name) + { + + local volume = self, + + name: name, + + with_size:: function(size) self + { size: size }, + + add:: function() [ +/* + { + + apiVersion: "v1", + kind: "PersistentVolume", + metadata: { + name: volume.name, + labels: { + type: "local", + } + }, + spec: { + storageClassName: "tg", + volumeMode: "Filesystem", + capacity: { + storage: volume.size, + }, + accessModes: [ "ReadWriteOnce" ], + persistentVolumeReclaimPolicy: "Delete", + } + }, +*/ + { + apiVersion: "v1", + kind: "PersistentVolumeClaim", + metadata: { + name: volume.name, + namespace: "trustgraph", + }, + spec: { + storageClassName: "tg", + accessModes: [ "ReadWriteOnce" ], + resources: { + requests: { + storage: volume.size, + } + }, +// volumeName: volume.name, + } + } + ], + + volRef:: function() { + name: volume.name, + persistentVolumeClaim: { claimName: volume.name }, + } + + }, + + configVolume:: function(name, dir, parts) + { + + local volume = self, + + name: name, + + with_size:: function(size) self + { size: size }, + + add:: function() [ + { + apiVersion: "v1", + kind: "ConfigMap", + metadata: { + name: volume.name, + namespace: "trustgraph", + }, + data: parts + }, + ], + + + volRef:: function() { + name: volume.name, + configMap: { name: volume.name }, + } + + }, + + secretVolume:: function(name, dir, parts) + { + + local volume = self, + + name: name, + + with_size:: function(size) self + { size: size }, + + add:: function() [ + { + apiVersion: "v1", + kind: "Secret", + metadata: { + name: volume.name, + namespace: "trustgraph", + }, + data: { + [item.key]: std.base64(item.value) + for item in std.objectKeysValues(parts) + } + }, + ], + + volRef:: function() { + name: volume.name, + secret: { secretName: volume.name }, + } + + }, + + containers:: function(name, containers) + { + + local cont = self, + + name: name, + containers: containers, + + add:: function() std.flattenArrays( + [ c.add() for c in cont.containers ] + ), + + }, + + resources:: function(res) + + std.flattenArrays( + [ c.add() for c in res ] + ), + +} + diff --git a/templates/stores/cassandra.jsonnet b/templates/stores/cassandra.jsonnet index f3d27025..c501e1f9 100644 --- a/templates/stores/cassandra.jsonnet +++ b/templates/stores/cassandra.jsonnet @@ -26,7 +26,7 @@ local images = import "values/images.jsonnet"; local service = engine.service(containerSet) - .with_port(9042, 9042); + .with_port(9042, 9042, "api"); engine.resources([ vol, diff --git a/templates/stores/milvus.jsonnet b/templates/stores/milvus.jsonnet index eef91172..888a83a9 100644 --- a/templates/stores/milvus.jsonnet +++ b/templates/stores/milvus.jsonnet @@ -37,7 +37,7 @@ local images = import "values/images.jsonnet"; local service = engine.service(containerSet) - .with_port(2379, 2379); + .with_port(2379, 2379, 30379, "api"); engine.resources([ vol, @@ -78,7 +78,7 @@ local images = import "values/images.jsonnet"; local service = engine.service(containerSet) - .with_port(9001, 9001); + .with_port(9001, 9001, "api"); engine.resources([ vol, @@ -116,8 +116,8 @@ local images = import "values/images.jsonnet"; local service = engine.service(containerSet) - .with_port(9091, 9091) - .with_port(19530, 19530); + .with_port(9091, 9091, "api") + .with_port(19530, 19530, "api2); engine.resources([ vol, diff --git a/templates/stores/neo4j.jsonnet b/templates/stores/neo4j.jsonnet index 4d74d73d..55cccc5f 100644 --- a/templates/stores/neo4j.jsonnet +++ b/templates/stores/neo4j.jsonnet @@ -28,10 +28,16 @@ local images = import "values/images.jsonnet"; "neo4j", [ container ] ); + local service = + engine.service(containerSet) + .with_port(7474, 7474, "api") + .with_port(7687, 7687, "api2"); + engine.resources([ vol, containerSet, - ]) + service, + ]) }, diff --git a/templates/stores/qdrant.jsonnet b/templates/stores/qdrant.jsonnet index 4e2ce40a..e8443b73 100644 --- a/templates/stores/qdrant.jsonnet +++ b/templates/stores/qdrant.jsonnet @@ -22,9 +22,15 @@ local images = import "values/images.jsonnet"; "qdrant", [ container ] ); + local service = + engine.service(containerSet) + .with_port(6333, 6333, "api") + .with_port(6334, 6334, "api2"); + engine.resources([ vol, containerSet, + service, ]) }, diff --git a/templates/values/version.jsonnet b/templates/values/version.jsonnet new file mode 100644 index 00000000..e127b65d --- /dev/null +++ b/templates/values/version.jsonnet @@ -0,0 +1 @@ +"0.9.3" diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 39d8c539..d6eb9207 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -264,24 +264,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -470,6 +471,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index a0dee80c..12809976 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -265,24 +265,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -471,6 +472,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 5d218d17..3aa98042 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -264,24 +264,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -478,6 +479,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 8de30c3b..a5963277 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -265,24 +265,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -479,6 +480,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 22772ada..dd2aea90 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -264,24 +264,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -466,6 +467,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index cec0f747..abf2e8d2 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -265,24 +265,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -467,6 +468,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 906a5c64..f92789c0 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -264,24 +264,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -462,6 +463,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 0dc2bd12..77b6151a 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -265,24 +265,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -463,6 +464,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 51fe0ca6..3929fb42 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -216,24 +216,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -414,6 +415,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index ccbea47e..0c3eb43a 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -217,24 +217,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -415,6 +416,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 4415cff3..46921ae2 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -264,24 +264,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -470,6 +471,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 6a62caba..c0ffdfee 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -265,24 +265,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -471,6 +472,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 59a26c07..05adee9a 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -46,10 +46,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -69,9 +69,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -101,15 +101,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -171,7 +171,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -264,24 +264,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -420,10 +421,10 @@ "resources": "limits": "cpus": "0.5" - "memory": "128M" + "memory": "256M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "256M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "volumes": @@ -451,10 +452,10 @@ "resources": "limits": "cpus": "0.5" - "memory": "128M" + "memory": "256M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "256M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "volumes": @@ -478,6 +479,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 83c7c681..ed0f74dd 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -29,10 +29,10 @@ "resources": "limits": "cpus": "1.0" - "memory": "256M" + "memory": "400M" "reservations": "cpus": "0.5" - "memory": "256M" + "memory": "400M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "grafana": @@ -52,9 +52,9 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "graph-rag": "command": - "graph-rag" @@ -84,15 +84,15 @@ "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "kg-extract-definitions": @@ -172,7 +172,7 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "prompt": "command": @@ -265,24 +265,25 @@ "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -421,10 +422,10 @@ "resources": "limits": "cpus": "0.5" - "memory": "128M" + "memory": "256M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "256M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "volumes": @@ -452,10 +453,10 @@ "resources": "limits": "cpus": "0.5" - "memory": "128M" + "memory": "256M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "256M" "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" "restart": "on-failure:100" "volumes": @@ -479,6 +480,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 2e358e41..a74fb726 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -33,22 +33,22 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "init-pulsar": "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "prometheus": @@ -65,27 +65,28 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -209,6 +210,5 @@ "cassandra": {} "grafana-storage": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index d5bca10c..ea863dba 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -16,22 +16,22 @@ "restart": "on-failure:100" "volumes": - "grafana-storage:/var/lib/grafana" - - "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml" - - "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml" - - "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json" + - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" + - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" + - "./grafana/dashboards/:/var/lib/grafana/dashboards/" "init-pulsar": "command": - "sh" - "-c" - - "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response" + - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" "deploy": "resources": "limits": - "cpus": "0.5" - "memory": "128M" + "cpus": "1" + "memory": "400M" "reservations": "cpus": "0.1" - "memory": "128M" + "memory": "400M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "restart": "on-failure:100" "neo4j": @@ -66,27 +66,28 @@ - "9090:9090" "restart": "on-failure:100" "volumes": - - "./prometheus:/etc/prometheus" + - "./prometheus:/etc/prometheus/" - "prometheus-data:/prometheus" "pulsar": - "command": "bin/pulsar standalone" + "command": + - "bin/pulsar" + - "standalone" "deploy": "resources": "limits": - "cpus": "1.0" - "memory": "900M" + "cpus": "2.0" + "memory": "1500M" "reservations": - "cpus": "0.5" - "memory": "900M" + "cpus": "1.0" + "memory": "1500M" "environment": - "PULSAR_MEM": "-Xms700M -Xmx700M" + "PULSAR_MEM": "-Xms600M -Xmx600M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" - "8080:8080" "restart": "on-failure:100" "volumes": - - "pulsar-conf:/pulsar/conf" - "pulsar-data:/pulsar/data" "qdrant": "deploy": @@ -210,6 +211,5 @@ "grafana-storage": {} "neo4j": {} "prometheus-data": {} - "pulsar-conf": {} "pulsar-data": {} "qdrant": {} From 0ae6feddb02168539851879f9cdfff3e8e3f02ff Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 9 Sep 2024 17:16:50 +0100 Subject: [PATCH 02/44] Added GCP and Minikube output (#59) * Added a config to create Minikube k8s, uses hostpath volumes * Reworked templater to produce docker compose and minikube output * Fix config templates --- Makefile | 47 +- .../tg-launch-azure-cassandra.yaml | 721 ++++++ .../docker-compose/tg-launch-azure-neo4j.yaml | 722 ++++++ .../tg-launch-bedrock-cassandra.yaml | 729 ++++++ .../tg-launch-bedrock-neo4j.yaml | 730 ++++++ .../tg-launch-claude-cassandra.yaml | 717 ++++++ .../tg-launch-claude-neo4j.yaml | 718 ++++++ .../tg-launch-cohere-cassandra.yaml | 713 ++++++ .../tg-launch-cohere-neo4j.yaml | 714 ++++++ .../tg-launch-ollama-cassandra.yaml | 425 ++++ .../tg-launch-ollama-neo4j.yaml | 426 ++++ .../tg-launch-openai-cassandra.yaml | 721 ++++++ .../tg-launch-openai-neo4j.yaml | 722 ++++++ .../tg-launch-vertexai-cassandra.yaml | 729 ++++++ .../tg-launch-vertexai-neo4j.yaml | 730 ++++++ .../docker-compose/tg-storage-cassandra.yaml | 220 ++ deploy/docker-compose/tg-storage-neo4j.yaml | 221 ++ .../minikube/tg-launch-azure-cassandra.yaml | 2016 ++++++++++++++++ deploy/minikube/tg-launch-azure-neo4j.yaml | 2021 ++++++++++++++++ .../minikube/tg-launch-bedrock-cassandra.yaml | 2024 ++++++++++++++++ deploy/minikube/tg-launch-bedrock-neo4j.yaml | 2029 ++++++++++++++++ .../minikube/tg-launch-claude-cassandra.yaml | 2012 ++++++++++++++++ deploy/minikube/tg-launch-claude-neo4j.yaml | 2017 ++++++++++++++++ .../minikube/tg-launch-cohere-cassandra.yaml | 2008 ++++++++++++++++ deploy/minikube/tg-launch-cohere-neo4j.yaml | 2013 ++++++++++++++++ .../minikube/tg-launch-ollama-cassandra.yaml | 1718 ++++++++++++++ deploy/minikube/tg-launch-ollama-neo4j.yaml | 1723 ++++++++++++++ .../minikube/tg-launch-openai-cassandra.yaml | 2016 ++++++++++++++++ deploy/minikube/tg-launch-openai-neo4j.yaml | 2021 ++++++++++++++++ .../tg-launch-vertexai-cassandra.yaml | 2046 ++++++++++++++++ deploy/minikube/tg-launch-vertexai-neo4j.yaml | 2051 +++++++++++++++++ scripts/graph-show | 2 +- scripts/graph-to-turtle | 2 +- setup.py | 2 +- templates/config-to-docker-compose.jsonnet | 4 +- templates/config-to-gcp-k8s.jsonnet | 42 +- templates/config-to-minikube-k8s.jsonnet | 26 + templates/{ => engine}/docker-compose.jsonnet | 8 + templates/engine/gcp-k8s.jsonnet | 44 + templates/{ => engine}/k8s.jsonnet | 41 +- templates/engine/minikube-k8s.jsonnet | 115 + templates/opts-to-docker-compose.jsonnet | 21 + .../{main.jsonnet => opts-to-gcp-k8s.jsonnet} | 9 +- templates/opts-to-minikube-k8s.jsonnet | 19 + templates/{ => util}/decode-config.jsonnet | 0 templates/values/version.jsonnet | 1 - tg-launch-azure-cassandra.yaml | 475 ---- tg-launch-azure-neo4j.yaml | 476 ---- tg-launch-bedrock-cassandra.yaml | 483 ---- tg-launch-bedrock-neo4j.yaml | 484 ---- tg-launch-claude-cassandra.yaml | 471 ---- tg-launch-claude-neo4j.yaml | 472 ---- tg-launch-cohere-cassandra.yaml | 467 ---- tg-launch-cohere-neo4j.yaml | 468 ---- tg-launch-ollama-cassandra.yaml | 419 ---- tg-launch-ollama-neo4j.yaml | 420 ---- tg-launch-openai-cassandra.yaml | 475 ---- tg-launch-openai-neo4j.yaml | 476 ---- tg-launch-vertexai-cassandra.yaml | 483 ---- tg-launch-vertexai-neo4j.yaml | 484 ---- tg-storage-cassandra.yaml | 214 -- tg-storage-neo4j.yaml | 215 -- 62 files changed, 37961 insertions(+), 7077 deletions(-) create mode 100644 deploy/docker-compose/tg-launch-azure-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-azure-neo4j.yaml create mode 100644 deploy/docker-compose/tg-launch-bedrock-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-bedrock-neo4j.yaml create mode 100644 deploy/docker-compose/tg-launch-claude-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-claude-neo4j.yaml create mode 100644 deploy/docker-compose/tg-launch-cohere-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-cohere-neo4j.yaml create mode 100644 deploy/docker-compose/tg-launch-ollama-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-ollama-neo4j.yaml create mode 100644 deploy/docker-compose/tg-launch-openai-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-openai-neo4j.yaml create mode 100644 deploy/docker-compose/tg-launch-vertexai-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-vertexai-neo4j.yaml create mode 100644 deploy/docker-compose/tg-storage-cassandra.yaml create mode 100644 deploy/docker-compose/tg-storage-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-azure-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-azure-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-bedrock-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-bedrock-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-claude-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-claude-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-cohere-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-cohere-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-ollama-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-ollama-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-openai-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-openai-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-vertexai-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-vertexai-neo4j.yaml create mode 100644 templates/config-to-minikube-k8s.jsonnet rename templates/{ => engine}/docker-compose.jsonnet (94%) create mode 100644 templates/engine/gcp-k8s.jsonnet rename templates/{ => engine}/k8s.jsonnet (86%) create mode 100644 templates/engine/minikube-k8s.jsonnet create mode 100644 templates/opts-to-docker-compose.jsonnet rename templates/{main.jsonnet => opts-to-gcp-k8s.jsonnet} (59%) create mode 100644 templates/opts-to-minikube-k8s.jsonnet rename templates/{ => util}/decode-config.jsonnet (100%) delete mode 100644 templates/values/version.jsonnet delete mode 100644 tg-launch-azure-cassandra.yaml delete mode 100644 tg-launch-azure-neo4j.yaml delete mode 100644 tg-launch-bedrock-cassandra.yaml delete mode 100644 tg-launch-bedrock-neo4j.yaml delete mode 100644 tg-launch-claude-cassandra.yaml delete mode 100644 tg-launch-claude-neo4j.yaml delete mode 100644 tg-launch-cohere-cassandra.yaml delete mode 100644 tg-launch-cohere-neo4j.yaml delete mode 100644 tg-launch-ollama-cassandra.yaml delete mode 100644 tg-launch-ollama-neo4j.yaml delete mode 100644 tg-launch-openai-cassandra.yaml delete mode 100644 tg-launch-openai-neo4j.yaml delete mode 100644 tg-launch-vertexai-cassandra.yaml delete mode 100644 tg-launch-vertexai-neo4j.yaml delete mode 100644 tg-storage-cassandra.yaml delete mode 100644 tg-storage-neo4j.yaml diff --git a/Makefile b/Makefile index 5fd5cc9b..c5e3d68b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.9.3 +VERSION=0.10.0 DOCKER=podman @@ -50,29 +50,54 @@ VECTORDB=qdrant JSONNET_FLAGS=-J templates -J . -update-templates: set-version +update-templates: update-dcs update-minikubes + +JSON_TO_YAML=python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' +# JSON_TO_YAML=cat + +update-dcs: set-version + rm -rf deploy + mkdir -p deploy/docker-compose deploy/minikube for graph in ${GRAPHS}; do \ cm=$${graph},pulsar,${VECTORDB},grafana; \ - input=templates/main.jsonnet; \ - output=tg-storage-$${graph}.yaml; \ + input=templates/opts-to-docker-compose.jsonnet; \ + output=deploy/docker-compose/tg-storage-$${graph}.yaml; \ echo $${graph} '->' $${output}; \ jsonnet ${JSONNET_FLAGS} \ - --ext-str options=$${cm} -S $${input} > $${output}; \ + --ext-str options=$${cm} $${input} | \ + ${JSON_TO_YAML} > $${output}; \ done for model in ${MODELS}; do \ for graph in ${GRAPHS}; do \ cm=$${graph},pulsar,${VECTORDB},embeddings-hf,graph-rag,grafana,trustgraph,$${model}; \ - input=templates/main.jsonnet; \ - output=tg-launch-$${model}-$${graph}.yaml; \ + input=templates/opts-to-docker-compose.jsonnet; \ + output=deploy/docker-compose/tg-launch-$${model}-$${graph}.yaml; \ echo $${model} + $${graph} '->' $${output}; \ jsonnet ${JSONNET_FLAGS} \ - --ext-str options=$${cm} -S $${input} > $${output}; \ + --ext-str options=$${cm} $${input} | \ + ${JSON_TO_YAML} > $${output}; \ done; \ done -config.yaml: config.json FORCE - jsonnet -J . -J templates/ templates/config-to-k8s.jsonnet | \ - python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@ +update-minikubes: set-version + for model in ${MODELS}; do \ + for graph in ${GRAPHS}; do \ + cm=$${graph},pulsar,${VECTORDB},embeddings-hf,graph-rag,grafana,trustgraph,$${model}; \ + input=templates/opts-to-minikube-k8s.jsonnet; \ + output=deploy/minikube/tg-launch-$${model}-$${graph}.yaml; \ + echo $${model} + $${graph} '->' $${output}; \ + jsonnet ${JSONNET_FLAGS} \ + --ext-str options=$${cm} $${input} | \ + ${JSON_TO_YAML} > $${output}; \ + done; \ + done FORCE: +IGNOREconfig.yaml: config.json FORCE + jsonnet -J . -J templates/ templates/config-to-gcp-k8s.jsonnet | \ + python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@ + +config.yaml: config.json FORCE + jsonnet -J . -J templates/ templates/config-to-minikube-k8s.jsonnet | \ + python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@ diff --git a/deploy/docker-compose/tg-launch-azure-cassandra.yaml b/deploy/docker-compose/tg-launch-azure-cassandra.yaml new file mode 100644 index 00000000..547c3aa6 --- /dev/null +++ b/deploy/docker-compose/tg-launch-azure-cassandra.yaml @@ -0,0 +1,721 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-azure-neo4j.yaml b/deploy/docker-compose/tg-launch-azure-neo4j.yaml new file mode 100644 index 00000000..79525710 --- /dev/null +++ b/deploy/docker-compose/tg-launch-azure-neo4j.yaml @@ -0,0 +1,722 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml new file mode 100644 index 00000000..8dd10511 --- /dev/null +++ b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml @@ -0,0 +1,729 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-recursive + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '2000' + - --chunk-overlap + - '100' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml new file mode 100644 index 00000000..3da7aa57 --- /dev/null +++ b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml @@ -0,0 +1,730 @@ +services: + chunker: + command: + - chunker-recursive + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '2000' + - --chunk-overlap + - '100' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-claude-cassandra.yaml b/deploy/docker-compose/tg-launch-claude-cassandra.yaml new file mode 100644 index 00000000..97d3752f --- /dev/null +++ b/deploy/docker-compose/tg-launch-claude-cassandra.yaml @@ -0,0 +1,717 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-claude-neo4j.yaml b/deploy/docker-compose/tg-launch-claude-neo4j.yaml new file mode 100644 index 00000000..add8b52b --- /dev/null +++ b/deploy/docker-compose/tg-launch-claude-neo4j.yaml @@ -0,0 +1,718 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml new file mode 100644 index 00000000..957beb0f --- /dev/null +++ b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml @@ -0,0 +1,713 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '150' + - --chunk-overlap + - '10' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml new file mode 100644 index 00000000..e016e6ea --- /dev/null +++ b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml @@ -0,0 +1,714 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '150' + - --chunk-overlap + - '10' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml new file mode 100644 index 00000000..051a5e63 --- /dev/null +++ b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml @@ -0,0 +1,425 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - 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.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml new file mode 100644 index 00000000..a3e7fa40 --- /dev/null +++ b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml @@ -0,0 +1,426 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - 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.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-openai-cassandra.yaml b/deploy/docker-compose/tg-launch-openai-cassandra.yaml new file mode 100644 index 00000000..d3580736 --- /dev/null +++ b/deploy/docker-compose/tg-launch-openai-cassandra.yaml @@ -0,0 +1,721 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-openai-neo4j.yaml b/deploy/docker-compose/tg-launch-openai-neo4j.yaml new file mode 100644 index 00000000..37ff30a4 --- /dev/null +++ b/deploy/docker-compose/tg-launch-openai-neo4j.yaml @@ -0,0 +1,722 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.0 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml new file mode 100644 index 00000000..a7d421a8 --- /dev/null +++ b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml @@ -0,0 +1,729 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + deploy: + resources: + limits: + cpus: '0.5' + memory: 256M + reservations: + cpus: '0.1' + memory: 256M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + volumes: + - ./vertexai:/vertexai + text-completion-rag: + command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 256M + reservations: + cpus: '0.1' + memory: 256M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + volumes: + - ./vertexai:/vertexai + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml new file mode 100644 index 00000000..4cdc5127 --- /dev/null +++ b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml @@ -0,0 +1,730 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + prompt-rag: + command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value or date. true + if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only the + provided set of knowledge statements in your response. Do not speculate if the + answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the context + in your response. Do not speculate if the answer is not found in the provided + set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + text-completion: + command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + deploy: + resources: + limits: + cpus: '0.5' + memory: 256M + reservations: + cpus: '0.1' + memory: 256M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + volumes: + - ./vertexai:/vertexai + text-completion-rag: + command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 256M + reservations: + cpus: '0.1' + memory: 256M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + volumes: + - ./vertexai:/vertexai + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-storage-cassandra.yaml b/deploy/docker-compose/tg-storage-cassandra.yaml new file mode 100644 index 00000000..6f32f90f --- /dev/null +++ b/deploy/docker-compose/tg-storage-cassandra.yaml @@ -0,0 +1,220 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-storage-neo4j.yaml b/deploy/docker-compose/tg-storage-neo4j.yaml new file mode 100644 index 00000000..3f9594c5 --- /dev/null +++ b/deploy/docker-compose/tg-storage-neo4j.yaml @@ -0,0 +1,221 @@ +services: + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ./prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/minikube/tg-launch-azure-cassandra.yaml b/deploy/minikube/tg-launch-azure-cassandra.yaml new file mode 100644 index 00000000..5f3c16dd --- /dev/null +++ b/deploy/minikube/tg-launch-azure-cassandra.yaml @@ -0,0 +1,2016 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-azure-neo4j.yaml b/deploy/minikube/tg-launch-azure-neo4j.yaml new file mode 100644 index 00000000..5341546e --- /dev/null +++ b/deploy/minikube/tg-launch-azure-neo4j.yaml @@ -0,0 +1,2021 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-azure + - -p + - pulsar://pulsar:6650 + - -k + - ${AZURE_TOKEN} + - -e + - ${AZURE_ENDPOINT} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-bedrock-cassandra.yaml b/deploy/minikube/tg-launch-bedrock-cassandra.yaml new file mode 100644 index 00000000..9db0d164 --- /dev/null +++ b/deploy/minikube/tg-launch-bedrock-cassandra.yaml @@ -0,0 +1,2024 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-recursive + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '2000' + - --chunk-overlap + - '100' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-bedrock-neo4j.yaml b/deploy/minikube/tg-launch-bedrock-neo4j.yaml new file mode 100644 index 00000000..6c464845 --- /dev/null +++ b/deploy/minikube/tg-launch-bedrock-neo4j.yaml @@ -0,0 +1,2029 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-recursive + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '2000' + - --chunk-overlap + - '100' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-bedrock + - -p + - pulsar://pulsar:6650 + - -z + - ${AWS_ID_KEY} + - -k + - ${AWS_SECRET_KEY} + - -r + - us-west-2 + - -x + - '4096' + - -t + - '0' + - -m + - mistral.mixtral-8x7b-instruct-v0:1 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-claude-cassandra.yaml b/deploy/minikube/tg-launch-claude-cassandra.yaml new file mode 100644 index 00000000..a49a2dc5 --- /dev/null +++ b/deploy/minikube/tg-launch-claude-cassandra.yaml @@ -0,0 +1,2012 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-claude-neo4j.yaml b/deploy/minikube/tg-launch-claude-neo4j.yaml new file mode 100644 index 00000000..c3608bab --- /dev/null +++ b/deploy/minikube/tg-launch-claude-neo4j.yaml @@ -0,0 +1,2017 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-claude + - -p + - pulsar://pulsar:6650 + - -k + - ${CLAUDE_KEY} + - -x + - '4096' + - -t + - '0' + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-cohere-cassandra.yaml b/deploy/minikube/tg-launch-cohere-cassandra.yaml new file mode 100644 index 00000000..f803186c --- /dev/null +++ b/deploy/minikube/tg-launch-cohere-cassandra.yaml @@ -0,0 +1,2008 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '150' + - --chunk-overlap + - '10' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-cohere-neo4j.yaml b/deploy/minikube/tg-launch-cohere-neo4j.yaml new file mode 100644 index 00000000..5f1aa0be --- /dev/null +++ b/deploy/minikube/tg-launch-cohere-neo4j.yaml @@ -0,0 +1,2013 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '150' + - --chunk-overlap + - '10' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-cohere + - -p + - pulsar://pulsar:6650 + - -k + - ${COHERE_KEY} + - -t + - 0 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-ollama-cassandra.yaml b/deploy/minikube/tg-launch-ollama-cassandra.yaml new file mode 100644 index 00000000..aca769f1 --- /dev/null +++ b/deploy/minikube/tg-launch-ollama-cassandra.yaml @@ -0,0 +1,1718 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-ollama-neo4j.yaml b/deploy/minikube/tg-launch-ollama-neo4j.yaml new file mode 100644 index 00000000..bb2c70b1 --- /dev/null +++ b/deploy/minikube/tg-launch-ollama-neo4j.yaml @@ -0,0 +1,1723 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-ollama + - -p + - pulsar://pulsar:6650 + - -m + - gemma2:9b + - -r + - ${OLLAMA_HOST} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-openai-cassandra.yaml b/deploy/minikube/tg-launch-openai-cassandra.yaml new file mode 100644 index 00000000..7791580f --- /dev/null +++ b/deploy/minikube/tg-launch-openai-cassandra.yaml @@ -0,0 +1,2016 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-openai-neo4j.yaml b/deploy/minikube/tg-launch-openai-neo4j.yaml new file mode 100644 index 00000000..cc96c4c5 --- /dev/null +++ b/deploy/minikube/tg-launch-openai-neo4j.yaml @@ -0,0 +1,2021 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-openai + - -p + - pulsar://pulsar:6650 + - -k + - ${OPENAI_KEY} + - -x + - '4096' + - -t + - '0' + - -m + - GPT-3.5-Turbo + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-vertexai-cassandra.yaml b/deploy/minikube/tg-launch-vertexai-cassandra.yaml new file mode 100644 index 00000000..d2ec6f43 --- /dev/null +++ b/deploy/minikube/tg-launch-vertexai-cassandra.yaml @@ -0,0 +1,2046 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: v1 + data: + private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + kind: Secret + metadata: + name: vertexai-creds + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 256M + requests: + cpu: '0.1' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /vertexai + name: vertexai-creds + volumes: + - name: vertexai-creds + secret: + secretName: vertexai-creds +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: v1 + data: + private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + kind: Secret + metadata: + name: vertexai-creds + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 256M + requests: + cpu: '0.1' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /vertexai + name: vertexai-creds + volumes: + - name: vertexai-creds + secret: + secretName: vertexai-creds +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-vertexai-neo4j.yaml b/deploy/minikube/tg-launch-vertexai-neo4j.yaml new file mode 100644 index 00000000..a08b0557 --- /dev/null +++ b/deploy/minikube/tg-launch-vertexai-neo4j.yaml @@ -0,0 +1,2051 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ + \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ + \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ + \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-template + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + - --definition-template + - ' + + Study the following text and derive definitions for any discovered entities. + + Do not provide definitions for entities whose definitions are incomplete + + or unknown. + + Output relationships in JSON format as an arary of objects with fields: + + - entity: the name of the entity + + - definition: English text which defines the entity + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract will be written as plain text. Do not add markdown formatting + + or headers or prefixes. Do not include null or unknown definitions. + + ' + - --relationship-template + - ' + + Study the following text and derive entity relationships. For each + + relationship, derive the subject, predicate and object of the relationship. + + Output relationships in JSON format as an arary of objects with fields: + + - subject: the subject of the relationship + + - predicate: the predicate + + - object: the object of the relationship + + - object-entity: false if the object is a simple data type: name, value + or date. true if it is an entity. + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not use special characters in the abstract text. The + + abstract must be written as plain text. Do not add markdown formatting + + or headers or prefixes. + + ' + - --knowledge-query-template + - 'Study the following set of knowledge statements. The statements are written + in Cypher format that has been extracted from a knowledge graph. Use only + the provided set of knowledge statements in your response. Do not speculate + if the answer is not found in the provided set of knowledge statements. + + + Here''s the knowledge statements: + + {graph} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --document-query-template + - 'Study the following context. Use only the information provided in the + context in your response. Do not speculate if the answer is not found + in the provided set of knowledge statements. + + + Here is the context: + + {documents} + + + Use only the provided knowledge statements to respond to the following: + + {query} + + ' + - --rows-template + - ' + + Study the following text and derive objects which match the schema provided. + + + You must output an array of JSON objects for each object you discover + + which matches the schema. For each object, output a JSON object whose + fields + + carry the name field specified in the schema. + + + + + + + {schema} + + + + + + + {text} + + + + + + + You will respond only with raw JSON format data. Do not provide + + explanations. Do not add markdown formatting or headers or prefixes. + + ' + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: v1 + data: + private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + kind: Secret + metadata: + name: vertexai-creds + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 256M + requests: + cpu: '0.1' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /vertexai + name: vertexai-creds + volumes: + - name: vertexai-creds + secret: + secretName: vertexai-creds +- apiVersion: v1 + kind: Service + metadata: + name: text-completion + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion + type: LoadBalancer +- apiVersion: v1 + data: + private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + kind: Secret + metadata: + name: vertexai-creds + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-vertexai + - -p + - pulsar://pulsar:6650 + - -k + - /vertexai/private.json + - -r + - us-central1 + - -x + - '4096' + - -t + - '0' + - -m + - gemini-1.0-pro-001 + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 256M + requests: + cpu: '0.1' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /vertexai + name: vertexai-creds + volumes: + - name: vertexai-creds + secret: + secretName: vertexai-creds +- apiVersion: v1 + kind: Service + metadata: + name: text-completion-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: text-completion-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.0 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/scripts/graph-show b/scripts/graph-show index 27ab98b5..63da0e19 100755 --- a/scripts/graph-show +++ b/scripts/graph-show @@ -12,7 +12,7 @@ default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://pulsar:6650') def show_graph(pulsar): - tq = TriplesQueryClient(pulsar_host="pulsar://localhost:6650") + tq = TriplesQueryClient(pulsar_host=pulsar) rows = tq.request(None, None, None, limit=10_000_000) diff --git a/scripts/graph-to-turtle b/scripts/graph-to-turtle index 26e18774..a1c0e000 100755 --- a/scripts/graph-to-turtle +++ b/scripts/graph-to-turtle @@ -15,7 +15,7 @@ default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://pulsar:6650') def show_graph(pulsar): - tq = TriplesQueryClient(pulsar_host="pulsar://localhost:6650") + tq = TriplesQueryClient(pulsar_host=pulsar) rows = tq.request(None, None, None, limit=10_000_000) diff --git a/setup.py b/setup.py index 601524c9..6d8de2e4 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.9.3" +version = "0.10.0" setuptools.setup( name="trustgraph", diff --git a/templates/config-to-docker-compose.jsonnet b/templates/config-to-docker-compose.jsonnet index 71346abc..442d2cb7 100644 --- a/templates/config-to-docker-compose.jsonnet +++ b/templates/config-to-docker-compose.jsonnet @@ -1,6 +1,6 @@ -local engine = import "docker-compose.jsonnet"; -local decode = import "decode-config.jsonnet"; +local engine = import "engine/docker-compose.jsonnet"; +local decode = import "util/decode-config.jsonnet"; local components = import "components.jsonnet"; // Import config diff --git a/templates/config-to-gcp-k8s.jsonnet b/templates/config-to-gcp-k8s.jsonnet index 4ba0325e..3d089a24 100644 --- a/templates/config-to-gcp-k8s.jsonnet +++ b/templates/config-to-gcp-k8s.jsonnet @@ -1,6 +1,6 @@ -local engine = import "k8s.jsonnet"; -local decode = import "decode-config.jsonnet"; +local engine = import "engine/gcp-k8s.jsonnet"; +local decode = import "util/decode-config.jsonnet"; local components = import "components.jsonnet"; // Import config @@ -9,44 +9,8 @@ local config = import "config.json"; // Produce patterns from config local patterns = decode(config); -local ns = { - apiVersion: "v1", - kind: "Namespace", - metadata: { - name: "trustgraph", - }, - "spec": { - }, -}; - -local sc = { - apiVersion: "storage.k8s.io/v1", - kind: "StorageClass", - metadata: { - name: "tg", - }, - provisioner: "pd.csi.storage.gke.io", - parameters: { - type: "pd-balanced", - "csi.storage.k8s.io/fstype": "ext4", - }, - reclaimPolicy: "Delete", - volumeBindingMode: "WaitForFirstConsumer", -}; - -//patterns["pulsar"].create(engine) - // Extract resources usnig the engine -local resources = std.flattenArrays([ - p.create(engine) for p in std.objectValues(patterns) -]); - -local resourceList = { - apiVersion: "v1", - kind: "List", - items: [ns, sc] + resources, -}; - +local resourceList = engine.package(patterns); resourceList diff --git a/templates/config-to-minikube-k8s.jsonnet b/templates/config-to-minikube-k8s.jsonnet new file mode 100644 index 00000000..073358cb --- /dev/null +++ b/templates/config-to-minikube-k8s.jsonnet @@ -0,0 +1,26 @@ + +local engine = import "engine/minikube-k8s.jsonnet"; +local decode = import "util/decode-config.jsonnet"; +local components = import "components.jsonnet"; + +// Import config +local config = import "config.json"; + +// Produce patterns from config +local patterns = decode(config); + +local ns = { + apiVersion: "v1", + kind: "Namespace", + metadata: { + name: "trustgraph", + }, + "spec": { + }, +}; + +// Extract resources using the engine +local resourceList = engine.package(patterns); + +resourceList + diff --git a/templates/docker-compose.jsonnet b/templates/engine/docker-compose.jsonnet similarity index 94% rename from templates/docker-compose.jsonnet rename to templates/engine/docker-compose.jsonnet index e1733b78..d82f9a52 100644 --- a/templates/docker-compose.jsonnet +++ b/templates/engine/docker-compose.jsonnet @@ -1,5 +1,13 @@ { + // Extract resources usnig the engine + package:: function(patterns) + std.foldl( + function(state, p) state + p.create(self), + std.objectValues(patterns), + {} + ), + container:: function(name) { diff --git a/templates/engine/gcp-k8s.jsonnet b/templates/engine/gcp-k8s.jsonnet new file mode 100644 index 00000000..0605a570 --- /dev/null +++ b/templates/engine/gcp-k8s.jsonnet @@ -0,0 +1,44 @@ + +local k8s = import "k8s.jsonnet"; + +local ns = { + apiVersion: "v1", + kind: "Namespace", + metadata: { + name: "trustgraph", + }, + "spec": { + }, +}; + +local sc = { + apiVersion: "storage.k8s.io/v1", + kind: "StorageClass", + metadata: { + name: "tg", + }, + provisioner: "pd.csi.storage.gke.io", + parameters: { + type: "pd-balanced", + "csi.storage.k8s.io/fstype": "ext4", + }, + reclaimPolicy: "Delete", + volumeBindingMode: "WaitForFirstConsumer", +}; + +k8s + { + + // Extract resources usnig the engine + package:: function(patterns) + local resources = [sc, ns] + std.flattenArrays([ + p.create(self) for p in std.objectValues(patterns) + ]); + local resourceList = { + apiVersion: "v1", + kind: "List", + items: [ns, sc] + resources, + }; + resourceList + +} + diff --git a/templates/k8s.jsonnet b/templates/engine/k8s.jsonnet similarity index 86% rename from templates/k8s.jsonnet rename to templates/engine/k8s.jsonnet index cbde28d0..69aabfd7 100644 --- a/templates/k8s.jsonnet +++ b/templates/engine/k8s.jsonnet @@ -67,16 +67,16 @@ { name: container.name, image: container.image, + + // FIXME: Make everything run as + // root. Needed to get filesystems + // to be accessible. There's a + // better way of doing this? securityContext: { - // fsGroup: 1234 - // runAsUser: 65534 - // runAsGroup: 65534 - // runAsNonRoot: true - runAsUser: 0, - runAsGroup: 0, - // runAsNonRoot: true, - // readOnlyRootFilesystem: true, - }, + runAsUser: 0, + runAsGroup: 0, + }, + resources: { requests: container.reservations, limits: container.limits @@ -197,28 +197,6 @@ with_size:: function(size) self + { size: size }, add:: function() [ -/* - { - - apiVersion: "v1", - kind: "PersistentVolume", - metadata: { - name: volume.name, - labels: { - type: "local", - } - }, - spec: { - storageClassName: "tg", - volumeMode: "Filesystem", - capacity: { - storage: volume.size, - }, - accessModes: [ "ReadWriteOnce" ], - persistentVolumeReclaimPolicy: "Delete", - } - }, -*/ { apiVersion: "v1", kind: "PersistentVolumeClaim", @@ -234,7 +212,6 @@ storage: volume.size, } }, -// volumeName: volume.name, } } ], diff --git a/templates/engine/minikube-k8s.jsonnet b/templates/engine/minikube-k8s.jsonnet new file mode 100644 index 00000000..858b17ad --- /dev/null +++ b/templates/engine/minikube-k8s.jsonnet @@ -0,0 +1,115 @@ + +local k8s = import "k8s.jsonnet"; + +local ns = { + apiVersion: "v1", + kind: "Namespace", + metadata: { + name: "trustgraph", + }, + "spec": { + }, +}; + +k8s + { + + // Extract resources usnig the engine + package:: function(patterns) + local resources = [ns] + std.flattenArrays([ + p.create(self) for p in std.objectValues(patterns) + ]); + local resourceList = { + apiVersion: "v1", + kind: "List", + items: resources, + }; + resourceList, + + volume:: function(name) + { + local volume = self, + name: name, + with_size:: function(size) self + { size: size }, + add:: function() [ + { + apiVersion: "v1", + kind: "PersistentVolume", + metadata: { + name: volume.name, + }, + spec: { + accessModes: [ "ReadWriteOnce" ], + capacity: { + storage: volume.size, + }, + persistentVolumeReclaimPolicy: "Delete", + hostPath: { + path: "/data/pv-" + volume.name, + }, + } + }, + { + apiVersion: "v1", + kind: "PersistentVolumeClaim", + metadata: { + name: volume.name, + namespace: "trustgraph", + }, + spec: { + accessModes: [ "ReadWriteOnce" ], + resources: { + requests: { + storage: volume.size, + } + }, + } + } + ], + + volRef:: function() { + name: volume.name, + persistentVolumeClaim: { claimName: volume.name }, + } + + }, + + service:: function(containers) + { + local service = self, + name: containers.name, + ports: [], + with_port:: + function(src, dest, name) + self + { + ports: super.ports + [ + { src: src, dest: dest, name: name } + ] + }, + add:: function() [ + { + apiVersion: "v1", + kind: "Service", + metadata: { + name: service.name, + namespace: "trustgraph", + }, + spec: { + selector: { + app: service.name, + }, + type: "LoadBalancer", + ports: [ + { + port: port.src, + targetPort: port.dest, + name: port.name, + } + for port in service.ports + ], + } + } + ], + }, + +} + diff --git a/templates/opts-to-docker-compose.jsonnet b/templates/opts-to-docker-compose.jsonnet new file mode 100644 index 00000000..c916475d --- /dev/null +++ b/templates/opts-to-docker-compose.jsonnet @@ -0,0 +1,21 @@ + +local engine = import "engine/docker-compose.jsonnet"; +local components = import "components.jsonnet"; + +// Options +local options = std.split(std.extVar("options"), ","); + +// Produce patterns from config +local patterns = std.foldl( + function(state, p) state + components[p], + options, + {} +); + +// Extract resources usnig the engine +local resources = engine.package(patterns); + +resources + + + diff --git a/templates/main.jsonnet b/templates/opts-to-gcp-k8s.jsonnet similarity index 59% rename from templates/main.jsonnet rename to templates/opts-to-gcp-k8s.jsonnet index 06a93949..a338cd9e 100644 --- a/templates/main.jsonnet +++ b/templates/opts-to-gcp-k8s.jsonnet @@ -1,6 +1,5 @@ -local engine = import "docker-compose.jsonnet"; -local decode = import "decode-config.jsonnet"; +local engine = import "engine/docker-compose.jsonnet"; local components = import "components.jsonnet"; // Options @@ -14,11 +13,7 @@ local patterns = std.foldl( ); // Extract resources usnig the engine -local resources = std.foldl( - function(state, p) state + p.create(engine), - std.objectValues(patterns), - {} -); +local resources = engine.package(patterns); std.manifestYamlDoc(resources) diff --git a/templates/opts-to-minikube-k8s.jsonnet b/templates/opts-to-minikube-k8s.jsonnet new file mode 100644 index 00000000..15895909 --- /dev/null +++ b/templates/opts-to-minikube-k8s.jsonnet @@ -0,0 +1,19 @@ + +local engine = import "engine/minikube-k8s.jsonnet"; +local components = import "components.jsonnet"; + +// Options +local options = std.split(std.extVar("options"), ","); + +// Produce patterns from config +local patterns = std.foldl( + function(state, p) state + components[p], + options, + {} +); + +// Extract resources usnig the engine +local resources = engine.package(patterns); + +resources + diff --git a/templates/decode-config.jsonnet b/templates/util/decode-config.jsonnet similarity index 100% rename from templates/decode-config.jsonnet rename to templates/util/decode-config.jsonnet diff --git a/templates/values/version.jsonnet b/templates/values/version.jsonnet deleted file mode 100644 index e127b65d..00000000 --- a/templates/values/version.jsonnet +++ /dev/null @@ -1 +0,0 @@ -"0.9.3" diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml deleted file mode 100644 index d6eb9207..00000000 --- a/tg-launch-azure-cassandra.yaml +++ /dev/null @@ -1,475 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-azure" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${AZURE_TOKEN}" - - "-e" - - "${AZURE_ENDPOINT}" - - "-x" - - "4096" - - "-t" - - "0" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-azure" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${AZURE_TOKEN}" - - "-e" - - "${AZURE_ENDPOINT}" - - "-x" - - "4096" - - "-t" - - "0" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml deleted file mode 100644 index 12809976..00000000 --- a/tg-launch-azure-neo4j.yaml +++ /dev/null @@ -1,476 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-azure" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${AZURE_TOKEN}" - - "-e" - - "${AZURE_ENDPOINT}" - - "-x" - - "4096" - - "-t" - - "0" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-azure" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${AZURE_TOKEN}" - - "-e" - - "${AZURE_ENDPOINT}" - - "-x" - - "4096" - - "-t" - - "0" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml deleted file mode 100644 index 3aa98042..00000000 --- a/tg-launch-bedrock-cassandra.yaml +++ /dev/null @@ -1,483 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-recursive" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "2000" - - "--chunk-overlap" - - "100" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-bedrock" - - "-p" - - "pulsar://pulsar:6650" - - "-z" - - "${AWS_ID_KEY}" - - "-k" - - "${AWS_SECRET_KEY}" - - "-r" - - "us-west-2" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "mistral.mixtral-8x7b-instruct-v0:1" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-bedrock" - - "-p" - - "pulsar://pulsar:6650" - - "-z" - - "${AWS_ID_KEY}" - - "-k" - - "${AWS_SECRET_KEY}" - - "-r" - - "us-west-2" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "mistral.mixtral-8x7b-instruct-v0:1" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml deleted file mode 100644 index a5963277..00000000 --- a/tg-launch-bedrock-neo4j.yaml +++ /dev/null @@ -1,484 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-recursive" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "2000" - - "--chunk-overlap" - - "100" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-bedrock" - - "-p" - - "pulsar://pulsar:6650" - - "-z" - - "${AWS_ID_KEY}" - - "-k" - - "${AWS_SECRET_KEY}" - - "-r" - - "us-west-2" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "mistral.mixtral-8x7b-instruct-v0:1" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-bedrock" - - "-p" - - "pulsar://pulsar:6650" - - "-z" - - "${AWS_ID_KEY}" - - "-k" - - "${AWS_SECRET_KEY}" - - "-r" - - "us-west-2" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "mistral.mixtral-8x7b-instruct-v0:1" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml deleted file mode 100644 index dd2aea90..00000000 --- a/tg-launch-claude-cassandra.yaml +++ /dev/null @@ -1,471 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-claude" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${CLAUDE_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-claude" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${CLAUDE_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml deleted file mode 100644 index abf2e8d2..00000000 --- a/tg-launch-claude-neo4j.yaml +++ /dev/null @@ -1,472 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-claude" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${CLAUDE_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-claude" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${CLAUDE_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml deleted file mode 100644 index f92789c0..00000000 --- a/tg-launch-cohere-cassandra.yaml +++ /dev/null @@ -1,467 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "150" - - "--chunk-overlap" - - "10" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-cohere" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${COHERE_KEY}" - - "-t" - - 0 - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-cohere" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${COHERE_KEY}" - - "-t" - - 0 - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml deleted file mode 100644 index 77b6151a..00000000 --- a/tg-launch-cohere-neo4j.yaml +++ /dev/null @@ -1,468 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "150" - - "--chunk-overlap" - - "10" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-cohere" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${COHERE_KEY}" - - "-t" - - 0 - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-cohere" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${COHERE_KEY}" - - "-t" - - 0 - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml deleted file mode 100644 index 3929fb42..00000000 --- a/tg-launch-ollama-cassandra.yaml +++ /dev/null @@ -1,419 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-generic" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-generic" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "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.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-ollama" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "gemma2:9b" - - "-r" - - "${OLLAMA_HOST}" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-ollama" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "gemma2:9b" - - "-r" - - "${OLLAMA_HOST}" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml deleted file mode 100644 index 0c3eb43a..00000000 --- a/tg-launch-ollama-neo4j.yaml +++ /dev/null @@ -1,420 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-generic" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-generic" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "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.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-ollama" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "gemma2:9b" - - "-r" - - "${OLLAMA_HOST}" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-ollama" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "gemma2:9b" - - "-r" - - "${OLLAMA_HOST}" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml deleted file mode 100644 index 46921ae2..00000000 --- a/tg-launch-openai-cassandra.yaml +++ /dev/null @@ -1,475 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-openai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${OPENAI_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "GPT-3.5-Turbo" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-openai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${OPENAI_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "GPT-3.5-Turbo" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml deleted file mode 100644 index c0ffdfee..00000000 --- a/tg-launch-openai-neo4j.yaml +++ /dev/null @@ -1,476 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-openai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${OPENAI_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "GPT-3.5-Turbo" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion-rag": - "command": - - "text-completion-openai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "${OPENAI_KEY}" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "GPT-3.5-Turbo" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "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.9.3" - "restart": "on-failure:100" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml deleted file mode 100644 index 05adee9a..00000000 --- a/tg-launch-vertexai-cassandra.yaml +++ /dev/null @@ -1,483 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-vertexai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "/vertexai/private.json" - - "-r" - - "us-central1" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "gemini-1.0-pro-001" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "256M" - "reservations": - "cpus": "0.1" - "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "volumes": - - "./vertexai:/vertexai" - "text-completion-rag": - "command": - - "text-completion-vertexai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "/vertexai/private.json" - - "-r" - - "us-central1" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "gemini-1.0-pro-001" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "non-persistent://tg/response/text-completion-rag-response" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "256M" - "reservations": - "cpus": "0.1" - "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "volumes": - - "./vertexai:/vertexai" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml deleted file mode 100644 index ed0f74dd..00000000 --- a/tg-launch-vertexai-neo4j.yaml +++ /dev/null @@ -1,484 +0,0 @@ -"services": - "chunker": - "command": - - "chunker-token" - - "-p" - - "pulsar://pulsar:6650" - - "--chunk-size" - - "250" - - "--chunk-overlap" - - "15" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "embeddings": - "command": - - "embeddings-hf" - - "-p" - - "pulsar://pulsar:6650" - - "-m" - - "all-MiniLM-L6-v2" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "400M" - "reservations": - "cpus": "0.5" - "memory": "400M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "graph-rag": - "command": - - "graph-rag" - - "-p" - - "pulsar://pulsar:6650" - - "--prompt-request-queue" - - "non-persistent://tg/request/prompt-rag" - - "--prompt-response-queue" - - "non-persistent://tg/response/prompt-rag-response" - - "--entity-limit" - - "50" - - "--triple-limit" - - "30" - - "--max-subgraph-size" - - "3000" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "kg-extract-definitions": - "command": - - "kg-extract-definitions" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "kg-extract-relationships": - "command": - - "kg-extract-relationships" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "pdf-decoder": - "command": - - "pdf-decoder" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "prompt": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "prompt-rag": - "command": - - "prompt-template" - - "-p" - - "pulsar://pulsar:6650" - - "-i" - - "non-persistent://tg/request/prompt-rag" - - "-o" - - "non-persistent://tg/response/prompt-rag-response" - - "--text-completion-request-queue" - - "non-persistent://tg/request/text-completion-rag" - - "--text-completion-response-queue" - - "non-persistent://tg/response/text-completion-rag-response" - - "--definition-template" - - "\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n" - - "--relationship-template" - - "\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n" - - "--knowledge-query-template" - - | - Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here's the knowledge statements: - {graph} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--document-query-template" - - | - Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements. - - Here is the context: - {documents} - - Use only the provided knowledge statements to respond to the following: - {query} - - "--rows-template" - - "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "text-completion": - "command": - - "text-completion-vertexai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "/vertexai/private.json" - - "-r" - - "us-central1" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "gemini-1.0-pro-001" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "256M" - "reservations": - "cpus": "0.1" - "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "volumes": - - "./vertexai:/vertexai" - "text-completion-rag": - "command": - - "text-completion-vertexai" - - "-p" - - "pulsar://pulsar:6650" - - "-k" - - "/vertexai/private.json" - - "-r" - - "us-central1" - - "-x" - - "4096" - - "-t" - - "0" - - "-m" - - "gemini-1.0-pro-001" - - "-i" - - "non-persistent://tg/request/text-completion-rag" - - "-o" - - "non-persistent://tg/response/text-completion-rag-response" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "256M" - "reservations": - "cpus": "0.1" - "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "volumes": - - "./vertexai:/vertexai" - "vectorize": - "command": - - "embeddings-vectorize" - - "-p" - - "pulsar://pulsar:6650" - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "512M" - "reservations": - "cpus": "0.5" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml deleted file mode 100644 index a74fb726..00000000 --- a/tg-storage-cassandra.yaml +++ /dev/null @@ -1,214 +0,0 @@ -"services": - "cassandra": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "800M" - "reservations": - "cpus": "0.5" - "memory": "800M" - "environment": - "JVM_OPTS": "-Xms256M -Xmx256M" - "image": "docker.io/cassandra:4.1.6" - "ports": - - "9042:9042" - "restart": "on-failure:100" - "volumes": - - "cassandra:/var/lib/cassandra" - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "512M" - "reservations": - "cpus": "0.1" - "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-cassandra" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "cassandra" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "cassandra": {} - "grafana-storage": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml deleted file mode 100644 index ea863dba..00000000 --- a/tg-storage-neo4j.yaml +++ /dev/null @@ -1,215 +0,0 @@ -"services": - "grafana": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "environment": - "GF_ORG_NAME": "trustgraph.ai" - "image": "docker.io/grafana/grafana:11.1.4" - "ports": - - "3000:3000" - "restart": "on-failure:100" - "volumes": - - "grafana-storage:/var/lib/grafana" - - "./grafana/provisioning/:/etc/grafana/provisioning/dashboards/" - - "./grafana/provisioning/:/etc/grafana/provisioning/datasources/" - - "./grafana/dashboards/:/var/lib/grafana/dashboards/" - "init-pulsar": - "command": - - "sh" - - "-c" - - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done" - "deploy": - "resources": - "limits": - "cpus": "1" - "memory": "400M" - "reservations": - "cpus": "0.1" - "memory": "400M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "restart": "on-failure:100" - "neo4j": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "768M" - "reservations": - "cpus": "0.5" - "memory": "768M" - "environment": - "NEO4J_AUTH": "neo4j/password" - "image": "docker.io/neo4j:5.22.0-community-bullseye" - "ports": - - "7474:7474" - - "7687:7687" - "restart": "on-failure:100" - "volumes": - - "neo4j:/data" - "prometheus": - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/prom/prometheus:v2.53.2" - "ports": - - "9090:9090" - "restart": "on-failure:100" - "volumes": - - "./prometheus:/etc/prometheus/" - - "prometheus-data:/prometheus" - "pulsar": - "command": - - "bin/pulsar" - - "standalone" - "deploy": - "resources": - "limits": - "cpus": "2.0" - "memory": "1500M" - "reservations": - "cpus": "1.0" - "memory": "1500M" - "environment": - "PULSAR_MEM": "-Xms600M -Xmx600M" - "image": "docker.io/apachepulsar/pulsar:3.3.1" - "ports": - - "6650:6650" - - "8080:8080" - "restart": "on-failure:100" - "volumes": - - "pulsar-data:/pulsar/data" - "qdrant": - "deploy": - "resources": - "limits": - "cpus": "1.0" - "memory": "256M" - "reservations": - "cpus": "0.5" - "memory": "256M" - "image": "docker.io/qdrant/qdrant:v1.11.1" - "ports": - - "6333:6333" - - "6334:6334" - "restart": "on-failure:100" - "volumes": - - "qdrant:/qdrant/storage" - "query-doc-embeddings": - "command": - - "de-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-graph-embeddings": - "command": - - "ge-query-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "query-triples": - "command": - - "triples-query-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-doc-embeddings": - "command": - - "de-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-graph-embeddings": - "command": - - "ge-write-qdrant" - - "-p" - - "pulsar://pulsar:6650" - - "-t" - - "http://qdrant:6333" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" - "store-triples": - "command": - - "triples-write-neo4j" - - "-p" - - "pulsar://pulsar:6650" - - "-g" - - "bolt://neo4j:7687" - "deploy": - "resources": - "limits": - "cpus": "0.5" - "memory": "128M" - "reservations": - "cpus": "0.1" - "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.9.3" - "restart": "on-failure:100" -"volumes": - "grafana-storage": {} - "neo4j": {} - "prometheus-data": {} - "pulsar-data": {} - "qdrant": {} From 054ea6c76a33d5e727b3ea7cfa6de748f8c9362d Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 9 Sep 2024 22:03:10 +0100 Subject: [PATCH 03/44] Fix Docker Compose relative directory problem (#60) - Fix Docker Compose relative directory problem - Added CONFIGDIR environment variable for docker compose - Correct Pulsar URL defaults for graph utils to be localhost again --- deploy/docker-compose/tg-launch-azure-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-azure-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-bedrock-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-bedrock-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-claude-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-claude-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-cohere-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-cohere-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-ollama-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-ollama-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-openai-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-openai-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-vertexai-cassandra.yaml | 12 ++++++------ deploy/docker-compose/tg-launch-vertexai-neo4j.yaml | 12 ++++++------ deploy/docker-compose/tg-storage-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-storage-neo4j.yaml | 8 ++++---- scripts/graph-show | 2 +- scripts/graph-to-turtle | 2 +- templates/components/grafana.jsonnet | 8 ++++---- templates/engine/docker-compose.jsonnet | 8 +++++++- 20 files changed, 81 insertions(+), 75 deletions(-) diff --git a/deploy/docker-compose/tg-launch-azure-cassandra.yaml b/deploy/docker-compose/tg-launch-azure-cassandra.yaml index 547c3aa6..f7599d12 100644 --- a/deploy/docker-compose/tg-launch-azure-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-azure-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-azure-neo4j.yaml b/deploy/docker-compose/tg-launch-azure-neo4j.yaml index 79525710..f6642ca0 100644 --- a/deploy/docker-compose/tg-launch-azure-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-azure-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml index 8dd10511..e8bca8b3 100644 --- a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml index 3da7aa57..c4fc9266 100644 --- a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-claude-cassandra.yaml b/deploy/docker-compose/tg-launch-claude-cassandra.yaml index 97d3752f..59db820d 100644 --- a/deploy/docker-compose/tg-launch-claude-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-claude-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-claude-neo4j.yaml b/deploy/docker-compose/tg-launch-claude-neo4j.yaml index add8b52b..2d157d12 100644 --- a/deploy/docker-compose/tg-launch-claude-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-claude-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml index 957beb0f..f6497469 100644 --- a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml index e016e6ea..048ad2a3 100644 --- a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml index 051a5e63..b827199d 100644 --- a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml index a3e7fa40..bad61b37 100644 --- a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-openai-cassandra.yaml b/deploy/docker-compose/tg-launch-openai-cassandra.yaml index d3580736..c498c630 100644 --- a/deploy/docker-compose/tg-launch-openai-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-openai-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-openai-neo4j.yaml b/deploy/docker-compose/tg-launch-openai-neo4j.yaml index 37ff30a4..c5577b8f 100644 --- a/deploy/docker-compose/tg-launch-openai-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-openai-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml index a7d421a8..1f7272d7 100644 --- a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -176,7 +176,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: @@ -673,7 +673,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.0 restart: on-failure:100 volumes: - - ./vertexai:/vertexai + - ${CONFIGDIR}/./vertexai:/vertexai text-completion-rag: command: - text-completion-vertexai @@ -704,7 +704,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.0 restart: on-failure:100 volumes: - - ./vertexai:/vertexai + - ${CONFIGDIR}/./vertexai:/vertexai vectorize: command: - embeddings-vectorize diff --git a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml index 4cdc5127..f606bcee 100644 --- a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -177,7 +177,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: @@ -674,7 +674,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.0 restart: on-failure:100 volumes: - - ./vertexai:/vertexai + - ${CONFIGDIR}/./vertexai:/vertexai text-completion-rag: command: - text-completion-vertexai @@ -705,7 +705,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.0 restart: on-failure:100 volumes: - - ./vertexai:/vertexai + - ${CONFIGDIR}/./vertexai:/vertexai vectorize: command: - embeddings-vectorize diff --git a/deploy/docker-compose/tg-storage-cassandra.yaml b/deploy/docker-compose/tg-storage-cassandra.yaml index 6f32f90f..c4d90179 100644 --- a/deploy/docker-compose/tg-storage-cassandra.yaml +++ b/deploy/docker-compose/tg-storage-cassandra.yaml @@ -33,9 +33,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - sh @@ -70,7 +70,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus pulsar: command: diff --git a/deploy/docker-compose/tg-storage-neo4j.yaml b/deploy/docker-compose/tg-storage-neo4j.yaml index 3f9594c5..bb9d858e 100644 --- a/deploy/docker-compose/tg-storage-neo4j.yaml +++ b/deploy/docker-compose/tg-storage-neo4j.yaml @@ -16,9 +16,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - sh @@ -71,7 +71,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ./prometheus:/etc/prometheus/ + - ${CONFIGDIR}/prometheus:/etc/prometheus/ - prometheus-data:/prometheus pulsar: command: diff --git a/scripts/graph-show b/scripts/graph-show index 63da0e19..a737c97b 100755 --- a/scripts/graph-show +++ b/scripts/graph-show @@ -8,7 +8,7 @@ import argparse import os from trustgraph.clients.triples_query_client import TriplesQueryClient -default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://pulsar:6650') +default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') def show_graph(pulsar): diff --git a/scripts/graph-to-turtle b/scripts/graph-to-turtle index a1c0e000..bff03fc6 100755 --- a/scripts/graph-to-turtle +++ b/scripts/graph-to-turtle @@ -11,7 +11,7 @@ import rdflib import io import sys -default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://pulsar:6650') +default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') def show_graph(pulsar): diff --git a/templates/components/grafana.jsonnet b/templates/components/grafana.jsonnet index 133e49c1..b59bbd00 100644 --- a/templates/components/grafana.jsonnet +++ b/templates/components/grafana.jsonnet @@ -10,7 +10,7 @@ local images = import "values/images.jsonnet"; local vol = engine.volume("prometheus-data").with_size("20G"); local cfgVol = engine.configVolume( - "prometheus-cfg", "./prometheus", + "prometheus-cfg", "prometheus", { "prometheus.yml": importstr "prometheus/prometheus.yml", } @@ -50,7 +50,7 @@ local images = import "values/images.jsonnet"; local vol = engine.volume("grafana-storage").with_size("20G"); local provDashVol = engine.configVolume( - "prov-dash", "./grafana/provisioning/", + "prov-dash", "grafana/provisioning/", { "dashboard.yml": importstr "grafana/provisioning/dashboard.yml", @@ -59,7 +59,7 @@ local images = import "values/images.jsonnet"; ); local provDataVol = engine.configVolume( - "prov-data", "./grafana/provisioning/", + "prov-data", "grafana/provisioning/", { "datasource.yml": importstr "grafana/provisioning/datasource.yml", @@ -68,7 +68,7 @@ local images = import "values/images.jsonnet"; ); local dashVol = engine.configVolume( - "dashboards", "./grafana/dashboards/", + "dashboards", "grafana/dashboards/", { "dashboard.json": importstr "grafana/dashboards/dashboard.json", diff --git a/templates/engine/docker-compose.jsonnet b/templates/engine/docker-compose.jsonnet index d82f9a52..4c9f9bdd 100644 --- a/templates/engine/docker-compose.jsonnet +++ b/templates/engine/docker-compose.jsonnet @@ -78,7 +78,7 @@ (if std.length(container.volumes) > 0 then { volumes: [ - "%s:%s" % [vol.volume.name, vol.mount] + "%s:%s" % [vol.volume.volid, vol.mount] for vol in container.volumes ] } @@ -126,6 +126,8 @@ name: name, + volid:: name, + with_size:: function(size) self + { size: size }, add:: function() { @@ -143,6 +145,8 @@ name: dir, + volid:: "${CONFIGDIR}/" + dir, + with_size:: function(size) self + { size: size }, add:: function() { @@ -157,6 +161,8 @@ name: dir, + volid:: "${CONFIGDIR}/" + dir, + with_size:: function(size) self + { size: size }, add:: function() { From d6cacd3fb73be78e2436533cd015d51d5e908813 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sat, 28 Sep 2024 11:50:57 +0100 Subject: [PATCH 04/44] Bump version --- Makefile | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c139e5bf..0f3f2b8f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.10.0 +VERSION=0.10.1 DOCKER=podman diff --git a/setup.py b/setup.py index 65e504dd..8240a805 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.10.0" +version = "0.10.1" setuptools.setup( name="trustgraph", From 2c8dd0bd39341ed03a5c8377a3424e58dac2dbe6 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sat, 28 Sep 2024 11:54:00 +0100 Subject: [PATCH 05/44] Updated templates --- .../tg-launch-azure-cassandra.yaml | 71 +- .../docker-compose/tg-launch-azure-neo4j.yaml | 71 +- .../tg-launch-bedrock-cassandra.yaml | 71 +- .../tg-launch-bedrock-neo4j.yaml | 71 +- .../tg-launch-claude-cassandra.yaml | 71 +- .../tg-launch-claude-neo4j.yaml | 71 +- .../tg-launch-cohere-cassandra.yaml | 71 +- .../tg-launch-cohere-neo4j.yaml | 71 +- .../tg-launch-llamafile-cassandra.yaml | 440 +++++ .../tg-launch-llamafile-neo4j.yaml | 441 +++++ .../tg-launch-ollama-cassandra.yaml | 49 +- .../tg-launch-ollama-neo4j.yaml | 49 +- .../tg-launch-openai-cassandra.yaml | 71 +- .../tg-launch-openai-neo4j.yaml | 71 +- .../tg-launch-vertexai-cassandra.yaml | 71 +- .../tg-launch-vertexai-neo4j.yaml | 71 +- .../docker-compose/tg-storage-cassandra.yaml | 12 +- deploy/docker-compose/tg-storage-neo4j.yaml | 12 +- .../minikube/tg-launch-azure-cassandra.yaml | 104 +- deploy/minikube/tg-launch-azure-neo4j.yaml | 104 +- .../minikube/tg-launch-bedrock-cassandra.yaml | 104 +- deploy/minikube/tg-launch-bedrock-neo4j.yaml | 104 +- .../minikube/tg-launch-claude-cassandra.yaml | 104 +- deploy/minikube/tg-launch-claude-neo4j.yaml | 104 +- .../minikube/tg-launch-cohere-cassandra.yaml | 104 +- deploy/minikube/tg-launch-cohere-neo4j.yaml | 104 +- .../tg-launch-llamafile-cassandra.yaml | 1728 ++++++++++++++++ .../minikube/tg-launch-llamafile-neo4j.yaml | 1733 +++++++++++++++++ .../minikube/tg-launch-ollama-cassandra.yaml | 80 +- deploy/minikube/tg-launch-ollama-neo4j.yaml | 80 +- .../minikube/tg-launch-openai-cassandra.yaml | 104 +- deploy/minikube/tg-launch-openai-neo4j.yaml | 104 +- .../tg-launch-vertexai-cassandra.yaml | 108 +- deploy/minikube/tg-launch-vertexai-neo4j.yaml | 108 +- 34 files changed, 6170 insertions(+), 562 deletions(-) create mode 100644 deploy/docker-compose/tg-launch-llamafile-cassandra.yaml create mode 100644 deploy/docker-compose/tg-launch-llamafile-neo4j.yaml create mode 100644 deploy/minikube/tg-launch-llamafile-cassandra.yaml create mode 100644 deploy/minikube/tg-launch-llamafile-neo4j.yaml diff --git a/deploy/docker-compose/tg-launch-azure-cassandra.yaml b/deploy/docker-compose/tg-launch-azure-cassandra.yaml index f7599d12..1a681eb5 100644 --- a/deploy/docker-compose/tg-launch-azure-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -262,6 +277,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -339,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -429,6 +455,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -506,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -560,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -577,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -594,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -611,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -628,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -645,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -668,7 +705,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -695,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -710,7 +747,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-azure-neo4j.yaml b/deploy/docker-compose/tg-launch-azure-neo4j.yaml index f6642ca0..2a57eb58 100644 --- a/deploy/docker-compose/tg-launch-azure-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -263,6 +278,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -340,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -430,6 +456,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -507,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -561,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -578,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -595,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -612,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -629,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -646,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -669,7 +706,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -696,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -711,7 +748,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml index e8bca8b3..2eb3692a 100644 --- a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -262,6 +277,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -339,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -429,6 +455,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -506,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -560,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -577,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -594,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -611,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -628,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -645,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -672,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -703,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -718,7 +755,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml index c4fc9266..6c0d3a1d 100644 --- a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -263,6 +278,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -340,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -430,6 +456,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -507,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -561,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -578,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -595,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -612,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -629,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -646,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -673,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -704,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -719,7 +756,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-claude-cassandra.yaml b/deploy/docker-compose/tg-launch-claude-cassandra.yaml index 59db820d..af114880 100644 --- a/deploy/docker-compose/tg-launch-claude-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -262,6 +277,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -339,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -429,6 +455,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -506,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -560,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -577,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -594,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -611,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -628,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -645,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -666,7 +703,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -691,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -706,7 +743,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-claude-neo4j.yaml b/deploy/docker-compose/tg-launch-claude-neo4j.yaml index 2d157d12..eefb4cee 100644 --- a/deploy/docker-compose/tg-launch-claude-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -263,6 +278,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -340,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -430,6 +456,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -507,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -561,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -578,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -595,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -612,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -629,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -646,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -667,7 +704,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -692,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -707,7 +744,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml index f6497469..d0df4d9f 100644 --- a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -262,6 +277,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -339,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -429,6 +455,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -506,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -560,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -577,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -594,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -611,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -628,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -645,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -664,7 +701,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -687,7 +724,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -702,7 +739,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml index 048ad2a3..54ced668 100644 --- a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -263,6 +278,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -340,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -430,6 +456,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -507,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -561,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -578,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -595,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -612,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -629,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -646,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -665,7 +702,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -688,7 +725,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -703,7 +740,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml b/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml new file mode 100644 index 00000000..8886f99c --- /dev/null +++ b/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml @@ -0,0 +1,440 @@ +services: + cassandra: + deploy: + resources: + limits: + cpus: '1.0' + memory: 800M + reservations: + cpus: '0.5' + memory: 800M + environment: + JVM_OPTS: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + ports: + - 9042:9042 + restart: on-failure:100 + volumes: + - cassandra:/var/lib/cassandra + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + prompt-rag: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - 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.10.1 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + query-triples: + command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.1' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + store-triples: + command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + text-completion: + command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.1 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 +volumes: + cassandra: {} + grafana-storage: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml b/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml new file mode 100644 index 00000000..41381a80 --- /dev/null +++ b/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml @@ -0,0 +1,441 @@ +services: + chunker: + command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + embeddings: + command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + deploy: + resources: + limits: + cpus: '1.0' + memory: 400M + reservations: + cpus: '0.5' + memory: 400M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + grafana: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + environment: + GF_ORG_NAME: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + ports: + - 3000:3000 + restart: on-failure:100 + volumes: + - grafana-storage:/var/lib/grafana + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + graph-rag: + command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + init-pulsar: + command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin + --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url + http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url + http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; + sleep 20; done + deploy: + resources: + limits: + cpus: '1' + memory: 400M + reservations: + cpus: '0.1' + memory: 400M + image: docker.io/apachepulsar/pulsar:3.3.1 + restart: on-failure:100 + kg-extract-definitions: + command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-relationships: + command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + neo4j: + deploy: + resources: + limits: + cpus: '1.0' + memory: 768M + reservations: + cpus: '0.5' + memory: 768M + environment: + NEO4J_AUTH: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + ports: + - 7474:7474 + - 7687:7687 + restart: on-failure:100 + volumes: + - neo4j:/data + pdf-decoder: + command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + prometheus: + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/prom/prometheus:v2.53.2 + ports: + - 9090:9090 + restart: on-failure:100 + volumes: + - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus-data:/prometheus + prompt: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + prompt-rag: + command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - 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.10.1 + restart: on-failure:100 + pulsar: + command: + - bin/pulsar + - standalone + deploy: + resources: + limits: + cpus: '2.0' + memory: 1500M + reservations: + cpus: '1.0' + memory: 1500M + environment: + PULSAR_MEM: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + ports: + - 6650:6650 + - 8080:8080 + restart: on-failure:100 + volumes: + - pulsar-data:/pulsar/data + qdrant: + deploy: + resources: + limits: + cpus: '1.0' + memory: 256M + reservations: + cpus: '0.5' + memory: 256M + image: docker.io/qdrant/qdrant:v1.11.1 + ports: + - 6333:6333 + - 6334:6334 + restart: on-failure:100 + volumes: + - qdrant:/qdrant/storage + query-doc-embeddings: + command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + query-graph-embeddings: + command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + query-triples: + command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + store-doc-embeddings: + command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + store-graph-embeddings: + command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + store-triples: + command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + text-completion: + command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + text-completion-rag: + command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - 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.10.1 + restart: on-failure:100 + vectorize: + command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '1.0' + memory: 512M + reservations: + cpus: '0.5' + memory: 512M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 +volumes: + grafana-storage: {} + neo4j: {} + prometheus-data: {} + pulsar-data: {} + qdrant: {} + diff --git a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml index b827199d..6868243e 100644 --- a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -195,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -218,7 +233,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -272,7 +287,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -289,7 +304,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -306,7 +321,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -323,7 +338,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -340,7 +355,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -357,7 +372,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -376,7 +391,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -399,7 +414,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -414,7 +429,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml index bad61b37..3a2b0b74 100644 --- a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -196,7 +211,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -219,7 +234,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -273,7 +288,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -290,7 +305,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -307,7 +322,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -324,7 +339,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -341,7 +356,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -358,7 +373,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -377,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -400,7 +415,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -415,7 +430,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-openai-cassandra.yaml b/deploy/docker-compose/tg-launch-openai-cassandra.yaml index c498c630..7f2e966f 100644 --- a/deploy/docker-compose/tg-launch-openai-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -262,6 +277,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -339,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -429,6 +455,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -506,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -560,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -577,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -594,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -611,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -628,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -645,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -668,7 +705,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -695,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -710,7 +747,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-openai-neo4j.yaml b/deploy/docker-compose/tg-launch-openai-neo4j.yaml index c5577b8f..9d2141a7 100644 --- a/deploy/docker-compose/tg-launch-openai-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -263,6 +278,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -340,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -430,6 +456,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -507,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -561,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -578,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -595,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -612,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -629,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -646,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -669,7 +706,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion-rag: command: @@ -696,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 vectorize: command: @@ -711,7 +748,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml index 1f7272d7..8a7878ce 100644 --- a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pdf-decoder: command: @@ -160,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -262,6 +277,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -339,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -429,6 +455,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -506,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -560,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -577,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -594,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -611,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -628,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -645,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -670,7 +707,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - ${CONFIGDIR}/./vertexai:/vertexai @@ -701,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - ${CONFIGDIR}/./vertexai:/vertexai @@ -718,7 +755,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml index f606bcee..c273da2b 100644 --- a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + restart: on-failure:100 + kg-extract-topics: + command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + reservations: + cpus: '0.1' + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 neo4j: deploy: @@ -161,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prometheus: deploy: @@ -263,6 +278,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -340,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 prompt-rag: command: @@ -430,6 +456,17 @@ services: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks for\ + \ a provided text.\nRead the provided text. You will identify topics and their\ + \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ + \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ + \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ + - Return only topics that are concepts and unique to the provided text.\n- Respond\ + \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ + \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ + \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ + ```\n\n- Do not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only the @@ -507,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 pulsar: command: @@ -561,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -578,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -595,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -612,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -629,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -646,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 text-completion: command: @@ -671,7 +708,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - ${CONFIGDIR}/./vertexai:/vertexai @@ -702,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - ${CONFIGDIR}/./vertexai:/vertexai @@ -719,7 +756,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-storage-cassandra.yaml b/deploy/docker-compose/tg-storage-cassandra.yaml index c4d90179..2ee7023e 100644 --- a/deploy/docker-compose/tg-storage-cassandra.yaml +++ b/deploy/docker-compose/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-storage-neo4j.yaml b/deploy/docker-compose/tg-storage-neo4j.yaml index bb9d858e..5ba4fb02 100644 --- a/deploy/docker-compose/tg-storage-neo4j.yaml +++ b/deploy/docker-compose/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/minikube/tg-launch-azure-cassandra.yaml b/deploy/minikube/tg-launch-azure-cassandra.yaml index 5f3c16dd..4cd93a5b 100644 --- a/deploy/minikube/tg-launch-azure-cassandra.yaml +++ b/deploy/minikube/tg-launch-azure-cassandra.yaml @@ -110,7 +110,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1043,6 +1079,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1113,7 +1161,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1244,6 +1292,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1314,7 +1374,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1572,7 +1632,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1622,7 +1682,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1672,7 +1732,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1722,7 +1782,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1772,7 +1832,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1822,7 +1882,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1878,7 +1938,7 @@ items: - '4096' - -t - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1938,7 +1998,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1986,7 +2046,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-azure-neo4j.yaml b/deploy/minikube/tg-launch-azure-neo4j.yaml index 5341546e..739751bf 100644 --- a/deploy/minikube/tg-launch-azure-neo4j.yaml +++ b/deploy/minikube/tg-launch-azure-neo4j.yaml @@ -31,7 +31,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1048,6 +1084,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1118,7 +1166,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1249,6 +1297,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1319,7 +1379,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1577,7 +1637,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1627,7 +1687,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1677,7 +1737,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1727,7 +1787,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1777,7 +1837,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1827,7 +1887,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1883,7 +1943,7 @@ items: - '4096' - -t - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1943,7 +2003,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1991,7 +2051,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-bedrock-cassandra.yaml b/deploy/minikube/tg-launch-bedrock-cassandra.yaml index 9db0d164..a9c6e9a6 100644 --- a/deploy/minikube/tg-launch-bedrock-cassandra.yaml +++ b/deploy/minikube/tg-launch-bedrock-cassandra.yaml @@ -110,7 +110,7 @@ items: - '2000' - --chunk-overlap - '100' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1043,6 +1079,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1113,7 +1161,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1244,6 +1292,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1314,7 +1374,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1572,7 +1632,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1622,7 +1682,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1672,7 +1732,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1722,7 +1782,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1772,7 +1832,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1822,7 +1882,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1882,7 +1942,7 @@ items: - '0' - -m - mistral.mixtral-8x7b-instruct-v0:1 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1946,7 +2006,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1994,7 +2054,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-bedrock-neo4j.yaml b/deploy/minikube/tg-launch-bedrock-neo4j.yaml index 6c464845..8a646d32 100644 --- a/deploy/minikube/tg-launch-bedrock-neo4j.yaml +++ b/deploy/minikube/tg-launch-bedrock-neo4j.yaml @@ -31,7 +31,7 @@ items: - '2000' - --chunk-overlap - '100' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1048,6 +1084,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1118,7 +1166,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1249,6 +1297,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1319,7 +1379,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1577,7 +1637,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1627,7 +1687,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1677,7 +1737,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1727,7 +1787,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1777,7 +1837,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1827,7 +1887,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1887,7 +1947,7 @@ items: - '0' - -m - mistral.mixtral-8x7b-instruct-v0:1 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1951,7 +2011,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1999,7 +2059,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-claude-cassandra.yaml b/deploy/minikube/tg-launch-claude-cassandra.yaml index a49a2dc5..58ef9a6f 100644 --- a/deploy/minikube/tg-launch-claude-cassandra.yaml +++ b/deploy/minikube/tg-launch-claude-cassandra.yaml @@ -110,7 +110,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1043,6 +1079,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1113,7 +1161,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1244,6 +1292,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1314,7 +1374,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1572,7 +1632,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1622,7 +1682,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1672,7 +1732,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1722,7 +1782,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1772,7 +1832,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1822,7 +1882,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1876,7 +1936,7 @@ items: - '4096' - -t - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1934,7 +1994,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1982,7 +2042,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-claude-neo4j.yaml b/deploy/minikube/tg-launch-claude-neo4j.yaml index c3608bab..e05cc9df 100644 --- a/deploy/minikube/tg-launch-claude-neo4j.yaml +++ b/deploy/minikube/tg-launch-claude-neo4j.yaml @@ -31,7 +31,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1048,6 +1084,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1118,7 +1166,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1249,6 +1297,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1319,7 +1379,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1577,7 +1637,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1627,7 +1687,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1677,7 +1737,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1727,7 +1787,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1777,7 +1837,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1827,7 +1887,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1881,7 +1941,7 @@ items: - '4096' - -t - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1939,7 +1999,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1987,7 +2047,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-cohere-cassandra.yaml b/deploy/minikube/tg-launch-cohere-cassandra.yaml index f803186c..bf07ba3e 100644 --- a/deploy/minikube/tg-launch-cohere-cassandra.yaml +++ b/deploy/minikube/tg-launch-cohere-cassandra.yaml @@ -110,7 +110,7 @@ items: - '150' - --chunk-overlap - '10' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1043,6 +1079,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1113,7 +1161,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1244,6 +1292,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1314,7 +1374,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1572,7 +1632,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1622,7 +1682,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1672,7 +1732,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1722,7 +1782,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1772,7 +1832,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1822,7 +1882,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1874,7 +1934,7 @@ items: - ${COHERE_KEY} - -t - 0 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1930,7 +1990,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1978,7 +2038,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-cohere-neo4j.yaml b/deploy/minikube/tg-launch-cohere-neo4j.yaml index 5f1aa0be..cc682a7a 100644 --- a/deploy/minikube/tg-launch-cohere-neo4j.yaml +++ b/deploy/minikube/tg-launch-cohere-neo4j.yaml @@ -31,7 +31,7 @@ items: - '150' - --chunk-overlap - '10' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1048,6 +1084,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1118,7 +1166,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1249,6 +1297,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1319,7 +1379,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1577,7 +1637,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1627,7 +1687,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1677,7 +1737,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1727,7 +1787,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1777,7 +1837,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1827,7 +1887,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1879,7 +1939,7 @@ items: - ${COHERE_KEY} - -t - 0 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1935,7 +1995,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1983,7 +2043,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-llamafile-cassandra.yaml b/deploy/minikube/tg-launch-llamafile-cassandra.yaml new file mode 100644 index 00000000..8e9e0d53 --- /dev/null +++ b/deploy/minikube/tg-launch-llamafile-cassandra.yaml @@ -0,0 +1,1728 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: cassandra + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-cassandra + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: cassandra + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: cassandra + name: cassandra + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: cassandra + template: + metadata: + labels: + app: cassandra + spec: + containers: + - env: + - name: JVM_OPTS + value: -Xms256M -Xmx256M + image: docker.io/cassandra:4.1.6 + name: cassandra + ports: + - containerPort: 9042 + hostPort: 9042 + resources: + limits: + cpu: '1.0' + memory: 800M + requests: + cpu: '0.5' + memory: 800M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/cassandra + name: cassandra + volumes: + - name: cassandra + persistentVolumeClaim: + claimName: cassandra +- apiVersion: v1 + kind: Service + metadata: + name: cassandra + namespace: trustgraph + spec: + ports: + - name: api + port: 9042 + targetPort: 9042 + selector: + app: cassandra + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 512M + requests: + cpu: '0.1' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-cassandra + - -p + - pulsar://pulsar:6650 + - -g + - cassandra + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: stop-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: stop-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-llamafile-neo4j.yaml b/deploy/minikube/tg-launch-llamafile-neo4j.yaml new file mode 100644 index 00000000..017d0e57 --- /dev/null +++ b/deploy/minikube/tg-launch-llamafile-neo4j.yaml @@ -0,0 +1,1733 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Namespace + metadata: + name: trustgraph + spec: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: chunker + name: chunker + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: chunker + template: + metadata: + labels: + app: chunker + spec: + containers: + - command: + - chunker-token + - -p + - pulsar://pulsar:6650 + - --chunk-size + - '250' + - --chunk-overlap + - '15' + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: chunker + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: chunker + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: chunker + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: embeddings + name: embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: embeddings + template: + metadata: + labels: + app: embeddings + spec: + containers: + - command: + - embeddings-hf + - -p + - pulsar://pulsar:6650 + - -m + - all-MiniLM-L6-v2 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: embeddings + resources: + limits: + cpu: '1.0' + memory: 400M + requests: + cpu: '0.5' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: embeddings + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: grafana-storage + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-grafana-storage + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: grafana-storage + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: v1 + data: + dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ + \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ + \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ + \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ + \ foldersFromFilesStructure: false\n\n" + kind: ConfigMap + metadata: + name: prov-dash + namespace: trustgraph +- apiVersion: v1 + data: + datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ + \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ + \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ + \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ + \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ + \ false\n isDefault: true\n editable: true\n\n" + kind: ConfigMap + metadata: + name: prov-data + namespace: trustgraph +- apiVersion: v1 + data: + dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ + builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ + \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ + \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ + \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ + \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ + \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ + \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \ + \ \"tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \ + \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ + \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ + \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ + \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ + \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ + : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ + : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ + \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ + \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ + \ \"datasource\": {\n \"type\": \"prometheus\",\n \ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ + expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ + : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ + 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ + \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ + \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ + \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ + \ \"hideFrom\": {\n \"legend\": false,\n \"\ + tooltip\": false,\n \"viz\": false\n },\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ }\n }\n },\n \"overrides\": []\n },\n \"\ + gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ + \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ + calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ + \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ + : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ + ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ + \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ + \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ + \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ + \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ + : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ + \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ + \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ + axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ + \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ + : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ + \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ + \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ + \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ + : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ + prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ + : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ + \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ + \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ + \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ + ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ + \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"palette-classic\"\n },\n \ + \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ + \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"editorMode\": \"builder\",\n \"expr\":\ + \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ + : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ + \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ + mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ + \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ + \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ + \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ + \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ + \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ + groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ + \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ + \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ + \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ + \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ + : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ + \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ + \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ + ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ + ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ + \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ + \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ + uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ + : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ + \ \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ + \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ + \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ + : \"palette-classic\"\n },\n \"custom\": {\n \"\ + axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ + \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ + \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ + \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \"\ + viz\": false\n },\n \"insertNulls\": false,\n \ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ + \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ + \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ + auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ + \ }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ + \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ + timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ + ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ + \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ + \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ + : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ + : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ + : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ + : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ + \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ + \ \"legend\": false,\n \"tooltip\": false,\n \ + \ \"viz\": false\n },\n \"insertNulls\": false,\n\ + \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ + \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ + \ \"type\": \"linear\"\n },\n \"showPoints\"\ + : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ + \ \"group\": \"A\",\n \"mode\": \"none\"\n \ + \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ + \n }\n },\n \"mappings\": [],\n \"thresholds\"\ + : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ + \ {\n \"color\": \"green\",\n \"value\"\ + : null\n },\n {\n \"color\": \"red\"\ + ,\n \"value\": 80\n }\n ]\n \ + \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ + \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ + \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ + \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ + placement\": \"bottom\",\n \"showLegend\": true\n },\n \ + \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ + none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ + : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ + ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ + \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ + ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ + : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ + \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ + color\": {\n \"mode\": \"thresholds\"\n },\n \"\ + custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ + \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ + : false,\n \"inspect\": false\n },\n \"mappings\"\ + : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ + \ \"steps\": [\n {\n \"color\": \"green\"\ + ,\n \"value\": null\n },\n {\n \ + \ \"color\": \"red\",\n \"value\": 80\n \ + \ }\n ]\n }\n },\n \"overrides\": []\n\ + \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ + \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ + : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ + : false,\n \"fields\": \"\",\n \"reducer\": [\n \ + \ \"sum\"\n ],\n \"show\": false\n },\n \"\ + showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ + targets\": [\n {\n \"datasource\": {\n \"type\":\ + \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ + \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ + : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ + ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ + \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ + \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ + \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ + \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ + \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ + \ \"include\": {\n \"names\": [\n \"\ + instance\",\n \"model\"\n ]\n }\n \ + \ }\n },\n {\n \"id\": \"filterByValue\",\n \ + \ \"options\": {\n \"filters\": [\n {\n \ + \ \"config\": {\n \"id\": \"equal\",\n \ + \ \"options\": {\n \"value\": \"\"\n \ + \ }\n },\n \"fieldName\": \"model\"\n \ + \ }\n ],\n \"match\": \"all\",\n \"\ + type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ + \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ + : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ + : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ + : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ + ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" + kind: ConfigMap + metadata: + name: dashboards + namespace: trustgraph +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: grafana + name: grafana + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: grafana + template: + metadata: + labels: + app: grafana + spec: + containers: + - env: + - name: GF_ORG_NAME + value: trustgraph.ai + image: docker.io/grafana/grafana:11.1.4 + name: grafana + ports: + - containerPort: 3000 + hostPort: 3000 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-storage + - mountPath: /etc/grafana/provisioning/dashboards/ + name: prov-dash + - mountPath: /etc/grafana/provisioning/datasources/ + name: prov-data + - mountPath: /var/lib/grafana/dashboards/ + name: dashboards + volumes: + - name: grafana-storage + persistentVolumeClaim: + claimName: grafana-storage + - configMap: + name: prov-dash + name: prov-dash + - configMap: + name: prov-data + name: prov-data + - configMap: + name: dashboards + name: dashboards +- apiVersion: v1 + kind: Service + metadata: + name: grafana + namespace: trustgraph + spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + app: grafana + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: graph-rag + name: graph-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: graph-rag + template: + metadata: + labels: + app: graph-rag + spec: + containers: + - command: + - graph-rag + - -p + - pulsar://pulsar:6650 + - --prompt-request-queue + - non-persistent://tg/request/prompt-rag + - --prompt-response-queue + - non-persistent://tg/response/prompt-rag-response + - --entity-limit + - '50' + - --triple-limit + - '30' + - --max-subgraph-size + - '3000' + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: graph-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: graph-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: graph-rag + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-definitions + name: kg-extract-definitions + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-definitions + template: + metadata: + labels: + app: kg-extract-definitions + spec: + containers: + - command: + - kg-extract-definitions + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-definitions + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-definitions + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-definitions + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-relationships + name: kg-extract-relationships + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-relationships + template: + metadata: + labels: + app: kg-extract-relationships + spec: + containers: + - command: + - kg-extract-relationships + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-relationships + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: kg-extract-relationships + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: kg-extract-relationships + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: neo4j + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-neo4j + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: neo4j + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: neo4j + name: neo4j + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: neo4j + template: + metadata: + labels: + app: neo4j + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/password + image: docker.io/neo4j:5.22.0-community-bullseye + name: neo4j + ports: + - containerPort: 7474 + hostPort: 7474 + - containerPort: 7687 + hostPort: 7687 + resources: + limits: + cpu: '1.0' + memory: 768M + requests: + cpu: '0.5' + memory: 768M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /data + name: neo4j + volumes: + - name: neo4j + persistentVolumeClaim: + claimName: neo4j +- apiVersion: v1 + kind: Service + metadata: + name: neo4j + namespace: trustgraph + spec: + ports: + - name: api + port: 7474 + targetPort: 7474 + - name: api2 + port: 7687 + targetPort: 7687 + selector: + app: neo4j + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pdf-decoder + name: pdf-decoder + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pdf-decoder + template: + metadata: + labels: + app: pdf-decoder + spec: + containers: + - command: + - pdf-decoder + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: pdf-decoder + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pdf-decoder + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: pdf-decoder + type: LoadBalancer +- apiVersion: v1 + data: + prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ + \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ + \ when communicating with\n # external systems (federation, remote storage,\ + \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ + \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ + \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ + \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ + \n # Override the global default and scrape targets from this job every\n\ + \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ + \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ + \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" + kind: ConfigMap + metadata: + name: prometheus-cfg + namespace: trustgraph +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: prometheus-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-prometheus-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: prometheus-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prometheus + name: prometheus + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prometheus + template: + metadata: + labels: + app: prometheus + spec: + containers: + - image: docker.io/prom/prometheus:v2.53.2 + name: prometheus + ports: + - containerPort: 9090 + hostPort: 9090 + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /etc/prometheus/ + name: prometheus-cfg + - mountPath: /prometheus + name: prometheus-data + volumes: + - configMap: + name: prometheus-cfg + name: prometheus-cfg + - name: prometheus-data + persistentVolumeClaim: + claimName: prometheus-data +- apiVersion: v1 + kind: Service + metadata: + name: prometheus + namespace: trustgraph + spec: + ports: + - name: http + port: 9090 + targetPort: 9090 + selector: + app: prometheus + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt + name: prompt + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt + template: + metadata: + labels: + app: prompt + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - --text-completion-request-queue + - non-persistent://tg/request/text-completion + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-response + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: prompt + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: prompt-rag + name: prompt-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: prompt-rag + template: + metadata: + labels: + app: prompt-rag + spec: + containers: + - command: + - prompt-generic + - -p + - pulsar://pulsar:6650 + - -i + - non-persistent://tg/request/prompt-rag + - -o + - non-persistent://tg/response/prompt-rag-response + - --text-completion-request-queue + - non-persistent://tg/request/text-completion-rag + - --text-completion-response-queue + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: prompt-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: prompt-rag + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: prompt-rag + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: pulsar-data + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-pulsar-data + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: pulsar-data + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: pulsar + name: pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: pulsar + template: + metadata: + labels: + app: pulsar + spec: + containers: + - command: + - bin/pulsar + - standalone + env: + - name: PULSAR_MEM + value: -Xms600M -Xmx600M + image: docker.io/apachepulsar/pulsar:3.3.1 + name: pulsar + ports: + - containerPort: 6650 + hostPort: 6650 + - containerPort: 8080 + hostPort: 8080 + resources: + limits: + cpu: '2.0' + memory: 1500M + requests: + cpu: '1.0' + memory: 1500M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /pulsar/data + name: pulsar-data + volumes: + - name: pulsar-data + persistentVolumeClaim: + claimName: pulsar-data +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: init-pulsar + name: init-pulsar + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: init-pulsar + template: + metadata: + labels: + app: init-pulsar + spec: + containers: + - command: + - sh + - -c + - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create + tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request + ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response + ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention + --size -1 --time 3m tg/response; sleep 20; done + image: docker.io/apachepulsar/pulsar:3.3.1 + name: init-pulsar + resources: + limits: + cpu: '1' + memory: 400M + requests: + cpu: '0.1' + memory: 400M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: pulsar + namespace: trustgraph + spec: + ports: + - name: bookie + port: 6650 + targetPort: 6650 + - name: http + port: 8080 + targetPort: 8080 + selector: + app: pulsar + type: LoadBalancer +- apiVersion: v1 + kind: PersistentVolume + metadata: + name: qdrant + spec: + accessModes: + - ReadWriteOnce + capacity: + storage: 20G + hostPath: + path: /data/pv-qdrant + persistentVolumeReclaimPolicy: Delete +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: qdrant + namespace: trustgraph + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20G +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: qdrant + name: qdrant + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: qdrant + template: + metadata: + labels: + app: qdrant + spec: + containers: + - image: docker.io/qdrant/qdrant:v1.11.1 + name: qdrant + ports: + - containerPort: 6333 + hostPort: 6333 + - containerPort: 6334 + hostPort: 6334 + resources: + limits: + cpu: '1.0' + memory: 256M + requests: + cpu: '0.5' + memory: 256M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumeMounts: + - mountPath: /qdrant/storage + name: qdrant + volumes: + - name: qdrant + persistentVolumeClaim: + claimName: qdrant +- apiVersion: v1 + kind: Service + metadata: + name: qdrant + namespace: trustgraph + spec: + ports: + - name: api + port: 6333 + targetPort: 6333 + - name: api2 + port: 6334 + targetPort: 6334 + selector: + app: qdrant + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-doc-embeddings + name: query-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-doc-embeddings + template: + metadata: + labels: + app: query-doc-embeddings + spec: + containers: + - command: + - de-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: query-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-graph-embeddings + name: query-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-graph-embeddings + template: + metadata: + labels: + app: query-graph-embeddings + spec: + containers: + - command: + - ge-query-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: query-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: query-triples + name: query-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: query-triples + template: + metadata: + labels: + app: query-triples + spec: + containers: + - command: + - triples-query-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: query-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: query-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: query-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-doc-embeddings + name: store-doc-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-doc-embeddings + template: + metadata: + labels: + app: store-doc-embeddings + spec: + containers: + - command: + - de-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: store-doc-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-doc-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-doc-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-graph-embeddings + name: store-graph-embeddings + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-graph-embeddings + template: + metadata: + labels: + app: store-graph-embeddings + spec: + containers: + - command: + - ge-write-qdrant + - -p + - pulsar://pulsar:6650 + - -t + - http://qdrant:6333 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: store-graph-embeddings + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-graph-embeddings + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-graph-embeddings + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: store-triples + name: store-triples + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: store-triples + template: + metadata: + labels: + app: store-triples + spec: + containers: + - command: + - triples-write-neo4j + - -p + - pulsar://pulsar:6650 + - -g + - bolt://neo4j:7687 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: store-triples + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: store-triples + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8080 + targetPort: 8080 + selector: + app: store-triples + type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion + name: text-completion + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion + template: + metadata: + labels: + app: text-completion + spec: + containers: + - command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: text-completion + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: text-completion-rag + name: text-completion-rag + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: text-completion-rag + template: + metadata: + labels: + app: text-completion-rag + spec: + containers: + - command: + - text-completion-llamafile + - -p + - pulsar://pulsar:6650 + - -m + - LLaMA_CPP + - -r + - ${LLAMAFILE_URL} + - -i + - non-persistent://tg/request/text-completion-rag + - -o + - non-persistent://tg/response/text-completion-rag-response + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: text-completion-rag + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: vectorize + name: vectorize + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: vectorize + template: + metadata: + labels: + app: vectorize + spec: + containers: + - command: + - embeddings-vectorize + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: vectorize + resources: + limits: + cpu: '1.0' + memory: 512M + requests: + cpu: '0.5' + memory: 512M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] +- apiVersion: v1 + kind: Service + metadata: + name: vectorize + namespace: trustgraph + spec: + ports: + - name: metrics + port: 8000 + targetPort: 8000 + selector: + app: vectorize + type: LoadBalancer +kind: List + diff --git a/deploy/minikube/tg-launch-ollama-cassandra.yaml b/deploy/minikube/tg-launch-ollama-cassandra.yaml index aca769f1..8eba8502 100644 --- a/deploy/minikube/tg-launch-ollama-cassandra.yaml +++ b/deploy/minikube/tg-launch-ollama-cassandra.yaml @@ -110,7 +110,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -968,7 +1004,7 @@ items: - non-persistent://tg/request/text-completion - --text-completion-response-queue - non-persistent://tg/response/text-completion-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1024,7 +1060,7 @@ items: - non-persistent://tg/request/text-completion-rag - --text-completion-response-queue - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1282,7 +1318,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1332,7 +1368,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1382,7 +1418,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1432,7 +1468,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1482,7 +1518,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1532,7 +1568,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1584,7 +1620,7 @@ items: - gemma2:9b - -r - ${OLLAMA_HOST} - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1640,7 +1676,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1688,7 +1724,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-ollama-neo4j.yaml b/deploy/minikube/tg-launch-ollama-neo4j.yaml index bb2c70b1..bd4e6f25 100644 --- a/deploy/minikube/tg-launch-ollama-neo4j.yaml +++ b/deploy/minikube/tg-launch-ollama-neo4j.yaml @@ -31,7 +31,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -973,7 +1009,7 @@ items: - non-persistent://tg/request/text-completion - --text-completion-response-queue - non-persistent://tg/response/text-completion-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1029,7 +1065,7 @@ items: - non-persistent://tg/request/text-completion-rag - --text-completion-response-queue - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1287,7 +1323,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1337,7 +1373,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1387,7 +1423,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1437,7 +1473,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1487,7 +1523,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1537,7 +1573,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1589,7 +1625,7 @@ items: - gemma2:9b - -r - ${OLLAMA_HOST} - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1645,7 +1681,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1693,7 +1729,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-openai-cassandra.yaml b/deploy/minikube/tg-launch-openai-cassandra.yaml index 7791580f..ea624801 100644 --- a/deploy/minikube/tg-launch-openai-cassandra.yaml +++ b/deploy/minikube/tg-launch-openai-cassandra.yaml @@ -110,7 +110,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1043,6 +1079,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1113,7 +1161,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1244,6 +1292,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1314,7 +1374,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1572,7 +1632,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1622,7 +1682,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1672,7 +1732,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1722,7 +1782,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1772,7 +1832,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1822,7 +1882,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1878,7 +1938,7 @@ items: - '0' - -m - GPT-3.5-Turbo - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1938,7 +1998,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1986,7 +2046,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-openai-neo4j.yaml b/deploy/minikube/tg-launch-openai-neo4j.yaml index cc96c4c5..de7a83bb 100644 --- a/deploy/minikube/tg-launch-openai-neo4j.yaml +++ b/deploy/minikube/tg-launch-openai-neo4j.yaml @@ -31,7 +31,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1048,6 +1084,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1118,7 +1166,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1249,6 +1297,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1319,7 +1379,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1577,7 +1637,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1627,7 +1687,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1677,7 +1737,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1727,7 +1787,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1777,7 +1837,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1827,7 +1887,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1883,7 +1943,7 @@ items: - '0' - -m - GPT-3.5-Turbo - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1943,7 +2003,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -1991,7 +2051,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-vertexai-cassandra.yaml b/deploy/minikube/tg-launch-vertexai-cassandra.yaml index d2ec6f43..a7bcb759 100644 --- a/deploy/minikube/tg-launch-vertexai-cassandra.yaml +++ b/deploy/minikube/tg-launch-vertexai-cassandra.yaml @@ -110,7 +110,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -160,7 +160,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -669,7 +669,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -717,7 +717,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -765,7 +765,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -791,6 +791,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: apps/v1 kind: Deployment metadata: @@ -813,7 +848,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -852,11 +887,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1043,6 +1079,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1113,7 +1161,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1244,6 +1292,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1314,7 +1374,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1572,7 +1632,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1622,7 +1682,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1672,7 +1732,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1722,7 +1782,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1772,7 +1832,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1822,7 +1882,7 @@ items: - pulsar://pulsar:6650 - -g - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1850,7 +1910,7 @@ items: type: LoadBalancer - apiVersion: v1 data: - private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== kind: Secret metadata: name: vertexai-creds @@ -1887,7 +1947,7 @@ items: - '0' - -m - gemini-1.0-pro-001 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1921,7 +1981,7 @@ items: type: LoadBalancer - apiVersion: v1 data: - private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== kind: Secret metadata: name: vertexai-creds @@ -1962,7 +2022,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -2016,7 +2076,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: diff --git a/deploy/minikube/tg-launch-vertexai-neo4j.yaml b/deploy/minikube/tg-launch-vertexai-neo4j.yaml index a08b0557..c1b62227 100644 --- a/deploy/minikube/tg-launch-vertexai-neo4j.yaml +++ b/deploy/minikube/tg-launch-vertexai-neo4j.yaml @@ -31,7 +31,7 @@ items: - '250' - --chunk-overlap - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: chunker resources: limits: @@ -81,7 +81,7 @@ items: - pulsar://pulsar:6650 - -m - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: embeddings resources: limits: @@ -590,7 +590,7 @@ items: - '30' - --max-subgraph-size - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: graph-rag resources: limits: @@ -638,7 +638,7 @@ items: - kg-extract-definitions - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-definitions resources: limits: @@ -686,7 +686,7 @@ items: - kg-extract-relationships - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: kg-extract-relationships resources: limits: @@ -712,6 +712,41 @@ items: selector: app: kg-extract-relationships type: LoadBalancer +- apiVersion: apps/v1 + kind: Deployment + metadata: + labels: + app: kg-extract-topics + name: kg-extract-topics + namespace: trustgraph + spec: + replicas: 1 + selector: + matchLabels: + app: kg-extract-topics + template: + metadata: + labels: + app: kg-extract-topics + spec: + containers: + - command: + - kg-extract-topics + - -p + - pulsar://pulsar:6650 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 + name: kg-extract-topics + resources: + limits: + cpu: '0.5' + memory: 128M + requests: + cpu: '0.1' + memory: 128M + securityContext: + runAsGroup: 0 + runAsUser: 0 + volumes: [] - apiVersion: v1 kind: PersistentVolume metadata: @@ -818,7 +853,7 @@ items: - pdf-decoder - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: pdf-decoder resources: limits: @@ -857,11 +892,12 @@ items: \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-relationships:8000'\n - 'store-graph-embeddings:8000'\n\ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n -\ - \ 'text-completion-rag:8000'\n - 'graph-rag:8000'\n - 'prompt:8000'\n\ - \ - 'prompt-rag:8000'\n - 'query-graph-embeddings:8000'\n \ - \ - 'query-triples:8000'\n - 'pulsar:8080'\n\n" + \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ + \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ + \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ + \ - 'pulsar:8080'\n\n" kind: ConfigMap metadata: name: prometheus-cfg @@ -1048,6 +1084,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1118,7 +1166,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt resources: limits: @@ -1249,6 +1297,18 @@ items: or headers or prefixes. ' + - --topic-template + - "You are a helpful assistant that performs information extraction tasks\ + \ for a provided text.\nRead the provided text. You will identify topics\ + \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ + \ formatting in the provided text.\n- Study the provided text carefully.\n\ + \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ + \ with special characters.\n- Return only topics that are concepts and\ + \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ + - The JSON response shall be an array of objects with keys \"topic\" and\ + \ \"definition\". \n- The JSON response shall use the following structure:\n\ + \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ + \ not write any additional text or explanations." - --knowledge-query-template - 'Study the following set of knowledge statements. The statements are written in Cypher format that has been extracted from a knowledge graph. Use only @@ -1319,7 +1379,7 @@ items: explanations. Do not add markdown formatting or headers or prefixes. ' - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: prompt-rag resources: limits: @@ -1577,7 +1637,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-doc-embeddings resources: limits: @@ -1627,7 +1687,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-graph-embeddings resources: limits: @@ -1677,7 +1737,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: query-triples resources: limits: @@ -1727,7 +1787,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-doc-embeddings resources: limits: @@ -1777,7 +1837,7 @@ items: - pulsar://pulsar:6650 - -t - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-graph-embeddings resources: limits: @@ -1827,7 +1887,7 @@ items: - pulsar://pulsar:6650 - -g - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: store-triples resources: limits: @@ -1855,7 +1915,7 @@ items: type: LoadBalancer - apiVersion: v1 data: - private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== kind: Secret metadata: name: vertexai-creds @@ -1892,7 +1952,7 @@ items: - '0' - -m - gemini-1.0-pro-001 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion resources: limits: @@ -1926,7 +1986,7 @@ items: type: LoadBalancer - apiVersion: v1 data: - private.json: UFJJVkFURSBLRVkgR09FUyBIRVJFCg== + private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== kind: Secret metadata: name: vertexai-creds @@ -1967,7 +2027,7 @@ items: - non-persistent://tg/request/text-completion-rag - -o - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: text-completion-rag resources: limits: @@ -2021,7 +2081,7 @@ items: - embeddings-vectorize - -p - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.0 + image: docker.io/trustgraph/trustgraph-flow:0.10.1 name: vectorize resources: limits: From 1d89e466d5b5281516f0d2c055d030d076875d9d Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sat, 28 Sep 2024 11:55:30 +0100 Subject: [PATCH 06/44] Docker hub login --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 0f3f2b8f..7fe87812 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,10 @@ update-minikubes: set-version done; \ done +docker-hub-login: + cat docker-token.txt | \ + docker login -u trustgraph --password-stdin registry-1.docker.io + FORCE: IGNOREconfig.yaml: config.json FORCE From 92a3e9816c172ef95e77bc0048a92e6532ff5ee6 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sat, 28 Sep 2024 17:46:41 +0100 Subject: [PATCH 07/44] Script for deploy-bundle generation (#65) * Added output config generation to ZIP file * Added a README which is bundled with the ZIP file * Remove CONFIGDIR reference --- templates/engine/docker-compose.jsonnet | 4 +- templates/generate-all | 169 ++++++++++++++++++++++++ templates/zip-readme.md | 16 +++ 3 files changed, 187 insertions(+), 2 deletions(-) create mode 100755 templates/generate-all create mode 100644 templates/zip-readme.md diff --git a/templates/engine/docker-compose.jsonnet b/templates/engine/docker-compose.jsonnet index 4c9f9bdd..1dcb2baa 100644 --- a/templates/engine/docker-compose.jsonnet +++ b/templates/engine/docker-compose.jsonnet @@ -145,7 +145,7 @@ name: dir, - volid:: "${CONFIGDIR}/" + dir, + volid:: dir, with_size:: function(size) self + { size: size }, @@ -161,7 +161,7 @@ name: dir, - volid:: "${CONFIGDIR}/" + dir, + volid:: dir, with_size:: function(size) self + { size: size }, diff --git a/templates/generate-all b/templates/generate-all new file mode 100755 index 00000000..5ef1fcb6 --- /dev/null +++ b/templates/generate-all @@ -0,0 +1,169 @@ +#!/usr/bin/env python3 + +import _jsonnet as j +import json +import yaml +import logging +import os +import sys +import zipfile + +logger = logging.getLogger("generate") +logging.basicConfig(level=logging.INFO, format='%(message)s') + +private_json = "Put your GCP private.json here" + +class Generator: + + def __init__(self, config, base="./templates/"): + + self.jsonnet_base = base + self.config = config + + def process(self, config): + + res = j.evaluate_snippet("config", config, import_callback=self.load) + return json.loads(res) + + def load(self, dir, filename): + + logger.debug("Request jsonnet: %s %s", dir, filename) + + if filename == "config.json" and dir == "": + path = os.path.join(".", dir, filename) + return str(path), self.config + + if dir: + candidates = [ + os.path.join(".", dir, filename), + os.path.join(".", filename) + ] + else: + candidates = [ + os.path.join(".", filename) + ] + + try: + + if filename == "vertexai/private.json": + + return candidates[0], private_json.encode("utf-8") + + for c in candidates: + logger.debug("Try: %s", c) + + if os.path.isfile(c): + with open(c, "rb") as f: + logger.debug("Loading: %s", c) + return str(c), f.read() + + raise RuntimeError( + f"Could not load file={filename} dir={dir}" + ) + + except: + + path = os.path.join(self.jsonnet_base, filename) + logger.debug("Try: %s", path) + with open(path, "rb") as f: + logger.debug("Loaded: %s", path) + return str(path), f.read() + +def config_object(items): + + return [ + { "name": v, "parameters": {} } + for v in items + ] + +def full_config_object( + vector_store="qdrant", embeddings="embeddings-hf", + graph_store="cassandra", llm="vertexai", +): + + return config_object([ + graph_store, "pulsar", vector_store, embeddings, + "graph-rag", "grafana", "trustgraph", llm + ]) + +def generate_config( + vector_store="qdrant", embeddings="embeddings-hf", + graph_store="cassandra", llm="vertexai", + platform = "docker-compose" +): + + config = full_config_object( + vector_store=vector_store, + embeddings=embeddings, + graph_store=graph_store, + llm=llm, + ) + + with open(f"./templates/config-to-{platform}.jsonnet", "r") as f: + wrapper = f.read() + + gen = Generator(json.dumps(config).encode("utf-8")) + + processed = gen.process(wrapper) + + y = yaml.dump(processed) + + return y + +def generate_all(output): + + for platform in [ + "docker-compose", "minikube-k8s", "gcp-k8s" + ]: + for model in [ + "azure", "bedrock", "claude", "cohere", "llamafile", "ollama", + "openai", "vertexai" + ]: + for graph in [ "cassandra", "neo4j" ]: + + y = generate_config( + llm=model, graph_store=graph, platform=platform + ) + + fname =f"{platform}/tg-{model}-{graph}.yaml" + + output(fname, y) + + +if len(sys.argv) < 2: raise RuntimeError("Usage: generate-all ") + +outfile = sys.argv[1] +logger.info(f"Outputting to {outfile}...") + +with zipfile.ZipFile(outfile, mode='w') as out: + + def output(name, content): + logger.info(f"Adding {name}...") + out.writestr(name, content) + + generate_all(output) + + # Placeholder for the private.json file. Won't put actual credentials + # here. + output("vertexai/private.json", private_json) + + # Grafana config + with open("grafana/dashboards/dashboard.json") as f: + output("grafana/dashboards/dashboard.json", f.read()) + + with open("grafana/provisioning/dashboard.yml") as f: + output("grafana/provisioning/dashboard.yml", f.read()) + + with open("grafana/provisioning/datasource.yml") as f: + output("grafana/provisioning/datasource.yml", f.read()) + + # Prometheus config + with open("prometheus/prometheus.yml") as f: + output("prometheus/prometheus.yml", f.read()) + + # A README + with open("templates/zip-readme.md") as f: + output("README.md", f.read()) + +logger.info("Output file written.") + diff --git a/templates/zip-readme.md b/templates/zip-readme.md new file mode 100644 index 00000000..57a14ed0 --- /dev/null +++ b/templates/zip-readme.md @@ -0,0 +1,16 @@ +These are launch configurations for TrustGraph. See https://trustgraph.ai for +the quickstart using docker compose. + +Hint for Linux: There are files here which get mounted as volumes inside +Docker Compose containers. This may trigger SELinux rules on your system, to +permit access insider the containers, use a command like this... + +chcon -Rt svirt_sandbox_file_t grafana/ prometheus/ + +The file vertexai/private.json is a placeholder for real GCP credentials if +you are using the VertexAI LLM. If you're using that in Docker Compose, +replace with your real credentials, and don't forget to permit access if you +are using Linux: + +chcon -Rt svirt_sandbox_file_t vertexai/ + From 8085bb0118da3d141ad95f5162db325ed9822f3f Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sat, 28 Sep 2024 19:44:29 +0100 Subject: [PATCH 08/44] Add version number to template generation (#67) --- templates/generate-all | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/templates/generate-all b/templates/generate-all index 5ef1fcb6..be963e9e 100755 --- a/templates/generate-all +++ b/templates/generate-all @@ -15,10 +15,11 @@ private_json = "Put your GCP private.json here" class Generator: - def __init__(self, config, base="./templates/"): + def __init__(self, config, base="./templates/", version="0.0.0"): self.jsonnet_base = base self.config = config + self.version = f"\"{version}\"".encode("utf-8") def process(self, config): @@ -33,6 +34,10 @@ class Generator: path = os.path.join(".", dir, filename) return str(path), self.config + if filename == "version.jsonnet" and dir == "./templates/values/": + path = os.path.join(".", dir, filename) + return str(path), self.version + if dir: candidates = [ os.path.join(".", dir, filename), @@ -89,7 +94,8 @@ def full_config_object( def generate_config( vector_store="qdrant", embeddings="embeddings-hf", graph_store="cassandra", llm="vertexai", - platform = "docker-compose" + platform="docker-compose", + version="0.0.0" ): config = full_config_object( @@ -102,7 +108,7 @@ def generate_config( with open(f"./templates/config-to-{platform}.jsonnet", "r") as f: wrapper = f.read() - gen = Generator(json.dumps(config).encode("utf-8")) + gen = Generator(json.dumps(config).encode("utf-8"), version=version) processed = gen.process(wrapper) @@ -110,7 +116,7 @@ def generate_config( return y -def generate_all(output): +def generate_all(output, version): for platform in [ "docker-compose", "minikube-k8s", "gcp-k8s" @@ -122,7 +128,8 @@ def generate_all(output): for graph in [ "cassandra", "neo4j" ]: y = generate_config( - llm=model, graph_store=graph, platform=platform + llm=model, graph_store=graph, platform=platform, + version=version ) fname =f"{platform}/tg-{model}-{graph}.yaml" @@ -130,9 +137,12 @@ def generate_all(output): output(fname, y) -if len(sys.argv) < 2: raise RuntimeError("Usage: generate-all ") +if len(sys.argv) < 3: + raise RuntimeError("Usage: generate-all ") outfile = sys.argv[1] +version = sys.argv[2] + logger.info(f"Outputting to {outfile}...") with zipfile.ZipFile(outfile, mode='w') as out: @@ -141,7 +151,7 @@ with zipfile.ZipFile(outfile, mode='w') as out: logger.info(f"Adding {name}...") out.writestr(name, content) - generate_all(output) + generate_all(output=output, version=version) # Placeholder for the private.json file. Won't put actual credentials # here. From 2a49365482d68bbcbb4b349c98713529ab9d0341 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sat, 28 Sep 2024 20:48:20 +0100 Subject: [PATCH 09/44] Adds basic metering infrastructure (#68) * Basic metering module structure * Token counting working for Bedrock * Price calc using price list * Added more models to pricelist * Added Ollama token counts ---- Authored-by: JackColquitt --- Containerfile | 2 +- prometheus/prometheus.yml | 1 + requirements.txt | 1 + scripts/metering | 5 ++ setup.py | 1 + trustgraph/metering/__init__.py | 3 + trustgraph/metering/__main__.py | 7 ++ trustgraph/metering/counter.py | 71 +++++++++++++++++++ trustgraph/metering/pricelist.py | 49 +++++++++++++ .../model/text_completion/bedrock/llm.py | 19 ++++- .../model/text_completion/ollama/llm.py | 20 ++++-- trustgraph/schema/models.py | 5 +- 12 files changed, 176 insertions(+), 8 deletions(-) create mode 100644 scripts/metering create mode 100644 trustgraph/metering/__init__.py create mode 100755 trustgraph/metering/__main__.py create mode 100644 trustgraph/metering/counter.py create mode 100644 trustgraph/metering/pricelist.py diff --git a/Containerfile b/Containerfile index 1bb0a7fd..7f80a514 100644 --- a/Containerfile +++ b/Containerfile @@ -13,7 +13,7 @@ RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ RUN pip3 install torch --index-url https://download.pytorch.org/whl/cpu -RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform \ +RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama \ langchain langchain-core langchain-huggingface langchain-text-splitters \ langchain-community pymilvus sentence-transformers transformers \ huggingface-hub pulsar-client cassandra-driver pyarrow pyyaml \ diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index f459dad9..60a8e488 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -29,6 +29,7 @@ scrape_configs: - 'kg-extract-definitions:8000' - 'kg-extract-topics:8000' - 'kg-extract-relationships:8000' + - 'metering:8000' - 'store-graph-embeddings:8000' - 'store-triples:8000' - 'text-completion:8000' diff --git a/requirements.txt b/requirements.txt index 9a49a5aa..0d269066 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,3 +20,4 @@ pyyaml prometheus-client pyarrow boto3 +ollama diff --git a/scripts/metering b/scripts/metering new file mode 100644 index 00000000..7f1d0e12 --- /dev/null +++ b/scripts/metering @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 + +from trustgraph.metering import run + +run() \ No newline at end of file diff --git a/setup.py b/setup.py index 8240a805..e50b4e51 100644 --- a/setup.py +++ b/setup.py @@ -81,6 +81,7 @@ setuptools.setup( "scripts/load-pdf", "scripts/load-text", "scripts/load-triples", + "scripts/metering", "scripts/object-extract-row", "scripts/oe-write-milvus", "scripts/pdf-decoder", diff --git a/trustgraph/metering/__init__.py b/trustgraph/metering/__init__.py new file mode 100644 index 00000000..0ed03774 --- /dev/null +++ b/trustgraph/metering/__init__.py @@ -0,0 +1,3 @@ + +from . counter import * + diff --git a/trustgraph/metering/__main__.py b/trustgraph/metering/__main__.py new file mode 100755 index 00000000..802f2b8d --- /dev/null +++ b/trustgraph/metering/__main__.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 + +from . counter import run + +if __name__ == '__main__': + run() + diff --git a/trustgraph/metering/counter.py b/trustgraph/metering/counter.py new file mode 100644 index 00000000..0a33f413 --- /dev/null +++ b/trustgraph/metering/counter.py @@ -0,0 +1,71 @@ +""" +Simple token counter for each LLM response. +""" + +from prometheus_client import Histogram, Info +from . pricelist import price_list + +from .. schema import TextCompletionResponse, Error +from .. schema import text_completion_response_queue +from .. log_level import LogLevel +from .. base import Consumer + +module = ".".join(__name__.split(".")[1:-1]) + +default_input_queue = text_completion_response_queue +default_subscriber = module + + +class Processor(Consumer): + + def __init__(self, **params): + + input_queue = params.get("input_queue", default_input_queue) + subscriber = params.get("subscriber", default_subscriber) + + super(Processor, self).__init__( + **params | { + "input_queue": input_queue, + "subscriber": subscriber, + "input_schema": TextCompletionResponse, + } + ) + + def get_prices(self, prices, modelname): + for model in prices["price_list"]: + if model["model_name"] == modelname: + return model["input_price"], model["output_price"] + return None, None # Return None if model is not found + + def handle(self, msg): + + v = msg.value() + modelname = v.model + + # Sender-produced ID + id = msg.properties()["id"] + + print(f"Handling response {id}...", flush=True) + + num_in = v.in_token + num_out = v.out_token + + model_input_price, model_output_price = self.get_prices(price_list, modelname) + cost_in = num_in * model_input_price + cost_out = num_out * model_output_price + cost_per_call = cost_in + cost_out + + print(f"Input Tokens: {num_in}", flush=True) + print(f"Output Tokens: {num_out}", flush=True) + print(f"Cost for call: ${cost_per_call:.6f}", flush=True) + + @staticmethod + def add_args(parser): + + Consumer.add_args( + parser, default_input_queue, default_subscriber, + ) + +def run(): + + Processor.start(module, __doc__) \ No newline at end of file diff --git a/trustgraph/metering/pricelist.py b/trustgraph/metering/pricelist.py new file mode 100644 index 00000000..bffa9bec --- /dev/null +++ b/trustgraph/metering/pricelist.py @@ -0,0 +1,49 @@ +price_list = { + "price_list": [ + { + "model_name": "mistral.mistral-large-2407-v1:0", + "input_price": 0.000004, + "output_price": 0.000012 + }, + { + "model_name": "meta.llama3-1-405b-instruct-v1:0", + "input_price": 0.00000532, + "output_price": 0.000016 + }, + { + "model_name": "mistral.mixtral-8x7b-instruct-v0:1", + "input_price": 0.00000045, + "output_price": 0.0000007 + }, + { + "model_name": "meta.llama3-1-70b-instruct-v1:0", + "input_price": 0.00000099, + "output_price": 0.00000099 + }, + { + "model_name": "meta.llama3-1-8b-instruct-v1:0", + "input_price": 0.00000022, + "output_price": 0.00000022 + }, + { + "model_name": "anthropic.claude-3-haiku-20240307-v1:0", + "input_price": 0.00000025, + "output_price": 0.00000125 + }, + { + "model_name": "anthropic.claude-3-5-sonnet-20240620-v1:0", + "input_price": 0.000003, + "output_price": 0.000015 + }, + { + "model_name": "cohere.command-r-plus-v1:0", + "input_price": 0.0000030, + "output_price": 0.0000150 + }, + { + "model_name": "ollama", + "input_price": 0, + "output_price": 0 + } + ] +} \ No newline at end of file diff --git a/trustgraph/model/text_completion/bedrock/llm.py b/trustgraph/model/text_completion/bedrock/llm.py index fccf6353..0d050261 100755 --- a/trustgraph/model/text_completion/bedrock/llm.py +++ b/trustgraph/model/text_completion/bedrock/llm.py @@ -209,14 +209,23 @@ class Processor(ConsumerProducer): # Use Mistral as default else: response_body = json.loads(response.get("body").read()) - outputtext = response_body['outputs'][0]['text'] + outputtext = response_body['outputs'][0]['text'] + + metadata = response['ResponseMetadata']['HTTPHeaders'] + inputtokens = int(metadata['x-amzn-bedrock-input-token-count']) + outputtokens = int(metadata['x-amzn-bedrock-output-token-count']) print(outputtext, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) print("Send response...", flush=True) r = TextCompletionResponse( error=None, - response=outputtext + response=outputtext, + in_token=inputtokens, + out_token=outputtokens, + model=str(self.model), ) self.send(r, properties={"id": id}) @@ -236,6 +245,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -254,6 +266,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.consumer.acknowledge(msg) diff --git a/trustgraph/model/text_completion/ollama/llm.py b/trustgraph/model/text_completion/ollama/llm.py index 93d89720..b506b3cd 100755 --- a/trustgraph/model/text_completion/ollama/llm.py +++ b/trustgraph/model/text_completion/ollama/llm.py @@ -4,7 +4,7 @@ Simple LLM service, performs text prompt completion using an Ollama service. Input is prompt, output is response. """ -from langchain_community.llms import Ollama +from ollama import Client from prometheus_client import Histogram, Info from .... schema import TextCompletionRequest, TextCompletionResponse, Error @@ -67,7 +67,8 @@ class Processor(ConsumerProducer): "ollama": ollama, }) - self.llm = Ollama(base_url=ollama, model=model) + self.model = model + self.llm = Client(host=ollama) def handle(self, msg): @@ -83,11 +84,16 @@ class Processor(ConsumerProducer): try: with __class__.text_completion_metric.time(): - response = self.llm.invoke(prompt) + response = self.llm.generate(self.model, prompt) + response_text = response['response'] print("Send response...", flush=True) + print(response_text, flush=True) - r = TextCompletionResponse(response=response, error=None) + inputtokens = int(response['prompt_eval_count']) + outputtokens = int(response['eval_count']) + + r = TextCompletionResponse(response=response_text, error=None, in_token=inputtokens, out_token=outputtokens, model="ollama") self.send(r, properties={"id": id}) @@ -105,6 +111,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -123,6 +132,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) diff --git a/trustgraph/schema/models.py b/trustgraph/schema/models.py index cf73a203..2196a3d2 100644 --- a/trustgraph/schema/models.py +++ b/trustgraph/schema/models.py @@ -1,5 +1,5 @@ -from pulsar.schema import Record, String, Array, Double +from pulsar.schema import Record, String, Array, Double, Integer from . topic import topic from . types import Error @@ -14,6 +14,9 @@ class TextCompletionRequest(Record): class TextCompletionResponse(Record): error = Error() response = String() + in_token = Integer() + out_token = Integer() + model = String() text_completion_request_queue = topic( 'text-completion', kind='non-persistent', namespace='request' From 6cad3674c05d9480e2ec8d07b222dfcf86877fbd Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sat, 28 Sep 2024 22:08:28 +0100 Subject: [PATCH 10/44] Update templates to 0.11 (#69) --- deploy/docker-compose/tg-launch-azure-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-azure-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-bedrock-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-bedrock-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-claude-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-claude-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-cohere-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-cohere-neo4j.yaml | 8 ++++---- .../tg-launch-llamafile-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-llamafile-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-ollama-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-ollama-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-openai-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-launch-openai-neo4j.yaml | 8 ++++---- .../docker-compose/tg-launch-vertexai-cassandra.yaml | 12 ++++++------ deploy/docker-compose/tg-launch-vertexai-neo4j.yaml | 12 ++++++------ deploy/docker-compose/tg-storage-cassandra.yaml | 8 ++++---- deploy/docker-compose/tg-storage-neo4j.yaml | 8 ++++---- deploy/minikube/tg-launch-azure-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-azure-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-bedrock-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-bedrock-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-claude-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-claude-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-cohere-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-cohere-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-llamafile-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-llamafile-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-ollama-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-ollama-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-openai-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-openai-neo4j.yaml | 6 +++--- deploy/minikube/tg-launch-vertexai-cassandra.yaml | 6 +++--- deploy/minikube/tg-launch-vertexai-neo4j.yaml | 6 +++--- 34 files changed, 124 insertions(+), 124 deletions(-) diff --git a/deploy/docker-compose/tg-launch-azure-cassandra.yaml b/deploy/docker-compose/tg-launch-azure-cassandra.yaml index 1a681eb5..7a1f6d57 100644 --- a/deploy/docker-compose/tg-launch-azure-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-azure-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-azure-neo4j.yaml b/deploy/docker-compose/tg-launch-azure-neo4j.yaml index 2a57eb58..e90e40b0 100644 --- a/deploy/docker-compose/tg-launch-azure-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-azure-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml index 2eb3692a..f3d47c27 100644 --- a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml index 6c0d3a1d..8fe507e4 100644 --- a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-claude-cassandra.yaml b/deploy/docker-compose/tg-launch-claude-cassandra.yaml index af114880..d851a2cd 100644 --- a/deploy/docker-compose/tg-launch-claude-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-claude-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-claude-neo4j.yaml b/deploy/docker-compose/tg-launch-claude-neo4j.yaml index eefb4cee..e0c59d03 100644 --- a/deploy/docker-compose/tg-launch-claude-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-claude-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml index d0df4d9f..d3359f58 100644 --- a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-cohere-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml index 54ced668..688907cf 100644 --- a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-cohere-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml b/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml index 8886f99c..8ed6fb71 100644 --- a/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml b/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml index 41381a80..14c1382a 100644 --- a/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml index 6868243e..1dc7a6a9 100644 --- a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-ollama-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml index 3a2b0b74..d2201194 100644 --- a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-ollama-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-openai-cassandra.yaml b/deploy/docker-compose/tg-launch-openai-cassandra.yaml index 7f2e966f..342db4e1 100644 --- a/deploy/docker-compose/tg-launch-openai-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-openai-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-openai-neo4j.yaml b/deploy/docker-compose/tg-launch-openai-neo4j.yaml index 9d2141a7..44ddbc9b 100644 --- a/deploy/docker-compose/tg-launch-openai-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-openai-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml index 8a7878ce..a0c7025c 100644 --- a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml +++ b/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: @@ -710,7 +710,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - - ${CONFIGDIR}/./vertexai:/vertexai + - ./vertexai:/vertexai text-completion-rag: command: - text-completion-vertexai @@ -741,7 +741,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - - ${CONFIGDIR}/./vertexai:/vertexai + - ./vertexai:/vertexai vectorize: command: - embeddings-vectorize diff --git a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml index c273da2b..2ca46744 100644 --- a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml +++ b/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: @@ -711,7 +711,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - - ${CONFIGDIR}/./vertexai:/vertexai + - ./vertexai:/vertexai text-completion-rag: command: - text-completion-vertexai @@ -742,7 +742,7 @@ services: image: docker.io/trustgraph/trustgraph-flow:0.10.1 restart: on-failure:100 volumes: - - ${CONFIGDIR}/./vertexai:/vertexai + - ./vertexai:/vertexai vectorize: command: - embeddings-vectorize diff --git a/deploy/docker-compose/tg-storage-cassandra.yaml b/deploy/docker-compose/tg-storage-cassandra.yaml index 2ee7023e..115f39e6 100644 --- a/deploy/docker-compose/tg-storage-cassandra.yaml +++ b/deploy/docker-compose/tg-storage-cassandra.yaml @@ -33,9 +33,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - sh @@ -70,7 +70,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus pulsar: command: diff --git a/deploy/docker-compose/tg-storage-neo4j.yaml b/deploy/docker-compose/tg-storage-neo4j.yaml index 5ba4fb02..43804b1c 100644 --- a/deploy/docker-compose/tg-storage-neo4j.yaml +++ b/deploy/docker-compose/tg-storage-neo4j.yaml @@ -16,9 +16,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - sh @@ -71,7 +71,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - ${CONFIGDIR}/prometheus:/etc/prometheus/ + - prometheus:/etc/prometheus/ - prometheus-data:/prometheus pulsar: command: diff --git a/deploy/minikube/tg-launch-azure-cassandra.yaml b/deploy/minikube/tg-launch-azure-cassandra.yaml index 4cd93a5b..f38d37af 100644 --- a/deploy/minikube/tg-launch-azure-cassandra.yaml +++ b/deploy/minikube/tg-launch-azure-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-azure-neo4j.yaml b/deploy/minikube/tg-launch-azure-neo4j.yaml index 739751bf..dedbf828 100644 --- a/deploy/minikube/tg-launch-azure-neo4j.yaml +++ b/deploy/minikube/tg-launch-azure-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-bedrock-cassandra.yaml b/deploy/minikube/tg-launch-bedrock-cassandra.yaml index a9c6e9a6..1bae13a2 100644 --- a/deploy/minikube/tg-launch-bedrock-cassandra.yaml +++ b/deploy/minikube/tg-launch-bedrock-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-bedrock-neo4j.yaml b/deploy/minikube/tg-launch-bedrock-neo4j.yaml index 8a646d32..3e8978c2 100644 --- a/deploy/minikube/tg-launch-bedrock-neo4j.yaml +++ b/deploy/minikube/tg-launch-bedrock-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-claude-cassandra.yaml b/deploy/minikube/tg-launch-claude-cassandra.yaml index 58ef9a6f..26a8724b 100644 --- a/deploy/minikube/tg-launch-claude-cassandra.yaml +++ b/deploy/minikube/tg-launch-claude-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-claude-neo4j.yaml b/deploy/minikube/tg-launch-claude-neo4j.yaml index e05cc9df..470bfce7 100644 --- a/deploy/minikube/tg-launch-claude-neo4j.yaml +++ b/deploy/minikube/tg-launch-claude-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-cohere-cassandra.yaml b/deploy/minikube/tg-launch-cohere-cassandra.yaml index bf07ba3e..d7263a17 100644 --- a/deploy/minikube/tg-launch-cohere-cassandra.yaml +++ b/deploy/minikube/tg-launch-cohere-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-cohere-neo4j.yaml b/deploy/minikube/tg-launch-cohere-neo4j.yaml index cc682a7a..54872975 100644 --- a/deploy/minikube/tg-launch-cohere-neo4j.yaml +++ b/deploy/minikube/tg-launch-cohere-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-llamafile-cassandra.yaml b/deploy/minikube/tg-launch-llamafile-cassandra.yaml index 8e9e0d53..4b3365e0 100644 --- a/deploy/minikube/tg-launch-llamafile-cassandra.yaml +++ b/deploy/minikube/tg-launch-llamafile-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-llamafile-neo4j.yaml b/deploy/minikube/tg-launch-llamafile-neo4j.yaml index 017d0e57..b5b283a9 100644 --- a/deploy/minikube/tg-launch-llamafile-neo4j.yaml +++ b/deploy/minikube/tg-launch-llamafile-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-ollama-cassandra.yaml b/deploy/minikube/tg-launch-ollama-cassandra.yaml index 8eba8502..3d4db3a0 100644 --- a/deploy/minikube/tg-launch-ollama-cassandra.yaml +++ b/deploy/minikube/tg-launch-ollama-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-ollama-neo4j.yaml b/deploy/minikube/tg-launch-ollama-neo4j.yaml index bd4e6f25..98321ac5 100644 --- a/deploy/minikube/tg-launch-ollama-neo4j.yaml +++ b/deploy/minikube/tg-launch-ollama-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-openai-cassandra.yaml b/deploy/minikube/tg-launch-openai-cassandra.yaml index ea624801..98dd6bee 100644 --- a/deploy/minikube/tg-launch-openai-cassandra.yaml +++ b/deploy/minikube/tg-launch-openai-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-openai-neo4j.yaml b/deploy/minikube/tg-launch-openai-neo4j.yaml index de7a83bb..e838a2c0 100644 --- a/deploy/minikube/tg-launch-openai-neo4j.yaml +++ b/deploy/minikube/tg-launch-openai-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-vertexai-cassandra.yaml b/deploy/minikube/tg-launch-vertexai-cassandra.yaml index a7bcb759..f0e20d2e 100644 --- a/deploy/minikube/tg-launch-vertexai-cassandra.yaml +++ b/deploy/minikube/tg-launch-vertexai-cassandra.yaml @@ -888,9 +888,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap diff --git a/deploy/minikube/tg-launch-vertexai-neo4j.yaml b/deploy/minikube/tg-launch-vertexai-neo4j.yaml index c1b62227..cb75dc2e 100644 --- a/deploy/minikube/tg-launch-vertexai-neo4j.yaml +++ b/deploy/minikube/tg-launch-vertexai-neo4j.yaml @@ -893,9 +893,9 @@ items: \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'store-graph-embeddings:8000'\n - 'store-triples:8000'\n \ - \ - 'text-completion:8000'\n - 'text-completion-rag:8000'\n \ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ + \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ + \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ + \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ \ - 'pulsar:8080'\n\n" kind: ConfigMap From e5249c2bac31ad326df2d42ab70ba4dd40aa7824 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sun, 29 Sep 2024 18:03:32 +0100 Subject: [PATCH 11/44] Bump version --- Makefile | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7fe87812..aeff3a3d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.10.1 +VERSION=0.11.0 DOCKER=podman diff --git a/setup.py b/setup.py index e50b4e51..3b9b5eca 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.10.1" +version = "0.11.0" setuptools.setup( name="trustgraph", From 88246742f3db1c2a755c02b95b8a6f0910cbba30 Mon Sep 17 00:00:00 2001 From: Jack Colquitt <126733989+JackColquitt@users.noreply.github.com> Date: Sun, 29 Sep 2024 10:11:48 -0700 Subject: [PATCH 12/44] Features/metering all llms (#70) * Added Anthropic support and None logic * Added Cohere API support * Added support for Llamafile and OpenAI * Added support for VertexAI * Added AzureAI support --- trustgraph/metering/counter.py | 12 ++-- trustgraph/metering/pricelist.py | 57 ++++++++++++++++++- trustgraph/model/text_completion/azure/llm.py | 26 +++++++-- .../model/text_completion/claude/llm.py | 12 +++- .../model/text_completion/cohere/llm.py | 13 ++++- .../model/text_completion/llamafile/llm.py | 14 +++++ .../model/text_completion/openai/llm.py | 15 ++++- .../model/text_completion/vertexai/llm.py | 15 +++++ 8 files changed, 150 insertions(+), 14 deletions(-) diff --git a/trustgraph/metering/counter.py b/trustgraph/metering/counter.py index 0a33f413..6404888e 100644 --- a/trustgraph/metering/counter.py +++ b/trustgraph/metering/counter.py @@ -51,13 +51,17 @@ class Processor(Consumer): num_out = v.out_token model_input_price, model_output_price = self.get_prices(price_list, modelname) - cost_in = num_in * model_input_price - cost_out = num_out * model_output_price - cost_per_call = cost_in + cost_out + + if model_input_price == None: + cost_per_call = f"Model Not Found in Price list" + else: + cost_in = num_in * model_input_price + cost_out = num_out * model_output_price + cost_per_call = round(cost_in + cost_out, 6) print(f"Input Tokens: {num_in}", flush=True) print(f"Output Tokens: {num_out}", flush=True) - print(f"Cost for call: ${cost_per_call:.6f}", flush=True) + print(f"Cost for call: ${cost_per_call}", flush=True) @staticmethod def add_args(parser): diff --git a/trustgraph/metering/pricelist.py b/trustgraph/metering/pricelist.py index bffa9bec..e890d0e1 100644 --- a/trustgraph/metering/pricelist.py +++ b/trustgraph/metering/pricelist.py @@ -44,6 +44,61 @@ price_list = { "model_name": "ollama", "input_price": 0, "output_price": 0 - } + }, + { + "model_name": "claude-3-haiku-20240307", + "input_price": 0.00000025, + "output_price": 0.00000125 + }, + { + "model_name": "claude-3-5-sonnet-20240620", + "input_price": 0.000003, + "output_price": 0.000015 + }, + { + "model_name": "claude-3-opus-20240229", + "input_price": 0.000015, + "output_price": 0.000075 + }, + { + "model_name": "claude-3-sonnet-20240229", + "input_price": 0.000003, + "output_price": 0.000015 + }, + { + "model_name": "command-r-08-202", + "input_price": 0.0000025, + "output_price": 0.000010 + }, + { + "model_name": "c4ai-aya-23-8b", + "input_price": 0, + "output_price": 0 + }, + { + "model_name": "llama.cpp", + "input_price": 0, + "output_price": 0 + }, + { + "model_name": "gpt-4o", + "input_price": 0.000005, + "output_price": 0.000015 + }, + { + "model_name": "gpt-4o-2024-08-06", + "input_price": 0.0000025, + "output_price": 0.000010 + }, + { + "model_name": "gpt-4o-2024-05-13", + "input_price": 0.000005, + "output_price": 0.000015 + }, + { + "model_name": "gpt-4o-mini", + "input_price": 0.00000015, + "output_price": 0.0000006 + }, ] } \ No newline at end of file diff --git a/trustgraph/model/text_completion/azure/llm.py b/trustgraph/model/text_completion/azure/llm.py index 86395317..25339924 100755 --- a/trustgraph/model/text_completion/azure/llm.py +++ b/trustgraph/model/text_completion/azure/llm.py @@ -108,9 +108,7 @@ class Processor(ConsumerProducer): result = resp.json() - message_content = result['choices'][0]['message']['content'] - - return message_content + return result def handle(self, msg): @@ -132,9 +130,17 @@ class Processor(ConsumerProducer): with __class__.text_completion_metric.time(): response = self.call_llm(prompt) + resp = response['choices'][0]['message']['content'] + inputtokens = response['usage']['prompt_tokens'] + outputtokens = response['usage']['completion_tokens'] + + print(resp, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) + print("Send response...", flush=True) - r = TextCompletionResponse(response=response, error=None) + r = TextCompletionResponse(response=resp, error=None, in_token=inputtokens, out_token=outputtokens, model="AzureAI") self.producer.send(r, properties={"id": id}) except TooManyRequests: @@ -145,7 +151,11 @@ class Processor(ConsumerProducer): error=Error( type = "rate-limit", message = str(e), - ) + ), + response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -162,7 +172,11 @@ class Processor(ConsumerProducer): error=Error( type = "llm-error", message = str(e), - ) + ), + response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) diff --git a/trustgraph/model/text_completion/claude/llm.py b/trustgraph/model/text_completion/claude/llm.py index 85d77a85..ad949b02 100755 --- a/trustgraph/model/text_completion/claude/llm.py +++ b/trustgraph/model/text_completion/claude/llm.py @@ -105,10 +105,14 @@ class Processor(ConsumerProducer): ) resp = response.content[0].text + inputtokens = response.usage.input_tokens + outputtokens = response.usage.output_tokens print(resp, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) print("Send response...", flush=True) - r = TextCompletionResponse(response=resp, error=None) + r = TextCompletionResponse(response=resp, error=None, in_token=inputtokens, out_token=outputtokens, model=self.model) self.send(r, properties={"id": id}) print("Done.", flush=True) @@ -125,6 +129,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -143,6 +150,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) diff --git a/trustgraph/model/text_completion/cohere/llm.py b/trustgraph/model/text_completion/cohere/llm.py index af55fd2c..75ef8ae4 100755 --- a/trustgraph/model/text_completion/cohere/llm.py +++ b/trustgraph/model/text_completion/cohere/llm.py @@ -91,10 +91,15 @@ class Processor(ConsumerProducer): ) resp = output.text + inputtokens = output.meta.billed_units.input_tokens + outputtokens = output.meta.billed_units.output_tokens + print(resp, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) print("Send response...", flush=True) - r = TextCompletionResponse(response=resp, error=None) + r = TextCompletionResponse(response=resp, error=None, in_token=inputtokens, out_token=outputtokens, model=self.model) self.send(r, properties={"id": id}) print("Done.", flush=True) @@ -111,6 +116,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -129,6 +137,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) diff --git a/trustgraph/model/text_completion/llamafile/llm.py b/trustgraph/model/text_completion/llamafile/llm.py index c42ec472..86427167 100755 --- a/trustgraph/model/text_completion/llamafile/llm.py +++ b/trustgraph/model/text_completion/llamafile/llm.py @@ -107,12 +107,20 @@ class Processor(ConsumerProducer): #} ) + inputtokens = resp.usage.prompt_tokens + outputtokens = resp.usage.completion_tokens + print(resp.choices[0].message.content, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) print("Send response...", flush=True) r = TextCompletionResponse( response=resp.choices[0].message.content, error=None, + in_token=inputtokens, + out_token=outputtokens, + model="llama.cpp" ) self.send(r, properties={"id": id}) @@ -130,6 +138,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -148,6 +159,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) diff --git a/trustgraph/model/text_completion/openai/llm.py b/trustgraph/model/text_completion/openai/llm.py index d4563e7b..5d259e7e 100755 --- a/trustgraph/model/text_completion/openai/llm.py +++ b/trustgraph/model/text_completion/openai/llm.py @@ -108,13 +108,20 @@ class Processor(ConsumerProducer): "type": "text" } ) - + + inputtokens = resp.usage.prompt_tokens + outputtokens = resp.usage.completion_tokens print(resp.choices[0].message.content, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) print("Send response...", flush=True) r = TextCompletionResponse( response=resp.choices[0].message.content, error=None, + in_token=inputtokens, + out_token=outputtokens, + model=self.model ) self.send(r, properties={"id": id}) @@ -132,6 +139,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -150,6 +160,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) diff --git a/trustgraph/model/text_completion/vertexai/llm.py b/trustgraph/model/text_completion/vertexai/llm.py index 17ebde6c..41f4ff3e 100755 --- a/trustgraph/model/text_completion/vertexai/llm.py +++ b/trustgraph/model/text_completion/vertexai/llm.py @@ -122,6 +122,7 @@ class Processor(ConsumerProducer): print(f"Initialise model {model}", flush=True) self.llm = GenerativeModel(model) + self.model = model print("Initialisation complete", flush=True) @@ -147,12 +148,20 @@ class Processor(ConsumerProducer): ) resp = resp.text + inputtokens = resp.usage_metadata.prompt_token_count + outputtokens = resp.usage_metadata.candidates_token_count + print(resp, flush=True) + print(f"Input Tokens: {inputtokens}", flush=True) + print(f"Output Tokens: {outputtokens}", flush=True) print("Send response...", flush=True) r = TextCompletionResponse( error=None, response=resp, + in_token=inputtokens, + out_token=outputtokens, + model=self.model ) self.producer.send(r, properties={"id": id}) @@ -172,6 +181,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) @@ -190,6 +202,9 @@ class Processor(ConsumerProducer): message = str(e), ), response=None, + in_token=None, + out_token=None, + model=None, ) self.producer.send(r, properties={"id": id}) From fa3054499966a8ae816544f37fc82a11cde1deef Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 18:13:34 +0100 Subject: [PATCH 13/44] Fix/revert template change (#71) * Ditched the deploy directory (going away in 0.11) and putting YAML files in top-dir of Github (for now). * Update Makefile for the template change --- Makefile | 13 +- .../minikube/tg-launch-azure-cassandra.yaml | 2076 ---------------- deploy/minikube/tg-launch-azure-neo4j.yaml | 2081 ---------------- .../minikube/tg-launch-bedrock-cassandra.yaml | 2084 ---------------- deploy/minikube/tg-launch-bedrock-neo4j.yaml | 2089 ---------------- .../minikube/tg-launch-claude-cassandra.yaml | 2072 ---------------- deploy/minikube/tg-launch-claude-neo4j.yaml | 2077 ---------------- .../minikube/tg-launch-cohere-cassandra.yaml | 2068 ---------------- deploy/minikube/tg-launch-cohere-neo4j.yaml | 2073 ---------------- .../tg-launch-llamafile-cassandra.yaml | 1728 -------------- .../minikube/tg-launch-llamafile-neo4j.yaml | 1733 -------------- .../minikube/tg-launch-ollama-cassandra.yaml | 1754 -------------- deploy/minikube/tg-launch-ollama-neo4j.yaml | 1759 -------------- .../minikube/tg-launch-openai-cassandra.yaml | 2076 ---------------- deploy/minikube/tg-launch-openai-neo4j.yaml | 2081 ---------------- .../tg-launch-vertexai-cassandra.yaml | 2106 ---------------- deploy/minikube/tg-launch-vertexai-neo4j.yaml | 2111 ----------------- ...dra.yaml => tg-launch-azure-cassandra.yaml | 36 +- ...e-neo4j.yaml => tg-launch-azure-neo4j.yaml | 36 +- ...a.yaml => tg-launch-bedrock-cassandra.yaml | 36 +- ...neo4j.yaml => tg-launch-bedrock-neo4j.yaml | 36 +- ...ra.yaml => tg-launch-claude-cassandra.yaml | 36 +- ...-neo4j.yaml => tg-launch-claude-neo4j.yaml | 36 +- ...ra.yaml => tg-launch-cohere-cassandra.yaml | 36 +- ...-neo4j.yaml => tg-launch-cohere-neo4j.yaml | 36 +- ...yaml => tg-launch-llamafile-cassandra.yaml | 36 +- ...o4j.yaml => tg-launch-llamafile-neo4j.yaml | 36 +- ...ra.yaml => tg-launch-ollama-cassandra.yaml | 36 +- ...-neo4j.yaml => tg-launch-ollama-neo4j.yaml | 36 +- ...ra.yaml => tg-launch-openai-cassandra.yaml | 36 +- ...-neo4j.yaml => tg-launch-openai-neo4j.yaml | 36 +- ....yaml => tg-launch-vertexai-cassandra.yaml | 36 +- ...eo4j.yaml => tg-launch-vertexai-neo4j.yaml | 36 +- ...assandra.yaml => tg-storage-cassandra.yaml | 12 +- ...torage-neo4j.yaml => tg-storage-neo4j.yaml | 12 +- 35 files changed, 308 insertions(+), 32273 deletions(-) delete mode 100644 deploy/minikube/tg-launch-azure-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-azure-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-bedrock-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-bedrock-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-claude-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-claude-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-cohere-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-cohere-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-llamafile-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-llamafile-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-ollama-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-ollama-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-openai-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-openai-neo4j.yaml delete mode 100644 deploy/minikube/tg-launch-vertexai-cassandra.yaml delete mode 100644 deploy/minikube/tg-launch-vertexai-neo4j.yaml rename deploy/docker-compose/tg-launch-azure-cassandra.yaml => tg-launch-azure-cassandra.yaml (94%) rename deploy/docker-compose/tg-launch-azure-neo4j.yaml => tg-launch-azure-neo4j.yaml (94%) rename deploy/docker-compose/tg-launch-bedrock-cassandra.yaml => tg-launch-bedrock-cassandra.yaml (94%) rename deploy/docker-compose/tg-launch-bedrock-neo4j.yaml => tg-launch-bedrock-neo4j.yaml (94%) rename deploy/docker-compose/tg-launch-claude-cassandra.yaml => tg-launch-claude-cassandra.yaml (94%) rename deploy/docker-compose/tg-launch-claude-neo4j.yaml => tg-launch-claude-neo4j.yaml (94%) rename deploy/docker-compose/tg-launch-cohere-cassandra.yaml => tg-launch-cohere-cassandra.yaml (94%) rename deploy/docker-compose/tg-launch-cohere-neo4j.yaml => tg-launch-cohere-neo4j.yaml (94%) rename deploy/docker-compose/tg-launch-llamafile-cassandra.yaml => tg-launch-llamafile-cassandra.yaml (90%) rename deploy/docker-compose/tg-launch-llamafile-neo4j.yaml => tg-launch-llamafile-neo4j.yaml (90%) rename deploy/docker-compose/tg-launch-ollama-cassandra.yaml => tg-launch-ollama-cassandra.yaml (90%) rename deploy/docker-compose/tg-launch-ollama-neo4j.yaml => tg-launch-ollama-neo4j.yaml (90%) rename deploy/docker-compose/tg-launch-openai-cassandra.yaml => tg-launch-openai-cassandra.yaml (94%) rename deploy/docker-compose/tg-launch-openai-neo4j.yaml => tg-launch-openai-neo4j.yaml (94%) rename deploy/docker-compose/tg-launch-vertexai-cassandra.yaml => tg-launch-vertexai-cassandra.yaml (94%) rename deploy/docker-compose/tg-launch-vertexai-neo4j.yaml => tg-launch-vertexai-neo4j.yaml (94%) rename deploy/docker-compose/tg-storage-cassandra.yaml => tg-storage-cassandra.yaml (93%) rename deploy/docker-compose/tg-storage-neo4j.yaml => tg-storage-neo4j.yaml (93%) diff --git a/Makefile b/Makefile index aeff3a3d..750a7731 100644 --- a/Makefile +++ b/Makefile @@ -49,19 +49,20 @@ VECTORDB=qdrant JSONNET_FLAGS=-J templates -J . +# Temporarily going back to how templates were built in 0.9 because this +# is going away in 0.11. -update-templates: update-dcs update-minikubes +update-templates: update-dcs +# update-minikubes JSON_TO_YAML=python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' # JSON_TO_YAML=cat update-dcs: set-version - rm -rf deploy - mkdir -p deploy/docker-compose deploy/minikube for graph in ${GRAPHS}; do \ cm=$${graph},pulsar,${VECTORDB},grafana; \ input=templates/opts-to-docker-compose.jsonnet; \ - output=deploy/docker-compose/tg-storage-$${graph}.yaml; \ + output=tg-storage-$${graph}.yaml; \ echo $${graph} '->' $${output}; \ jsonnet ${JSONNET_FLAGS} \ --ext-str options=$${cm} $${input} | \ @@ -71,7 +72,7 @@ update-dcs: set-version for graph in ${GRAPHS}; do \ cm=$${graph},pulsar,${VECTORDB},embeddings-hf,graph-rag,grafana,trustgraph,$${model}; \ input=templates/opts-to-docker-compose.jsonnet; \ - output=deploy/docker-compose/tg-launch-$${model}-$${graph}.yaml; \ + output=tg-launch-$${model}-$${graph}.yaml; \ echo $${model} + $${graph} '->' $${output}; \ jsonnet ${JSONNET_FLAGS} \ --ext-str options=$${cm} $${input} | \ @@ -80,6 +81,8 @@ update-dcs: set-version done update-minikubes: set-version + rm -rf deploy/minikube + mkdir -p deploy/minikube for model in ${MODELS}; do \ for graph in ${GRAPHS}; do \ cm=$${graph},pulsar,${VECTORDB},embeddings-hf,graph-rag,grafana,trustgraph,$${model}; \ diff --git a/deploy/minikube/tg-launch-azure-cassandra.yaml b/deploy/minikube/tg-launch-azure-cassandra.yaml deleted file mode 100644 index f38d37af..00000000 --- a/deploy/minikube/tg-launch-azure-cassandra.yaml +++ /dev/null @@ -1,2076 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-azure-neo4j.yaml b/deploy/minikube/tg-launch-azure-neo4j.yaml deleted file mode 100644 index dedbf828..00000000 --- a/deploy/minikube/tg-launch-azure-neo4j.yaml +++ /dev/null @@ -1,2081 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-bedrock-cassandra.yaml b/deploy/minikube/tg-launch-bedrock-cassandra.yaml deleted file mode 100644 index 1bae13a2..00000000 --- a/deploy/minikube/tg-launch-bedrock-cassandra.yaml +++ /dev/null @@ -1,2084 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-recursive - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '2000' - - --chunk-overlap - - '100' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-bedrock-neo4j.yaml b/deploy/minikube/tg-launch-bedrock-neo4j.yaml deleted file mode 100644 index 3e8978c2..00000000 --- a/deploy/minikube/tg-launch-bedrock-neo4j.yaml +++ /dev/null @@ -1,2089 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-recursive - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '2000' - - --chunk-overlap - - '100' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-claude-cassandra.yaml b/deploy/minikube/tg-launch-claude-cassandra.yaml deleted file mode 100644 index 26a8724b..00000000 --- a/deploy/minikube/tg-launch-claude-cassandra.yaml +++ /dev/null @@ -1,2072 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-claude-neo4j.yaml b/deploy/minikube/tg-launch-claude-neo4j.yaml deleted file mode 100644 index 470bfce7..00000000 --- a/deploy/minikube/tg-launch-claude-neo4j.yaml +++ /dev/null @@ -1,2077 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-cohere-cassandra.yaml b/deploy/minikube/tg-launch-cohere-cassandra.yaml deleted file mode 100644 index d7263a17..00000000 --- a/deploy/minikube/tg-launch-cohere-cassandra.yaml +++ /dev/null @@ -1,2068 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '150' - - --chunk-overlap - - '10' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - 0 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - 0 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-cohere-neo4j.yaml b/deploy/minikube/tg-launch-cohere-neo4j.yaml deleted file mode 100644 index 54872975..00000000 --- a/deploy/minikube/tg-launch-cohere-neo4j.yaml +++ /dev/null @@ -1,2073 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '150' - - --chunk-overlap - - '10' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - 0 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - 0 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-llamafile-cassandra.yaml b/deploy/minikube/tg-launch-llamafile-cassandra.yaml deleted file mode 100644 index 4b3365e0..00000000 --- a/deploy/minikube/tg-launch-llamafile-cassandra.yaml +++ /dev/null @@ -1,1728 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-llamafile-neo4j.yaml b/deploy/minikube/tg-launch-llamafile-neo4j.yaml deleted file mode 100644 index b5b283a9..00000000 --- a/deploy/minikube/tg-launch-llamafile-neo4j.yaml +++ /dev/null @@ -1,1733 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-ollama-cassandra.yaml b/deploy/minikube/tg-launch-ollama-cassandra.yaml deleted file mode 100644 index 3d4db3a0..00000000 --- a/deploy/minikube/tg-launch-ollama-cassandra.yaml +++ /dev/null @@ -1,1754 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-ollama-neo4j.yaml b/deploy/minikube/tg-launch-ollama-neo4j.yaml deleted file mode 100644 index 98321ac5..00000000 --- a/deploy/minikube/tg-launch-ollama-neo4j.yaml +++ /dev/null @@ -1,1759 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-openai-cassandra.yaml b/deploy/minikube/tg-launch-openai-cassandra.yaml deleted file mode 100644 index 98dd6bee..00000000 --- a/deploy/minikube/tg-launch-openai-cassandra.yaml +++ /dev/null @@ -1,2076 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-openai-neo4j.yaml b/deploy/minikube/tg-launch-openai-neo4j.yaml deleted file mode 100644 index e838a2c0..00000000 --- a/deploy/minikube/tg-launch-openai-neo4j.yaml +++ /dev/null @@ -1,2081 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-vertexai-cassandra.yaml b/deploy/minikube/tg-launch-vertexai-cassandra.yaml deleted file mode 100644 index f0e20d2e..00000000 --- a/deploy/minikube/tg-launch-vertexai-cassandra.yaml +++ /dev/null @@ -1,2106 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: cassandra - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-cassandra - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: cassandra - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: cassandra - name: cassandra - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: cassandra - template: - metadata: - labels: - app: cassandra - spec: - containers: - - env: - - name: JVM_OPTS - value: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - name: cassandra - ports: - - containerPort: 9042 - hostPort: 9042 - resources: - limits: - cpu: '1.0' - memory: 800M - requests: - cpu: '0.5' - memory: 800M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/cassandra - name: cassandra - volumes: - - name: cassandra - persistentVolumeClaim: - claimName: cassandra -- apiVersion: v1 - kind: Service - metadata: - name: cassandra - namespace: trustgraph - spec: - ports: - - name: api - port: 9042 - targetPort: 9042 - selector: - app: cassandra - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 512M - requests: - cpu: '0.1' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: stop-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: stop-triples - type: LoadBalancer -- apiVersion: v1 - data: - private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== - kind: Secret - metadata: - name: vertexai-creds - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 256M - requests: - cpu: '0.1' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /vertexai - name: vertexai-creds - volumes: - - name: vertexai-creds - secret: - secretName: vertexai-creds -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: v1 - data: - private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== - kind: Secret - metadata: - name: vertexai-creds - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 256M - requests: - cpu: '0.1' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /vertexai - name: vertexai-creds - volumes: - - name: vertexai-creds - secret: - secretName: vertexai-creds -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/minikube/tg-launch-vertexai-neo4j.yaml b/deploy/minikube/tg-launch-vertexai-neo4j.yaml deleted file mode 100644 index cb75dc2e..00000000 --- a/deploy/minikube/tg-launch-vertexai-neo4j.yaml +++ /dev/null @@ -1,2111 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: v1 - kind: Namespace - metadata: - name: trustgraph - spec: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: chunker - name: chunker - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: chunker - template: - metadata: - labels: - app: chunker - spec: - containers: - - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: chunker - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: chunker - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: chunker - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: embeddings - name: embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: embeddings - template: - metadata: - labels: - app: embeddings - spec: - containers: - - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: embeddings - resources: - limits: - cpu: '1.0' - memory: 400M - requests: - cpu: '0.5' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: embeddings - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: grafana-storage - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-grafana-storage - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: grafana-storage - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: v1 - data: - dashboard.yml: "\napiVersion: 1\n\nproviders:\n\n - name: 'trustgraph.ai'\n \ - \ orgId: 1\n folder: 'TrustGraph'\n folderUid: 'b6c5be90-d432-4df8-aeab-737c7b151228'\n\ - \ type: file\n disableDeletion: false\n updateIntervalSeconds: 30\n\ - \ allowUiUpdates: true\n options:\n path: /var/lib/grafana/dashboards\n\ - \ foldersFromFilesStructure: false\n\n" - kind: ConfigMap - metadata: - name: prov-dash - namespace: trustgraph -- apiVersion: v1 - data: - datasource.yml: "apiVersion: 1\n\nprune: true\n\ndatasources:\n - name: Prometheus\n\ - \ type: prometheus\n access: proxy\n orgId: 1\n # Sets\ - \ a custom UID to reference this\n # data source in other parts of the configuration.\n\ - \ # If not specified, Grafana generates one.\n uid: 'f6b18033-5918-4e05-a1ca-4cb30343b129'\n\ - \n url: http://prometheus:9090\n\n basicAuth: false\n withCredentials:\ - \ false\n isDefault: true\n editable: true\n\n" - kind: ConfigMap - metadata: - name: prov-data - namespace: trustgraph -- apiVersion: v1 - data: - dashboard.json: "{\n \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": {\n \"type\": \"grafana\",\n\ - \ \"uid\": \"-- Grafana --\"\n },\n \"enable\": true,\n\ - \ \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n\ - \ \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\ - \n }\n ]\n },\n \"editable\": true,\n \"fiscalYearStartMonth\": 0,\n\ - \ \"graphTooltip\": 0,\n \"id\": 2,\n \"links\": [],\n \"liveNow\": false,\n\ - \ \"panels\": [\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \ - \ \"tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \ - \ \"gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 7,\n \"options\": {\n \ - \ \"calculate\": false,\n \"cellGap\": 1,\n \"color\": {\n \ - \ \"exponent\": 0.5,\n \"fill\": \"dark-orange\",\n \ - \ \"mode\": \"scheme\",\n \"reverse\": false,\n \"scale\"\ - : \"exponential\",\n \"scheme\": \"Oranges\",\n \"steps\"\ - : 64\n },\n \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\ - \n },\n \"filterValues\": {\n \"le\": 1e-9\n },\n\ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisPlacement\": \"left\",\n \"reverse\": false\n }\n },\n\ - \ \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n {\n \ - \ \"datasource\": {\n \"type\": \"prometheus\",\n \ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"editorMode\": \"code\",\n \"exemplar\": false,\n \"\ - expr\": \"max by(le) (text_completion_duration_bucket)\",\n \"format\"\ - : \"heatmap\",\n \"instant\": false,\n \"legendFormat\": \"\ - 99%\",\n \"range\": true,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"title\": \"LLM latency\",\n \"type\": \"heatmap\"\n\ - \ },\n {\n \"datasource\": {\n \"type\": \"prometheus\",\n\ - \ \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \ - \ \"hideFrom\": {\n \"legend\": false,\n \"\ - tooltip\": false,\n \"viz\": false\n },\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ }\n }\n },\n \"overrides\": []\n },\n \"\ - gridPos\": {\n \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"options\": {\n \"\ - calculate\": false,\n \"cellGap\": 5,\n \"cellValues\": {\n \ - \ \"unit\": \"\"\n },\n \"color\": {\n \"exponent\"\ - : 0.5,\n \"fill\": \"dark-orange\",\n \"mode\": \"scheme\"\ - ,\n \"reverse\": false,\n \"scale\": \"exponential\",\n \ - \ \"scheme\": \"Oranges\",\n \"steps\": 64\n },\n \ - \ \"exemplars\": {\n \"color\": \"rgba(255,0,255,0.7)\"\n \ - \ },\n \"filterValues\": {\n \"le\": 1e-9\n },\n \ - \ \"legend\": {\n \"show\": true\n },\n \"rowsFrame\"\ - : {\n \"layout\": \"auto\"\n },\n \"tooltip\": {\n \ - \ \"mode\": \"single\",\n \"showColorScale\": false,\n \ - \ \"yHistogram\": false\n },\n \"yAxis\": {\n \"\ - axisLabel\": \"processing status\",\n \"axisPlacement\": \"left\",\n\ - \ \"reverse\": false\n }\n },\n \"pluginVersion\"\ - : \"11.1.4\",\n \"targets\": [\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"sum by(status)\ - \ (rate(processing_count_total{status!=\\\"success\\\"}[$__rate_interval]))\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": false,\n \ - \ \"interval\": \"\",\n \"legendFormat\": \"{{status}}\",\n\ - \ \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Error rate\",\n \"type\"\ - : \"heatmap\"\n },\n {\n \"datasource\": {\n \"type\": \"\ - prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"fieldConfig\": {\n \"defaults\": {\n \"color\"\ - : {\n \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n \"y\": 8\n\ - \ },\n \"id\": 1,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"rate(request_latency_count[1m])\",\n \"instant\": false,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"range\": true,\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\": \"Request rate\"\ - ,\n \"type\": \"timeseries\"\n },\n {\n \"datasource\": {\n\ - \ \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"palette-classic\"\n },\n \ - \ \"custom\": {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \"y\": 8\n\ - \ },\n \"id\": 5,\n \"options\": {\n \"legend\": {\n \ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"10.0.0\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"editorMode\": \"builder\",\n \"expr\":\ - \ \"pulsar_msg_backlog\",\n \"instant\": false,\n \"legendFormat\"\ - : \"{{topic}}\",\n \"range\": true,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Pub/sub backlog\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"semi-dark-green\",\n \"\ - mode\": \"palette-classic-by-name\"\n },\n \"custom\": {\n\ - \ \"axisBorderShow\": false,\n \"axisCenteredZero\": false,\n\ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n\ - \ \"axisPlacement\": \"auto\",\n \"fillOpacity\": 80,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"lineWidth\": 1,\n \ - \ \"scaleDistribution\": {\n \"type\": \"linear\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 0,\n \"y\": 17\n\ - \ },\n \"id\": 10,\n \"options\": {\n \"barRadius\": 0,\n\ - \ \"barWidth\": 0.97,\n \"fullHighlight\": false,\n \"\ - groupWidth\": 0.7,\n \"legend\": {\n \"calcs\": [],\n \ - \ \"displayMode\": \"list\",\n \"placement\": \"bottom\",\n \ - \ \"showLegend\": true\n },\n \"orientation\": \"auto\",\n\ - \ \"showValue\": \"auto\",\n \"stacking\": \"none\",\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"none\"\ - \n },\n \"xTickLabelRotation\": 0,\n \"xTickLabelSpacing\"\ - : 0\n },\n \"pluginVersion\": \"11.1.4\",\n \"targets\": [\n\ - \ {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n \ - \ },\n \"disableTextWrap\": false,\n \"editorMode\": \"builder\"\ - ,\n \"exemplar\": false,\n \"expr\": \"max by(le) (chunk_size_bucket)\"\ - ,\n \"format\": \"heatmap\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": false,\n \"instant\": true,\n \ - \ \"legendFormat\": \"{{le}}\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Chunk size\",\n \"type\": \"barchart\"\n },\n \ - \ {\n \"datasource\": {\n \"type\": \"prometheus\",\n \"\ - uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \"fieldConfig\"\ - : {\n \"defaults\": {\n \"color\": {\n \"mode\":\ - \ \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n \"y\": 17\n\ - \ },\n \"id\": 11,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"increase(processing_count_total{status!=\\\ - \"success\\\"}[$__rate_interval])\",\n \"format\": \"time_series\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Errors\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"fixedColor\": \"light-blue\",\n \"mode\"\ - : \"palette-classic\"\n },\n \"custom\": {\n \"\ - axisBorderShow\": false,\n \"axisCenteredZero\": false,\n \ - \ \"axisColorMode\": \"text\",\n \"axisLabel\": \"\",\n \ - \ \"axisPlacement\": \"auto\",\n \"barAlignment\": 0,\n \ - \ \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n \ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \"\ - viz\": false\n },\n \"insertNulls\": false,\n \ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\": 1,\n \ - \ \"pointSize\": 5,\n \"scaleDistribution\": {\n \ - \ \"type\": \"linear\"\n },\n \"showPoints\": \"\ - auto\",\n \"spanNulls\": false,\n \"stacking\": {\n \ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n\ - \ }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 0,\n \"y\": 24\n\ - \ },\n \"id\": 12,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"rate(process_cpu_seconds_total[$__rate_interval])\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"CPU\",\n \"type\": \"\ - timeseries\"\n },\n {\n \"datasource\": {\n \"type\": \"prometheus\"\ - ,\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\n },\n \ - \ \"fieldConfig\": {\n \"defaults\": {\n \"color\": {\n \ - \ \"mode\": \"palette-classic\"\n },\n \"custom\"\ - : {\n \"axisBorderShow\": false,\n \"axisCenteredZero\"\ - : false,\n \"axisColorMode\": \"text\",\n \"axisLabel\"\ - : \"GB\",\n \"axisPlacement\": \"auto\",\n \"barAlignment\"\ - : 0,\n \"drawStyle\": \"line\",\n \"fillOpacity\": 0,\n\ - \ \"gradientMode\": \"none\",\n \"hideFrom\": {\n \ - \ \"legend\": false,\n \"tooltip\": false,\n \ - \ \"viz\": false\n },\n \"insertNulls\": false,\n\ - \ \"lineInterpolation\": \"linear\",\n \"lineWidth\":\ - \ 1,\n \"pointSize\": 5,\n \"scaleDistribution\": {\n\ - \ \"type\": \"linear\"\n },\n \"showPoints\"\ - : \"auto\",\n \"spanNulls\": false,\n \"stacking\": {\n\ - \ \"group\": \"A\",\n \"mode\": \"none\"\n \ - \ },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\ - \n }\n },\n \"mappings\": [],\n \"thresholds\"\ - : {\n \"mode\": \"absolute\",\n \"steps\": [\n \ - \ {\n \"color\": \"green\",\n \"value\"\ - : null\n },\n {\n \"color\": \"red\"\ - ,\n \"value\": 80\n }\n ]\n \ - \ }\n },\n \"overrides\": []\n },\n \"gridPos\": {\n\ - \ \"h\": 8,\n \"w\": 12,\n \"x\": 12,\n \"y\": 24\n\ - \ },\n \"id\": 13,\n \"options\": {\n \"legend\": {\n\ - \ \"calcs\": [],\n \"displayMode\": \"list\",\n \"\ - placement\": \"bottom\",\n \"showLegend\": true\n },\n \ - \ \"tooltip\": {\n \"mode\": \"single\",\n \"sort\": \"\ - none\"\n }\n },\n \"targets\": [\n {\n \"datasource\"\ - : {\n \"type\": \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"expr\": \"process_resident_memory_bytes / 1073741824\"\ - ,\n \"fullMetaSearch\": false,\n \"includeNullMetadata\":\ - \ true,\n \"instant\": false,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"range\": true,\n \"refId\": \"A\",\n \"useBackend\"\ - : false\n }\n ],\n \"title\": \"Memory\",\n \"type\":\ - \ \"timeseries\"\n },\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"fieldConfig\": {\n \"defaults\": {\n \"\ - color\": {\n \"mode\": \"thresholds\"\n },\n \"\ - custom\": {\n \"align\": \"auto\",\n \"cellOptions\":\ - \ {\n \"type\": \"auto\"\n },\n \"filterable\"\ - : false,\n \"inspect\": false\n },\n \"mappings\"\ - : [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \ - \ \"steps\": [\n {\n \"color\": \"green\"\ - ,\n \"value\": null\n },\n {\n \ - \ \"color\": \"red\",\n \"value\": 80\n \ - \ }\n ]\n }\n },\n \"overrides\": []\n\ - \ },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 32\n },\n \"id\": 14,\n \"options\"\ - : {\n \"cellHeight\": \"sm\",\n \"footer\": {\n \"countRows\"\ - : false,\n \"fields\": \"\",\n \"reducer\": [\n \ - \ \"sum\"\n ],\n \"show\": false\n },\n \"\ - showHeader\": true\n },\n \"pluginVersion\": \"11.1.4\",\n \"\ - targets\": [\n {\n \"datasource\": {\n \"type\":\ - \ \"prometheus\",\n \"uid\": \"f6b18033-5918-4e05-a1ca-4cb30343b129\"\ - \n },\n \"disableTextWrap\": false,\n \"editorMode\"\ - : \"builder\",\n \"exemplar\": false,\n \"expr\": \"last_over_time(params_info[$__interval])\"\ - ,\n \"format\": \"table\",\n \"fullMetaSearch\": false,\n\ - \ \"includeNullMetadata\": true,\n \"instant\": true,\n \ - \ \"legendFormat\": \"__auto\",\n \"range\": false,\n \ - \ \"refId\": \"A\",\n \"useBackend\": false\n }\n ],\n\ - \ \"title\": \"Model parameters\",\n \"transformations\": [\n \ - \ {\n \"id\": \"filterFieldsByName\",\n \"options\": {\n\ - \ \"include\": {\n \"names\": [\n \"\ - instance\",\n \"model\"\n ]\n }\n \ - \ }\n },\n {\n \"id\": \"filterByValue\",\n \ - \ \"options\": {\n \"filters\": [\n {\n \ - \ \"config\": {\n \"id\": \"equal\",\n \ - \ \"options\": {\n \"value\": \"\"\n \ - \ }\n },\n \"fieldName\": \"model\"\n \ - \ }\n ],\n \"match\": \"all\",\n \"\ - type\": \"exclude\"\n }\n }\n ],\n \"type\": \"table\"\ - \n }\n ],\n \"refresh\": \"5s\",\n \"schemaVersion\": 39,\n \"tags\"\ - : [],\n \"templating\": {\n \"list\": []\n },\n \"time\": {\n \"from\"\ - : \"now-5m\",\n \"to\": \"now\"\n },\n \"timepicker\": {},\n \"timezone\"\ - : \"\",\n \"title\": \"Overview\",\n \"uid\": \"b5c8abf8-fe79-496b-b028-10bde917d1f0\"\ - ,\n \"version\": 3,\n \"weekStart\": \"\"\n}\n" - kind: ConfigMap - metadata: - name: dashboards - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: grafana - name: grafana - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: grafana - template: - metadata: - labels: - app: grafana - spec: - containers: - - env: - - name: GF_ORG_NAME - value: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - name: grafana - ports: - - containerPort: 3000 - hostPort: 3000 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /var/lib/grafana - name: grafana-storage - - mountPath: /etc/grafana/provisioning/dashboards/ - name: prov-dash - - mountPath: /etc/grafana/provisioning/datasources/ - name: prov-data - - mountPath: /var/lib/grafana/dashboards/ - name: dashboards - volumes: - - name: grafana-storage - persistentVolumeClaim: - claimName: grafana-storage - - configMap: - name: prov-dash - name: prov-dash - - configMap: - name: prov-data - name: prov-data - - configMap: - name: dashboards - name: dashboards -- apiVersion: v1 - kind: Service - metadata: - name: grafana - namespace: trustgraph - spec: - ports: - - name: http - port: 3000 - targetPort: 3000 - selector: - app: grafana - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: graph-rag - name: graph-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: graph-rag - template: - metadata: - labels: - app: graph-rag - spec: - containers: - - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: graph-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: graph-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: graph-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-definitions - name: kg-extract-definitions - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-definitions - template: - metadata: - labels: - app: kg-extract-definitions - spec: - containers: - - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-definitions - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-definitions - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-definitions - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-relationships - name: kg-extract-relationships - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-relationships - template: - metadata: - labels: - app: kg-extract-relationships - spec: - containers: - - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-relationships - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: kg-extract-relationships - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: kg-extract-relationships - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: kg-extract-topics - name: kg-extract-topics - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: kg-extract-topics - template: - metadata: - labels: - app: kg-extract-topics - spec: - containers: - - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: kg-extract-topics - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: neo4j - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-neo4j - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: neo4j - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: neo4j - name: neo4j - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: neo4j - template: - metadata: - labels: - app: neo4j - spec: - containers: - - env: - - name: NEO4J_AUTH - value: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - name: neo4j - ports: - - containerPort: 7474 - hostPort: 7474 - - containerPort: 7687 - hostPort: 7687 - resources: - limits: - cpu: '1.0' - memory: 768M - requests: - cpu: '0.5' - memory: 768M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /data - name: neo4j - volumes: - - name: neo4j - persistentVolumeClaim: - claimName: neo4j -- apiVersion: v1 - kind: Service - metadata: - name: neo4j - namespace: trustgraph - spec: - ports: - - name: api - port: 7474 - targetPort: 7474 - - name: api2 - port: 7687 - targetPort: 7687 - selector: - app: neo4j - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pdf-decoder - name: pdf-decoder - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pdf-decoder - template: - metadata: - labels: - app: pdf-decoder - spec: - containers: - - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: pdf-decoder - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pdf-decoder - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: pdf-decoder - type: LoadBalancer -- apiVersion: v1 - data: - prometheus.yml: "global:\n\n scrape_interval: 15s # By default, scrape targets\ - \ every 15 seconds.\n\n # Attach these labels to any time series or alerts\ - \ when communicating with\n # external systems (federation, remote storage,\ - \ Alertmanager).\n external_labels:\n monitor: 'trustgraph'\n\n# A scrape\ - \ configuration containing exactly one endpoint to scrape:\n# Here it's Prometheus\ - \ itself.\nscrape_configs:\n\n # The job name is added as a label `job=`\ - \ to any timeseries\n # scraped from this config.\n\n - job_name: 'trustgraph'\n\ - \n # Override the global default and scrape targets from this job every\n\ - \ # 5 seconds.\n scrape_interval: 5s\n\n static_configs:\n - targets:\n\ - \ - 'pdf-decoder:8000'\n - 'chunker:8000'\n - 'vectorize:8000'\n\ - \ - 'embeddings:8000'\n - 'kg-extract-definitions:8000'\n \ - \ - 'kg-extract-topics:8000'\n - 'kg-extract-relationships:8000'\n\ - \ - 'metering:8000'\n - 'store-graph-embeddings:8000'\n \ - \ - 'store-triples:8000'\n - 'text-completion:8000'\n - 'text-completion-rag:8000'\n\ - \ - 'graph-rag:8000'\n - 'prompt:8000'\n - 'prompt-rag:8000'\n\ - \ - 'query-graph-embeddings:8000'\n - 'query-triples:8000'\n \ - \ - 'pulsar:8080'\n\n" - kind: ConfigMap - metadata: - name: prometheus-cfg - namespace: trustgraph -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: prometheus-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-prometheus-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: prometheus-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prometheus - name: prometheus - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prometheus - template: - metadata: - labels: - app: prometheus - spec: - containers: - - image: docker.io/prom/prometheus:v2.53.2 - name: prometheus - ports: - - containerPort: 9090 - hostPort: 9090 - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /etc/prometheus/ - name: prometheus-cfg - - mountPath: /prometheus - name: prometheus-data - volumes: - - configMap: - name: prometheus-cfg - name: prometheus-cfg - - name: prometheus-data - persistentVolumeClaim: - claimName: prometheus-data -- apiVersion: v1 - kind: Service - metadata: - name: prometheus - namespace: trustgraph - spec: - ports: - - name: http - port: 9090 - targetPort: 9090 - selector: - app: prometheus - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt - name: prompt - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt - template: - metadata: - labels: - app: prompt - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: prompt-rag - name: prompt-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: prompt-rag - template: - metadata: - labels: - app: prompt-rag - spec: - containers: - - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value - or date. true if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks\ - \ for a provided text.\nRead the provided text. You will identify topics\ - \ and their definitions in JSON.\n\nReading Instructions:\n- Ignore document\ - \ formatting in the provided text.\n- Study the provided text carefully.\n\ - \nHere is the text:\n{text}\n\nResponse Instructions: \n- Do not respond\ - \ with special characters.\n- Return only topics that are concepts and\ - \ unique to the provided text.\n- Respond only with well-formed JSON.\n\ - - The JSON response shall be an array of objects with keys \"topic\" and\ - \ \"definition\". \n- The JSON response shall use the following structure:\n\ - \n```json\n[{{\"topic\": string, \"definition\": string}}]\n```\n\n- Do\ - \ not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only - the provided set of knowledge statements in your response. Do not speculate - if the answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the - context in your response. Do not speculate if the answer is not found - in the provided set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose - fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: prompt-rag - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: prompt-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: prompt-rag - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: pulsar-data - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-pulsar-data - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: pulsar-data - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: pulsar - name: pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: pulsar - template: - metadata: - labels: - app: pulsar - spec: - containers: - - command: - - bin/pulsar - - standalone - env: - - name: PULSAR_MEM - value: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - name: pulsar - ports: - - containerPort: 6650 - hostPort: 6650 - - containerPort: 8080 - hostPort: 8080 - resources: - limits: - cpu: '2.0' - memory: 1500M - requests: - cpu: '1.0' - memory: 1500M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /pulsar/data - name: pulsar-data - volumes: - - name: pulsar-data - persistentVolumeClaim: - claimName: pulsar-data -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: init-pulsar - name: init-pulsar - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: init-pulsar - template: - metadata: - labels: - app: init-pulsar - spec: - containers: - - command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create - tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response - ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention - --size -1 --time 3m tg/response; sleep 20; done - image: docker.io/apachepulsar/pulsar:3.3.1 - name: init-pulsar - resources: - limits: - cpu: '1' - memory: 400M - requests: - cpu: '0.1' - memory: 400M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: pulsar - namespace: trustgraph - spec: - ports: - - name: bookie - port: 6650 - targetPort: 6650 - - name: http - port: 8080 - targetPort: 8080 - selector: - app: pulsar - type: LoadBalancer -- apiVersion: v1 - kind: PersistentVolume - metadata: - name: qdrant - spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20G - hostPath: - path: /data/pv-qdrant - persistentVolumeReclaimPolicy: Delete -- apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: qdrant - namespace: trustgraph - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20G -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: qdrant - name: qdrant - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: qdrant - template: - metadata: - labels: - app: qdrant - spec: - containers: - - image: docker.io/qdrant/qdrant:v1.11.1 - name: qdrant - ports: - - containerPort: 6333 - hostPort: 6333 - - containerPort: 6334 - hostPort: 6334 - resources: - limits: - cpu: '1.0' - memory: 256M - requests: - cpu: '0.5' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /qdrant/storage - name: qdrant - volumes: - - name: qdrant - persistentVolumeClaim: - claimName: qdrant -- apiVersion: v1 - kind: Service - metadata: - name: qdrant - namespace: trustgraph - spec: - ports: - - name: api - port: 6333 - targetPort: 6333 - - name: api2 - port: 6334 - targetPort: 6334 - selector: - app: qdrant - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-doc-embeddings - name: query-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-doc-embeddings - template: - metadata: - labels: - app: query-doc-embeddings - spec: - containers: - - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-graph-embeddings - name: query-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-graph-embeddings - template: - metadata: - labels: - app: query-graph-embeddings - spec: - containers: - - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: query-triples - name: query-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: query-triples - template: - metadata: - labels: - app: query-triples - spec: - containers: - - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: query-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: query-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: query-triples - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-doc-embeddings - name: store-doc-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-doc-embeddings - template: - metadata: - labels: - app: store-doc-embeddings - spec: - containers: - - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-doc-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-doc-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-doc-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-graph-embeddings - name: store-graph-embeddings - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-graph-embeddings - template: - metadata: - labels: - app: store-graph-embeddings - spec: - containers: - - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-graph-embeddings - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-graph-embeddings - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-graph-embeddings - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: store-triples - name: store-triples - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: store-triples - template: - metadata: - labels: - app: store-triples - spec: - containers: - - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: store-triples - resources: - limits: - cpu: '0.5' - memory: 128M - requests: - cpu: '0.1' - memory: 128M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: store-triples - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8080 - targetPort: 8080 - selector: - app: store-triples - type: LoadBalancer -- apiVersion: v1 - data: - private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== - kind: Secret - metadata: - name: vertexai-creds - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion - name: text-completion - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion - template: - metadata: - labels: - app: text-completion - spec: - containers: - - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion - resources: - limits: - cpu: '0.5' - memory: 256M - requests: - cpu: '0.1' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /vertexai - name: vertexai-creds - volumes: - - name: vertexai-creds - secret: - secretName: vertexai-creds -- apiVersion: v1 - kind: Service - metadata: - name: text-completion - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion - type: LoadBalancer -- apiVersion: v1 - data: - private.json: ewogICJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsCiAgInByb2plY3RfaWQiOiAia2FsbnRlcmEtZGVtbyIsCiAgInByaXZhdGVfa2V5X2lkIjogIjY5MjgwNTI5ODAyMjI3YmJiZjk1YTRjNjdjZjZhZjg3MGM3MTE4ZjIiLAogICJwcml2YXRlX2tleSI6ICItLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS1cbk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRFV4dTBtYkdXVHhEOFFcbkVsd2J0YVZEbER2UlA4MkhGb3QyaUJVejRoQ0hpS04vVkpRM2VGNnJXa05iSnI4endia21XTzMydkxubU4vNnNcbk5qeEtFWTJmYUwrbkhydkZXa2xRQ0VMWlM2V0tmT1NrMTgxUXkyNE9Hd2E2TTFPdE85SXpWWisxNXFRN09Ib2hcblQ5MFdyOTVMYVcrTVlqMTAvc1RpeG5tRzFrMitEOGhUNjhCNnhrZHlRc0VSaThHbURaN2JzNWU5UEhMQ0NKU1lcbi9lTXcxSnU1V3YvM0VWZGVvMENTNjE1cXl1enRuS3NRQ3RjbWJFY1oxcDI4cVdqMXh3ckw4Wk1QaU1DZm1ldzlcbkF4STAyNkJmWXI5aFR5TGRqdWNSQ3p4NkNOZml5TUZxaXROMDJPZFo5MjNZSmZWckJIU2h3MDRKSlhIV0FqNkhcbkExTXJNZU12QWdNQkFBRUNnZ0VBYVg1N1kvcUlYandGZkVWdUQzci9Ca04vYU42Mld3ek5kcVkveE9xSGdYczRcbmZOQUZjSDhvaU5LRzVMR1FTT3Y2alUyNEpnWXFNVDkvOEFndjJoVmIzelpERjJ2QWN6ZXhjNUcwK3lGcllQOU5cbktZR3BWUzZYVVQwTEY5U00zeTN5cU9zQjlXRDEranFsS3RENjc5MmdYRWxaT2dRWExtT0dZRjFCTVo0ZEMyYkdcblg3UVRZbmUwUnlWWGw0R3BMRlZUNU1XYmpmZUJidUxYdGtNTEZGVjFQbnMwY2NyMUFwcnJDOVNlckp5TjRJL3ZcblpWTkZIZFArM0R2U0M5NlMzYU5OOXhTWG5zSExwby9nc3RJeW5XbWFBdXBpT3hNSm4wVm1MNlBkRStzT01GdWJcbmpyMnhlTGMyUGNQdDg2RzZJVlBjdkt6QURBWlE2SHhtNUp1ZEwvVDNHUUtCZ1FEcXBRbEMrR2Jvbm1aUkZzcDRcbjkwQlZsV2ZpMjhHM1RibTJRclYzMjgvUEtEQnNlRTZ1U25iUmp6YkxrcUJYNFYyOVdkMFBsODJJdmhLV2Vvc0dcbmpZNWpKeHlvSTFSSy9TbGtPUGJwYWlKNmsyZEhNUTRJai80UUFBS0pLL2czbEJIMXl5djhGWWFNay9lMkhUUWFcbkl4aHJwRWJUbmJkME8xQ2RZb2QrYmU2M3pRS0JnUURvSkdZUUFnZDBkS0NYN3VWTXMzSkRReTRDYk80MnduQXNcbnNtemU5ckVSaFc1M2dKL2N0Zm96eXZsYm5Rc2FjSmpuR1hPNjlWczk5WExZUjg5Zkx0OGFDZFRMUVhqUnIzMkRcbllyTzU3VkVKUmFvYkYxTUJYMk1WMmRnSFRQWDgzTHhUclBtUlhocGVsRGh1STdlWWxvYnRvNlovUUVLRVZvNmZcbkxEdDIzRzNTNndLQmdRRFJjR2Y0NkFIckJsL3JaejFvaGNGZDR0THNraHl4d2VYUEFuSTV2dkVaUmhVYTdMUEdcbkxGOHNJL25UOFZlL3VVQlRvQitLS0lSajFzeCtsbmo3YTJTNXFoS1JIWi9DbzMvTG5uRDkzU2RUWTdqZXViRitcbkFSRFVOVDRPTkRvRldkeENHWXgwSUw2TlFoSHI4dHNyclVIQjZzcnhYaWgremViaDVDMXVzeTlOelFLQmdRRFBcbmRlQUVoRnUzTnBkaTBLdjVyUkQ3amFrcm44QVFEaHFEeDMxR2tYN1RJc1VEWlY3NHQyVUFMbkJFOElkQXZNblpcbkZrVDRHMWZNZW5PRldEKzZWOEFvbkFxaEQwVHpWL3M2bE5YNzNsdWlockNyLzE4K0Jjb2VlQTM1RUUxeUNxNy9cbnRNRmdxWkcxWG85RDF3VzRCeVpVY0FGWERjMmtTVnF5WTZ4TTRGZ0J1d0tCZ1FEQ1AxclF4K2ZoNWdrY1BNUHBcbitYZS9oMDR1SmRSdmpaUkE0MFo3aHViRVFReFNEeWtkMHZSRXFQVlhNS1p1OTFkb0NwRGZHd051dlFkbHY5ZzRcbmc2NDFxRkNXd2ZRb0VZZTBTWUhJVUY5NlRwazVpeGdmUlhYVHRxNGE2c0NvMGV2NG51aFh4Vk82NFRyY0E1YUVcbnB1dWMvYzVTTlh1M0plMWgwK1Jzcm1lWkh3PT1cbi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiIsCiAgImNsaWVudF9lbWFpbCI6ICJtYXJrLWRldkBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAiY2xpZW50X2lkIjogIjExNTExODU2MTEwMTQ1MDM0MDQ0MCIsCiAgImF1dGhfdXJpIjogImh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi9hdXRoIiwKICAidG9rZW5fdXJpIjogImh0dHBzOi8vb2F1dGgyLmdvb2dsZWFwaXMuY29tL3Rva2VuIiwKICAiYXV0aF9wcm92aWRlcl94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL29hdXRoMi92MS9jZXJ0cyIsCiAgImNsaWVudF94NTA5X2NlcnRfdXJsIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3JvYm90L3YxL21ldGFkYXRhL3g1MDkvbWFyay1kZXYlNDBrYWxudGVyYS1kZW1vLmlhbS5nc2VydmljZWFjY291bnQuY29tIiwKICAidW5pdmVyc2VfZG9tYWluIjogImdvb2dsZWFwaXMuY29tIgp9Cg== - kind: Secret - metadata: - name: vertexai-creds - namespace: trustgraph -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: text-completion-rag - name: text-completion-rag - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: text-completion-rag - template: - metadata: - labels: - app: text-completion-rag - spec: - containers: - - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: text-completion-rag - resources: - limits: - cpu: '0.5' - memory: 256M - requests: - cpu: '0.1' - memory: 256M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumeMounts: - - mountPath: /vertexai - name: vertexai-creds - volumes: - - name: vertexai-creds - secret: - secretName: vertexai-creds -- apiVersion: v1 - kind: Service - metadata: - name: text-completion-rag - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: text-completion-rag - type: LoadBalancer -- apiVersion: apps/v1 - kind: Deployment - metadata: - labels: - app: vectorize - name: vectorize - namespace: trustgraph - spec: - replicas: 1 - selector: - matchLabels: - app: vectorize - template: - metadata: - labels: - app: vectorize - spec: - containers: - - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - image: docker.io/trustgraph/trustgraph-flow:0.10.1 - name: vectorize - resources: - limits: - cpu: '1.0' - memory: 512M - requests: - cpu: '0.5' - memory: 512M - securityContext: - runAsGroup: 0 - runAsUser: 0 - volumes: [] -- apiVersion: v1 - kind: Service - metadata: - name: vectorize - namespace: trustgraph - spec: - ports: - - name: metrics - port: 8000 - targetPort: 8000 - selector: - app: vectorize - type: LoadBalancer -kind: List - diff --git a/deploy/docker-compose/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-azure-cassandra.yaml rename to tg-launch-azure-cassandra.yaml index 7a1f6d57..93885f0d 100644 --- a/deploy/docker-compose/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -705,7 +705,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -747,7 +747,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-azure-neo4j.yaml rename to tg-launch-azure-neo4j.yaml index e90e40b0..f5ca3d5f 100644 --- a/deploy/docker-compose/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -706,7 +706,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -748,7 +748,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-bedrock-cassandra.yaml rename to tg-launch-bedrock-cassandra.yaml index f3d47c27..85f70c88 100644 --- a/deploy/docker-compose/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-bedrock-neo4j.yaml rename to tg-launch-bedrock-neo4j.yaml index 8fe507e4..10638bca 100644 --- a/deploy/docker-compose/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -741,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-claude-cassandra.yaml rename to tg-launch-claude-cassandra.yaml index d851a2cd..f4e4dfb9 100644 --- a/deploy/docker-compose/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -703,7 +703,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -743,7 +743,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-claude-neo4j.yaml rename to tg-launch-claude-neo4j.yaml index e0c59d03..ce3c750a 100644 --- a/deploy/docker-compose/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -704,7 +704,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -744,7 +744,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-cohere-cassandra.yaml rename to tg-launch-cohere-cassandra.yaml index d3359f58..278fe8e0 100644 --- a/deploy/docker-compose/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -701,7 +701,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -724,7 +724,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -739,7 +739,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-cohere-neo4j.yaml rename to tg-launch-cohere-neo4j.yaml index 688907cf..a7d6a570 100644 --- a/deploy/docker-compose/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -702,7 +702,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -725,7 +725,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml similarity index 90% rename from deploy/docker-compose/tg-launch-llamafile-cassandra.yaml rename to tg-launch-llamafile-cassandra.yaml index 8ed6fb71..204b3f9b 100644 --- a/deploy/docker-compose/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -233,7 +233,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -287,7 +287,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -304,7 +304,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -321,7 +321,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -338,7 +338,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -355,7 +355,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -372,7 +372,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -391,7 +391,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -414,7 +414,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -429,7 +429,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml similarity index 90% rename from deploy/docker-compose/tg-launch-llamafile-neo4j.yaml rename to tg-launch-llamafile-neo4j.yaml index 14c1382a..72f04cd3 100644 --- a/deploy/docker-compose/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -211,7 +211,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -234,7 +234,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -288,7 +288,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -305,7 +305,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -322,7 +322,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -339,7 +339,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -356,7 +356,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -373,7 +373,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -415,7 +415,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -430,7 +430,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml similarity index 90% rename from deploy/docker-compose/tg-launch-ollama-cassandra.yaml rename to tg-launch-ollama-cassandra.yaml index 1dc7a6a9..ed4432aa 100644 --- a/deploy/docker-compose/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -233,7 +233,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -287,7 +287,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -304,7 +304,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -321,7 +321,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -338,7 +338,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -355,7 +355,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -372,7 +372,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -391,7 +391,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -414,7 +414,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -429,7 +429,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml similarity index 90% rename from deploy/docker-compose/tg-launch-ollama-neo4j.yaml rename to tg-launch-ollama-neo4j.yaml index d2201194..994d0b41 100644 --- a/deploy/docker-compose/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -211,7 +211,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -234,7 +234,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -288,7 +288,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -305,7 +305,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -322,7 +322,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -339,7 +339,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -356,7 +356,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -373,7 +373,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -415,7 +415,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -430,7 +430,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-openai-cassandra.yaml rename to tg-launch-openai-cassandra.yaml index 342db4e1..57c12935 100644 --- a/deploy/docker-compose/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -705,7 +705,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -747,7 +747,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-openai-neo4j.yaml rename to tg-launch-openai-neo4j.yaml index 44ddbc9b..8c8edf01 100644 --- a/deploy/docker-compose/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -706,7 +706,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion-rag: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 vectorize: command: @@ -748,7 +748,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-vertexai-cassandra.yaml rename to tg-launch-vertexai-cassandra.yaml index a0c7025c..96de7a60 100644 --- a/deploy/docker-compose/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -707,7 +707,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -755,7 +755,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml similarity index 94% rename from deploy/docker-compose/tg-launch-vertexai-neo4j.yaml rename to tg-launch-vertexai-neo4j.yaml index 2ca46744..46f7d650 100644 --- a/deploy/docker-compose/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 text-completion: command: @@ -708,7 +708,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -739,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -756,7 +756,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/deploy/docker-compose/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml similarity index 93% rename from deploy/docker-compose/tg-storage-cassandra.yaml rename to tg-storage-cassandra.yaml index 115f39e6..86a30b82 100644 --- a/deploy/docker-compose/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: cassandra: {} diff --git a/deploy/docker-compose/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml similarity index 93% rename from deploy/docker-compose/tg-storage-neo4j.yaml rename to tg-storage-neo4j.yaml index 43804b1c..34b4aa1c 100644 --- a/deploy/docker-compose/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.10.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.0 restart: on-failure:100 volumes: grafana-storage: {} From 5951fb4e56961797cb96311a4538eb1893f575a7 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sun, 29 Sep 2024 18:15:34 +0100 Subject: [PATCH 14/44] Bump version to 0.11.1 --- Makefile | 2 +- setup.py | 2 +- tg-launch-azure-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-azure-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-bedrock-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-bedrock-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-claude-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-claude-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-cohere-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-cohere-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-llamafile-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-llamafile-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-ollama-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-ollama-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-openai-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-openai-neo4j.yaml | 36 +++++++++++++++--------------- tg-launch-vertexai-cassandra.yaml | 36 +++++++++++++++--------------- tg-launch-vertexai-neo4j.yaml | 36 +++++++++++++++--------------- tg-storage-cassandra.yaml | 12 +++++----- tg-storage-neo4j.yaml | 12 +++++----- 20 files changed, 302 insertions(+), 302 deletions(-) diff --git a/Makefile b/Makefile index 750a7731..c60d6326 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.0 +VERSION=0.11.1 DOCKER=podman diff --git a/setup.py b/setup.py index 3b9b5eca..192b29fc 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.0" +version = "0.11.1" setuptools.setup( name="trustgraph", diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 93885f0d..e65368f3 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -705,7 +705,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -747,7 +747,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index f5ca3d5f..18642be0 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -706,7 +706,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -748,7 +748,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 85f70c88..e9702f52 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 10638bca..eff4c22e 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -741,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index f4e4dfb9..cf71e98a 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -703,7 +703,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -743,7 +743,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index ce3c750a..61189383 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -704,7 +704,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -744,7 +744,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 278fe8e0..eeea93e4 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -701,7 +701,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -724,7 +724,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -739,7 +739,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index a7d6a570..1468f32d 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -702,7 +702,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -725,7 +725,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 204b3f9b..55d4a5f7 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -233,7 +233,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -287,7 +287,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -304,7 +304,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -321,7 +321,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -338,7 +338,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -355,7 +355,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -372,7 +372,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -391,7 +391,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -414,7 +414,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -429,7 +429,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 72f04cd3..ed633182 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -211,7 +211,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -234,7 +234,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -288,7 +288,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -305,7 +305,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -322,7 +322,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -339,7 +339,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -356,7 +356,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -373,7 +373,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -415,7 +415,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -430,7 +430,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index ed4432aa..a3d7610f 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -233,7 +233,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -287,7 +287,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -304,7 +304,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -321,7 +321,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -338,7 +338,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -355,7 +355,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -372,7 +372,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -391,7 +391,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -414,7 +414,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -429,7 +429,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 994d0b41..c742bfad 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -211,7 +211,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -234,7 +234,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -288,7 +288,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -305,7 +305,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -322,7 +322,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -339,7 +339,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -356,7 +356,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -373,7 +373,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -415,7 +415,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -430,7 +430,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 57c12935..c485b638 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -705,7 +705,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -747,7 +747,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 8c8edf01..25d8751e 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -706,7 +706,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion-rag: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 vectorize: command: @@ -748,7 +748,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 96de7a60..ec7ada21 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pdf-decoder: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -543,7 +543,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -597,7 +597,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -614,7 +614,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -631,7 +631,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -648,7 +648,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -665,7 +665,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -682,7 +682,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -707,7 +707,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -755,7 +755,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 46f7d650..eae2fa5b 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 neo4j: deploy: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prometheus: deploy: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 prompt-rag: command: @@ -544,7 +544,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 pulsar: command: @@ -598,7 +598,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -615,7 +615,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -632,7 +632,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -649,7 +649,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -666,7 +666,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -683,7 +683,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 text-completion: command: @@ -708,7 +708,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -739,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -756,7 +756,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 86a30b82..64606e35 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 34b4aa1c..4d122ce7 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.0 + image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 volumes: grafana-storage: {} From 24b80f4789ecd0f9286106c130debce3570c75fa Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 18:33:39 +0100 Subject: [PATCH 15/44] Fix/template config vol broken (#72) * Fix config volume invocation * Regenerate YAMLs --- templates/engine/docker-compose.jsonnet | 2 +- tg-launch-azure-cassandra.yaml | 8 ++++---- tg-launch-azure-neo4j.yaml | 8 ++++---- tg-launch-bedrock-cassandra.yaml | 8 ++++---- tg-launch-bedrock-neo4j.yaml | 8 ++++---- tg-launch-claude-cassandra.yaml | 8 ++++---- tg-launch-claude-neo4j.yaml | 8 ++++---- tg-launch-cohere-cassandra.yaml | 8 ++++---- tg-launch-cohere-neo4j.yaml | 8 ++++---- tg-launch-llamafile-cassandra.yaml | 8 ++++---- tg-launch-llamafile-neo4j.yaml | 8 ++++---- tg-launch-ollama-cassandra.yaml | 8 ++++---- tg-launch-ollama-neo4j.yaml | 8 ++++---- tg-launch-openai-cassandra.yaml | 8 ++++---- tg-launch-openai-neo4j.yaml | 8 ++++---- tg-launch-vertexai-cassandra.yaml | 8 ++++---- tg-launch-vertexai-neo4j.yaml | 8 ++++---- tg-storage-cassandra.yaml | 8 ++++---- tg-storage-neo4j.yaml | 8 ++++---- 19 files changed, 73 insertions(+), 73 deletions(-) diff --git a/templates/engine/docker-compose.jsonnet b/templates/engine/docker-compose.jsonnet index 1dcb2baa..4f837ff2 100644 --- a/templates/engine/docker-compose.jsonnet +++ b/templates/engine/docker-compose.jsonnet @@ -145,7 +145,7 @@ name: dir, - volid:: dir, + volid:: "./" + dir, with_size:: function(size) self + { size: size }, diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index e65368f3..a2ec9637 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 18642be0..9ac54244 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index e9702f52..27386ed7 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index eff4c22e..3f47c6aa 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index cf71e98a..b852f04d 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 61189383..818bb3b5 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index eeea93e4..624c5ae5 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 1468f32d..0912c0d5 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 55d4a5f7..647d7fb4 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index ed633182..8c7fd2a1 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index a3d7610f..82a45d73 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index c742bfad..6beaab8d 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index c485b638..aacf2ba6 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 25d8751e..f5216178 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index ec7ada21..79560eeb 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -69,9 +69,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -191,7 +191,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index eae2fa5b..5f8bf5fa 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -52,9 +52,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ graph-rag: command: - graph-rag @@ -192,7 +192,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus prompt: command: diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 64606e35..c27a912b 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -33,9 +33,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - sh @@ -70,7 +70,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus pulsar: command: diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 4d122ce7..5bc993a2 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -16,9 +16,9 @@ services: restart: on-failure:100 volumes: - grafana-storage:/var/lib/grafana - - grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - grafana/dashboards/:/var/lib/grafana/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ + - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ + - ./grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - sh @@ -71,7 +71,7 @@ services: - 9090:9090 restart: on-failure:100 volumes: - - prometheus:/etc/prometheus/ + - ./prometheus:/etc/prometheus/ - prometheus-data:/prometheus pulsar: command: From 56b3b50e940a0feb5f148de515394f7862b5792f Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 19:37:49 +0100 Subject: [PATCH 16/44] Fix/cohere temperature not string (#73) * Temperature should be a string in the templates * Fix YAMLs for Cohere --- templates/components/cohere.jsonnet | 4 ++-- tg-launch-cohere-cassandra.yaml | 4 ++-- tg-launch-cohere-neo4j.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/components/cohere.jsonnet b/templates/components/cohere.jsonnet index 6c99086a..f05cb635 100644 --- a/templates/components/cohere.jsonnet +++ b/templates/components/cohere.jsonnet @@ -26,7 +26,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-k", $["cohere-key"], "-t", - $["cohere-temperature"], + std.toString($["cohere-temperature"]), ]) .with_limits("0.5", "128M") .with_reservations("0.1", "128M"); @@ -60,7 +60,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-k", $["cohere-key"], "-t", - $["cohere-temperature"], + std.toString($["cohere-temperature"]), "-i", "non-persistent://tg/request/text-completion-rag", "-o", diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 624c5ae5..88e360b4 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -692,7 +692,7 @@ services: - -k - ${COHERE_KEY} - -t - - 0 + - '0' deploy: resources: limits: @@ -711,7 +711,7 @@ services: - -k - ${COHERE_KEY} - -t - - 0 + - '0' - -i - non-persistent://tg/request/text-completion-rag - -o diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 0912c0d5..d7caa9bf 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -693,7 +693,7 @@ services: - -k - ${COHERE_KEY} - -t - - 0 + - '0' deploy: resources: limits: @@ -712,7 +712,7 @@ services: - -k - ${COHERE_KEY} - -t - - 0 + - '0' - -i - non-persistent://tg/request/text-completion-rag - -o From 6d57b7a6f3c70aaa6bc9998c78813e80e41ed3a7 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 19:48:35 +0100 Subject: [PATCH 17/44] Add metering to templates (#74) * Add metering to trustgraph-core component * Regenerate templates to run metering --- templates/components/trustgraph.jsonnet | 30 +++++++++++++++++++++++++ tg-launch-azure-cassandra.yaml | 15 +++++++++++++ tg-launch-azure-neo4j.yaml | 15 +++++++++++++ tg-launch-bedrock-cassandra.yaml | 15 +++++++++++++ tg-launch-bedrock-neo4j.yaml | 15 +++++++++++++ tg-launch-claude-cassandra.yaml | 15 +++++++++++++ tg-launch-claude-neo4j.yaml | 15 +++++++++++++ tg-launch-cohere-cassandra.yaml | 15 +++++++++++++ tg-launch-cohere-neo4j.yaml | 15 +++++++++++++ tg-launch-llamafile-cassandra.yaml | 15 +++++++++++++ tg-launch-llamafile-neo4j.yaml | 15 +++++++++++++ tg-launch-ollama-cassandra.yaml | 15 +++++++++++++ tg-launch-ollama-neo4j.yaml | 15 +++++++++++++ tg-launch-openai-cassandra.yaml | 15 +++++++++++++ tg-launch-openai-neo4j.yaml | 15 +++++++++++++ tg-launch-vertexai-cassandra.yaml | 15 +++++++++++++ tg-launch-vertexai-neo4j.yaml | 15 +++++++++++++ 17 files changed, 270 insertions(+) diff --git a/templates/components/trustgraph.jsonnet b/templates/components/trustgraph.jsonnet index c7615ed4..b387f0d3 100644 --- a/templates/components/trustgraph.jsonnet +++ b/templates/components/trustgraph.jsonnet @@ -102,5 +102,35 @@ local prompt = import "prompt-template.jsonnet"; }, + "metering" +: { + + create:: function(engine) + + local container = + engine.container("metering") + .with_image(images.trustgraph) + .with_command([ + "metering", + "-p", + url.pulsar, + ]) + .with_limits("0.5", "128M") + .with_reservations("0.1", "128M"); + + local containerSet = engine.containers( + "metering", [ container ] + ); + + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + + engine.resources([ + containerSet, + service, + ]) + + }, + } + prompt diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index a2ec9637..3969cf0d 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 9ac54244..76206719 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 27386ed7..bf9fcac6 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 3f47c6aa..01381794 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 b852f04d..1ba47dff 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 818bb3b5..173f7ec8 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 88e360b4..feba0d82 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 d7caa9bf..e82fb8d1 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 647d7fb4..69c4b9c9 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 8c7fd2a1..65175d86 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 82a45d73..2446a273 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 6beaab8d..b97ad5e5 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 aacf2ba6..81b98003 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 f5216178..8193fc0b 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 79560eeb..e4cbfe70 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -162,6 +162,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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 5f8bf5fa..b3fac0cb 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -145,6 +145,21 @@ services: memory: 128M image: docker.io/trustgraph/trustgraph-flow:0.11.1 restart: on-failure:100 + metering: + command: + - metering + - -p + - pulsar://pulsar:6650 + 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: From 90127dfecb562cc2a5cffaab354dc8caa20b16b6 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 20:15:03 +0100 Subject: [PATCH 18/44] Feature/rag metering (#75) * Add metering-rag for RAG token metrics * Make metering executable * Add metering-rag to Prom metrics * Metricate the right queue * Update templates to include metering-rag --- prometheus/prometheus.yml | 1 + scripts/metering | 0 templates/components/trustgraph.jsonnet | 32 +++++++++++++++++++++++++ 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 +++++++++++++ 19 files changed, 305 insertions(+) mode change 100644 => 100755 scripts/metering diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 60a8e488..d1455738 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -30,6 +30,7 @@ scrape_configs: - 'kg-extract-topics:8000' - 'kg-extract-relationships:8000' - 'metering:8000' + - 'metering-rag:8000' - 'store-graph-embeddings:8000' - 'store-triples:8000' - 'text-completion:8000' diff --git a/scripts/metering b/scripts/metering old mode 100644 new mode 100755 diff --git a/templates/components/trustgraph.jsonnet b/templates/components/trustgraph.jsonnet index b387f0d3..e178cc27 100644 --- a/templates/components/trustgraph.jsonnet +++ b/templates/components/trustgraph.jsonnet @@ -132,5 +132,37 @@ local prompt = import "prompt-template.jsonnet"; }, + "metering-rag" +: { + + create:: function(engine) + + local container = + engine.container("metering-rag") + .with_image(images.trustgraph) + .with_command([ + "metering", + "-p", + url.pulsar, + "-i", + "non-persistent://tg/response/text-completion-rag-response", + ]) + .with_limits("0.5", "128M") + .with_reservations("0.1", "128M"); + + local containerSet = engine.containers( + "metering-rag", [ container ] + ); + + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + + engine.resources([ + containerSet, + service, + ]) + + }, + } + prompt 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: From efc364583b5e2d4996d0f002450bb8305c1cf094 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 20:38:50 +0100 Subject: [PATCH 19/44] Fix/graph rag uses wrong prompt (#77) * Fix queue name invocation, use correct names, not defaults * Bump version * Update templates --- Makefile | 2 +- setup.py | 2 +- tg-launch-azure-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-azure-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-bedrock-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-bedrock-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-claude-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-claude-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-cohere-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-cohere-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-llamafile-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-llamafile-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-ollama-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-ollama-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-openai-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-openai-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-vertexai-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-vertexai-neo4j.yaml | 40 +++++++++++++++--------------- tg-storage-cassandra.yaml | 12 ++++----- tg-storage-neo4j.yaml | 12 ++++----- trustgraph/document_rag.py | 4 +-- trustgraph/graph_rag.py | 4 +-- 22 files changed, 338 insertions(+), 338 deletions(-) diff --git a/Makefile b/Makefile index c60d6326..e60ab5d2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.1 +VERSION=0.11.2 DOCKER=podman diff --git a/setup.py b/setup.py index 192b29fc..c06bbb4f 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.1" +version = "0.11.2" setuptools.setup( name="trustgraph", diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 53469d07..4929b235 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 889908c0..aa6b5a37 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 95705407..25a3f3c8 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -741,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 1a725faa..cc998257 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -742,7 +742,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -773,7 +773,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index d67fb96b..b8ff4f12 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 4b7652cd..b0aa68d6 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -761,7 +761,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -776,7 +776,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index fb4ee290..3bdf5df3 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 93a274c6..60fc8c95 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -757,7 +757,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index dcea893a..c168fea7 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 5bbe44e6..0b1f3084 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 0fc5bac4..6d41d793 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 4d030ba5..d4b46e54 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 93b6d5fe..682ce470 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 637320f8..abd5348d 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 55f69fe5..aabfea04 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -739,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -770,7 +770,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index b21ac9c5..e7185f5f 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 text-completion: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -771,7 +771,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index c27a912b..5620c625 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 5bc993a2..a1525749 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.1 + image: docker.io/trustgraph/trustgraph-flow:0.11.2 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph/document_rag.py b/trustgraph/document_rag.py index 61da645b..f3c8b158 100644 --- a/trustgraph/document_rag.py +++ b/trustgraph/document_rag.py @@ -73,8 +73,8 @@ class DocumentRag: self.lang = PromptClient( pulsar_host=pulsar_host, - input_queue=prompt_request_queue, - output_queue=prompt_response_queue, + input_queue=pr_request_queue, + output_queue=pr_response_queue, subscriber=module + "-de-prompt", ) diff --git a/trustgraph/graph_rag.py b/trustgraph/graph_rag.py index c44066b4..15acb609 100644 --- a/trustgraph/graph_rag.py +++ b/trustgraph/graph_rag.py @@ -96,8 +96,8 @@ class GraphRag: self.lang = PromptClient( pulsar_host=pulsar_host, - input_queue=prompt_request_queue, - output_queue=prompt_response_queue, + input_queue=pr_request_queue, + output_queue=pr_response_queue, subscriber=module + "-prompt", ) From 74a14639bdac99af6e1108709d208e6e37dbf048 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sun, 29 Sep 2024 23:50:57 +0100 Subject: [PATCH 20/44] Feature/track processor state (#78) * Add a Prom metric to consumers & consumer/producers to track the running state. * New script, gets processor state using prometheus * Bump version, add tg-processor-state to package * Update templates --- Makefile | 2 +- scripts/tg-processor-state | 24 +++++++++++++++++ setup.py | 4 ++- tg-launch-azure-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-azure-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-bedrock-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-bedrock-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-claude-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-claude-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-cohere-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-cohere-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-llamafile-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-llamafile-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-ollama-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-ollama-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-openai-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-openai-neo4j.yaml | 40 ++++++++++++++-------------- tg-launch-vertexai-cassandra.yaml | 40 ++++++++++++++-------------- tg-launch-vertexai-neo4j.yaml | 40 ++++++++++++++-------------- tg-storage-cassandra.yaml | 12 ++++----- tg-storage-neo4j.yaml | 12 ++++----- trustgraph/base/consumer.py | 13 ++++++++- trustgraph/base/consumer_producer.py | 13 ++++++++- 23 files changed, 384 insertions(+), 336 deletions(-) create mode 100755 scripts/tg-processor-state diff --git a/Makefile b/Makefile index e60ab5d2..534c214f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.2 +VERSION=0.11.3 DOCKER=podman diff --git a/scripts/tg-processor-state b/scripts/tg-processor-state new file mode 100755 index 00000000..f9945aac --- /dev/null +++ b/scripts/tg-processor-state @@ -0,0 +1,24 @@ +#!/usr/bin/env python3 + +import requests +import tabulate + +url = 'http://localhost:9090/api/v1/query?query=processor_state%7Bprocessor_state%3D%22running%22%7D' + +resp = requests.get(url) + +obj = resp.json() + +tbl = [ + [ + m["metric"]["instance"], + "running" if int(m["value"][1]) > 0 else "down" + ] + for m in obj["data"]["result"] +] + +print(tabulate.tabulate( + tbl, tablefmt="pretty", headers=["processor", "state"], + stralign="left" +)) + diff --git a/setup.py b/setup.py index c06bbb4f..fef88ea8 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.2" +version = "0.11.3" setuptools.setup( name="trustgraph", @@ -41,6 +41,7 @@ setuptools.setup( "pulsar-client", "pypdf", "qdrant-client", + "tabulate", "anthropic", "google-cloud-aiplatform", "pyyaml", @@ -99,6 +100,7 @@ setuptools.setup( "scripts/text-completion-ollama", "scripts/text-completion-openai", "scripts/text-completion-vertexai", + "scripts/tg-processor-state", "scripts/triples-dump-parquet", "scripts/triples-query-cassandra", "scripts/triples-query-neo4j", diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 4929b235..84a1b6f4 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index aa6b5a37..b1bf7008 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 25a3f3c8..a4b2e192 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -741,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index cc998257..45f4b1ae 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -742,7 +742,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -773,7 +773,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index b8ff4f12..8cfb4f4f 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index b0aa68d6..eeeac5a5 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -761,7 +761,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -776,7 +776,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 3bdf5df3..82a5d18b 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 60fc8c95..1c5ee5be 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -757,7 +757,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index c168fea7..047e9e1b 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 0b1f3084..c6013820 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 6d41d793..df73aae4 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index d4b46e54..759b73ce 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 682ce470..18cb1d79 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index abd5348d..d8218828 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index aabfea04..461f1131 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -739,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -770,7 +770,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index e7185f5f..40a21b5d 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -771,7 +771,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 5620c625..5b40f49f 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index a1525749..914dda18 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph/base/consumer.py b/trustgraph/base/consumer.py index 0c975cf5..eeaf83a1 100644 --- a/trustgraph/base/consumer.py +++ b/trustgraph/base/consumer.py @@ -1,6 +1,6 @@ from pulsar.schema import JsonSchema -from prometheus_client import start_http_server, Histogram, Info, Counter +from prometheus_client import Histogram, Info, Counter, Enum import time from . base_processor import BaseProcessor @@ -10,6 +10,15 @@ class Consumer(BaseProcessor): def __init__(self, **params): + if not hasattr(__class__, "state_metric"): + __class__.state_metric = Enum( + 'processor_state', 'Processor state', + states=['starting', 'running', 'stopped'] + ) + __class__.state_metric.state('starting') + + __class__.state_metric.state('starting') + super(Consumer, self).__init__(**params) input_queue = params.get("input_queue") @@ -47,6 +56,8 @@ class Consumer(BaseProcessor): def run(self): + __class__.state_metric.state('running') + while True: msg = self.consumer.receive() diff --git a/trustgraph/base/consumer_producer.py b/trustgraph/base/consumer_producer.py index 3f9d0f4f..08ae1880 100644 --- a/trustgraph/base/consumer_producer.py +++ b/trustgraph/base/consumer_producer.py @@ -1,6 +1,6 @@ from pulsar.schema import JsonSchema -from prometheus_client import Histogram, Info, Counter +from prometheus_client import Histogram, Info, Counter, Enum import time from . base_processor import BaseProcessor @@ -12,6 +12,15 @@ class ConsumerProducer(BaseProcessor): def __init__(self, **params): + if not hasattr(__class__, "state_metric"): + __class__.state_metric = Enum( + 'processor_state', 'Processor state', + states=['starting', 'running', 'stopped'] + ) + __class__.state_metric.state('starting') + + __class__.state_metric.state('starting') + input_queue = params.get("input_queue") output_queue = params.get("output_queue") subscriber = params.get("subscriber") @@ -66,6 +75,8 @@ class ConsumerProducer(BaseProcessor): def run(self): + __class__.state_metric.state('running') + while True: msg = self.consumer.receive() From 2f23309f058da12c0776f92d013e2fa95781f7ae Mon Sep 17 00:00:00 2001 From: Jack Colquitt <126733989+JackColquitt@users.noreply.github.com> Date: Sun, 29 Sep 2024 15:59:17 -0700 Subject: [PATCH 21/44] Metering for all LLMs (#76) * Fixed VertexAI token counts * Slight fix for Cohere token count * Slight tweak to AzureAI * Fix for prometheus for AzureAI --- trustgraph/model/text_completion/azure/llm.py | 6 +++++- trustgraph/model/text_completion/cohere/llm.py | 4 ++-- trustgraph/model/text_completion/vertexai/llm.py | 8 ++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/trustgraph/model/text_completion/azure/llm.py b/trustgraph/model/text_completion/azure/llm.py index 25339924..ff97f644 100755 --- a/trustgraph/model/text_completion/azure/llm.py +++ b/trustgraph/model/text_completion/azure/llm.py @@ -22,6 +22,7 @@ default_output_queue = text_completion_response_queue default_subscriber = module default_temperature = 0.0 default_max_output = 4192 +default_model = "AzureAI" class Processor(ConsumerProducer): @@ -34,6 +35,7 @@ class Processor(ConsumerProducer): token = params.get("token") temperature = params.get("temperature", default_temperature) max_output = params.get("max_output", default_max_output) + model = default_model super(Processor, self).__init__( **params | { @@ -44,6 +46,7 @@ class Processor(ConsumerProducer): "output_schema": TextCompletionResponse, "temperature": temperature, "max_output": max_output, + "model": model, } ) @@ -64,6 +67,7 @@ class Processor(ConsumerProducer): self.token = token self.temperature = temperature self.max_output = max_output + self.model = model def build_prompt(self, system, content): @@ -140,7 +144,7 @@ class Processor(ConsumerProducer): print("Send response...", flush=True) - r = TextCompletionResponse(response=resp, error=None, in_token=inputtokens, out_token=outputtokens, model="AzureAI") + r = TextCompletionResponse(response=resp, error=None, in_token=inputtokens, out_token=outputtokens, model=self.model) self.producer.send(r, properties={"id": id}) except TooManyRequests: diff --git a/trustgraph/model/text_completion/cohere/llm.py b/trustgraph/model/text_completion/cohere/llm.py index 75ef8ae4..4c64e8b6 100755 --- a/trustgraph/model/text_completion/cohere/llm.py +++ b/trustgraph/model/text_completion/cohere/llm.py @@ -91,8 +91,8 @@ class Processor(ConsumerProducer): ) resp = output.text - inputtokens = output.meta.billed_units.input_tokens - outputtokens = output.meta.billed_units.output_tokens + inputtokens = int(output.meta.billed_units.input_tokens) + outputtokens = int(output.meta.billed_units.output_tokens) print(resp, flush=True) print(f"Input Tokens: {inputtokens}", flush=True) diff --git a/trustgraph/model/text_completion/vertexai/llm.py b/trustgraph/model/text_completion/vertexai/llm.py index 41f4ff3e..c57b9fb0 100755 --- a/trustgraph/model/text_completion/vertexai/llm.py +++ b/trustgraph/model/text_completion/vertexai/llm.py @@ -142,14 +142,14 @@ class Processor(ConsumerProducer): with __class__.text_completion_metric.time(): - resp = self.llm.generate_content( + response = self.llm.generate_content( prompt, generation_config=self.generation_config, safety_settings=self.safety_settings ) - resp = resp.text - inputtokens = resp.usage_metadata.prompt_token_count - outputtokens = resp.usage_metadata.candidates_token_count + resp = response.text + inputtokens = int(response.usage_metadata.prompt_token_count) + outputtokens = int(response.usage_metadata.candidates_token_count) print(resp, flush=True) print(f"Input Tokens: {inputtokens}", flush=True) print(f"Output Tokens: {outputtokens}", flush=True) From 5e8a1520ee88340d9de2b9367064f8089ca72b8e Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Mon, 30 Sep 2024 00:00:36 +0100 Subject: [PATCH 22/44] Bump version & update templates --- Makefile | 2 +- setup.py | 2 +- tg-launch-azure-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-azure-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-bedrock-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-bedrock-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-claude-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-claude-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-cohere-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-cohere-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-llamafile-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-llamafile-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-ollama-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-ollama-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-openai-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-openai-neo4j.yaml | 40 +++++++++++++++--------------- tg-launch-vertexai-cassandra.yaml | 40 +++++++++++++++--------------- tg-launch-vertexai-neo4j.yaml | 40 +++++++++++++++--------------- tg-storage-cassandra.yaml | 12 ++++----- tg-storage-neo4j.yaml | 12 ++++----- 20 files changed, 334 insertions(+), 334 deletions(-) diff --git a/Makefile b/Makefile index 534c214f..f15de2e8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.3 +VERSION=0.11.4 DOCKER=podman diff --git a/setup.py b/setup.py index fef88ea8..638a009d 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.3" +version = "0.11.4" setuptools.setup( name="trustgraph", diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 84a1b6f4..8403578e 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index b1bf7008..827c2839 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index a4b2e192..15edfeca 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -741,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 45f4b1ae..06dc5726 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -742,7 +742,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -773,7 +773,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 8cfb4f4f..74716f54 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index eeeac5a5..1b0ca636 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -761,7 +761,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -776,7 +776,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 82a5d18b..d97d8843 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 1c5ee5be..22ecdf3a 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -757,7 +757,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 047e9e1b..8624d473 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index c6013820..bf6fe6ff 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index df73aae4..99a51e41 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 759b73ce..a91fafb0 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 18cb1d79..2cd1cefe 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index d8218828..693d88d9 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 461f1131..1b5d92fc 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -739,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -770,7 +770,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 40a21b5d..d3826557 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 text-completion: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -771,7 +771,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 5b40f49f..7c471268 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 914dda18..282d2f50 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.3 + image: docker.io/trustgraph/trustgraph-flow:0.11.4 restart: on-failure:100 volumes: grafana-storage: {} From 14d79ef9f1e4c02d4b8690e202ee302a3b0149da Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 12:19:22 +0100 Subject: [PATCH 23/44] Streamline startup (#79) * Separate Prom metrics, different processors as different jobs * Create producers before consumers, may streamline startup. * Bump version * Add Pulsar init command, will replace pulsar-admin invocations. * Integrate tg-init-pulsar with YAMLs * Update YAMLs --- Makefile | 2 +- prometheus/prometheus.yml | 113 +++++++++++++++++++++++-- scripts/tg-init-pulsar | 119 +++++++++++++++++++++++++++ scripts/tg-processor-state | 2 +- setup.py | 3 +- templates/components/pulsar.jsonnet | 14 ++-- templates/values/url.jsonnet | 1 + tg-launch-azure-cassandra.yaml | 57 ++++++------- tg-launch-azure-neo4j.yaml | 57 ++++++------- tg-launch-bedrock-cassandra.yaml | 57 ++++++------- tg-launch-bedrock-neo4j.yaml | 57 ++++++------- tg-launch-claude-cassandra.yaml | 57 ++++++------- tg-launch-claude-neo4j.yaml | 57 ++++++------- tg-launch-cohere-cassandra.yaml | 57 ++++++------- tg-launch-cohere-neo4j.yaml | 57 ++++++------- tg-launch-llamafile-cassandra.yaml | 57 ++++++------- tg-launch-llamafile-neo4j.yaml | 57 ++++++------- tg-launch-ollama-cassandra.yaml | 57 ++++++------- tg-launch-ollama-neo4j.yaml | 57 ++++++------- tg-launch-openai-cassandra.yaml | 57 ++++++------- tg-launch-openai-neo4j.yaml | 57 ++++++------- tg-launch-vertexai-cassandra.yaml | 57 ++++++------- tg-launch-vertexai-neo4j.yaml | 57 ++++++------- tg-storage-cassandra.yaml | 29 +++---- tg-storage-neo4j.yaml | 29 +++---- trustgraph/base/consumer_producer.py | 10 +-- 26 files changed, 684 insertions(+), 550 deletions(-) create mode 100755 scripts/tg-init-pulsar diff --git a/Makefile b/Makefile index f15de2e8..fb611b11 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.4 +VERSION=0.11.5 DOCKER=podman diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index d1455738..c74f5df3 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -14,31 +14,134 @@ scrape_configs: # The job name is added as a label `job=` to any timeseries # scraped from this config. - - job_name: 'trustgraph' - - # Override the global default and scrape targets from this job every - # 5 seconds. + - job_name: 'pdf-decoder' scrape_interval: 5s - static_configs: - targets: - 'pdf-decoder:8000' + + - job_name: 'chunker' + scrape_interval: 5s + static_configs: + - targets: - 'chunker:8000' + + + - job_name: 'vectorize' + scrape_interval: 5s + static_configs: + - targets: - 'vectorize:8000' + + + - job_name: 'embeddings' + scrape_interval: 5s + static_configs: + - targets: - 'embeddings:8000' + + + - job_name: 'kg-extract-definitions' + scrape_interval: 5s + static_configs: + - targets: - 'kg-extract-definitions:8000' + + + - job_name: 'kg-extract-topics' + scrape_interval: 5s + static_configs: + - targets: - 'kg-extract-topics:8000' + + + - job_name: 'kg-extract-relationships' + scrape_interval: 5s + static_configs: + - targets: - 'kg-extract-relationships:8000' + + + - job_name: 'metering' + scrape_interval: 5s + static_configs: + - targets: - 'metering:8000' + + + - job_name: 'metering-rag' + scrape_interval: 5s + static_configs: + - targets: - 'metering-rag:8000' + + + - job_name: 'store-graph-embeddings' + scrape_interval: 5s + static_configs: + - targets: - 'store-graph-embeddings:8000' + + + - job_name: 'store-triples' + scrape_interval: 5s + static_configs: + - targets: - 'store-triples:8000' + + + - job_name: 'text-completion' + scrape_interval: 5s + static_configs: + - targets: - 'text-completion:8000' + + + - job_name: 'text-completion-rag' + scrape_interval: 5s + static_configs: + - targets: - 'text-completion-rag:8000' + + + - job_name: 'graph-rag' + scrape_interval: 5s + static_configs: + - targets: - 'graph-rag:8000' + + + - job_name: 'prompt' + scrape_interval: 5s + static_configs: + - targets: - 'prompt:8000' + + + - job_name: 'prompt-rag' + scrape_interval: 5s + static_configs: + - targets: - 'prompt-rag:8000' + + + - job_name: 'query-graph-embeddings' + scrape_interval: 5s + static_configs: + - targets: - 'query-graph-embeddings:8000' + + + - job_name: 'query-triples' + scrape_interval: 5s + static_configs: + - targets: - 'query-triples:8000' + + + - job_name: 'pulsar' + scrape_interval: 5s + static_configs: + - targets: - 'pulsar:8080' diff --git a/scripts/tg-init-pulsar b/scripts/tg-init-pulsar new file mode 100755 index 00000000..0113a7f0 --- /dev/null +++ b/scripts/tg-init-pulsar @@ -0,0 +1,119 @@ +#!/usr/bin/env python3 + +""" +Initialises Pulsar with Trustgraph tenant / namespaces & policy +""" + +import requests +import time +import argparse + +default_pulsar_admin_url = "http://pulsar:8080" + +def get_clusters(url): + + print("Get clusters...", flush=True) + + resp = requests.get(f"{url}/admin/v2/clusters") + + if resp.status_code != 200: raise RuntimeError("Could not fetch clusters") + + return resp.json() + +def ensure_tenant(url, tenant, clusters): + + resp = requests.get(f"{url}/admin/v2/tenants/{tenant}") + + if resp.status_code == 200: + print(f"Tenant {tenant} already exists.", flush=True) + return + + resp = requests.put( + f"{url}/admin/v2/tenants/{tenant}", + json={ + "adminRoles": [], + "allowedClusters": clusters, + } + ) + + if resp.status_code != 204: + print(resp.text, flush=True) + raise RuntimeError("Tenant creation failed.") + + print(f"Tenant {tenant} created.", flush=True) + +def ensure_namespace(url, tenant, namespace, config): + + resp = requests.get(f"{url}/admin/v2/namespaces/{tenant}/{namespace}") + + if resp.status_code == 200: + print(f"Namespace {tenant}/{namespace} already exists.", flush=True) + return + + resp = requests.put( + f"{url}/admin/v2/namespaces/{tenant}/{namespace}", + json=config, + ) + + if resp.status_code != 204: + print(resp.status_code, flush=True) + print(resp.text, flush=True) + raise RuntimeError(f"Namespace {tenant}/{namespace} creation failed.") + + print(f"Namespace {tenant}/{namespace} created.", flush=True) + +def init(url, tenant="tg"): + + clusters = get_clusters(url) + + ensure_tenant(url, tenant, clusters) + + ensure_namespace(url, tenant, "flow", {}) + + ensure_namespace(url, tenant, "request", {}) + + ensure_namespace(url, tenant, "response", { + "retention_policies": { + "retentionSizeInMB": -1, + "retentionTimeInMinutes": 3, + } + }) + +def main(): + + parser = argparse.ArgumentParser( + prog='tg-init-pulsar', + description=__doc__, + ) + + parser.add_argument( + '-p', '--pulsar-admin-url', + default=default_pulsar_admin_url, + help=f'Pulsar admin URL (default: {default_pulsar_admin_url})', + ) + + args = parser.parse_args() + + while True: + + try: + + print(flush=True) + print( + f"Initialising with Pulsar {args.pulsar_admin_url}...", + flush=True + ) + init(args.pulsar_admin_url, "tg") + print("Initialisation complete.", flush=True) + break + + except Exception as e: + + print("Exception:", e, flush=True) + + print("Sleeping...", flush=True) + time.sleep(2) + print("Will retry...", flush=True) + +main() + diff --git a/scripts/tg-processor-state b/scripts/tg-processor-state index f9945aac..1b9399c7 100755 --- a/scripts/tg-processor-state +++ b/scripts/tg-processor-state @@ -11,7 +11,7 @@ obj = resp.json() tbl = [ [ - m["metric"]["instance"], + m["metric"]["job"], "running" if int(m["value"][1]) > 0 else "down" ] for m in obj["data"]["result"] diff --git a/setup.py b/setup.py index 638a009d..e3bd392d 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.4" +version = "0.11.5" setuptools.setup( name="trustgraph", @@ -100,6 +100,7 @@ setuptools.setup( "scripts/text-completion-ollama", "scripts/text-completion-openai", "scripts/text-completion-vertexai", + "scripts/tg-init-pulsar", "scripts/tg-processor-state", "scripts/triples-dump-parquet", "scripts/triples-query-cassandra", diff --git a/templates/components/pulsar.jsonnet b/templates/components/pulsar.jsonnet index 058c35c1..0342b4d5 100644 --- a/templates/components/pulsar.jsonnet +++ b/templates/components/pulsar.jsonnet @@ -1,5 +1,6 @@ local base = import "base/base.jsonnet"; local images = import "values/images.jsonnet"; +local url = import "values/url.jsonnet"; { @@ -14,7 +15,6 @@ local images = import "values/images.jsonnet"; engine.container("pulsar") .with_image(images.pulsar) .with_command(["bin/pulsar", "standalone"]) -// .with_command(["/bin/sh", "-c", "sleep 9999999"]) .with_environment({ "PULSAR_MEM": "-Xms600M -Xmx600M" }) @@ -27,14 +27,14 @@ local images = import "values/images.jsonnet"; local adminContainer = engine.container("init-pulsar") - .with_image(images.pulsar) + .with_image(images.trustgraph) .with_command([ - "sh", - "-c", - "while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; sleep 20; done", + "tg-init-pulsar", + "-p", + url.pulsar_admin, ]) - .with_limits("1", "400M") - .with_reservations("0.1", "400M"); + .with_limits("1", "128M") + .with_reservations("0.1", "128M"); local containerSet = engine.containers( "pulsar", diff --git a/templates/values/url.jsonnet b/templates/values/url.jsonnet index 36c7ca41..1bacb067 100644 --- a/templates/values/url.jsonnet +++ b/templates/values/url.jsonnet @@ -1,5 +1,6 @@ { pulsar: "pulsar://pulsar:6650", + pulsar_admin: "http://pulsar:8080", milvus: "http://milvus:19530", qdrant: "http://qdrant:6333", } diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 8403578e..2bbe3622 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -397,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -575,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -629,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -663,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -714,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -737,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -779,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 827c2839..0915cde5 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -398,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -576,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -630,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -664,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -715,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -738,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -780,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 15edfeca..5a54f46d 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -397,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -575,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -629,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -663,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -714,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -741,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -772,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -787,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 06dc5726..5a223f9d 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -398,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -576,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -630,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -664,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -715,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -742,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -773,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -788,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 74716f54..8b297eef 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -397,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -575,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -629,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -663,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -714,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -735,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -775,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 1b0ca636..200268ab 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -398,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -576,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -630,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -664,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -715,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -736,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -761,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -776,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index d97d8843..52d1ae39 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -397,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -575,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -629,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -663,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -714,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -733,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -771,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 22ecdf3a..ab4e777f 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -398,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -576,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -630,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -664,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -715,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -734,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -757,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -772,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 8624d473..be60ef6c 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -242,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -265,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -319,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -353,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -404,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -423,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -461,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index bf6fe6ff..5de11e63 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -243,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -266,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -320,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -354,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -405,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -424,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -462,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 99a51e41..b445c466 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -242,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -265,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -319,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -353,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -404,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -423,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -461,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index a91fafb0..c700241d 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -243,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -266,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -320,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -354,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -405,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -424,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -462,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 2cd1cefe..87e7182f 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -397,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -575,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -629,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -663,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -714,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -737,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -779,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 693d88d9..faa46c3b 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -398,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -576,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -630,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -664,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -715,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -738,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 vectorize: command: @@ -780,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 1b5d92fc..ce01469b 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -95,27 +95,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -130,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -397,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -575,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -629,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -663,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -714,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -739,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -770,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -787,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index d3826557..935da951 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 grafana: deploy: @@ -78,27 +78,22 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-definitions: command: @@ -113,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 metering-rag: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -208,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -398,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prompt-rag: command: @@ -576,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 pulsar: command: @@ -630,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -664,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -715,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 text-completion: command: @@ -740,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -771,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -788,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 7c471268..7bc8948f 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -38,23 +38,18 @@ services: - ./grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 prometheus: deploy: @@ -124,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -158,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -209,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 282d2f50..adde9c7b 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -21,23 +21,18 @@ services: - ./grafana/dashboards/:/var/lib/grafana/dashboards/ init-pulsar: command: - - sh - - -c - - while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg - ; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin - --admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url - http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url - http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response; - sleep 20; done + - tg-init-pulsar + - -p + - http://pulsar:8080 deploy: resources: limits: cpus: '1' - memory: 400M + memory: 128M reservations: cpus: '0.1' - memory: 400M - image: docker.io/apachepulsar/pulsar:3.3.1 + memory: 128M + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 neo4j: deploy: @@ -125,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 query-triples: command: @@ -159,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 store-triples: command: @@ -210,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.4 + image: docker.io/trustgraph/trustgraph-flow:0.11.5 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph/base/consumer_producer.py b/trustgraph/base/consumer_producer.py index 08ae1880..cabb7525 100644 --- a/trustgraph/base/consumer_producer.py +++ b/trustgraph/base/consumer_producer.py @@ -63,16 +63,16 @@ class ConsumerProducer(BaseProcessor): if output_schema == None: raise RuntimeError("output_schema must be specified") - self.consumer = self.client.subscribe( - input_queue, subscriber, - schema=JsonSchema(input_schema), - ) - self.producer = self.client.create_producer( topic=output_queue, schema=JsonSchema(output_schema), ) + self.consumer = self.client.subscribe( + input_queue, subscriber, + schema=JsonSchema(input_schema), + ) + def run(self): __class__.state_metric.state('running') From f081933217f0376ff874e34d6126abe3eee948e4 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 14:00:29 +0100 Subject: [PATCH 24/44] Feature/subpackages (#80) * Renaming what will become the core package * Tweaking to get package build working * Fix metering merge * Rename to core directory * Bump version. Use namespace searching for packaging trustgraph-core * Change references to trustgraph-core * Forming embeddings-hf package * Reference modules in core package. * Build both packages to one container, bump version * Update YAMLs --- Containerfile | 22 ++++++--- Makefile | 6 ++- scripts/chunker-recursive | 6 --- scripts/chunker-token | 6 --- scripts/de-query-milvus | 6 --- scripts/de-query-qdrant | 6 --- scripts/de-write-milvus | 6 --- scripts/de-write-qdrant | 6 --- scripts/document-rag | 6 --- scripts/embeddings-hf | 6 --- scripts/embeddings-ollama | 6 --- scripts/embeddings-vectorize | 6 --- scripts/ge-dump-parquet | 6 --- scripts/ge-query-milvus | 6 --- scripts/ge-query-qdrant | 6 --- scripts/ge-write-milvus | 6 --- scripts/ge-write-qdrant | 6 --- scripts/graph-rag | 6 --- scripts/kg-extract-definitions | 6 --- scripts/kg-extract-relationships | 6 --- scripts/kg-extract-topics | 6 --- scripts/metering | 5 -- scripts/object-extract-row | 6 --- scripts/oe-write-milvus | 6 --- scripts/pdf-decoder | 6 --- scripts/prompt-generic | 6 --- scripts/prompt-template | 6 --- scripts/rows-write-cassandra | 6 --- scripts/run-processing | 6 --- scripts/text-completion-azure | 6 --- scripts/text-completion-bedrock | 6 --- scripts/text-completion-claude | 6 --- scripts/text-completion-cohere | 6 --- scripts/text-completion-llamafile | 6 --- scripts/text-completion-ollama | 6 --- scripts/text-completion-openai | 6 --- scripts/text-completion-vertexai | 6 --- scripts/triples-dump-parquet | 6 --- scripts/triples-query-cassandra | 6 --- scripts/triples-query-neo4j | 6 --- scripts/triples-write-cassandra | 6 --- scripts/triples-write-neo4j | 6 --- tg-launch-azure-cassandra.yaml | 42 ++++++++--------- tg-launch-azure-neo4j.yaml | 42 ++++++++--------- tg-launch-bedrock-cassandra.yaml | 42 ++++++++--------- tg-launch-bedrock-neo4j.yaml | 42 ++++++++--------- tg-launch-claude-cassandra.yaml | 42 ++++++++--------- tg-launch-claude-neo4j.yaml | 42 ++++++++--------- tg-launch-cohere-cassandra.yaml | 42 ++++++++--------- tg-launch-cohere-neo4j.yaml | 42 ++++++++--------- tg-launch-llamafile-cassandra.yaml | 42 ++++++++--------- tg-launch-llamafile-neo4j.yaml | 42 ++++++++--------- tg-launch-ollama-cassandra.yaml | 42 ++++++++--------- tg-launch-ollama-neo4j.yaml | 42 ++++++++--------- tg-launch-openai-cassandra.yaml | 42 ++++++++--------- tg-launch-openai-neo4j.yaml | 42 ++++++++--------- tg-launch-vertexai-cassandra.yaml | 42 ++++++++--------- tg-launch-vertexai-neo4j.yaml | 42 ++++++++--------- tg-storage-cassandra.yaml | 14 +++--- tg-storage-neo4j.yaml | 14 +++--- trustgraph-core/scripts/chunker-recursive | 6 +++ trustgraph-core/scripts/chunker-token | 6 +++ .../scripts}/concat-parquet | 0 trustgraph-core/scripts/de-query-milvus | 6 +++ trustgraph-core/scripts/de-query-qdrant | 6 +++ trustgraph-core/scripts/de-write-milvus | 6 +++ trustgraph-core/scripts/de-write-qdrant | 6 +++ trustgraph-core/scripts/document-rag | 6 +++ .../scripts}/dump-parquet | 0 trustgraph-core/scripts/embeddings-ollama | 6 +++ trustgraph-core/scripts/embeddings-vectorize | 6 +++ trustgraph-core/scripts/ge-dump-parquet | 6 +++ trustgraph-core/scripts/ge-query-milvus | 6 +++ trustgraph-core/scripts/ge-query-qdrant | 6 +++ trustgraph-core/scripts/ge-write-milvus | 6 +++ trustgraph-core/scripts/ge-write-qdrant | 6 +++ trustgraph-core/scripts/graph-rag | 6 +++ .../scripts}/graph-show | 2 +- .../scripts}/graph-to-turtle | 2 +- .../scripts}/init-pulsar-manager | 0 .../scripts/kg-extract-definitions | 6 +++ .../scripts/kg-extract-relationships | 6 +++ trustgraph-core/scripts/kg-extract-topics | 6 +++ .../scripts}/load-graph-embeddings | 6 +-- {scripts => trustgraph-core/scripts}/load-pdf | 4 +- .../scripts}/load-text | 4 +- .../scripts}/load-triples | 6 +-- trustgraph-core/scripts/metering | 5 ++ trustgraph-core/scripts/object-extract-row | 6 +++ trustgraph-core/scripts/oe-write-milvus | 6 +++ trustgraph-core/scripts/pdf-decoder | 6 +++ trustgraph-core/scripts/prompt-generic | 6 +++ trustgraph-core/scripts/prompt-template | 6 +++ .../scripts}/query-document-rag | 2 +- .../scripts}/query-graph-rag | 2 +- trustgraph-core/scripts/rows-write-cassandra | 6 +++ trustgraph-core/scripts/run-processing | 6 +++ trustgraph-core/scripts/text-completion-azure | 6 +++ .../scripts/text-completion-bedrock | 6 +++ .../scripts/text-completion-claude | 6 +++ .../scripts/text-completion-cohere | 6 +++ .../scripts/text-completion-llamafile | 6 +++ .../scripts/text-completion-ollama | 6 +++ .../scripts/text-completion-openai | 6 +++ .../scripts/text-completion-vertexai | 6 +++ .../scripts}/tg-init-pulsar | 0 .../scripts}/tg-processor-state | 0 trustgraph-core/scripts/triples-dump-parquet | 6 +++ .../scripts/triples-query-cassandra | 6 +++ trustgraph-core/scripts/triples-query-neo4j | 6 +++ .../scripts/triples-write-cassandra | 6 +++ trustgraph-core/scripts/triples-write-neo4j | 6 +++ setup.py => trustgraph-core/setup.py | 15 +++--- .../trustgraph/core}/__init__.py | 0 .../trustgraph/core}/base/__init__.py | 0 .../trustgraph/core}/base/base_processor.py | 0 .../trustgraph/core}/base/consumer.py | 0 .../core}/base/consumer_producer.py | 0 .../trustgraph/core}/base/producer.py | 0 .../trustgraph/core}/chunking/__init__.py | 0 .../core}/chunking/recursive/__init__.py | 0 .../core}/chunking/recursive/__main__.py | 0 .../core}/chunking/recursive/chunker.py | 0 .../core}/chunking/token/__init__.py | 0 .../core}/chunking/token/__main__.py | 0 .../core}/chunking/token/chunker.py | 0 .../trustgraph/core}/clients/__init__.py | 0 .../trustgraph/core}/clients/base.py | 0 .../clients/document_embeddings_client.py | 0 .../core}/clients/document_rag_client.py | 0 .../core}/clients/embeddings_client.py | 0 .../core}/clients/graph_embeddings_client.py | 0 .../core}/clients/graph_rag_client.py | 0 .../trustgraph/core}/clients/llm_client.py | 0 .../trustgraph/core}/clients/prompt_client.py | 0 .../core}/clients/triples_query_client.py | 0 .../trustgraph/core}/decoding/__init__.py | 0 .../trustgraph/core}/decoding/pdf/__init__.py | 0 .../trustgraph/core}/decoding/pdf/__main__.py | 0 .../core}/decoding/pdf/pdf_decoder.py | 0 .../trustgraph/core}/direct/__init__.py | 0 .../trustgraph/core}/direct/cassandra.py | 0 .../core}/direct/milvus_doc_embeddings.py | 0 .../core}/direct/milvus_graph_embeddings.py | 0 .../core}/direct/milvus_object_embeddings.py | 0 .../trustgraph/core}/document_rag.py | 0 .../trustgraph/core}/dump/__init__.py | 0 .../core}/dump/graph_embeddings/__init__.py | 0 .../dump/graph_embeddings/parquet/__init__.py | 0 .../dump/graph_embeddings/parquet/__main__.py | 0 .../graph_embeddings/parquet/processor.py | 0 .../dump/graph_embeddings/parquet/writer.py | 0 .../trustgraph/core}/dump/triples/__init__.py | 0 .../core}/dump/triples/parquet/__init__.py | 0 .../core}/dump/triples/parquet/__main__.py | 0 .../core}/dump/triples/parquet/processor.py | 0 .../core}/dump/triples/parquet/writer.py | 0 .../trustgraph/core}/embeddings/__init__.py | 0 .../core}/embeddings/ollama/__init__.py | 0 .../core}/embeddings/ollama/__main__.py | 0 .../core}/embeddings/ollama/processor.py | 0 .../core}/embeddings/vectorize/__init__.py | 0 .../core}/embeddings/vectorize/__main__.py | 0 .../core}/embeddings/vectorize/vectorize.py | 0 .../trustgraph/core}/exceptions.py | 0 .../trustgraph/core}/extract/__init__.py | 0 .../trustgraph/core}/extract/kg/__init__.py | 0 .../core}/extract/kg/definitions/__init__.py | 0 .../core}/extract/kg/definitions/__main__.py | 0 .../core}/extract/kg/definitions/extract.py | 0 .../extract/kg/relationships/__init__.py | 0 .../extract/kg/relationships/__main__.py | 0 .../core}/extract/kg/relationships/extract.py | 0 .../core}/extract/kg/topics/__init__.py | 0 .../core}/extract/kg/topics/__main__.py | 0 .../core}/extract/kg/topics/extract.py | 0 .../core}/extract/object/__init__.py | 0 .../core}/extract/object/row/__init__.py | 0 .../core}/extract/object/row/__main__.py | 0 .../core}/extract/object/row/extract.py | 0 .../trustgraph/core}/graph_rag.py | 0 .../trustgraph/core}/log_level.py | 0 .../trustgraph/core}/metering/__init__.py | 0 .../trustgraph/core}/metering/__main__.py | 0 .../trustgraph/core}/metering/counter.py | 0 .../trustgraph/core}/metering/pricelist.py | 0 .../trustgraph/core}/model/__init__.py | 0 .../trustgraph/core}/model/prompt/__init__.py | 0 .../core}/model/prompt/generic/__init__.py | 0 .../core}/model/prompt/generic/__main__.py | 0 .../core}/model/prompt/generic/prompts.py | 0 .../core}/model/prompt/generic/service.py | 0 .../core}/model/prompt/template/__init__.py | 0 .../core}/model/prompt/template/__main__.py | 0 .../core}/model/prompt/template/prompts.py | 0 .../core}/model/prompt/template/service.py | 0 .../core}/model/text_completion/__init__.py | 0 .../model/text_completion/azure/__init__.py | 0 .../model/text_completion/azure/__main__.py | 0 .../core}/model/text_completion/azure/llm.py | 0 .../model/text_completion/bedrock/__init__.py | 0 .../model/text_completion/bedrock/__main__.py | 0 .../model/text_completion/bedrock/llm.py | 0 .../model/text_completion/claude/__init__.py | 0 .../model/text_completion/claude/__main__.py | 0 .../core}/model/text_completion/claude/llm.py | 0 .../model/text_completion/cohere/__init__.py | 0 .../model/text_completion/cohere/__main__.py | 0 .../core}/model/text_completion/cohere/llm.py | 0 .../text_completion/llamafile/__init__.py | 0 .../text_completion/llamafile/__main__.py | 0 .../model/text_completion/llamafile/llm.py | 0 .../model/text_completion/ollama/__init__.py | 0 .../model/text_completion/ollama/__main__.py | 0 .../core}/model/text_completion/ollama/llm.py | 0 .../model/text_completion/openai/__init__.py | 0 .../model/text_completion/openai/__main__.py | 0 .../core}/model/text_completion/openai/llm.py | 0 .../text_completion/vertexai/__init__.py | 0 .../text_completion/vertexai/__main__.py | 0 .../model/text_completion/vertexai/llm.py | 0 .../trustgraph/core}/objects/__init__.py | 0 .../trustgraph/core}/objects/field.py | 0 .../trustgraph/core}/objects/object.py | 0 .../trustgraph/core}/processing/__init__.py | 0 .../trustgraph/core}/processing/__main__.py | 0 .../trustgraph/core}/processing/processing.py | 0 .../trustgraph/core}/query/__init__.py | 0 .../core}/query/doc_embeddings/__init__.py | 0 .../query/doc_embeddings/milvus/__init__.py | 0 .../query/doc_embeddings/milvus}/__main__.py | 0 .../query/doc_embeddings/milvus/service.py | 0 .../query/doc_embeddings/qdrant/__init__.py | 0 .../query/doc_embeddings/qdrant}/__main__.py | 0 .../query/doc_embeddings/qdrant/service.py | 0 .../core}/query/graph_embeddings/__init__.py | 0 .../query/graph_embeddings/milvus/__init__.py | 0 .../graph_embeddings/milvus}/__main__.py | 0 .../query/graph_embeddings/milvus/service.py | 0 .../query/graph_embeddings/qdrant/__init__.py | 0 .../graph_embeddings/qdrant}/__main__.py | 0 .../query/graph_embeddings/qdrant/service.py | 0 .../core}/query/triples/__init__.py | 0 .../core}/query/triples/cassandra/__init__.py | 0 .../core/query/triples/cassandra}/__main__.py | 0 .../core}/query/triples/cassandra/service.py | 0 .../core}/query/triples/neo4j/__init__.py | 0 .../core/query/triples/neo4j}/__main__.py | 0 .../core}/query/triples/neo4j/service.py | 0 .../trustgraph/core}/rdf.py | 0 .../trustgraph/core}/retrieval/__init__.py | 0 .../core}/retrieval/document_rag/__init__.py | 0 .../core}/retrieval/document_rag/__main__.py | 0 .../core}/retrieval/document_rag/rag.py | 0 .../core}/retrieval/graph_rag/__init__.py | 0 .../core}/retrieval/graph_rag/__main__.py | 0 .../core}/retrieval/graph_rag/rag.py | 0 .../trustgraph/core}/schema/__init__.py | 0 .../trustgraph/core}/schema/documents.py | 0 .../trustgraph/core}/schema/graph.py | 0 .../trustgraph/core}/schema/models.py | 0 .../trustgraph/core}/schema/object.py | 0 .../trustgraph/core}/schema/prompt.py | 0 .../trustgraph/core}/schema/retrieval.py | 0 .../trustgraph/core}/schema/topic.py | 0 .../trustgraph/core}/schema/types.py | 0 .../trustgraph/core}/storage/__init__.py | 0 .../core}/storage/doc_embeddings/__init__.py | 0 .../storage/doc_embeddings/milvus/__init__.py | 0 .../storage/doc_embeddings/milvus/__main__.py | 0 .../storage/doc_embeddings/milvus/write.py | 0 .../storage/doc_embeddings/qdrant/__init__.py | 0 .../storage/doc_embeddings/qdrant/__main__.py | 0 .../storage/doc_embeddings/qdrant/write.py | 0 .../storage/graph_embeddings/__init__.py | 0 .../graph_embeddings/milvus/__init__.py | 0 .../graph_embeddings/milvus/__main__.py | 0 .../storage/graph_embeddings/milvus/write.py | 0 .../graph_embeddings/qdrant/__init__.py | 0 .../graph_embeddings/qdrant/__main__.py | 0 .../storage/graph_embeddings/qdrant/write.py | 0 .../storage/object_embeddings/__init__.py | 0 .../object_embeddings/milvus/__init__.py | 0 .../object_embeddings/milvus/__main__.py | 0 .../storage/object_embeddings/milvus/write.py | 0 .../trustgraph/core}/storage/rows/__init__.py | 0 .../core}/storage/rows/cassandra/__init__.py | 0 .../core}/storage/rows/cassandra/__main__.py | 0 .../core}/storage/rows/cassandra/write.py | 0 .../core}/storage/triples/__init__.py | 0 .../storage/triples/cassandra/__init__.py | 0 .../storage/triples/cassandra/__main__.py | 0 .../core}/storage/triples/cassandra/write.py | 0 .../core}/storage/triples/neo4j/__init__.py | 0 .../core}/storage/triples/neo4j/__main__.py | 0 .../core}/storage/triples/neo4j/write.py | 0 .../scripts/embeddings-hf | 6 +++ trustgraph-embeddings-hf/setup.py | 47 +++++++++++++++++++ .../trustgraph/embeddings_hf/__init__.py | 0 .../embeddings_hf/embeddings/__init__.py | 0 .../embeddings_hf}/embeddings/hf/__init__.py | 0 .../embeddings_hf/embeddings/hf}/__main__.py | 0 .../embeddings_hf}/embeddings/hf/hf.py | 9 ++-- 303 files changed, 681 insertions(+), 624 deletions(-) delete mode 100755 scripts/chunker-recursive delete mode 100755 scripts/chunker-token delete mode 100755 scripts/de-query-milvus delete mode 100644 scripts/de-query-qdrant delete mode 100755 scripts/de-write-milvus delete mode 100644 scripts/de-write-qdrant delete mode 100755 scripts/document-rag delete mode 100755 scripts/embeddings-hf delete mode 100755 scripts/embeddings-ollama delete mode 100755 scripts/embeddings-vectorize delete mode 100755 scripts/ge-dump-parquet delete mode 100755 scripts/ge-query-milvus delete mode 100755 scripts/ge-query-qdrant delete mode 100755 scripts/ge-write-milvus delete mode 100755 scripts/ge-write-qdrant delete mode 100755 scripts/graph-rag delete mode 100755 scripts/kg-extract-definitions delete mode 100755 scripts/kg-extract-relationships delete mode 100755 scripts/kg-extract-topics delete mode 100755 scripts/metering delete mode 100755 scripts/object-extract-row delete mode 100755 scripts/oe-write-milvus delete mode 100755 scripts/pdf-decoder delete mode 100755 scripts/prompt-generic delete mode 100755 scripts/prompt-template delete mode 100755 scripts/rows-write-cassandra delete mode 100755 scripts/run-processing delete mode 100755 scripts/text-completion-azure delete mode 100755 scripts/text-completion-bedrock delete mode 100755 scripts/text-completion-claude delete mode 100755 scripts/text-completion-cohere delete mode 100755 scripts/text-completion-llamafile delete mode 100755 scripts/text-completion-ollama delete mode 100755 scripts/text-completion-openai delete mode 100755 scripts/text-completion-vertexai delete mode 100755 scripts/triples-dump-parquet delete mode 100755 scripts/triples-query-cassandra delete mode 100755 scripts/triples-query-neo4j delete mode 100755 scripts/triples-write-cassandra delete mode 100755 scripts/triples-write-neo4j create mode 100755 trustgraph-core/scripts/chunker-recursive create mode 100755 trustgraph-core/scripts/chunker-token rename {scripts => trustgraph-core/scripts}/concat-parquet (100%) create mode 100755 trustgraph-core/scripts/de-query-milvus create mode 100644 trustgraph-core/scripts/de-query-qdrant create mode 100755 trustgraph-core/scripts/de-write-milvus create mode 100644 trustgraph-core/scripts/de-write-qdrant create mode 100755 trustgraph-core/scripts/document-rag rename {scripts => trustgraph-core/scripts}/dump-parquet (100%) create mode 100755 trustgraph-core/scripts/embeddings-ollama create mode 100755 trustgraph-core/scripts/embeddings-vectorize create mode 100755 trustgraph-core/scripts/ge-dump-parquet create mode 100755 trustgraph-core/scripts/ge-query-milvus create mode 100755 trustgraph-core/scripts/ge-query-qdrant create mode 100755 trustgraph-core/scripts/ge-write-milvus create mode 100755 trustgraph-core/scripts/ge-write-qdrant create mode 100755 trustgraph-core/scripts/graph-rag rename {scripts => trustgraph-core/scripts}/graph-show (91%) rename {scripts => trustgraph-core/scripts}/graph-to-turtle (94%) rename {scripts => trustgraph-core/scripts}/init-pulsar-manager (100%) create mode 100755 trustgraph-core/scripts/kg-extract-definitions create mode 100755 trustgraph-core/scripts/kg-extract-relationships create mode 100755 trustgraph-core/scripts/kg-extract-topics rename {scripts => trustgraph-core/scripts}/load-graph-embeddings (94%) rename {scripts => trustgraph-core/scripts}/load-pdf (95%) rename {scripts => trustgraph-core/scripts}/load-text (95%) rename {scripts => trustgraph-core/scripts}/load-triples (95%) create mode 100755 trustgraph-core/scripts/metering create mode 100755 trustgraph-core/scripts/object-extract-row create mode 100755 trustgraph-core/scripts/oe-write-milvus create mode 100755 trustgraph-core/scripts/pdf-decoder create mode 100755 trustgraph-core/scripts/prompt-generic create mode 100755 trustgraph-core/scripts/prompt-template rename {scripts => trustgraph-core/scripts}/query-document-rag (92%) rename {scripts => trustgraph-core/scripts}/query-graph-rag (92%) create mode 100755 trustgraph-core/scripts/rows-write-cassandra create mode 100755 trustgraph-core/scripts/run-processing create mode 100755 trustgraph-core/scripts/text-completion-azure create mode 100755 trustgraph-core/scripts/text-completion-bedrock create mode 100755 trustgraph-core/scripts/text-completion-claude create mode 100755 trustgraph-core/scripts/text-completion-cohere create mode 100755 trustgraph-core/scripts/text-completion-llamafile create mode 100755 trustgraph-core/scripts/text-completion-ollama create mode 100755 trustgraph-core/scripts/text-completion-openai create mode 100755 trustgraph-core/scripts/text-completion-vertexai rename {scripts => trustgraph-core/scripts}/tg-init-pulsar (100%) rename {scripts => trustgraph-core/scripts}/tg-processor-state (100%) create mode 100755 trustgraph-core/scripts/triples-dump-parquet create mode 100755 trustgraph-core/scripts/triples-query-cassandra create mode 100755 trustgraph-core/scripts/triples-query-neo4j create mode 100755 trustgraph-core/scripts/triples-write-cassandra create mode 100755 trustgraph-core/scripts/triples-write-neo4j rename setup.py => trustgraph-core/setup.py (93%) rename {trustgraph => trustgraph-core/trustgraph/core}/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/base/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/base/base_processor.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/base/consumer.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/base/consumer_producer.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/base/producer.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/recursive/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/recursive/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/recursive/chunker.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/token/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/token/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/chunking/token/chunker.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/base.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/document_embeddings_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/document_rag_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/embeddings_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/graph_embeddings_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/graph_rag_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/llm_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/prompt_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/clients/triples_query_client.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/decoding/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/decoding/pdf/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/decoding/pdf/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/decoding/pdf/pdf_decoder.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/direct/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/direct/cassandra.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/direct/milvus_doc_embeddings.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/direct/milvus_graph_embeddings.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/direct/milvus_object_embeddings.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/document_rag.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/graph_embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/graph_embeddings/parquet/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/graph_embeddings/parquet/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/graph_embeddings/parquet/processor.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/graph_embeddings/parquet/writer.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/triples/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/triples/parquet/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/triples/parquet/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/triples/parquet/processor.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/dump/triples/parquet/writer.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/ollama/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/ollama/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/ollama/processor.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/vectorize/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/vectorize/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/embeddings/vectorize/vectorize.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/exceptions.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/definitions/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/definitions/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/definitions/extract.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/relationships/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/relationships/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/relationships/extract.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/topics/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/topics/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/kg/topics/extract.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/object/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/object/row/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/object/row/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/extract/object/row/extract.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/graph_rag.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/log_level.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/metering/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/metering/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/metering/counter.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/metering/pricelist.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/generic/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/generic/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/generic/prompts.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/generic/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/template/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/template/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/template/prompts.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/prompt/template/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/azure/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/azure/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/azure/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/bedrock/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/bedrock/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/bedrock/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/claude/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/claude/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/claude/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/cohere/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/cohere/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/cohere/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/llamafile/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/llamafile/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/llamafile/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/ollama/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/ollama/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/ollama/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/openai/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/openai/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/openai/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/vertexai/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/vertexai/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/model/text_completion/vertexai/llm.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/objects/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/objects/field.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/objects/object.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/processing/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/processing/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/processing/processing.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/doc_embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/doc_embeddings/milvus/__init__.py (100%) rename {trustgraph/embeddings/hf => trustgraph-core/trustgraph/core/query/doc_embeddings/milvus}/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/doc_embeddings/milvus/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/doc_embeddings/qdrant/__init__.py (100%) rename {trustgraph/query/doc_embeddings/milvus => trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant}/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/doc_embeddings/qdrant/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/graph_embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/graph_embeddings/milvus/__init__.py (100%) rename {trustgraph/query/doc_embeddings/qdrant => trustgraph-core/trustgraph/core/query/graph_embeddings/milvus}/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/graph_embeddings/milvus/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/graph_embeddings/qdrant/__init__.py (100%) rename {trustgraph/query/graph_embeddings/milvus => trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant}/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/graph_embeddings/qdrant/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/triples/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/triples/cassandra/__init__.py (100%) rename {trustgraph/query/graph_embeddings/qdrant => trustgraph-core/trustgraph/core/query/triples/cassandra}/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/triples/cassandra/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/triples/neo4j/__init__.py (100%) rename {trustgraph/query/triples/cassandra => trustgraph-core/trustgraph/core/query/triples/neo4j}/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/query/triples/neo4j/service.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/rdf.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/document_rag/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/document_rag/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/document_rag/rag.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/graph_rag/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/graph_rag/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/retrieval/graph_rag/rag.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/documents.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/graph.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/models.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/object.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/prompt.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/retrieval.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/topic.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/schema/types.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/milvus/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/milvus/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/milvus/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/qdrant/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/qdrant/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/doc_embeddings/qdrant/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/milvus/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/milvus/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/milvus/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/qdrant/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/qdrant/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/graph_embeddings/qdrant/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/object_embeddings/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/object_embeddings/milvus/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/object_embeddings/milvus/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/object_embeddings/milvus/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/rows/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/rows/cassandra/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/rows/cassandra/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/rows/cassandra/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/cassandra/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/cassandra/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/cassandra/write.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/neo4j/__init__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/neo4j/__main__.py (100%) rename {trustgraph => trustgraph-core/trustgraph/core}/storage/triples/neo4j/write.py (100%) create mode 100644 trustgraph-embeddings-hf/scripts/embeddings-hf create mode 100644 trustgraph-embeddings-hf/setup.py create mode 100644 trustgraph-embeddings-hf/trustgraph/embeddings_hf/__init__.py create mode 100644 trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/__init__.py rename {trustgraph => trustgraph-embeddings-hf/trustgraph/embeddings_hf}/embeddings/hf/__init__.py (100%) rename {trustgraph/query/triples/neo4j => trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf}/__main__.py (100%) rename {trustgraph => trustgraph-embeddings-hf/trustgraph/embeddings_hf}/embeddings/hf/hf.py (89%) diff --git a/Containerfile b/Containerfile index 7f80a514..bfcbe5df 100644 --- a/Containerfile +++ b/Containerfile @@ -21,7 +21,7 @@ RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama \ pip3 cache purge # ---------------------------------------------------------------------------- -# Build a container which contains the built Python package. The build +# Build a container which contains the built Python packages. The build # creates a bunch of left-over cruft, a separate phase means this is only # needed to support package build # ---------------------------------------------------------------------------- @@ -30,12 +30,18 @@ FROM ai AS build env PACKAGE_VERSION=0.0.0 -COPY setup.py /root/build/ -COPY README.md /root/build/ -COPY scripts/ /root/build/scripts/ -COPY trustgraph/ root/build/trustgraph/ +COPY trustgraph-core/ /root/build/trustgraph-core/ +COPY README.md /root/build/trustgraph-core/ -RUN (cd /root/build && pip3 wheel -w /root/wheels --no-deps .) +COPY trustgraph-embeddings-hf/ /root/build/trustgraph-embeddings-hf/ +COPY README.md /root/build/trustgraph-embeddings-hf/ + +WORKDIR /root/build/ + +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-core/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-embeddings-hf/ + +RUN ls /root/wheels # ---------------------------------------------------------------------------- # Finally, the target container. Start with base and add the package. @@ -45,7 +51,9 @@ FROM ai COPY --from=build /root/wheels /root/wheels -RUN pip3 install /root/wheels/trustgraph-* && \ +RUN \ + pip3 install /root/wheels/trustgraph_core-* && \ + pip3 install /root/wheels/trustgraph_embeddings_hf-* && \ pip3 cache purge && \ rm -rf /root/wheels diff --git a/Makefile b/Makefile index fb611b11..a238d9dd 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,15 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.5 +VERSION=0.11.6 DOCKER=podman all: container +pkgs: + pip3 wheel --no-deps --wheel-dir dist trustgraph-core/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-embeddings-hf/ + CONTAINER=docker.io/trustgraph/trustgraph-flow container: diff --git a/scripts/chunker-recursive b/scripts/chunker-recursive deleted file mode 100755 index 041a72d4..00000000 --- a/scripts/chunker-recursive +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.chunking.recursive import run - -run() - diff --git a/scripts/chunker-token b/scripts/chunker-token deleted file mode 100755 index 5090defa..00000000 --- a/scripts/chunker-token +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.chunking.token import run - -run() - diff --git a/scripts/de-query-milvus b/scripts/de-query-milvus deleted file mode 100755 index 15e237c3..00000000 --- a/scripts/de-query-milvus +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.query.doc_embeddings.milvus import run - -run() - diff --git a/scripts/de-query-qdrant b/scripts/de-query-qdrant deleted file mode 100644 index 2f0e7d6e..00000000 --- a/scripts/de-query-qdrant +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.query.doc_embeddings.qdrant import run - -run() - diff --git a/scripts/de-write-milvus b/scripts/de-write-milvus deleted file mode 100755 index 644674d0..00000000 --- a/scripts/de-write-milvus +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.doc_embeddings.milvus import run - -run() - diff --git a/scripts/de-write-qdrant b/scripts/de-write-qdrant deleted file mode 100644 index 1550291f..00000000 --- a/scripts/de-write-qdrant +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.doc_embeddings.qdrant import run - -run() - diff --git a/scripts/document-rag b/scripts/document-rag deleted file mode 100755 index e4cf5401..00000000 --- a/scripts/document-rag +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.retrieval.document_rag import run - -run() - diff --git a/scripts/embeddings-hf b/scripts/embeddings-hf deleted file mode 100755 index a7d84d04..00000000 --- a/scripts/embeddings-hf +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.embeddings.hf import run - -run() - diff --git a/scripts/embeddings-ollama b/scripts/embeddings-ollama deleted file mode 100755 index 185eed59..00000000 --- a/scripts/embeddings-ollama +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.embeddings.ollama import run - -run() - diff --git a/scripts/embeddings-vectorize b/scripts/embeddings-vectorize deleted file mode 100755 index 3de1e3a9..00000000 --- a/scripts/embeddings-vectorize +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.embeddings.vectorize import run - -run() - diff --git a/scripts/ge-dump-parquet b/scripts/ge-dump-parquet deleted file mode 100755 index c2b29c51..00000000 --- a/scripts/ge-dump-parquet +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.dump.graph_embeddings.parquet import run - -run() - diff --git a/scripts/ge-query-milvus b/scripts/ge-query-milvus deleted file mode 100755 index 179750cb..00000000 --- a/scripts/ge-query-milvus +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.query.graph_embeddings.milvus import run - -run() - diff --git a/scripts/ge-query-qdrant b/scripts/ge-query-qdrant deleted file mode 100755 index 7039d17a..00000000 --- a/scripts/ge-query-qdrant +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.query.graph_embeddings.qdrant import run - -run() - diff --git a/scripts/ge-write-milvus b/scripts/ge-write-milvus deleted file mode 100755 index 0b18faf8..00000000 --- a/scripts/ge-write-milvus +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.graph_embeddings.milvus import run - -run() - diff --git a/scripts/ge-write-qdrant b/scripts/ge-write-qdrant deleted file mode 100755 index 4276fd2b..00000000 --- a/scripts/ge-write-qdrant +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.graph_embeddings.qdrant import run - -run() - diff --git a/scripts/graph-rag b/scripts/graph-rag deleted file mode 100755 index 6b18b689..00000000 --- a/scripts/graph-rag +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.retrieval.graph_rag import run - -run() - diff --git a/scripts/kg-extract-definitions b/scripts/kg-extract-definitions deleted file mode 100755 index 7f20225b..00000000 --- a/scripts/kg-extract-definitions +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.extract.kg.definitions import run - -run() - diff --git a/scripts/kg-extract-relationships b/scripts/kg-extract-relationships deleted file mode 100755 index f57d7c89..00000000 --- a/scripts/kg-extract-relationships +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.extract.kg.relationships import run - -run() - diff --git a/scripts/kg-extract-topics b/scripts/kg-extract-topics deleted file mode 100755 index e8ff2688..00000000 --- a/scripts/kg-extract-topics +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.extract.kg.topics import run - -run() - diff --git a/scripts/metering b/scripts/metering deleted file mode 100755 index 7f1d0e12..00000000 --- a/scripts/metering +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.metering import run - -run() \ No newline at end of file diff --git a/scripts/object-extract-row b/scripts/object-extract-row deleted file mode 100755 index 04cbcfef..00000000 --- a/scripts/object-extract-row +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.extract.object.row import run - -run() - diff --git a/scripts/oe-write-milvus b/scripts/oe-write-milvus deleted file mode 100755 index c78f2000..00000000 --- a/scripts/oe-write-milvus +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.object_embeddings.milvus import run - -run() - diff --git a/scripts/pdf-decoder b/scripts/pdf-decoder deleted file mode 100755 index 0de6a9be..00000000 --- a/scripts/pdf-decoder +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.decoding.pdf import run - -run() - diff --git a/scripts/prompt-generic b/scripts/prompt-generic deleted file mode 100755 index 61e4d41d..00000000 --- a/scripts/prompt-generic +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.prompt.generic import run - -run() - diff --git a/scripts/prompt-template b/scripts/prompt-template deleted file mode 100755 index 91d94216..00000000 --- a/scripts/prompt-template +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.prompt.template import run - -run() - diff --git a/scripts/rows-write-cassandra b/scripts/rows-write-cassandra deleted file mode 100755 index a1358f5e..00000000 --- a/scripts/rows-write-cassandra +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.rows.cassandra import run - -run() - diff --git a/scripts/run-processing b/scripts/run-processing deleted file mode 100755 index cdfbb871..00000000 --- a/scripts/run-processing +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.processing import run - -run() - diff --git a/scripts/text-completion-azure b/scripts/text-completion-azure deleted file mode 100755 index 965bf956..00000000 --- a/scripts/text-completion-azure +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.azure import run - -run() - diff --git a/scripts/text-completion-bedrock b/scripts/text-completion-bedrock deleted file mode 100755 index 55c26314..00000000 --- a/scripts/text-completion-bedrock +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.bedrock import run - -run() - diff --git a/scripts/text-completion-claude b/scripts/text-completion-claude deleted file mode 100755 index b9175375..00000000 --- a/scripts/text-completion-claude +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.claude import run - -run() - diff --git a/scripts/text-completion-cohere b/scripts/text-completion-cohere deleted file mode 100755 index 42110db6..00000000 --- a/scripts/text-completion-cohere +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.cohere import run - -run() - diff --git a/scripts/text-completion-llamafile b/scripts/text-completion-llamafile deleted file mode 100755 index 38c48ac2..00000000 --- a/scripts/text-completion-llamafile +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.llamafile import run - -run() - diff --git a/scripts/text-completion-ollama b/scripts/text-completion-ollama deleted file mode 100755 index 9479750a..00000000 --- a/scripts/text-completion-ollama +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.ollama import run - -run() - diff --git a/scripts/text-completion-openai b/scripts/text-completion-openai deleted file mode 100755 index 665080c1..00000000 --- a/scripts/text-completion-openai +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.openai import run - -run() - diff --git a/scripts/text-completion-vertexai b/scripts/text-completion-vertexai deleted file mode 100755 index 56458d4a..00000000 --- a/scripts/text-completion-vertexai +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.model.text_completion.vertexai import run - -run() - diff --git a/scripts/triples-dump-parquet b/scripts/triples-dump-parquet deleted file mode 100755 index 78d79196..00000000 --- a/scripts/triples-dump-parquet +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.dump.triples.parquet import run - -run() - diff --git a/scripts/triples-query-cassandra b/scripts/triples-query-cassandra deleted file mode 100755 index d6baf969..00000000 --- a/scripts/triples-query-cassandra +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.query.triples.cassandra import run - -run() - diff --git a/scripts/triples-query-neo4j b/scripts/triples-query-neo4j deleted file mode 100755 index 05d97b10..00000000 --- a/scripts/triples-query-neo4j +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.query.triples.neo4j import run - -run() - diff --git a/scripts/triples-write-cassandra b/scripts/triples-write-cassandra deleted file mode 100755 index 207c3222..00000000 --- a/scripts/triples-write-cassandra +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.triples.cassandra import run - -run() - diff --git a/scripts/triples-write-neo4j b/scripts/triples-write-neo4j deleted file mode 100755 index 58786d44..00000000 --- a/scripts/triples-write-neo4j +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph.storage.triples.neo4j import run - -run() - diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 2bbe3622..0d460be7 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 0915cde5..7b9a0f06 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 5a54f46d..4880fb72 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 5a223f9d..6f8bd93e 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 8b297eef..84316197 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 200268ab..e284a5d1 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 52d1ae39..07389bf7 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index ab4e777f..908f07fb 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index be60ef6c..52ae23ec 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 5de11e63..c5d3df73 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index b445c466..c65a9437 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index c700241d..72fd4eb4 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 87e7182f..2579a94b 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index faa46c3b..60163170 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index ce01469b..4a1aa390 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 935da951..338855b1 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 7bc8948f..bcd33391 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index adde9c7b..e137f97b 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.5 + image: docker.io/trustgraph/trustgraph-flow:0.11.6 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-core/scripts/chunker-recursive b/trustgraph-core/scripts/chunker-recursive new file mode 100755 index 00000000..2e48e401 --- /dev/null +++ b/trustgraph-core/scripts/chunker-recursive @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.chunking.recursive import run + +run() + diff --git a/trustgraph-core/scripts/chunker-token b/trustgraph-core/scripts/chunker-token new file mode 100755 index 00000000..03d7754f --- /dev/null +++ b/trustgraph-core/scripts/chunker-token @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.chunking.token import run + +run() + diff --git a/scripts/concat-parquet b/trustgraph-core/scripts/concat-parquet similarity index 100% rename from scripts/concat-parquet rename to trustgraph-core/scripts/concat-parquet diff --git a/trustgraph-core/scripts/de-query-milvus b/trustgraph-core/scripts/de-query-milvus new file mode 100755 index 00000000..b2bf194c --- /dev/null +++ b/trustgraph-core/scripts/de-query-milvus @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.query.doc_embeddings.milvus import run + +run() + diff --git a/trustgraph-core/scripts/de-query-qdrant b/trustgraph-core/scripts/de-query-qdrant new file mode 100644 index 00000000..27106223 --- /dev/null +++ b/trustgraph-core/scripts/de-query-qdrant @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.query.doc_embeddings.qdrant import run + +run() + diff --git a/trustgraph-core/scripts/de-write-milvus b/trustgraph-core/scripts/de-write-milvus new file mode 100755 index 00000000..f6ca1edc --- /dev/null +++ b/trustgraph-core/scripts/de-write-milvus @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.doc_embeddings.milvus import run + +run() + diff --git a/trustgraph-core/scripts/de-write-qdrant b/trustgraph-core/scripts/de-write-qdrant new file mode 100644 index 00000000..aa4ee088 --- /dev/null +++ b/trustgraph-core/scripts/de-write-qdrant @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.doc_embeddings.qdrant import run + +run() + diff --git a/trustgraph-core/scripts/document-rag b/trustgraph-core/scripts/document-rag new file mode 100755 index 00000000..3afe9bfd --- /dev/null +++ b/trustgraph-core/scripts/document-rag @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.retrieval.document_rag import run + +run() + diff --git a/scripts/dump-parquet b/trustgraph-core/scripts/dump-parquet similarity index 100% rename from scripts/dump-parquet rename to trustgraph-core/scripts/dump-parquet diff --git a/trustgraph-core/scripts/embeddings-ollama b/trustgraph-core/scripts/embeddings-ollama new file mode 100755 index 00000000..9f311c5e --- /dev/null +++ b/trustgraph-core/scripts/embeddings-ollama @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.embeddings.ollama import run + +run() + diff --git a/trustgraph-core/scripts/embeddings-vectorize b/trustgraph-core/scripts/embeddings-vectorize new file mode 100755 index 00000000..aac0603c --- /dev/null +++ b/trustgraph-core/scripts/embeddings-vectorize @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.embeddings.vectorize import run + +run() + diff --git a/trustgraph-core/scripts/ge-dump-parquet b/trustgraph-core/scripts/ge-dump-parquet new file mode 100755 index 00000000..8ffd01a4 --- /dev/null +++ b/trustgraph-core/scripts/ge-dump-parquet @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.dump.graph_embeddings.parquet import run + +run() + diff --git a/trustgraph-core/scripts/ge-query-milvus b/trustgraph-core/scripts/ge-query-milvus new file mode 100755 index 00000000..17be799b --- /dev/null +++ b/trustgraph-core/scripts/ge-query-milvus @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.query.graph_embeddings.milvus import run + +run() + diff --git a/trustgraph-core/scripts/ge-query-qdrant b/trustgraph-core/scripts/ge-query-qdrant new file mode 100755 index 00000000..e91bdaec --- /dev/null +++ b/trustgraph-core/scripts/ge-query-qdrant @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.query.graph_embeddings.qdrant import run + +run() + diff --git a/trustgraph-core/scripts/ge-write-milvus b/trustgraph-core/scripts/ge-write-milvus new file mode 100755 index 00000000..b5cab163 --- /dev/null +++ b/trustgraph-core/scripts/ge-write-milvus @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.graph_embeddings.milvus import run + +run() + diff --git a/trustgraph-core/scripts/ge-write-qdrant b/trustgraph-core/scripts/ge-write-qdrant new file mode 100755 index 00000000..36525622 --- /dev/null +++ b/trustgraph-core/scripts/ge-write-qdrant @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.graph_embeddings.qdrant import run + +run() + diff --git a/trustgraph-core/scripts/graph-rag b/trustgraph-core/scripts/graph-rag new file mode 100755 index 00000000..8b4ad7a3 --- /dev/null +++ b/trustgraph-core/scripts/graph-rag @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.retrieval.graph_rag import run + +run() + diff --git a/scripts/graph-show b/trustgraph-core/scripts/graph-show similarity index 91% rename from scripts/graph-show rename to trustgraph-core/scripts/graph-show index a737c97b..a742d17a 100755 --- a/scripts/graph-show +++ b/trustgraph-core/scripts/graph-show @@ -6,7 +6,7 @@ Connects to the graph query service and dumps all graph edges. import argparse import os -from trustgraph.clients.triples_query_client import TriplesQueryClient +from trustgraph.core.clients.triples_query_client import TriplesQueryClient default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') diff --git a/scripts/graph-to-turtle b/trustgraph-core/scripts/graph-to-turtle similarity index 94% rename from scripts/graph-to-turtle rename to trustgraph-core/scripts/graph-to-turtle index bff03fc6..062f1eaa 100755 --- a/scripts/graph-to-turtle +++ b/trustgraph-core/scripts/graph-to-turtle @@ -6,7 +6,7 @@ Connects to the graph query service and dumps all graph edges. import argparse import os -from trustgraph.clients.triples_query_client import TriplesQueryClient +from trustgraph.core.clients.triples_query_client import TriplesQueryClient import rdflib import io import sys diff --git a/scripts/init-pulsar-manager b/trustgraph-core/scripts/init-pulsar-manager similarity index 100% rename from scripts/init-pulsar-manager rename to trustgraph-core/scripts/init-pulsar-manager diff --git a/trustgraph-core/scripts/kg-extract-definitions b/trustgraph-core/scripts/kg-extract-definitions new file mode 100755 index 00000000..05bfe91f --- /dev/null +++ b/trustgraph-core/scripts/kg-extract-definitions @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.extract.kg.definitions import run + +run() + diff --git a/trustgraph-core/scripts/kg-extract-relationships b/trustgraph-core/scripts/kg-extract-relationships new file mode 100755 index 00000000..f188eb7a --- /dev/null +++ b/trustgraph-core/scripts/kg-extract-relationships @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.extract.kg.relationships import run + +run() + diff --git a/trustgraph-core/scripts/kg-extract-topics b/trustgraph-core/scripts/kg-extract-topics new file mode 100755 index 00000000..239c4686 --- /dev/null +++ b/trustgraph-core/scripts/kg-extract-topics @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.extract.kg.topics import run + +run() + diff --git a/scripts/load-graph-embeddings b/trustgraph-core/scripts/load-graph-embeddings similarity index 94% rename from scripts/load-graph-embeddings rename to trustgraph-core/scripts/load-graph-embeddings index 2dc3c06f..1cb13a8c 100755 --- a/scripts/load-graph-embeddings +++ b/trustgraph-core/scripts/load-graph-embeddings @@ -6,15 +6,15 @@ Loads Graph embeddings into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.schema import GraphEmbeddings, Value -from trustgraph.schema import graph_embeddings_store_queue +from trustgraph.core.schema import GraphEmbeddings, Value +from trustgraph.core.schema import graph_embeddings_store_queue import argparse import os import time import pyarrow as pa import pyarrow.parquet as pq -from trustgraph.log_level import LogLevel +from trustgraph.core.log_level import LogLevel class Loader: diff --git a/scripts/load-pdf b/trustgraph-core/scripts/load-pdf similarity index 95% rename from scripts/load-pdf rename to trustgraph-core/scripts/load-pdf index 0c2aac46..d44d4ea3 100755 --- a/scripts/load-pdf +++ b/trustgraph-core/scripts/load-pdf @@ -6,14 +6,14 @@ Loads a PDF document into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.schema import Document, Source, document_ingest_queue +from trustgraph.core.schema import Document, Source, document_ingest_queue import base64 import hashlib import argparse import os import time -from trustgraph.log_level import LogLevel +from trustgraph.core.log_level import LogLevel class Loader: diff --git a/scripts/load-text b/trustgraph-core/scripts/load-text similarity index 95% rename from scripts/load-text rename to trustgraph-core/scripts/load-text index 3a0e19c3..b4b48e76 100755 --- a/scripts/load-text +++ b/trustgraph-core/scripts/load-text @@ -6,14 +6,14 @@ Loads a text document into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.schema import TextDocument, Source, text_ingest_queue +from trustgraph.core.schema import TextDocument, Source, text_ingest_queue import base64 import hashlib import argparse import os import time -from trustgraph.log_level import LogLevel +from trustgraph.core.log_level import LogLevel class Loader: diff --git a/scripts/load-triples b/trustgraph-core/scripts/load-triples similarity index 95% rename from scripts/load-triples rename to trustgraph-core/scripts/load-triples index e03c065b..b3602621 100755 --- a/scripts/load-triples +++ b/trustgraph-core/scripts/load-triples @@ -6,15 +6,15 @@ Loads Graph embeddings into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.schema import Triple, Value -from trustgraph.schema import triples_store_queue +from trustgraph.core.schema import Triple, Value +from trustgraph.core.schema import triples_store_queue import argparse import os import time import pyarrow as pa import pyarrow.parquet as pq -from trustgraph.log_level import LogLevel +from trustgraph.core.log_level import LogLevel class Loader: diff --git a/trustgraph-core/scripts/metering b/trustgraph-core/scripts/metering new file mode 100755 index 00000000..330ad733 --- /dev/null +++ b/trustgraph-core/scripts/metering @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 + +from trustgraph.core.metering import run + +run() \ No newline at end of file diff --git a/trustgraph-core/scripts/object-extract-row b/trustgraph-core/scripts/object-extract-row new file mode 100755 index 00000000..158ad058 --- /dev/null +++ b/trustgraph-core/scripts/object-extract-row @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.extract.object.row import run + +run() + diff --git a/trustgraph-core/scripts/oe-write-milvus b/trustgraph-core/scripts/oe-write-milvus new file mode 100755 index 00000000..075da66b --- /dev/null +++ b/trustgraph-core/scripts/oe-write-milvus @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.object_embeddings.milvus import run + +run() + diff --git a/trustgraph-core/scripts/pdf-decoder b/trustgraph-core/scripts/pdf-decoder new file mode 100755 index 00000000..b6294eed --- /dev/null +++ b/trustgraph-core/scripts/pdf-decoder @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.decoding.pdf import run + +run() + diff --git a/trustgraph-core/scripts/prompt-generic b/trustgraph-core/scripts/prompt-generic new file mode 100755 index 00000000..c487558a --- /dev/null +++ b/trustgraph-core/scripts/prompt-generic @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.prompt.generic import run + +run() + diff --git a/trustgraph-core/scripts/prompt-template b/trustgraph-core/scripts/prompt-template new file mode 100755 index 00000000..12475ea9 --- /dev/null +++ b/trustgraph-core/scripts/prompt-template @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.prompt.template import run + +run() + diff --git a/scripts/query-document-rag b/trustgraph-core/scripts/query-document-rag similarity index 92% rename from scripts/query-document-rag rename to trustgraph-core/scripts/query-document-rag index 948dcd2f..359809c1 100755 --- a/scripts/query-document-rag +++ b/trustgraph-core/scripts/query-document-rag @@ -6,7 +6,7 @@ Uses the Document RAG service to answer a query import argparse import os -from trustgraph.clients.document_rag_client import DocumentRagClient +from trustgraph.core.clients.document_rag_client import DocumentRagClient default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') diff --git a/scripts/query-graph-rag b/trustgraph-core/scripts/query-graph-rag similarity index 92% rename from scripts/query-graph-rag rename to trustgraph-core/scripts/query-graph-rag index 5250bf15..29f1c916 100755 --- a/scripts/query-graph-rag +++ b/trustgraph-core/scripts/query-graph-rag @@ -6,7 +6,7 @@ Uses the GraphRAG service to answer a query import argparse import os -from trustgraph.clients.graph_rag_client import GraphRagClient +from trustgraph.core.clients.graph_rag_client import GraphRagClient default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') diff --git a/trustgraph-core/scripts/rows-write-cassandra b/trustgraph-core/scripts/rows-write-cassandra new file mode 100755 index 00000000..10a47607 --- /dev/null +++ b/trustgraph-core/scripts/rows-write-cassandra @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.rows.cassandra import run + +run() + diff --git a/trustgraph-core/scripts/run-processing b/trustgraph-core/scripts/run-processing new file mode 100755 index 00000000..145b96d0 --- /dev/null +++ b/trustgraph-core/scripts/run-processing @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.processing import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-azure b/trustgraph-core/scripts/text-completion-azure new file mode 100755 index 00000000..935f1f1f --- /dev/null +++ b/trustgraph-core/scripts/text-completion-azure @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.azure import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-bedrock b/trustgraph-core/scripts/text-completion-bedrock new file mode 100755 index 00000000..2eabfd79 --- /dev/null +++ b/trustgraph-core/scripts/text-completion-bedrock @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.bedrock import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-claude b/trustgraph-core/scripts/text-completion-claude new file mode 100755 index 00000000..59323787 --- /dev/null +++ b/trustgraph-core/scripts/text-completion-claude @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.claude import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-cohere b/trustgraph-core/scripts/text-completion-cohere new file mode 100755 index 00000000..d15a016b --- /dev/null +++ b/trustgraph-core/scripts/text-completion-cohere @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.cohere import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-llamafile b/trustgraph-core/scripts/text-completion-llamafile new file mode 100755 index 00000000..7d36925b --- /dev/null +++ b/trustgraph-core/scripts/text-completion-llamafile @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.llamafile import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-ollama b/trustgraph-core/scripts/text-completion-ollama new file mode 100755 index 00000000..39db9162 --- /dev/null +++ b/trustgraph-core/scripts/text-completion-ollama @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.ollama import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-openai b/trustgraph-core/scripts/text-completion-openai new file mode 100755 index 00000000..87cea3fe --- /dev/null +++ b/trustgraph-core/scripts/text-completion-openai @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.openai import run + +run() + diff --git a/trustgraph-core/scripts/text-completion-vertexai b/trustgraph-core/scripts/text-completion-vertexai new file mode 100755 index 00000000..c68a5f3a --- /dev/null +++ b/trustgraph-core/scripts/text-completion-vertexai @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.model.text_completion.vertexai import run + +run() + diff --git a/scripts/tg-init-pulsar b/trustgraph-core/scripts/tg-init-pulsar similarity index 100% rename from scripts/tg-init-pulsar rename to trustgraph-core/scripts/tg-init-pulsar diff --git a/scripts/tg-processor-state b/trustgraph-core/scripts/tg-processor-state similarity index 100% rename from scripts/tg-processor-state rename to trustgraph-core/scripts/tg-processor-state diff --git a/trustgraph-core/scripts/triples-dump-parquet b/trustgraph-core/scripts/triples-dump-parquet new file mode 100755 index 00000000..2ed0efd9 --- /dev/null +++ b/trustgraph-core/scripts/triples-dump-parquet @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.dump.triples.parquet import run + +run() + diff --git a/trustgraph-core/scripts/triples-query-cassandra b/trustgraph-core/scripts/triples-query-cassandra new file mode 100755 index 00000000..97e25ab3 --- /dev/null +++ b/trustgraph-core/scripts/triples-query-cassandra @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.query.triples.cassandra import run + +run() + diff --git a/trustgraph-core/scripts/triples-query-neo4j b/trustgraph-core/scripts/triples-query-neo4j new file mode 100755 index 00000000..bec03bb6 --- /dev/null +++ b/trustgraph-core/scripts/triples-query-neo4j @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.query.triples.neo4j import run + +run() + diff --git a/trustgraph-core/scripts/triples-write-cassandra b/trustgraph-core/scripts/triples-write-cassandra new file mode 100755 index 00000000..d1b0ddbe --- /dev/null +++ b/trustgraph-core/scripts/triples-write-cassandra @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.triples.cassandra import run + +run() + diff --git a/trustgraph-core/scripts/triples-write-neo4j b/trustgraph-core/scripts/triples-write-neo4j new file mode 100755 index 00000000..11880357 --- /dev/null +++ b/trustgraph-core/scripts/triples-write-neo4j @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.core.storage.triples.neo4j import run + +run() + diff --git a/setup.py b/trustgraph-core/setup.py similarity index 93% rename from setup.py rename to trustgraph-core/setup.py index e3bd392d..c6cd3697 100644 --- a/setup.py +++ b/trustgraph-core/setup.py @@ -4,10 +4,10 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.5" +version = "0.11.6" setuptools.setup( - name="trustgraph", + name="trustgraph-core", version=version, author="trustgraph.ai", author_email="security@trustgraph.ai", @@ -15,7 +15,10 @@ setuptools.setup( long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/trustgraph-ai/trustgraph", - packages=setuptools.find_packages(), + packages=setuptools.find_namespace_packages( + where='./', +# include=['trustgraph.core'] + ), classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", @@ -24,18 +27,13 @@ setuptools.setup( python_requires='>=3.8', download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", install_requires=[ - "torch", "urllib3", - "transformers", - "sentence-transformers", "rdflib", "pymilvus", "langchain", "langchain-core", - "langchain-huggingface", "langchain-text-splitters", "langchain-community", - "huggingface-hub", "requests", "cassandra-driver", "pulsar-client", @@ -63,7 +61,6 @@ setuptools.setup( "scripts/de-write-qdrant", "scripts/document-rag", "scripts/dump-parquet", - "scripts/embeddings-hf", "scripts/embeddings-ollama", "scripts/embeddings-vectorize", "scripts/ge-dump-parquet", diff --git a/trustgraph/__init__.py b/trustgraph-core/trustgraph/core/__init__.py similarity index 100% rename from trustgraph/__init__.py rename to trustgraph-core/trustgraph/core/__init__.py diff --git a/trustgraph/base/__init__.py b/trustgraph-core/trustgraph/core/base/__init__.py similarity index 100% rename from trustgraph/base/__init__.py rename to trustgraph-core/trustgraph/core/base/__init__.py diff --git a/trustgraph/base/base_processor.py b/trustgraph-core/trustgraph/core/base/base_processor.py similarity index 100% rename from trustgraph/base/base_processor.py rename to trustgraph-core/trustgraph/core/base/base_processor.py diff --git a/trustgraph/base/consumer.py b/trustgraph-core/trustgraph/core/base/consumer.py similarity index 100% rename from trustgraph/base/consumer.py rename to trustgraph-core/trustgraph/core/base/consumer.py diff --git a/trustgraph/base/consumer_producer.py b/trustgraph-core/trustgraph/core/base/consumer_producer.py similarity index 100% rename from trustgraph/base/consumer_producer.py rename to trustgraph-core/trustgraph/core/base/consumer_producer.py diff --git a/trustgraph/base/producer.py b/trustgraph-core/trustgraph/core/base/producer.py similarity index 100% rename from trustgraph/base/producer.py rename to trustgraph-core/trustgraph/core/base/producer.py diff --git a/trustgraph/chunking/__init__.py b/trustgraph-core/trustgraph/core/chunking/__init__.py similarity index 100% rename from trustgraph/chunking/__init__.py rename to trustgraph-core/trustgraph/core/chunking/__init__.py diff --git a/trustgraph/chunking/recursive/__init__.py b/trustgraph-core/trustgraph/core/chunking/recursive/__init__.py similarity index 100% rename from trustgraph/chunking/recursive/__init__.py rename to trustgraph-core/trustgraph/core/chunking/recursive/__init__.py diff --git a/trustgraph/chunking/recursive/__main__.py b/trustgraph-core/trustgraph/core/chunking/recursive/__main__.py similarity index 100% rename from trustgraph/chunking/recursive/__main__.py rename to trustgraph-core/trustgraph/core/chunking/recursive/__main__.py diff --git a/trustgraph/chunking/recursive/chunker.py b/trustgraph-core/trustgraph/core/chunking/recursive/chunker.py similarity index 100% rename from trustgraph/chunking/recursive/chunker.py rename to trustgraph-core/trustgraph/core/chunking/recursive/chunker.py diff --git a/trustgraph/chunking/token/__init__.py b/trustgraph-core/trustgraph/core/chunking/token/__init__.py similarity index 100% rename from trustgraph/chunking/token/__init__.py rename to trustgraph-core/trustgraph/core/chunking/token/__init__.py diff --git a/trustgraph/chunking/token/__main__.py b/trustgraph-core/trustgraph/core/chunking/token/__main__.py similarity index 100% rename from trustgraph/chunking/token/__main__.py rename to trustgraph-core/trustgraph/core/chunking/token/__main__.py diff --git a/trustgraph/chunking/token/chunker.py b/trustgraph-core/trustgraph/core/chunking/token/chunker.py similarity index 100% rename from trustgraph/chunking/token/chunker.py rename to trustgraph-core/trustgraph/core/chunking/token/chunker.py diff --git a/trustgraph/clients/__init__.py b/trustgraph-core/trustgraph/core/clients/__init__.py similarity index 100% rename from trustgraph/clients/__init__.py rename to trustgraph-core/trustgraph/core/clients/__init__.py diff --git a/trustgraph/clients/base.py b/trustgraph-core/trustgraph/core/clients/base.py similarity index 100% rename from trustgraph/clients/base.py rename to trustgraph-core/trustgraph/core/clients/base.py diff --git a/trustgraph/clients/document_embeddings_client.py b/trustgraph-core/trustgraph/core/clients/document_embeddings_client.py similarity index 100% rename from trustgraph/clients/document_embeddings_client.py rename to trustgraph-core/trustgraph/core/clients/document_embeddings_client.py diff --git a/trustgraph/clients/document_rag_client.py b/trustgraph-core/trustgraph/core/clients/document_rag_client.py similarity index 100% rename from trustgraph/clients/document_rag_client.py rename to trustgraph-core/trustgraph/core/clients/document_rag_client.py diff --git a/trustgraph/clients/embeddings_client.py b/trustgraph-core/trustgraph/core/clients/embeddings_client.py similarity index 100% rename from trustgraph/clients/embeddings_client.py rename to trustgraph-core/trustgraph/core/clients/embeddings_client.py diff --git a/trustgraph/clients/graph_embeddings_client.py b/trustgraph-core/trustgraph/core/clients/graph_embeddings_client.py similarity index 100% rename from trustgraph/clients/graph_embeddings_client.py rename to trustgraph-core/trustgraph/core/clients/graph_embeddings_client.py diff --git a/trustgraph/clients/graph_rag_client.py b/trustgraph-core/trustgraph/core/clients/graph_rag_client.py similarity index 100% rename from trustgraph/clients/graph_rag_client.py rename to trustgraph-core/trustgraph/core/clients/graph_rag_client.py diff --git a/trustgraph/clients/llm_client.py b/trustgraph-core/trustgraph/core/clients/llm_client.py similarity index 100% rename from trustgraph/clients/llm_client.py rename to trustgraph-core/trustgraph/core/clients/llm_client.py diff --git a/trustgraph/clients/prompt_client.py b/trustgraph-core/trustgraph/core/clients/prompt_client.py similarity index 100% rename from trustgraph/clients/prompt_client.py rename to trustgraph-core/trustgraph/core/clients/prompt_client.py diff --git a/trustgraph/clients/triples_query_client.py b/trustgraph-core/trustgraph/core/clients/triples_query_client.py similarity index 100% rename from trustgraph/clients/triples_query_client.py rename to trustgraph-core/trustgraph/core/clients/triples_query_client.py diff --git a/trustgraph/decoding/__init__.py b/trustgraph-core/trustgraph/core/decoding/__init__.py similarity index 100% rename from trustgraph/decoding/__init__.py rename to trustgraph-core/trustgraph/core/decoding/__init__.py diff --git a/trustgraph/decoding/pdf/__init__.py b/trustgraph-core/trustgraph/core/decoding/pdf/__init__.py similarity index 100% rename from trustgraph/decoding/pdf/__init__.py rename to trustgraph-core/trustgraph/core/decoding/pdf/__init__.py diff --git a/trustgraph/decoding/pdf/__main__.py b/trustgraph-core/trustgraph/core/decoding/pdf/__main__.py similarity index 100% rename from trustgraph/decoding/pdf/__main__.py rename to trustgraph-core/trustgraph/core/decoding/pdf/__main__.py diff --git a/trustgraph/decoding/pdf/pdf_decoder.py b/trustgraph-core/trustgraph/core/decoding/pdf/pdf_decoder.py similarity index 100% rename from trustgraph/decoding/pdf/pdf_decoder.py rename to trustgraph-core/trustgraph/core/decoding/pdf/pdf_decoder.py diff --git a/trustgraph/direct/__init__.py b/trustgraph-core/trustgraph/core/direct/__init__.py similarity index 100% rename from trustgraph/direct/__init__.py rename to trustgraph-core/trustgraph/core/direct/__init__.py diff --git a/trustgraph/direct/cassandra.py b/trustgraph-core/trustgraph/core/direct/cassandra.py similarity index 100% rename from trustgraph/direct/cassandra.py rename to trustgraph-core/trustgraph/core/direct/cassandra.py diff --git a/trustgraph/direct/milvus_doc_embeddings.py b/trustgraph-core/trustgraph/core/direct/milvus_doc_embeddings.py similarity index 100% rename from trustgraph/direct/milvus_doc_embeddings.py rename to trustgraph-core/trustgraph/core/direct/milvus_doc_embeddings.py diff --git a/trustgraph/direct/milvus_graph_embeddings.py b/trustgraph-core/trustgraph/core/direct/milvus_graph_embeddings.py similarity index 100% rename from trustgraph/direct/milvus_graph_embeddings.py rename to trustgraph-core/trustgraph/core/direct/milvus_graph_embeddings.py diff --git a/trustgraph/direct/milvus_object_embeddings.py b/trustgraph-core/trustgraph/core/direct/milvus_object_embeddings.py similarity index 100% rename from trustgraph/direct/milvus_object_embeddings.py rename to trustgraph-core/trustgraph/core/direct/milvus_object_embeddings.py diff --git a/trustgraph/document_rag.py b/trustgraph-core/trustgraph/core/document_rag.py similarity index 100% rename from trustgraph/document_rag.py rename to trustgraph-core/trustgraph/core/document_rag.py diff --git a/trustgraph/dump/__init__.py b/trustgraph-core/trustgraph/core/dump/__init__.py similarity index 100% rename from trustgraph/dump/__init__.py rename to trustgraph-core/trustgraph/core/dump/__init__.py diff --git a/trustgraph/dump/graph_embeddings/__init__.py b/trustgraph-core/trustgraph/core/dump/graph_embeddings/__init__.py similarity index 100% rename from trustgraph/dump/graph_embeddings/__init__.py rename to trustgraph-core/trustgraph/core/dump/graph_embeddings/__init__.py diff --git a/trustgraph/dump/graph_embeddings/parquet/__init__.py b/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__init__.py similarity index 100% rename from trustgraph/dump/graph_embeddings/parquet/__init__.py rename to trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__init__.py diff --git a/trustgraph/dump/graph_embeddings/parquet/__main__.py b/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__main__.py similarity index 100% rename from trustgraph/dump/graph_embeddings/parquet/__main__.py rename to trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__main__.py diff --git a/trustgraph/dump/graph_embeddings/parquet/processor.py b/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/processor.py similarity index 100% rename from trustgraph/dump/graph_embeddings/parquet/processor.py rename to trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/processor.py diff --git a/trustgraph/dump/graph_embeddings/parquet/writer.py b/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/writer.py similarity index 100% rename from trustgraph/dump/graph_embeddings/parquet/writer.py rename to trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/writer.py diff --git a/trustgraph/dump/triples/__init__.py b/trustgraph-core/trustgraph/core/dump/triples/__init__.py similarity index 100% rename from trustgraph/dump/triples/__init__.py rename to trustgraph-core/trustgraph/core/dump/triples/__init__.py diff --git a/trustgraph/dump/triples/parquet/__init__.py b/trustgraph-core/trustgraph/core/dump/triples/parquet/__init__.py similarity index 100% rename from trustgraph/dump/triples/parquet/__init__.py rename to trustgraph-core/trustgraph/core/dump/triples/parquet/__init__.py diff --git a/trustgraph/dump/triples/parquet/__main__.py b/trustgraph-core/trustgraph/core/dump/triples/parquet/__main__.py similarity index 100% rename from trustgraph/dump/triples/parquet/__main__.py rename to trustgraph-core/trustgraph/core/dump/triples/parquet/__main__.py diff --git a/trustgraph/dump/triples/parquet/processor.py b/trustgraph-core/trustgraph/core/dump/triples/parquet/processor.py similarity index 100% rename from trustgraph/dump/triples/parquet/processor.py rename to trustgraph-core/trustgraph/core/dump/triples/parquet/processor.py diff --git a/trustgraph/dump/triples/parquet/writer.py b/trustgraph-core/trustgraph/core/dump/triples/parquet/writer.py similarity index 100% rename from trustgraph/dump/triples/parquet/writer.py rename to trustgraph-core/trustgraph/core/dump/triples/parquet/writer.py diff --git a/trustgraph/embeddings/__init__.py b/trustgraph-core/trustgraph/core/embeddings/__init__.py similarity index 100% rename from trustgraph/embeddings/__init__.py rename to trustgraph-core/trustgraph/core/embeddings/__init__.py diff --git a/trustgraph/embeddings/ollama/__init__.py b/trustgraph-core/trustgraph/core/embeddings/ollama/__init__.py similarity index 100% rename from trustgraph/embeddings/ollama/__init__.py rename to trustgraph-core/trustgraph/core/embeddings/ollama/__init__.py diff --git a/trustgraph/embeddings/ollama/__main__.py b/trustgraph-core/trustgraph/core/embeddings/ollama/__main__.py similarity index 100% rename from trustgraph/embeddings/ollama/__main__.py rename to trustgraph-core/trustgraph/core/embeddings/ollama/__main__.py diff --git a/trustgraph/embeddings/ollama/processor.py b/trustgraph-core/trustgraph/core/embeddings/ollama/processor.py similarity index 100% rename from trustgraph/embeddings/ollama/processor.py rename to trustgraph-core/trustgraph/core/embeddings/ollama/processor.py diff --git a/trustgraph/embeddings/vectorize/__init__.py b/trustgraph-core/trustgraph/core/embeddings/vectorize/__init__.py similarity index 100% rename from trustgraph/embeddings/vectorize/__init__.py rename to trustgraph-core/trustgraph/core/embeddings/vectorize/__init__.py diff --git a/trustgraph/embeddings/vectorize/__main__.py b/trustgraph-core/trustgraph/core/embeddings/vectorize/__main__.py similarity index 100% rename from trustgraph/embeddings/vectorize/__main__.py rename to trustgraph-core/trustgraph/core/embeddings/vectorize/__main__.py diff --git a/trustgraph/embeddings/vectorize/vectorize.py b/trustgraph-core/trustgraph/core/embeddings/vectorize/vectorize.py similarity index 100% rename from trustgraph/embeddings/vectorize/vectorize.py rename to trustgraph-core/trustgraph/core/embeddings/vectorize/vectorize.py diff --git a/trustgraph/exceptions.py b/trustgraph-core/trustgraph/core/exceptions.py similarity index 100% rename from trustgraph/exceptions.py rename to trustgraph-core/trustgraph/core/exceptions.py diff --git a/trustgraph/extract/__init__.py b/trustgraph-core/trustgraph/core/extract/__init__.py similarity index 100% rename from trustgraph/extract/__init__.py rename to trustgraph-core/trustgraph/core/extract/__init__.py diff --git a/trustgraph/extract/kg/__init__.py b/trustgraph-core/trustgraph/core/extract/kg/__init__.py similarity index 100% rename from trustgraph/extract/kg/__init__.py rename to trustgraph-core/trustgraph/core/extract/kg/__init__.py diff --git a/trustgraph/extract/kg/definitions/__init__.py b/trustgraph-core/trustgraph/core/extract/kg/definitions/__init__.py similarity index 100% rename from trustgraph/extract/kg/definitions/__init__.py rename to trustgraph-core/trustgraph/core/extract/kg/definitions/__init__.py diff --git a/trustgraph/extract/kg/definitions/__main__.py b/trustgraph-core/trustgraph/core/extract/kg/definitions/__main__.py similarity index 100% rename from trustgraph/extract/kg/definitions/__main__.py rename to trustgraph-core/trustgraph/core/extract/kg/definitions/__main__.py diff --git a/trustgraph/extract/kg/definitions/extract.py b/trustgraph-core/trustgraph/core/extract/kg/definitions/extract.py similarity index 100% rename from trustgraph/extract/kg/definitions/extract.py rename to trustgraph-core/trustgraph/core/extract/kg/definitions/extract.py diff --git a/trustgraph/extract/kg/relationships/__init__.py b/trustgraph-core/trustgraph/core/extract/kg/relationships/__init__.py similarity index 100% rename from trustgraph/extract/kg/relationships/__init__.py rename to trustgraph-core/trustgraph/core/extract/kg/relationships/__init__.py diff --git a/trustgraph/extract/kg/relationships/__main__.py b/trustgraph-core/trustgraph/core/extract/kg/relationships/__main__.py similarity index 100% rename from trustgraph/extract/kg/relationships/__main__.py rename to trustgraph-core/trustgraph/core/extract/kg/relationships/__main__.py diff --git a/trustgraph/extract/kg/relationships/extract.py b/trustgraph-core/trustgraph/core/extract/kg/relationships/extract.py similarity index 100% rename from trustgraph/extract/kg/relationships/extract.py rename to trustgraph-core/trustgraph/core/extract/kg/relationships/extract.py diff --git a/trustgraph/extract/kg/topics/__init__.py b/trustgraph-core/trustgraph/core/extract/kg/topics/__init__.py similarity index 100% rename from trustgraph/extract/kg/topics/__init__.py rename to trustgraph-core/trustgraph/core/extract/kg/topics/__init__.py diff --git a/trustgraph/extract/kg/topics/__main__.py b/trustgraph-core/trustgraph/core/extract/kg/topics/__main__.py similarity index 100% rename from trustgraph/extract/kg/topics/__main__.py rename to trustgraph-core/trustgraph/core/extract/kg/topics/__main__.py diff --git a/trustgraph/extract/kg/topics/extract.py b/trustgraph-core/trustgraph/core/extract/kg/topics/extract.py similarity index 100% rename from trustgraph/extract/kg/topics/extract.py rename to trustgraph-core/trustgraph/core/extract/kg/topics/extract.py diff --git a/trustgraph/extract/object/__init__.py b/trustgraph-core/trustgraph/core/extract/object/__init__.py similarity index 100% rename from trustgraph/extract/object/__init__.py rename to trustgraph-core/trustgraph/core/extract/object/__init__.py diff --git a/trustgraph/extract/object/row/__init__.py b/trustgraph-core/trustgraph/core/extract/object/row/__init__.py similarity index 100% rename from trustgraph/extract/object/row/__init__.py rename to trustgraph-core/trustgraph/core/extract/object/row/__init__.py diff --git a/trustgraph/extract/object/row/__main__.py b/trustgraph-core/trustgraph/core/extract/object/row/__main__.py similarity index 100% rename from trustgraph/extract/object/row/__main__.py rename to trustgraph-core/trustgraph/core/extract/object/row/__main__.py diff --git a/trustgraph/extract/object/row/extract.py b/trustgraph-core/trustgraph/core/extract/object/row/extract.py similarity index 100% rename from trustgraph/extract/object/row/extract.py rename to trustgraph-core/trustgraph/core/extract/object/row/extract.py diff --git a/trustgraph/graph_rag.py b/trustgraph-core/trustgraph/core/graph_rag.py similarity index 100% rename from trustgraph/graph_rag.py rename to trustgraph-core/trustgraph/core/graph_rag.py diff --git a/trustgraph/log_level.py b/trustgraph-core/trustgraph/core/log_level.py similarity index 100% rename from trustgraph/log_level.py rename to trustgraph-core/trustgraph/core/log_level.py diff --git a/trustgraph/metering/__init__.py b/trustgraph-core/trustgraph/core/metering/__init__.py similarity index 100% rename from trustgraph/metering/__init__.py rename to trustgraph-core/trustgraph/core/metering/__init__.py diff --git a/trustgraph/metering/__main__.py b/trustgraph-core/trustgraph/core/metering/__main__.py similarity index 100% rename from trustgraph/metering/__main__.py rename to trustgraph-core/trustgraph/core/metering/__main__.py diff --git a/trustgraph/metering/counter.py b/trustgraph-core/trustgraph/core/metering/counter.py similarity index 100% rename from trustgraph/metering/counter.py rename to trustgraph-core/trustgraph/core/metering/counter.py diff --git a/trustgraph/metering/pricelist.py b/trustgraph-core/trustgraph/core/metering/pricelist.py similarity index 100% rename from trustgraph/metering/pricelist.py rename to trustgraph-core/trustgraph/core/metering/pricelist.py diff --git a/trustgraph/model/__init__.py b/trustgraph-core/trustgraph/core/model/__init__.py similarity index 100% rename from trustgraph/model/__init__.py rename to trustgraph-core/trustgraph/core/model/__init__.py diff --git a/trustgraph/model/prompt/__init__.py b/trustgraph-core/trustgraph/core/model/prompt/__init__.py similarity index 100% rename from trustgraph/model/prompt/__init__.py rename to trustgraph-core/trustgraph/core/model/prompt/__init__.py diff --git a/trustgraph/model/prompt/generic/__init__.py b/trustgraph-core/trustgraph/core/model/prompt/generic/__init__.py similarity index 100% rename from trustgraph/model/prompt/generic/__init__.py rename to trustgraph-core/trustgraph/core/model/prompt/generic/__init__.py diff --git a/trustgraph/model/prompt/generic/__main__.py b/trustgraph-core/trustgraph/core/model/prompt/generic/__main__.py similarity index 100% rename from trustgraph/model/prompt/generic/__main__.py rename to trustgraph-core/trustgraph/core/model/prompt/generic/__main__.py diff --git a/trustgraph/model/prompt/generic/prompts.py b/trustgraph-core/trustgraph/core/model/prompt/generic/prompts.py similarity index 100% rename from trustgraph/model/prompt/generic/prompts.py rename to trustgraph-core/trustgraph/core/model/prompt/generic/prompts.py diff --git a/trustgraph/model/prompt/generic/service.py b/trustgraph-core/trustgraph/core/model/prompt/generic/service.py similarity index 100% rename from trustgraph/model/prompt/generic/service.py rename to trustgraph-core/trustgraph/core/model/prompt/generic/service.py diff --git a/trustgraph/model/prompt/template/__init__.py b/trustgraph-core/trustgraph/core/model/prompt/template/__init__.py similarity index 100% rename from trustgraph/model/prompt/template/__init__.py rename to trustgraph-core/trustgraph/core/model/prompt/template/__init__.py diff --git a/trustgraph/model/prompt/template/__main__.py b/trustgraph-core/trustgraph/core/model/prompt/template/__main__.py similarity index 100% rename from trustgraph/model/prompt/template/__main__.py rename to trustgraph-core/trustgraph/core/model/prompt/template/__main__.py diff --git a/trustgraph/model/prompt/template/prompts.py b/trustgraph-core/trustgraph/core/model/prompt/template/prompts.py similarity index 100% rename from trustgraph/model/prompt/template/prompts.py rename to trustgraph-core/trustgraph/core/model/prompt/template/prompts.py diff --git a/trustgraph/model/prompt/template/service.py b/trustgraph-core/trustgraph/core/model/prompt/template/service.py similarity index 100% rename from trustgraph/model/prompt/template/service.py rename to trustgraph-core/trustgraph/core/model/prompt/template/service.py diff --git a/trustgraph/model/text_completion/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/__init__.py similarity index 100% rename from trustgraph/model/text_completion/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/__init__.py diff --git a/trustgraph/model/text_completion/azure/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/azure/__init__.py similarity index 100% rename from trustgraph/model/text_completion/azure/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/azure/__init__.py diff --git a/trustgraph/model/text_completion/azure/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/azure/__main__.py similarity index 100% rename from trustgraph/model/text_completion/azure/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/azure/__main__.py diff --git a/trustgraph/model/text_completion/azure/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/azure/llm.py similarity index 100% rename from trustgraph/model/text_completion/azure/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/azure/llm.py diff --git a/trustgraph/model/text_completion/bedrock/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/bedrock/__init__.py similarity index 100% rename from trustgraph/model/text_completion/bedrock/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/bedrock/__init__.py diff --git a/trustgraph/model/text_completion/bedrock/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/bedrock/__main__.py similarity index 100% rename from trustgraph/model/text_completion/bedrock/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/bedrock/__main__.py diff --git a/trustgraph/model/text_completion/bedrock/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/bedrock/llm.py similarity index 100% rename from trustgraph/model/text_completion/bedrock/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/bedrock/llm.py diff --git a/trustgraph/model/text_completion/claude/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/claude/__init__.py similarity index 100% rename from trustgraph/model/text_completion/claude/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/claude/__init__.py diff --git a/trustgraph/model/text_completion/claude/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/claude/__main__.py similarity index 100% rename from trustgraph/model/text_completion/claude/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/claude/__main__.py diff --git a/trustgraph/model/text_completion/claude/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/claude/llm.py similarity index 100% rename from trustgraph/model/text_completion/claude/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/claude/llm.py diff --git a/trustgraph/model/text_completion/cohere/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/cohere/__init__.py similarity index 100% rename from trustgraph/model/text_completion/cohere/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/cohere/__init__.py diff --git a/trustgraph/model/text_completion/cohere/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/cohere/__main__.py similarity index 100% rename from trustgraph/model/text_completion/cohere/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/cohere/__main__.py diff --git a/trustgraph/model/text_completion/cohere/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/cohere/llm.py similarity index 100% rename from trustgraph/model/text_completion/cohere/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/cohere/llm.py diff --git a/trustgraph/model/text_completion/llamafile/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/llamafile/__init__.py similarity index 100% rename from trustgraph/model/text_completion/llamafile/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/llamafile/__init__.py diff --git a/trustgraph/model/text_completion/llamafile/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/llamafile/__main__.py similarity index 100% rename from trustgraph/model/text_completion/llamafile/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/llamafile/__main__.py diff --git a/trustgraph/model/text_completion/llamafile/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/llamafile/llm.py similarity index 100% rename from trustgraph/model/text_completion/llamafile/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/llamafile/llm.py diff --git a/trustgraph/model/text_completion/ollama/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/ollama/__init__.py similarity index 100% rename from trustgraph/model/text_completion/ollama/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/ollama/__init__.py diff --git a/trustgraph/model/text_completion/ollama/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/ollama/__main__.py similarity index 100% rename from trustgraph/model/text_completion/ollama/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/ollama/__main__.py diff --git a/trustgraph/model/text_completion/ollama/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/ollama/llm.py similarity index 100% rename from trustgraph/model/text_completion/ollama/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/ollama/llm.py diff --git a/trustgraph/model/text_completion/openai/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/openai/__init__.py similarity index 100% rename from trustgraph/model/text_completion/openai/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/openai/__init__.py diff --git a/trustgraph/model/text_completion/openai/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/openai/__main__.py similarity index 100% rename from trustgraph/model/text_completion/openai/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/openai/__main__.py diff --git a/trustgraph/model/text_completion/openai/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/openai/llm.py similarity index 100% rename from trustgraph/model/text_completion/openai/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/openai/llm.py diff --git a/trustgraph/model/text_completion/vertexai/__init__.py b/trustgraph-core/trustgraph/core/model/text_completion/vertexai/__init__.py similarity index 100% rename from trustgraph/model/text_completion/vertexai/__init__.py rename to trustgraph-core/trustgraph/core/model/text_completion/vertexai/__init__.py diff --git a/trustgraph/model/text_completion/vertexai/__main__.py b/trustgraph-core/trustgraph/core/model/text_completion/vertexai/__main__.py similarity index 100% rename from trustgraph/model/text_completion/vertexai/__main__.py rename to trustgraph-core/trustgraph/core/model/text_completion/vertexai/__main__.py diff --git a/trustgraph/model/text_completion/vertexai/llm.py b/trustgraph-core/trustgraph/core/model/text_completion/vertexai/llm.py similarity index 100% rename from trustgraph/model/text_completion/vertexai/llm.py rename to trustgraph-core/trustgraph/core/model/text_completion/vertexai/llm.py diff --git a/trustgraph/objects/__init__.py b/trustgraph-core/trustgraph/core/objects/__init__.py similarity index 100% rename from trustgraph/objects/__init__.py rename to trustgraph-core/trustgraph/core/objects/__init__.py diff --git a/trustgraph/objects/field.py b/trustgraph-core/trustgraph/core/objects/field.py similarity index 100% rename from trustgraph/objects/field.py rename to trustgraph-core/trustgraph/core/objects/field.py diff --git a/trustgraph/objects/object.py b/trustgraph-core/trustgraph/core/objects/object.py similarity index 100% rename from trustgraph/objects/object.py rename to trustgraph-core/trustgraph/core/objects/object.py diff --git a/trustgraph/processing/__init__.py b/trustgraph-core/trustgraph/core/processing/__init__.py similarity index 100% rename from trustgraph/processing/__init__.py rename to trustgraph-core/trustgraph/core/processing/__init__.py diff --git a/trustgraph/processing/__main__.py b/trustgraph-core/trustgraph/core/processing/__main__.py similarity index 100% rename from trustgraph/processing/__main__.py rename to trustgraph-core/trustgraph/core/processing/__main__.py diff --git a/trustgraph/processing/processing.py b/trustgraph-core/trustgraph/core/processing/processing.py similarity index 100% rename from trustgraph/processing/processing.py rename to trustgraph-core/trustgraph/core/processing/processing.py diff --git a/trustgraph/query/__init__.py b/trustgraph-core/trustgraph/core/query/__init__.py similarity index 100% rename from trustgraph/query/__init__.py rename to trustgraph-core/trustgraph/core/query/__init__.py diff --git a/trustgraph/query/doc_embeddings/__init__.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/__init__.py similarity index 100% rename from trustgraph/query/doc_embeddings/__init__.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/__init__.py diff --git a/trustgraph/query/doc_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph/query/doc_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__init__.py diff --git a/trustgraph/embeddings/hf/__main__.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph/embeddings/hf/__main__.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__main__.py diff --git a/trustgraph/query/doc_embeddings/milvus/service.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/service.py similarity index 100% rename from trustgraph/query/doc_embeddings/milvus/service.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/service.py diff --git a/trustgraph/query/doc_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph/query/doc_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__init__.py diff --git a/trustgraph/query/doc_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph/query/doc_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__main__.py diff --git a/trustgraph/query/doc_embeddings/qdrant/service.py b/trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/service.py similarity index 100% rename from trustgraph/query/doc_embeddings/qdrant/service.py rename to trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/service.py diff --git a/trustgraph/query/graph_embeddings/__init__.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/__init__.py similarity index 100% rename from trustgraph/query/graph_embeddings/__init__.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/__init__.py diff --git a/trustgraph/query/graph_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph/query/graph_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__init__.py diff --git a/trustgraph/query/doc_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph/query/doc_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__main__.py diff --git a/trustgraph/query/graph_embeddings/milvus/service.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/service.py similarity index 100% rename from trustgraph/query/graph_embeddings/milvus/service.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/service.py diff --git a/trustgraph/query/graph_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph/query/graph_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__init__.py diff --git a/trustgraph/query/graph_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph/query/graph_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__main__.py diff --git a/trustgraph/query/graph_embeddings/qdrant/service.py b/trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/service.py similarity index 100% rename from trustgraph/query/graph_embeddings/qdrant/service.py rename to trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/service.py diff --git a/trustgraph/query/triples/__init__.py b/trustgraph-core/trustgraph/core/query/triples/__init__.py similarity index 100% rename from trustgraph/query/triples/__init__.py rename to trustgraph-core/trustgraph/core/query/triples/__init__.py diff --git a/trustgraph/query/triples/cassandra/__init__.py b/trustgraph-core/trustgraph/core/query/triples/cassandra/__init__.py similarity index 100% rename from trustgraph/query/triples/cassandra/__init__.py rename to trustgraph-core/trustgraph/core/query/triples/cassandra/__init__.py diff --git a/trustgraph/query/graph_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/core/query/triples/cassandra/__main__.py similarity index 100% rename from trustgraph/query/graph_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/core/query/triples/cassandra/__main__.py diff --git a/trustgraph/query/triples/cassandra/service.py b/trustgraph-core/trustgraph/core/query/triples/cassandra/service.py similarity index 100% rename from trustgraph/query/triples/cassandra/service.py rename to trustgraph-core/trustgraph/core/query/triples/cassandra/service.py diff --git a/trustgraph/query/triples/neo4j/__init__.py b/trustgraph-core/trustgraph/core/query/triples/neo4j/__init__.py similarity index 100% rename from trustgraph/query/triples/neo4j/__init__.py rename to trustgraph-core/trustgraph/core/query/triples/neo4j/__init__.py diff --git a/trustgraph/query/triples/cassandra/__main__.py b/trustgraph-core/trustgraph/core/query/triples/neo4j/__main__.py similarity index 100% rename from trustgraph/query/triples/cassandra/__main__.py rename to trustgraph-core/trustgraph/core/query/triples/neo4j/__main__.py diff --git a/trustgraph/query/triples/neo4j/service.py b/trustgraph-core/trustgraph/core/query/triples/neo4j/service.py similarity index 100% rename from trustgraph/query/triples/neo4j/service.py rename to trustgraph-core/trustgraph/core/query/triples/neo4j/service.py diff --git a/trustgraph/rdf.py b/trustgraph-core/trustgraph/core/rdf.py similarity index 100% rename from trustgraph/rdf.py rename to trustgraph-core/trustgraph/core/rdf.py diff --git a/trustgraph/retrieval/__init__.py b/trustgraph-core/trustgraph/core/retrieval/__init__.py similarity index 100% rename from trustgraph/retrieval/__init__.py rename to trustgraph-core/trustgraph/core/retrieval/__init__.py diff --git a/trustgraph/retrieval/document_rag/__init__.py b/trustgraph-core/trustgraph/core/retrieval/document_rag/__init__.py similarity index 100% rename from trustgraph/retrieval/document_rag/__init__.py rename to trustgraph-core/trustgraph/core/retrieval/document_rag/__init__.py diff --git a/trustgraph/retrieval/document_rag/__main__.py b/trustgraph-core/trustgraph/core/retrieval/document_rag/__main__.py similarity index 100% rename from trustgraph/retrieval/document_rag/__main__.py rename to trustgraph-core/trustgraph/core/retrieval/document_rag/__main__.py diff --git a/trustgraph/retrieval/document_rag/rag.py b/trustgraph-core/trustgraph/core/retrieval/document_rag/rag.py similarity index 100% rename from trustgraph/retrieval/document_rag/rag.py rename to trustgraph-core/trustgraph/core/retrieval/document_rag/rag.py diff --git a/trustgraph/retrieval/graph_rag/__init__.py b/trustgraph-core/trustgraph/core/retrieval/graph_rag/__init__.py similarity index 100% rename from trustgraph/retrieval/graph_rag/__init__.py rename to trustgraph-core/trustgraph/core/retrieval/graph_rag/__init__.py diff --git a/trustgraph/retrieval/graph_rag/__main__.py b/trustgraph-core/trustgraph/core/retrieval/graph_rag/__main__.py similarity index 100% rename from trustgraph/retrieval/graph_rag/__main__.py rename to trustgraph-core/trustgraph/core/retrieval/graph_rag/__main__.py diff --git a/trustgraph/retrieval/graph_rag/rag.py b/trustgraph-core/trustgraph/core/retrieval/graph_rag/rag.py similarity index 100% rename from trustgraph/retrieval/graph_rag/rag.py rename to trustgraph-core/trustgraph/core/retrieval/graph_rag/rag.py diff --git a/trustgraph/schema/__init__.py b/trustgraph-core/trustgraph/core/schema/__init__.py similarity index 100% rename from trustgraph/schema/__init__.py rename to trustgraph-core/trustgraph/core/schema/__init__.py diff --git a/trustgraph/schema/documents.py b/trustgraph-core/trustgraph/core/schema/documents.py similarity index 100% rename from trustgraph/schema/documents.py rename to trustgraph-core/trustgraph/core/schema/documents.py diff --git a/trustgraph/schema/graph.py b/trustgraph-core/trustgraph/core/schema/graph.py similarity index 100% rename from trustgraph/schema/graph.py rename to trustgraph-core/trustgraph/core/schema/graph.py diff --git a/trustgraph/schema/models.py b/trustgraph-core/trustgraph/core/schema/models.py similarity index 100% rename from trustgraph/schema/models.py rename to trustgraph-core/trustgraph/core/schema/models.py diff --git a/trustgraph/schema/object.py b/trustgraph-core/trustgraph/core/schema/object.py similarity index 100% rename from trustgraph/schema/object.py rename to trustgraph-core/trustgraph/core/schema/object.py diff --git a/trustgraph/schema/prompt.py b/trustgraph-core/trustgraph/core/schema/prompt.py similarity index 100% rename from trustgraph/schema/prompt.py rename to trustgraph-core/trustgraph/core/schema/prompt.py diff --git a/trustgraph/schema/retrieval.py b/trustgraph-core/trustgraph/core/schema/retrieval.py similarity index 100% rename from trustgraph/schema/retrieval.py rename to trustgraph-core/trustgraph/core/schema/retrieval.py diff --git a/trustgraph/schema/topic.py b/trustgraph-core/trustgraph/core/schema/topic.py similarity index 100% rename from trustgraph/schema/topic.py rename to trustgraph-core/trustgraph/core/schema/topic.py diff --git a/trustgraph/schema/types.py b/trustgraph-core/trustgraph/core/schema/types.py similarity index 100% rename from trustgraph/schema/types.py rename to trustgraph-core/trustgraph/core/schema/types.py diff --git a/trustgraph/storage/__init__.py b/trustgraph-core/trustgraph/core/storage/__init__.py similarity index 100% rename from trustgraph/storage/__init__.py rename to trustgraph-core/trustgraph/core/storage/__init__.py diff --git a/trustgraph/storage/doc_embeddings/__init__.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/__init__.py similarity index 100% rename from trustgraph/storage/doc_embeddings/__init__.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/__init__.py diff --git a/trustgraph/storage/doc_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph/storage/doc_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__init__.py diff --git a/trustgraph/storage/doc_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph/storage/doc_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__main__.py diff --git a/trustgraph/storage/doc_embeddings/milvus/write.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/write.py similarity index 100% rename from trustgraph/storage/doc_embeddings/milvus/write.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/write.py diff --git a/trustgraph/storage/doc_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph/storage/doc_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__init__.py diff --git a/trustgraph/storage/doc_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph/storage/doc_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__main__.py diff --git a/trustgraph/storage/doc_embeddings/qdrant/write.py b/trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/write.py similarity index 100% rename from trustgraph/storage/doc_embeddings/qdrant/write.py rename to trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/write.py diff --git a/trustgraph/storage/graph_embeddings/__init__.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/__init__.py similarity index 100% rename from trustgraph/storage/graph_embeddings/__init__.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/__init__.py diff --git a/trustgraph/storage/graph_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph/storage/graph_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__init__.py diff --git a/trustgraph/storage/graph_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph/storage/graph_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__main__.py diff --git a/trustgraph/storage/graph_embeddings/milvus/write.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/write.py similarity index 100% rename from trustgraph/storage/graph_embeddings/milvus/write.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/write.py diff --git a/trustgraph/storage/graph_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph/storage/graph_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__init__.py diff --git a/trustgraph/storage/graph_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph/storage/graph_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__main__.py diff --git a/trustgraph/storage/graph_embeddings/qdrant/write.py b/trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/write.py similarity index 100% rename from trustgraph/storage/graph_embeddings/qdrant/write.py rename to trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/write.py diff --git a/trustgraph/storage/object_embeddings/__init__.py b/trustgraph-core/trustgraph/core/storage/object_embeddings/__init__.py similarity index 100% rename from trustgraph/storage/object_embeddings/__init__.py rename to trustgraph-core/trustgraph/core/storage/object_embeddings/__init__.py diff --git a/trustgraph/storage/object_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph/storage/object_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__init__.py diff --git a/trustgraph/storage/object_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph/storage/object_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__main__.py diff --git a/trustgraph/storage/object_embeddings/milvus/write.py b/trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/write.py similarity index 100% rename from trustgraph/storage/object_embeddings/milvus/write.py rename to trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/write.py diff --git a/trustgraph/storage/rows/__init__.py b/trustgraph-core/trustgraph/core/storage/rows/__init__.py similarity index 100% rename from trustgraph/storage/rows/__init__.py rename to trustgraph-core/trustgraph/core/storage/rows/__init__.py diff --git a/trustgraph/storage/rows/cassandra/__init__.py b/trustgraph-core/trustgraph/core/storage/rows/cassandra/__init__.py similarity index 100% rename from trustgraph/storage/rows/cassandra/__init__.py rename to trustgraph-core/trustgraph/core/storage/rows/cassandra/__init__.py diff --git a/trustgraph/storage/rows/cassandra/__main__.py b/trustgraph-core/trustgraph/core/storage/rows/cassandra/__main__.py similarity index 100% rename from trustgraph/storage/rows/cassandra/__main__.py rename to trustgraph-core/trustgraph/core/storage/rows/cassandra/__main__.py diff --git a/trustgraph/storage/rows/cassandra/write.py b/trustgraph-core/trustgraph/core/storage/rows/cassandra/write.py similarity index 100% rename from trustgraph/storage/rows/cassandra/write.py rename to trustgraph-core/trustgraph/core/storage/rows/cassandra/write.py diff --git a/trustgraph/storage/triples/__init__.py b/trustgraph-core/trustgraph/core/storage/triples/__init__.py similarity index 100% rename from trustgraph/storage/triples/__init__.py rename to trustgraph-core/trustgraph/core/storage/triples/__init__.py diff --git a/trustgraph/storage/triples/cassandra/__init__.py b/trustgraph-core/trustgraph/core/storage/triples/cassandra/__init__.py similarity index 100% rename from trustgraph/storage/triples/cassandra/__init__.py rename to trustgraph-core/trustgraph/core/storage/triples/cassandra/__init__.py diff --git a/trustgraph/storage/triples/cassandra/__main__.py b/trustgraph-core/trustgraph/core/storage/triples/cassandra/__main__.py similarity index 100% rename from trustgraph/storage/triples/cassandra/__main__.py rename to trustgraph-core/trustgraph/core/storage/triples/cassandra/__main__.py diff --git a/trustgraph/storage/triples/cassandra/write.py b/trustgraph-core/trustgraph/core/storage/triples/cassandra/write.py similarity index 100% rename from trustgraph/storage/triples/cassandra/write.py rename to trustgraph-core/trustgraph/core/storage/triples/cassandra/write.py diff --git a/trustgraph/storage/triples/neo4j/__init__.py b/trustgraph-core/trustgraph/core/storage/triples/neo4j/__init__.py similarity index 100% rename from trustgraph/storage/triples/neo4j/__init__.py rename to trustgraph-core/trustgraph/core/storage/triples/neo4j/__init__.py diff --git a/trustgraph/storage/triples/neo4j/__main__.py b/trustgraph-core/trustgraph/core/storage/triples/neo4j/__main__.py similarity index 100% rename from trustgraph/storage/triples/neo4j/__main__.py rename to trustgraph-core/trustgraph/core/storage/triples/neo4j/__main__.py diff --git a/trustgraph/storage/triples/neo4j/write.py b/trustgraph-core/trustgraph/core/storage/triples/neo4j/write.py similarity index 100% rename from trustgraph/storage/triples/neo4j/write.py rename to trustgraph-core/trustgraph/core/storage/triples/neo4j/write.py diff --git a/trustgraph-embeddings-hf/scripts/embeddings-hf b/trustgraph-embeddings-hf/scripts/embeddings-hf new file mode 100644 index 00000000..09bb5d2f --- /dev/null +++ b/trustgraph-embeddings-hf/scripts/embeddings-hf @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +from trustgraph.embeddings_hf.embeddings.hf import run + +run() + diff --git a/trustgraph-embeddings-hf/setup.py b/trustgraph-embeddings-hf/setup.py new file mode 100644 index 00000000..82683e18 --- /dev/null +++ b/trustgraph-embeddings-hf/setup.py @@ -0,0 +1,47 @@ +import setuptools +import os + +with open("README.md", "r") as fh: + long_description = fh.read() + +version = "0.11.6" + +setuptools.setup( + name="trustgraph-embeddings-hf", + version=version, + author="trustgraph.ai", + author_email="security@trustgraph.ai", + description="HuggingFace embeddings support for TrustGraph.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/trustgraph-ai/trustgraph", + packages=setuptools.find_namespace_packages( + where='./', +# include=['trustgraph.core'] + ), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.8', + download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", + install_requires=[ + "trustgraph-core", + "torch", + "urllib3", + "transformers", + "sentence-transformers", + "langchain", + "langchain-core", + "langchain-huggingface", + "langchain-community", + "huggingface-hub", + "pulsar-client", + "pyyaml", + "prometheus-client", + ], + scripts=[ + "scripts/embeddings-hf", + ] +) diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/__init__.py b/trustgraph-embeddings-hf/trustgraph/embeddings_hf/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/__init__.py b/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/trustgraph/embeddings/hf/__init__.py b/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__init__.py similarity index 100% rename from trustgraph/embeddings/hf/__init__.py rename to trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__init__.py diff --git a/trustgraph/query/triples/neo4j/__main__.py b/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__main__.py similarity index 100% rename from trustgraph/query/triples/neo4j/__main__.py rename to trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__main__.py diff --git a/trustgraph/embeddings/hf/hf.py b/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/hf.py similarity index 89% rename from trustgraph/embeddings/hf/hf.py rename to trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/hf.py index 8b9dcaab..aaa45aa5 100755 --- a/trustgraph/embeddings/hf/hf.py +++ b/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/hf.py @@ -6,10 +6,11 @@ Input is text, output is embeddings vector. from langchain_huggingface import HuggingFaceEmbeddings -from ... schema import EmbeddingsRequest, EmbeddingsResponse, Error -from ... schema import embeddings_request_queue, embeddings_response_queue -from ... log_level import LogLevel -from ... base import ConsumerProducer +from trustgraph.core.schema import EmbeddingsRequest, EmbeddingsResponse, Error +from trustgraph.core.schema import embeddings_request_queue +from trustgraph.core.schema import embeddings_response_queue +from trustgraph.core.log_level import LogLevel +from trustgraph.core.base import ConsumerProducer module = ".".join(__name__.split(".")[1:-1]) From cdace22ee488fe74d869770ce14e5e31b91ef642 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 16:16:20 +0100 Subject: [PATCH 25/44] Feature/simpler subpackages (#81) * Back to simpler directory structure * Bump version, update templates --- Makefile | 2 +- tg-launch-azure-cassandra.yaml | 42 +++++++++---------- tg-launch-azure-neo4j.yaml | 42 +++++++++---------- tg-launch-bedrock-cassandra.yaml | 42 +++++++++---------- tg-launch-bedrock-neo4j.yaml | 42 +++++++++---------- tg-launch-claude-cassandra.yaml | 42 +++++++++---------- tg-launch-claude-neo4j.yaml | 42 +++++++++---------- tg-launch-cohere-cassandra.yaml | 42 +++++++++---------- tg-launch-cohere-neo4j.yaml | 42 +++++++++---------- tg-launch-llamafile-cassandra.yaml | 42 +++++++++---------- tg-launch-llamafile-neo4j.yaml | 42 +++++++++---------- tg-launch-ollama-cassandra.yaml | 42 +++++++++---------- tg-launch-ollama-neo4j.yaml | 42 +++++++++---------- tg-launch-openai-cassandra.yaml | 42 +++++++++---------- tg-launch-openai-neo4j.yaml | 42 +++++++++---------- tg-launch-vertexai-cassandra.yaml | 42 +++++++++---------- tg-launch-vertexai-neo4j.yaml | 42 +++++++++---------- tg-storage-cassandra.yaml | 14 +++---- tg-storage-neo4j.yaml | 14 +++---- trustgraph-core/scripts/chunker-recursive | 2 +- trustgraph-core/scripts/chunker-token | 2 +- trustgraph-core/scripts/de-query-milvus | 2 +- trustgraph-core/scripts/de-query-qdrant | 2 +- trustgraph-core/scripts/de-write-milvus | 2 +- trustgraph-core/scripts/de-write-qdrant | 2 +- trustgraph-core/scripts/document-rag | 2 +- trustgraph-core/scripts/embeddings-ollama | 2 +- trustgraph-core/scripts/embeddings-vectorize | 2 +- trustgraph-core/scripts/ge-dump-parquet | 2 +- trustgraph-core/scripts/ge-query-milvus | 2 +- trustgraph-core/scripts/ge-query-qdrant | 2 +- trustgraph-core/scripts/ge-write-milvus | 2 +- trustgraph-core/scripts/ge-write-qdrant | 2 +- trustgraph-core/scripts/graph-rag | 2 +- trustgraph-core/scripts/graph-show | 2 +- trustgraph-core/scripts/graph-to-turtle | 2 +- .../scripts/kg-extract-definitions | 2 +- .../scripts/kg-extract-relationships | 2 +- trustgraph-core/scripts/kg-extract-topics | 2 +- trustgraph-core/scripts/load-graph-embeddings | 6 +-- trustgraph-core/scripts/load-pdf | 4 +- trustgraph-core/scripts/load-text | 4 +- trustgraph-core/scripts/load-triples | 6 +-- trustgraph-core/scripts/metering | 2 +- trustgraph-core/scripts/object-extract-row | 2 +- trustgraph-core/scripts/oe-write-milvus | 2 +- trustgraph-core/scripts/pdf-decoder | 2 +- trustgraph-core/scripts/prompt-generic | 2 +- trustgraph-core/scripts/prompt-template | 2 +- trustgraph-core/scripts/query-document-rag | 2 +- trustgraph-core/scripts/query-graph-rag | 2 +- trustgraph-core/scripts/rows-write-cassandra | 2 +- trustgraph-core/scripts/run-processing | 2 +- trustgraph-core/scripts/text-completion-azure | 2 +- .../scripts/text-completion-bedrock | 2 +- .../scripts/text-completion-claude | 2 +- .../scripts/text-completion-cohere | 2 +- .../scripts/text-completion-llamafile | 2 +- .../scripts/text-completion-ollama | 2 +- .../scripts/text-completion-openai | 2 +- .../scripts/text-completion-vertexai | 2 +- trustgraph-core/scripts/triples-dump-parquet | 2 +- .../scripts/triples-query-cassandra | 2 +- trustgraph-core/scripts/triples-query-neo4j | 2 +- .../scripts/triples-write-cassandra | 2 +- trustgraph-core/scripts/triples-write-neo4j | 2 +- trustgraph-core/setup.py | 2 +- .../trustgraph/{core => }/__init__.py | 0 .../trustgraph/{core => }/base/__init__.py | 0 .../{core => }/base/base_processor.py | 0 .../trustgraph/{core => }/base/consumer.py | 0 .../{core => }/base/consumer_producer.py | 0 .../trustgraph/{core => }/base/producer.py | 0 .../{core => }/chunking/__init__.py | 0 .../{core => }/chunking/recursive/__init__.py | 0 .../{core => }/chunking/recursive/__main__.py | 0 .../{core => }/chunking/recursive/chunker.py | 0 .../{core => }/chunking/token/__init__.py | 0 .../{core => }/chunking/token/__main__.py | 0 .../{core => }/chunking/token/chunker.py | 0 .../trustgraph/{core => }/clients/__init__.py | 0 .../trustgraph/{core => }/clients/base.py | 0 .../clients/document_embeddings_client.py | 0 .../{core => }/clients/document_rag_client.py | 0 .../{core => }/clients/embeddings_client.py | 0 .../clients/graph_embeddings_client.py | 0 .../{core => }/clients/graph_rag_client.py | 0 .../{core => }/clients/llm_client.py | 0 .../{core => }/clients/prompt_client.py | 0 .../clients/triples_query_client.py | 0 .../{core => }/decoding/__init__.py | 0 .../{core => }/decoding/pdf/__init__.py | 0 .../{core => }/decoding/pdf/__main__.py | 0 .../{core => }/decoding/pdf/pdf_decoder.py | 0 .../trustgraph/{core => }/direct/__init__.py | 0 .../trustgraph/{core => }/direct/cassandra.py | 0 .../direct/milvus_doc_embeddings.py | 0 .../direct/milvus_graph_embeddings.py | 0 .../direct/milvus_object_embeddings.py | 0 .../trustgraph/{core => }/document_rag.py | 0 .../trustgraph/{core => }/dump/__init__.py | 0 .../dump/graph_embeddings/__init__.py | 0 .../dump/graph_embeddings/parquet/__init__.py | 0 .../dump/graph_embeddings/parquet/__main__.py | 0 .../graph_embeddings/parquet/processor.py | 0 .../dump/graph_embeddings/parquet/writer.py | 0 .../{core => }/dump/triples/__init__.py | 0 .../dump/triples/parquet/__init__.py | 0 .../dump/triples/parquet/__main__.py | 0 .../dump/triples/parquet/processor.py | 0 .../{core => }/dump/triples/parquet/writer.py | 0 .../{core => }/embeddings/__init__.py | 0 .../{core => }/embeddings/ollama/__init__.py | 0 .../{core => }/embeddings/ollama/__main__.py | 0 .../{core => }/embeddings/ollama/processor.py | 0 .../embeddings/vectorize/__init__.py | 0 .../embeddings/vectorize/__main__.py | 0 .../embeddings/vectorize/vectorize.py | 0 .../trustgraph/{core => }/exceptions.py | 0 .../trustgraph/{core => }/extract/__init__.py | 0 .../{core => }/extract/kg/__init__.py | 0 .../extract/kg/definitions/__init__.py | 0 .../extract/kg/definitions/__main__.py | 0 .../extract/kg/definitions/extract.py | 0 .../extract/kg/relationships/__init__.py | 0 .../extract/kg/relationships/__main__.py | 0 .../extract/kg/relationships/extract.py | 0 .../{core => }/extract/kg/topics/__init__.py | 0 .../{core => }/extract/kg/topics/__main__.py | 0 .../{core => }/extract/kg/topics/extract.py | 0 .../{core => }/extract/object/__init__.py | 0 .../{core => }/extract/object/row/__init__.py | 0 .../{core => }/extract/object/row/__main__.py | 0 .../{core => }/extract/object/row/extract.py | 0 .../trustgraph/{core => }/graph_rag.py | 0 .../trustgraph/{core => }/log_level.py | 0 .../{core => }/metering/__init__.py | 0 .../{core => }/metering/__main__.py | 0 .../trustgraph/{core => }/metering/counter.py | 0 .../{core => }/metering/pricelist.py | 0 .../trustgraph/{core => }/model/__init__.py | 0 .../{core => }/model/prompt/__init__.py | 0 .../model/prompt/generic/__init__.py | 0 .../model/prompt/generic/__main__.py | 0 .../model/prompt/generic/prompts.py | 0 .../model/prompt/generic/service.py | 0 .../model/prompt/template/__init__.py | 0 .../model/prompt/template/__main__.py | 0 .../model/prompt/template/prompts.py | 0 .../model/prompt/template/service.py | 0 .../model/text_completion/__init__.py | 0 .../model/text_completion/azure/__init__.py | 0 .../model/text_completion/azure/__main__.py | 0 .../model/text_completion/azure/llm.py | 0 .../model/text_completion/bedrock/__init__.py | 0 .../model/text_completion/bedrock/__main__.py | 0 .../model/text_completion/bedrock/llm.py | 0 .../model/text_completion/claude/__init__.py | 0 .../model/text_completion/claude/__main__.py | 0 .../model/text_completion/claude/llm.py | 0 .../model/text_completion/cohere/__init__.py | 0 .../model/text_completion/cohere/__main__.py | 0 .../model/text_completion/cohere/llm.py | 0 .../text_completion/llamafile/__init__.py | 0 .../text_completion/llamafile/__main__.py | 0 .../model/text_completion/llamafile/llm.py | 0 .../model/text_completion/ollama/__init__.py | 0 .../model/text_completion/ollama/__main__.py | 0 .../model/text_completion/ollama/llm.py | 0 .../model/text_completion/openai/__init__.py | 0 .../model/text_completion/openai/__main__.py | 0 .../model/text_completion/openai/llm.py | 0 .../text_completion/vertexai/__init__.py | 0 .../text_completion/vertexai/__main__.py | 0 .../model/text_completion/vertexai/llm.py | 0 .../trustgraph/{core => }/objects/__init__.py | 0 .../trustgraph/{core => }/objects/field.py | 0 .../trustgraph/{core => }/objects/object.py | 0 .../{core => }/processing/__init__.py | 0 .../{core => }/processing/__main__.py | 0 .../{core => }/processing/processing.py | 0 .../trustgraph/{core => }/query/__init__.py | 0 .../query/doc_embeddings/__init__.py | 0 .../query/doc_embeddings/milvus/__init__.py | 0 .../query/doc_embeddings/milvus/__main__.py | 0 .../query/doc_embeddings/milvus/service.py | 0 .../query/doc_embeddings/qdrant/__init__.py | 0 .../query/doc_embeddings/qdrant/__main__.py | 0 .../query/doc_embeddings/qdrant/service.py | 0 .../query/graph_embeddings/__init__.py | 0 .../query/graph_embeddings/milvus/__init__.py | 0 .../query/graph_embeddings/milvus/__main__.py | 0 .../query/graph_embeddings/milvus/service.py | 0 .../query/graph_embeddings/qdrant/__init__.py | 0 .../query/graph_embeddings/qdrant/__main__.py | 0 .../query/graph_embeddings/qdrant/service.py | 0 .../{core => }/query/triples/__init__.py | 0 .../query/triples/cassandra/__init__.py | 0 .../query/triples/cassandra/__main__.py | 0 .../query/triples/cassandra/service.py | 0 .../query/triples/neo4j/__init__.py | 0 .../query/triples/neo4j/__main__.py | 0 .../{core => }/query/triples/neo4j/service.py | 0 trustgraph-core/trustgraph/{core => }/rdf.py | 0 .../{core => }/retrieval/__init__.py | 0 .../retrieval/document_rag/__init__.py | 0 .../retrieval/document_rag/__main__.py | 0 .../{core => }/retrieval/document_rag/rag.py | 0 .../retrieval/graph_rag/__init__.py | 0 .../retrieval/graph_rag/__main__.py | 0 .../{core => }/retrieval/graph_rag/rag.py | 0 .../trustgraph/{core => }/schema/__init__.py | 0 .../trustgraph/{core => }/schema/documents.py | 0 .../trustgraph/{core => }/schema/graph.py | 0 .../trustgraph/{core => }/schema/models.py | 0 .../trustgraph/{core => }/schema/object.py | 0 .../trustgraph/{core => }/schema/prompt.py | 0 .../trustgraph/{core => }/schema/retrieval.py | 0 .../trustgraph/{core => }/schema/topic.py | 0 .../trustgraph/{core => }/schema/types.py | 0 .../trustgraph/{core => }/storage/__init__.py | 0 .../storage/doc_embeddings/__init__.py | 0 .../storage/doc_embeddings/milvus/__init__.py | 0 .../storage/doc_embeddings/milvus/__main__.py | 0 .../storage/doc_embeddings/milvus/write.py | 0 .../storage/doc_embeddings/qdrant/__init__.py | 0 .../storage/doc_embeddings/qdrant/__main__.py | 0 .../storage/doc_embeddings/qdrant/write.py | 0 .../storage/graph_embeddings/__init__.py | 0 .../graph_embeddings/milvus/__init__.py | 0 .../graph_embeddings/milvus/__main__.py | 0 .../storage/graph_embeddings/milvus/write.py | 0 .../graph_embeddings/qdrant/__init__.py | 0 .../graph_embeddings/qdrant/__main__.py | 0 .../storage/graph_embeddings/qdrant/write.py | 0 .../storage/object_embeddings/__init__.py | 0 .../object_embeddings/milvus/__init__.py | 0 .../object_embeddings/milvus/__main__.py | 0 .../storage/object_embeddings/milvus/write.py | 0 .../{core => }/storage/rows/__init__.py | 0 .../storage/rows/cassandra/__init__.py | 0 .../storage/rows/cassandra/__main__.py | 0 .../storage/rows/cassandra/write.py | 0 .../{core => }/storage/triples/__init__.py | 0 .../storage/triples/cassandra/__init__.py | 0 .../storage/triples/cassandra/__main__.py | 0 .../storage/triples/cassandra/write.py | 0 .../storage/triples/neo4j/__init__.py | 0 .../storage/triples/neo4j/__main__.py | 0 .../{core => }/storage/triples/neo4j/write.py | 0 .../scripts/embeddings-hf | 2 +- .../{embeddings_hf => }/__init__.py | 0 .../embeddings/__init__.py | 0 .../embeddings/hf/__init__.py | 0 .../embeddings/hf/__main__.py | 0 .../{embeddings_hf => }/embeddings/hf/hf.py | 10 ++--- 256 files changed, 411 insertions(+), 411 deletions(-) mode change 100644 => 100755 trustgraph-core/scripts/de-query-qdrant mode change 100644 => 100755 trustgraph-core/scripts/de-write-qdrant rename trustgraph-core/trustgraph/{core => }/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/base/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/base/base_processor.py (100%) rename trustgraph-core/trustgraph/{core => }/base/consumer.py (100%) rename trustgraph-core/trustgraph/{core => }/base/consumer_producer.py (100%) rename trustgraph-core/trustgraph/{core => }/base/producer.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/recursive/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/recursive/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/recursive/chunker.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/token/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/token/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/chunking/token/chunker.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/base.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/document_embeddings_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/document_rag_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/embeddings_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/graph_embeddings_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/graph_rag_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/llm_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/prompt_client.py (100%) rename trustgraph-core/trustgraph/{core => }/clients/triples_query_client.py (100%) rename trustgraph-core/trustgraph/{core => }/decoding/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/decoding/pdf/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/decoding/pdf/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/decoding/pdf/pdf_decoder.py (100%) rename trustgraph-core/trustgraph/{core => }/direct/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/direct/cassandra.py (100%) rename trustgraph-core/trustgraph/{core => }/direct/milvus_doc_embeddings.py (100%) rename trustgraph-core/trustgraph/{core => }/direct/milvus_graph_embeddings.py (100%) rename trustgraph-core/trustgraph/{core => }/direct/milvus_object_embeddings.py (100%) rename trustgraph-core/trustgraph/{core => }/document_rag.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/graph_embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/graph_embeddings/parquet/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/graph_embeddings/parquet/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/graph_embeddings/parquet/processor.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/graph_embeddings/parquet/writer.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/triples/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/triples/parquet/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/triples/parquet/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/triples/parquet/processor.py (100%) rename trustgraph-core/trustgraph/{core => }/dump/triples/parquet/writer.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/ollama/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/ollama/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/ollama/processor.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/vectorize/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/vectorize/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/embeddings/vectorize/vectorize.py (100%) rename trustgraph-core/trustgraph/{core => }/exceptions.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/definitions/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/definitions/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/definitions/extract.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/relationships/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/relationships/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/relationships/extract.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/topics/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/topics/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/kg/topics/extract.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/object/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/object/row/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/object/row/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/extract/object/row/extract.py (100%) rename trustgraph-core/trustgraph/{core => }/graph_rag.py (100%) rename trustgraph-core/trustgraph/{core => }/log_level.py (100%) rename trustgraph-core/trustgraph/{core => }/metering/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/metering/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/metering/counter.py (100%) rename trustgraph-core/trustgraph/{core => }/metering/pricelist.py (100%) rename trustgraph-core/trustgraph/{core => }/model/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/generic/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/generic/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/generic/prompts.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/generic/service.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/template/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/template/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/template/prompts.py (100%) rename trustgraph-core/trustgraph/{core => }/model/prompt/template/service.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/azure/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/azure/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/azure/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/bedrock/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/bedrock/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/bedrock/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/claude/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/claude/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/claude/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/cohere/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/cohere/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/cohere/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/llamafile/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/llamafile/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/llamafile/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/ollama/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/ollama/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/ollama/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/openai/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/openai/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/openai/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/vertexai/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/vertexai/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/model/text_completion/vertexai/llm.py (100%) rename trustgraph-core/trustgraph/{core => }/objects/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/objects/field.py (100%) rename trustgraph-core/trustgraph/{core => }/objects/object.py (100%) rename trustgraph-core/trustgraph/{core => }/processing/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/processing/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/processing/processing.py (100%) rename trustgraph-core/trustgraph/{core => }/query/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/milvus/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/milvus/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/milvus/service.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/qdrant/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/qdrant/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/doc_embeddings/qdrant/service.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/milvus/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/milvus/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/milvus/service.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/qdrant/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/qdrant/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/graph_embeddings/qdrant/service.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/cassandra/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/cassandra/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/cassandra/service.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/neo4j/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/neo4j/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/query/triples/neo4j/service.py (100%) rename trustgraph-core/trustgraph/{core => }/rdf.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/document_rag/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/document_rag/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/document_rag/rag.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/graph_rag/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/graph_rag/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/retrieval/graph_rag/rag.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/documents.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/graph.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/models.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/object.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/prompt.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/retrieval.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/topic.py (100%) rename trustgraph-core/trustgraph/{core => }/schema/types.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/milvus/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/milvus/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/milvus/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/qdrant/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/qdrant/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/doc_embeddings/qdrant/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/milvus/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/milvus/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/milvus/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/qdrant/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/qdrant/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/graph_embeddings/qdrant/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/object_embeddings/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/object_embeddings/milvus/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/object_embeddings/milvus/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/object_embeddings/milvus/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/rows/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/rows/cassandra/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/rows/cassandra/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/rows/cassandra/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/cassandra/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/cassandra/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/cassandra/write.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/neo4j/__init__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/neo4j/__main__.py (100%) rename trustgraph-core/trustgraph/{core => }/storage/triples/neo4j/write.py (100%) rename trustgraph-embeddings-hf/trustgraph/{embeddings_hf => }/__init__.py (100%) rename trustgraph-embeddings-hf/trustgraph/{embeddings_hf => }/embeddings/__init__.py (100%) rename trustgraph-embeddings-hf/trustgraph/{embeddings_hf => }/embeddings/hf/__init__.py (100%) rename trustgraph-embeddings-hf/trustgraph/{embeddings_hf => }/embeddings/hf/__main__.py (100%) rename trustgraph-embeddings-hf/trustgraph/{embeddings_hf => }/embeddings/hf/hf.py (89%) diff --git a/Makefile b/Makefile index a238d9dd..5274f32d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.6 +VERSION=0.11.7 DOCKER=podman diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 0d460be7..852732e0 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 7b9a0f06..ae29ef9b 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 4880fb72..ce47ab8c 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 6f8bd93e..6c028203 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 84316197..48397be4 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index e284a5d1..286738ca 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 07389bf7..19671fc3 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 908f07fb..e205fbcc 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 52ae23ec..72827a4d 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index c5d3df73..e6ce43b7 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index c65a9437..647964c9 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 72fd4eb4..726afc7e 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 2579a94b..0999ea56 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 60163170..e463b134 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 4a1aa390..c1e6ab9a 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 338855b1..c591bc7b 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index bcd33391..b57b8e1f 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index e137f97b..b193f021 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.6 + image: docker.io/trustgraph/trustgraph-flow:0.11.7 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-core/scripts/chunker-recursive b/trustgraph-core/scripts/chunker-recursive index 2e48e401..041a72d4 100755 --- a/trustgraph-core/scripts/chunker-recursive +++ b/trustgraph-core/scripts/chunker-recursive @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.chunking.recursive import run +from trustgraph.chunking.recursive import run run() diff --git a/trustgraph-core/scripts/chunker-token b/trustgraph-core/scripts/chunker-token index 03d7754f..5090defa 100755 --- a/trustgraph-core/scripts/chunker-token +++ b/trustgraph-core/scripts/chunker-token @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.chunking.token import run +from trustgraph.chunking.token import run run() diff --git a/trustgraph-core/scripts/de-query-milvus b/trustgraph-core/scripts/de-query-milvus index b2bf194c..15e237c3 100755 --- a/trustgraph-core/scripts/de-query-milvus +++ b/trustgraph-core/scripts/de-query-milvus @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.query.doc_embeddings.milvus import run +from trustgraph.query.doc_embeddings.milvus import run run() diff --git a/trustgraph-core/scripts/de-query-qdrant b/trustgraph-core/scripts/de-query-qdrant old mode 100644 new mode 100755 index 27106223..2f0e7d6e --- a/trustgraph-core/scripts/de-query-qdrant +++ b/trustgraph-core/scripts/de-query-qdrant @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.query.doc_embeddings.qdrant import run +from trustgraph.query.doc_embeddings.qdrant import run run() diff --git a/trustgraph-core/scripts/de-write-milvus b/trustgraph-core/scripts/de-write-milvus index f6ca1edc..644674d0 100755 --- a/trustgraph-core/scripts/de-write-milvus +++ b/trustgraph-core/scripts/de-write-milvus @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.doc_embeddings.milvus import run +from trustgraph.storage.doc_embeddings.milvus import run run() diff --git a/trustgraph-core/scripts/de-write-qdrant b/trustgraph-core/scripts/de-write-qdrant old mode 100644 new mode 100755 index aa4ee088..1550291f --- a/trustgraph-core/scripts/de-write-qdrant +++ b/trustgraph-core/scripts/de-write-qdrant @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.doc_embeddings.qdrant import run +from trustgraph.storage.doc_embeddings.qdrant import run run() diff --git a/trustgraph-core/scripts/document-rag b/trustgraph-core/scripts/document-rag index 3afe9bfd..e4cf5401 100755 --- a/trustgraph-core/scripts/document-rag +++ b/trustgraph-core/scripts/document-rag @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.retrieval.document_rag import run +from trustgraph.retrieval.document_rag import run run() diff --git a/trustgraph-core/scripts/embeddings-ollama b/trustgraph-core/scripts/embeddings-ollama index 9f311c5e..185eed59 100755 --- a/trustgraph-core/scripts/embeddings-ollama +++ b/trustgraph-core/scripts/embeddings-ollama @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.embeddings.ollama import run +from trustgraph.embeddings.ollama import run run() diff --git a/trustgraph-core/scripts/embeddings-vectorize b/trustgraph-core/scripts/embeddings-vectorize index aac0603c..3de1e3a9 100755 --- a/trustgraph-core/scripts/embeddings-vectorize +++ b/trustgraph-core/scripts/embeddings-vectorize @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.embeddings.vectorize import run +from trustgraph.embeddings.vectorize import run run() diff --git a/trustgraph-core/scripts/ge-dump-parquet b/trustgraph-core/scripts/ge-dump-parquet index 8ffd01a4..c2b29c51 100755 --- a/trustgraph-core/scripts/ge-dump-parquet +++ b/trustgraph-core/scripts/ge-dump-parquet @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.dump.graph_embeddings.parquet import run +from trustgraph.dump.graph_embeddings.parquet import run run() diff --git a/trustgraph-core/scripts/ge-query-milvus b/trustgraph-core/scripts/ge-query-milvus index 17be799b..179750cb 100755 --- a/trustgraph-core/scripts/ge-query-milvus +++ b/trustgraph-core/scripts/ge-query-milvus @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.query.graph_embeddings.milvus import run +from trustgraph.query.graph_embeddings.milvus import run run() diff --git a/trustgraph-core/scripts/ge-query-qdrant b/trustgraph-core/scripts/ge-query-qdrant index e91bdaec..7039d17a 100755 --- a/trustgraph-core/scripts/ge-query-qdrant +++ b/trustgraph-core/scripts/ge-query-qdrant @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.query.graph_embeddings.qdrant import run +from trustgraph.query.graph_embeddings.qdrant import run run() diff --git a/trustgraph-core/scripts/ge-write-milvus b/trustgraph-core/scripts/ge-write-milvus index b5cab163..0b18faf8 100755 --- a/trustgraph-core/scripts/ge-write-milvus +++ b/trustgraph-core/scripts/ge-write-milvus @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.graph_embeddings.milvus import run +from trustgraph.storage.graph_embeddings.milvus import run run() diff --git a/trustgraph-core/scripts/ge-write-qdrant b/trustgraph-core/scripts/ge-write-qdrant index 36525622..4276fd2b 100755 --- a/trustgraph-core/scripts/ge-write-qdrant +++ b/trustgraph-core/scripts/ge-write-qdrant @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.graph_embeddings.qdrant import run +from trustgraph.storage.graph_embeddings.qdrant import run run() diff --git a/trustgraph-core/scripts/graph-rag b/trustgraph-core/scripts/graph-rag index 8b4ad7a3..6b18b689 100755 --- a/trustgraph-core/scripts/graph-rag +++ b/trustgraph-core/scripts/graph-rag @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.retrieval.graph_rag import run +from trustgraph.retrieval.graph_rag import run run() diff --git a/trustgraph-core/scripts/graph-show b/trustgraph-core/scripts/graph-show index a742d17a..a737c97b 100755 --- a/trustgraph-core/scripts/graph-show +++ b/trustgraph-core/scripts/graph-show @@ -6,7 +6,7 @@ Connects to the graph query service and dumps all graph edges. import argparse import os -from trustgraph.core.clients.triples_query_client import TriplesQueryClient +from trustgraph.clients.triples_query_client import TriplesQueryClient default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') diff --git a/trustgraph-core/scripts/graph-to-turtle b/trustgraph-core/scripts/graph-to-turtle index 062f1eaa..bff03fc6 100755 --- a/trustgraph-core/scripts/graph-to-turtle +++ b/trustgraph-core/scripts/graph-to-turtle @@ -6,7 +6,7 @@ Connects to the graph query service and dumps all graph edges. import argparse import os -from trustgraph.core.clients.triples_query_client import TriplesQueryClient +from trustgraph.clients.triples_query_client import TriplesQueryClient import rdflib import io import sys diff --git a/trustgraph-core/scripts/kg-extract-definitions b/trustgraph-core/scripts/kg-extract-definitions index 05bfe91f..7f20225b 100755 --- a/trustgraph-core/scripts/kg-extract-definitions +++ b/trustgraph-core/scripts/kg-extract-definitions @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.extract.kg.definitions import run +from trustgraph.extract.kg.definitions import run run() diff --git a/trustgraph-core/scripts/kg-extract-relationships b/trustgraph-core/scripts/kg-extract-relationships index f188eb7a..f57d7c89 100755 --- a/trustgraph-core/scripts/kg-extract-relationships +++ b/trustgraph-core/scripts/kg-extract-relationships @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.extract.kg.relationships import run +from trustgraph.extract.kg.relationships import run run() diff --git a/trustgraph-core/scripts/kg-extract-topics b/trustgraph-core/scripts/kg-extract-topics index 239c4686..e8ff2688 100755 --- a/trustgraph-core/scripts/kg-extract-topics +++ b/trustgraph-core/scripts/kg-extract-topics @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.extract.kg.topics import run +from trustgraph.extract.kg.topics import run run() diff --git a/trustgraph-core/scripts/load-graph-embeddings b/trustgraph-core/scripts/load-graph-embeddings index 1cb13a8c..2dc3c06f 100755 --- a/trustgraph-core/scripts/load-graph-embeddings +++ b/trustgraph-core/scripts/load-graph-embeddings @@ -6,15 +6,15 @@ Loads Graph embeddings into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.core.schema import GraphEmbeddings, Value -from trustgraph.core.schema import graph_embeddings_store_queue +from trustgraph.schema import GraphEmbeddings, Value +from trustgraph.schema import graph_embeddings_store_queue import argparse import os import time import pyarrow as pa import pyarrow.parquet as pq -from trustgraph.core.log_level import LogLevel +from trustgraph.log_level import LogLevel class Loader: diff --git a/trustgraph-core/scripts/load-pdf b/trustgraph-core/scripts/load-pdf index d44d4ea3..0c2aac46 100755 --- a/trustgraph-core/scripts/load-pdf +++ b/trustgraph-core/scripts/load-pdf @@ -6,14 +6,14 @@ Loads a PDF document into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.core.schema import Document, Source, document_ingest_queue +from trustgraph.schema import Document, Source, document_ingest_queue import base64 import hashlib import argparse import os import time -from trustgraph.core.log_level import LogLevel +from trustgraph.log_level import LogLevel class Loader: diff --git a/trustgraph-core/scripts/load-text b/trustgraph-core/scripts/load-text index b4b48e76..3a0e19c3 100755 --- a/trustgraph-core/scripts/load-text +++ b/trustgraph-core/scripts/load-text @@ -6,14 +6,14 @@ Loads a text document into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.core.schema import TextDocument, Source, text_ingest_queue +from trustgraph.schema import TextDocument, Source, text_ingest_queue import base64 import hashlib import argparse import os import time -from trustgraph.core.log_level import LogLevel +from trustgraph.log_level import LogLevel class Loader: diff --git a/trustgraph-core/scripts/load-triples b/trustgraph-core/scripts/load-triples index b3602621..e03c065b 100755 --- a/trustgraph-core/scripts/load-triples +++ b/trustgraph-core/scripts/load-triples @@ -6,15 +6,15 @@ Loads Graph embeddings into TrustGraph processing. import pulsar from pulsar.schema import JsonSchema -from trustgraph.core.schema import Triple, Value -from trustgraph.core.schema import triples_store_queue +from trustgraph.schema import Triple, Value +from trustgraph.schema import triples_store_queue import argparse import os import time import pyarrow as pa import pyarrow.parquet as pq -from trustgraph.core.log_level import LogLevel +from trustgraph.log_level import LogLevel class Loader: diff --git a/trustgraph-core/scripts/metering b/trustgraph-core/scripts/metering index 330ad733..7f1d0e12 100755 --- a/trustgraph-core/scripts/metering +++ b/trustgraph-core/scripts/metering @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -from trustgraph.core.metering import run +from trustgraph.metering import run run() \ No newline at end of file diff --git a/trustgraph-core/scripts/object-extract-row b/trustgraph-core/scripts/object-extract-row index 158ad058..04cbcfef 100755 --- a/trustgraph-core/scripts/object-extract-row +++ b/trustgraph-core/scripts/object-extract-row @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.extract.object.row import run +from trustgraph.extract.object.row import run run() diff --git a/trustgraph-core/scripts/oe-write-milvus b/trustgraph-core/scripts/oe-write-milvus index 075da66b..c78f2000 100755 --- a/trustgraph-core/scripts/oe-write-milvus +++ b/trustgraph-core/scripts/oe-write-milvus @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.object_embeddings.milvus import run +from trustgraph.storage.object_embeddings.milvus import run run() diff --git a/trustgraph-core/scripts/pdf-decoder b/trustgraph-core/scripts/pdf-decoder index b6294eed..0de6a9be 100755 --- a/trustgraph-core/scripts/pdf-decoder +++ b/trustgraph-core/scripts/pdf-decoder @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.decoding.pdf import run +from trustgraph.decoding.pdf import run run() diff --git a/trustgraph-core/scripts/prompt-generic b/trustgraph-core/scripts/prompt-generic index c487558a..61e4d41d 100755 --- a/trustgraph-core/scripts/prompt-generic +++ b/trustgraph-core/scripts/prompt-generic @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.prompt.generic import run +from trustgraph.model.prompt.generic import run run() diff --git a/trustgraph-core/scripts/prompt-template b/trustgraph-core/scripts/prompt-template index 12475ea9..91d94216 100755 --- a/trustgraph-core/scripts/prompt-template +++ b/trustgraph-core/scripts/prompt-template @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.prompt.template import run +from trustgraph.model.prompt.template import run run() diff --git a/trustgraph-core/scripts/query-document-rag b/trustgraph-core/scripts/query-document-rag index 359809c1..948dcd2f 100755 --- a/trustgraph-core/scripts/query-document-rag +++ b/trustgraph-core/scripts/query-document-rag @@ -6,7 +6,7 @@ Uses the Document RAG service to answer a query import argparse import os -from trustgraph.core.clients.document_rag_client import DocumentRagClient +from trustgraph.clients.document_rag_client import DocumentRagClient default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') diff --git a/trustgraph-core/scripts/query-graph-rag b/trustgraph-core/scripts/query-graph-rag index 29f1c916..5250bf15 100755 --- a/trustgraph-core/scripts/query-graph-rag +++ b/trustgraph-core/scripts/query-graph-rag @@ -6,7 +6,7 @@ Uses the GraphRAG service to answer a query import argparse import os -from trustgraph.core.clients.graph_rag_client import GraphRagClient +from trustgraph.clients.graph_rag_client import GraphRagClient default_pulsar_host = os.getenv("PULSAR_HOST", 'pulsar://localhost:6650') diff --git a/trustgraph-core/scripts/rows-write-cassandra b/trustgraph-core/scripts/rows-write-cassandra index 10a47607..a1358f5e 100755 --- a/trustgraph-core/scripts/rows-write-cassandra +++ b/trustgraph-core/scripts/rows-write-cassandra @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.rows.cassandra import run +from trustgraph.storage.rows.cassandra import run run() diff --git a/trustgraph-core/scripts/run-processing b/trustgraph-core/scripts/run-processing index 145b96d0..cdfbb871 100755 --- a/trustgraph-core/scripts/run-processing +++ b/trustgraph-core/scripts/run-processing @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.processing import run +from trustgraph.processing import run run() diff --git a/trustgraph-core/scripts/text-completion-azure b/trustgraph-core/scripts/text-completion-azure index 935f1f1f..965bf956 100755 --- a/trustgraph-core/scripts/text-completion-azure +++ b/trustgraph-core/scripts/text-completion-azure @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.azure import run +from trustgraph.model.text_completion.azure import run run() diff --git a/trustgraph-core/scripts/text-completion-bedrock b/trustgraph-core/scripts/text-completion-bedrock index 2eabfd79..55c26314 100755 --- a/trustgraph-core/scripts/text-completion-bedrock +++ b/trustgraph-core/scripts/text-completion-bedrock @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.bedrock import run +from trustgraph.model.text_completion.bedrock import run run() diff --git a/trustgraph-core/scripts/text-completion-claude b/trustgraph-core/scripts/text-completion-claude index 59323787..b9175375 100755 --- a/trustgraph-core/scripts/text-completion-claude +++ b/trustgraph-core/scripts/text-completion-claude @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.claude import run +from trustgraph.model.text_completion.claude import run run() diff --git a/trustgraph-core/scripts/text-completion-cohere b/trustgraph-core/scripts/text-completion-cohere index d15a016b..42110db6 100755 --- a/trustgraph-core/scripts/text-completion-cohere +++ b/trustgraph-core/scripts/text-completion-cohere @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.cohere import run +from trustgraph.model.text_completion.cohere import run run() diff --git a/trustgraph-core/scripts/text-completion-llamafile b/trustgraph-core/scripts/text-completion-llamafile index 7d36925b..38c48ac2 100755 --- a/trustgraph-core/scripts/text-completion-llamafile +++ b/trustgraph-core/scripts/text-completion-llamafile @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.llamafile import run +from trustgraph.model.text_completion.llamafile import run run() diff --git a/trustgraph-core/scripts/text-completion-ollama b/trustgraph-core/scripts/text-completion-ollama index 39db9162..9479750a 100755 --- a/trustgraph-core/scripts/text-completion-ollama +++ b/trustgraph-core/scripts/text-completion-ollama @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.ollama import run +from trustgraph.model.text_completion.ollama import run run() diff --git a/trustgraph-core/scripts/text-completion-openai b/trustgraph-core/scripts/text-completion-openai index 87cea3fe..665080c1 100755 --- a/trustgraph-core/scripts/text-completion-openai +++ b/trustgraph-core/scripts/text-completion-openai @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.openai import run +from trustgraph.model.text_completion.openai import run run() diff --git a/trustgraph-core/scripts/text-completion-vertexai b/trustgraph-core/scripts/text-completion-vertexai index c68a5f3a..56458d4a 100755 --- a/trustgraph-core/scripts/text-completion-vertexai +++ b/trustgraph-core/scripts/text-completion-vertexai @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.model.text_completion.vertexai import run +from trustgraph.model.text_completion.vertexai import run run() diff --git a/trustgraph-core/scripts/triples-dump-parquet b/trustgraph-core/scripts/triples-dump-parquet index 2ed0efd9..78d79196 100755 --- a/trustgraph-core/scripts/triples-dump-parquet +++ b/trustgraph-core/scripts/triples-dump-parquet @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.dump.triples.parquet import run +from trustgraph.dump.triples.parquet import run run() diff --git a/trustgraph-core/scripts/triples-query-cassandra b/trustgraph-core/scripts/triples-query-cassandra index 97e25ab3..d6baf969 100755 --- a/trustgraph-core/scripts/triples-query-cassandra +++ b/trustgraph-core/scripts/triples-query-cassandra @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.query.triples.cassandra import run +from trustgraph.query.triples.cassandra import run run() diff --git a/trustgraph-core/scripts/triples-query-neo4j b/trustgraph-core/scripts/triples-query-neo4j index bec03bb6..05d97b10 100755 --- a/trustgraph-core/scripts/triples-query-neo4j +++ b/trustgraph-core/scripts/triples-query-neo4j @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.query.triples.neo4j import run +from trustgraph.query.triples.neo4j import run run() diff --git a/trustgraph-core/scripts/triples-write-cassandra b/trustgraph-core/scripts/triples-write-cassandra index d1b0ddbe..207c3222 100755 --- a/trustgraph-core/scripts/triples-write-cassandra +++ b/trustgraph-core/scripts/triples-write-cassandra @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.triples.cassandra import run +from trustgraph.storage.triples.cassandra import run run() diff --git a/trustgraph-core/scripts/triples-write-neo4j b/trustgraph-core/scripts/triples-write-neo4j index 11880357..58786d44 100755 --- a/trustgraph-core/scripts/triples-write-neo4j +++ b/trustgraph-core/scripts/triples-write-neo4j @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.core.storage.triples.neo4j import run +from trustgraph.storage.triples.neo4j import run run() diff --git a/trustgraph-core/setup.py b/trustgraph-core/setup.py index c6cd3697..3965b4f0 100644 --- a/trustgraph-core/setup.py +++ b/trustgraph-core/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.6" +version = "0.11.7" setuptools.setup( name="trustgraph-core", diff --git a/trustgraph-core/trustgraph/core/__init__.py b/trustgraph-core/trustgraph/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/__init__.py rename to trustgraph-core/trustgraph/__init__.py diff --git a/trustgraph-core/trustgraph/core/base/__init__.py b/trustgraph-core/trustgraph/base/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/base/__init__.py rename to trustgraph-core/trustgraph/base/__init__.py diff --git a/trustgraph-core/trustgraph/core/base/base_processor.py b/trustgraph-core/trustgraph/base/base_processor.py similarity index 100% rename from trustgraph-core/trustgraph/core/base/base_processor.py rename to trustgraph-core/trustgraph/base/base_processor.py diff --git a/trustgraph-core/trustgraph/core/base/consumer.py b/trustgraph-core/trustgraph/base/consumer.py similarity index 100% rename from trustgraph-core/trustgraph/core/base/consumer.py rename to trustgraph-core/trustgraph/base/consumer.py diff --git a/trustgraph-core/trustgraph/core/base/consumer_producer.py b/trustgraph-core/trustgraph/base/consumer_producer.py similarity index 100% rename from trustgraph-core/trustgraph/core/base/consumer_producer.py rename to trustgraph-core/trustgraph/base/consumer_producer.py diff --git a/trustgraph-core/trustgraph/core/base/producer.py b/trustgraph-core/trustgraph/base/producer.py similarity index 100% rename from trustgraph-core/trustgraph/core/base/producer.py rename to trustgraph-core/trustgraph/base/producer.py diff --git a/trustgraph-core/trustgraph/core/chunking/__init__.py b/trustgraph-core/trustgraph/chunking/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/__init__.py rename to trustgraph-core/trustgraph/chunking/__init__.py diff --git a/trustgraph-core/trustgraph/core/chunking/recursive/__init__.py b/trustgraph-core/trustgraph/chunking/recursive/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/recursive/__init__.py rename to trustgraph-core/trustgraph/chunking/recursive/__init__.py diff --git a/trustgraph-core/trustgraph/core/chunking/recursive/__main__.py b/trustgraph-core/trustgraph/chunking/recursive/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/recursive/__main__.py rename to trustgraph-core/trustgraph/chunking/recursive/__main__.py diff --git a/trustgraph-core/trustgraph/core/chunking/recursive/chunker.py b/trustgraph-core/trustgraph/chunking/recursive/chunker.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/recursive/chunker.py rename to trustgraph-core/trustgraph/chunking/recursive/chunker.py diff --git a/trustgraph-core/trustgraph/core/chunking/token/__init__.py b/trustgraph-core/trustgraph/chunking/token/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/token/__init__.py rename to trustgraph-core/trustgraph/chunking/token/__init__.py diff --git a/trustgraph-core/trustgraph/core/chunking/token/__main__.py b/trustgraph-core/trustgraph/chunking/token/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/token/__main__.py rename to trustgraph-core/trustgraph/chunking/token/__main__.py diff --git a/trustgraph-core/trustgraph/core/chunking/token/chunker.py b/trustgraph-core/trustgraph/chunking/token/chunker.py similarity index 100% rename from trustgraph-core/trustgraph/core/chunking/token/chunker.py rename to trustgraph-core/trustgraph/chunking/token/chunker.py diff --git a/trustgraph-core/trustgraph/core/clients/__init__.py b/trustgraph-core/trustgraph/clients/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/__init__.py rename to trustgraph-core/trustgraph/clients/__init__.py diff --git a/trustgraph-core/trustgraph/core/clients/base.py b/trustgraph-core/trustgraph/clients/base.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/base.py rename to trustgraph-core/trustgraph/clients/base.py diff --git a/trustgraph-core/trustgraph/core/clients/document_embeddings_client.py b/trustgraph-core/trustgraph/clients/document_embeddings_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/document_embeddings_client.py rename to trustgraph-core/trustgraph/clients/document_embeddings_client.py diff --git a/trustgraph-core/trustgraph/core/clients/document_rag_client.py b/trustgraph-core/trustgraph/clients/document_rag_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/document_rag_client.py rename to trustgraph-core/trustgraph/clients/document_rag_client.py diff --git a/trustgraph-core/trustgraph/core/clients/embeddings_client.py b/trustgraph-core/trustgraph/clients/embeddings_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/embeddings_client.py rename to trustgraph-core/trustgraph/clients/embeddings_client.py diff --git a/trustgraph-core/trustgraph/core/clients/graph_embeddings_client.py b/trustgraph-core/trustgraph/clients/graph_embeddings_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/graph_embeddings_client.py rename to trustgraph-core/trustgraph/clients/graph_embeddings_client.py diff --git a/trustgraph-core/trustgraph/core/clients/graph_rag_client.py b/trustgraph-core/trustgraph/clients/graph_rag_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/graph_rag_client.py rename to trustgraph-core/trustgraph/clients/graph_rag_client.py diff --git a/trustgraph-core/trustgraph/core/clients/llm_client.py b/trustgraph-core/trustgraph/clients/llm_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/llm_client.py rename to trustgraph-core/trustgraph/clients/llm_client.py diff --git a/trustgraph-core/trustgraph/core/clients/prompt_client.py b/trustgraph-core/trustgraph/clients/prompt_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/prompt_client.py rename to trustgraph-core/trustgraph/clients/prompt_client.py diff --git a/trustgraph-core/trustgraph/core/clients/triples_query_client.py b/trustgraph-core/trustgraph/clients/triples_query_client.py similarity index 100% rename from trustgraph-core/trustgraph/core/clients/triples_query_client.py rename to trustgraph-core/trustgraph/clients/triples_query_client.py diff --git a/trustgraph-core/trustgraph/core/decoding/__init__.py b/trustgraph-core/trustgraph/decoding/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/decoding/__init__.py rename to trustgraph-core/trustgraph/decoding/__init__.py diff --git a/trustgraph-core/trustgraph/core/decoding/pdf/__init__.py b/trustgraph-core/trustgraph/decoding/pdf/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/decoding/pdf/__init__.py rename to trustgraph-core/trustgraph/decoding/pdf/__init__.py diff --git a/trustgraph-core/trustgraph/core/decoding/pdf/__main__.py b/trustgraph-core/trustgraph/decoding/pdf/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/decoding/pdf/__main__.py rename to trustgraph-core/trustgraph/decoding/pdf/__main__.py diff --git a/trustgraph-core/trustgraph/core/decoding/pdf/pdf_decoder.py b/trustgraph-core/trustgraph/decoding/pdf/pdf_decoder.py similarity index 100% rename from trustgraph-core/trustgraph/core/decoding/pdf/pdf_decoder.py rename to trustgraph-core/trustgraph/decoding/pdf/pdf_decoder.py diff --git a/trustgraph-core/trustgraph/core/direct/__init__.py b/trustgraph-core/trustgraph/direct/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/direct/__init__.py rename to trustgraph-core/trustgraph/direct/__init__.py diff --git a/trustgraph-core/trustgraph/core/direct/cassandra.py b/trustgraph-core/trustgraph/direct/cassandra.py similarity index 100% rename from trustgraph-core/trustgraph/core/direct/cassandra.py rename to trustgraph-core/trustgraph/direct/cassandra.py diff --git a/trustgraph-core/trustgraph/core/direct/milvus_doc_embeddings.py b/trustgraph-core/trustgraph/direct/milvus_doc_embeddings.py similarity index 100% rename from trustgraph-core/trustgraph/core/direct/milvus_doc_embeddings.py rename to trustgraph-core/trustgraph/direct/milvus_doc_embeddings.py diff --git a/trustgraph-core/trustgraph/core/direct/milvus_graph_embeddings.py b/trustgraph-core/trustgraph/direct/milvus_graph_embeddings.py similarity index 100% rename from trustgraph-core/trustgraph/core/direct/milvus_graph_embeddings.py rename to trustgraph-core/trustgraph/direct/milvus_graph_embeddings.py diff --git a/trustgraph-core/trustgraph/core/direct/milvus_object_embeddings.py b/trustgraph-core/trustgraph/direct/milvus_object_embeddings.py similarity index 100% rename from trustgraph-core/trustgraph/core/direct/milvus_object_embeddings.py rename to trustgraph-core/trustgraph/direct/milvus_object_embeddings.py diff --git a/trustgraph-core/trustgraph/core/document_rag.py b/trustgraph-core/trustgraph/document_rag.py similarity index 100% rename from trustgraph-core/trustgraph/core/document_rag.py rename to trustgraph-core/trustgraph/document_rag.py diff --git a/trustgraph-core/trustgraph/core/dump/__init__.py b/trustgraph-core/trustgraph/dump/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/__init__.py rename to trustgraph-core/trustgraph/dump/__init__.py diff --git a/trustgraph-core/trustgraph/core/dump/graph_embeddings/__init__.py b/trustgraph-core/trustgraph/dump/graph_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/graph_embeddings/__init__.py rename to trustgraph-core/trustgraph/dump/graph_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__init__.py b/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__init__.py rename to trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__init__.py diff --git a/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__main__.py b/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/__main__.py rename to trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__main__.py diff --git a/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/processor.py b/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/processor.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/processor.py rename to trustgraph-core/trustgraph/dump/graph_embeddings/parquet/processor.py diff --git a/trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/writer.py b/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/writer.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/graph_embeddings/parquet/writer.py rename to trustgraph-core/trustgraph/dump/graph_embeddings/parquet/writer.py diff --git a/trustgraph-core/trustgraph/core/dump/triples/__init__.py b/trustgraph-core/trustgraph/dump/triples/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/triples/__init__.py rename to trustgraph-core/trustgraph/dump/triples/__init__.py diff --git a/trustgraph-core/trustgraph/core/dump/triples/parquet/__init__.py b/trustgraph-core/trustgraph/dump/triples/parquet/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/triples/parquet/__init__.py rename to trustgraph-core/trustgraph/dump/triples/parquet/__init__.py diff --git a/trustgraph-core/trustgraph/core/dump/triples/parquet/__main__.py b/trustgraph-core/trustgraph/dump/triples/parquet/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/triples/parquet/__main__.py rename to trustgraph-core/trustgraph/dump/triples/parquet/__main__.py diff --git a/trustgraph-core/trustgraph/core/dump/triples/parquet/processor.py b/trustgraph-core/trustgraph/dump/triples/parquet/processor.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/triples/parquet/processor.py rename to trustgraph-core/trustgraph/dump/triples/parquet/processor.py diff --git a/trustgraph-core/trustgraph/core/dump/triples/parquet/writer.py b/trustgraph-core/trustgraph/dump/triples/parquet/writer.py similarity index 100% rename from trustgraph-core/trustgraph/core/dump/triples/parquet/writer.py rename to trustgraph-core/trustgraph/dump/triples/parquet/writer.py diff --git a/trustgraph-core/trustgraph/core/embeddings/__init__.py b/trustgraph-core/trustgraph/embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/__init__.py rename to trustgraph-core/trustgraph/embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/embeddings/ollama/__init__.py b/trustgraph-core/trustgraph/embeddings/ollama/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/ollama/__init__.py rename to trustgraph-core/trustgraph/embeddings/ollama/__init__.py diff --git a/trustgraph-core/trustgraph/core/embeddings/ollama/__main__.py b/trustgraph-core/trustgraph/embeddings/ollama/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/ollama/__main__.py rename to trustgraph-core/trustgraph/embeddings/ollama/__main__.py diff --git a/trustgraph-core/trustgraph/core/embeddings/ollama/processor.py b/trustgraph-core/trustgraph/embeddings/ollama/processor.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/ollama/processor.py rename to trustgraph-core/trustgraph/embeddings/ollama/processor.py diff --git a/trustgraph-core/trustgraph/core/embeddings/vectorize/__init__.py b/trustgraph-core/trustgraph/embeddings/vectorize/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/vectorize/__init__.py rename to trustgraph-core/trustgraph/embeddings/vectorize/__init__.py diff --git a/trustgraph-core/trustgraph/core/embeddings/vectorize/__main__.py b/trustgraph-core/trustgraph/embeddings/vectorize/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/vectorize/__main__.py rename to trustgraph-core/trustgraph/embeddings/vectorize/__main__.py diff --git a/trustgraph-core/trustgraph/core/embeddings/vectorize/vectorize.py b/trustgraph-core/trustgraph/embeddings/vectorize/vectorize.py similarity index 100% rename from trustgraph-core/trustgraph/core/embeddings/vectorize/vectorize.py rename to trustgraph-core/trustgraph/embeddings/vectorize/vectorize.py diff --git a/trustgraph-core/trustgraph/core/exceptions.py b/trustgraph-core/trustgraph/exceptions.py similarity index 100% rename from trustgraph-core/trustgraph/core/exceptions.py rename to trustgraph-core/trustgraph/exceptions.py diff --git a/trustgraph-core/trustgraph/core/extract/__init__.py b/trustgraph-core/trustgraph/extract/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/__init__.py rename to trustgraph-core/trustgraph/extract/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/__init__.py b/trustgraph-core/trustgraph/extract/kg/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/__init__.py rename to trustgraph-core/trustgraph/extract/kg/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/definitions/__init__.py b/trustgraph-core/trustgraph/extract/kg/definitions/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/definitions/__init__.py rename to trustgraph-core/trustgraph/extract/kg/definitions/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/definitions/__main__.py b/trustgraph-core/trustgraph/extract/kg/definitions/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/definitions/__main__.py rename to trustgraph-core/trustgraph/extract/kg/definitions/__main__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/definitions/extract.py b/trustgraph-core/trustgraph/extract/kg/definitions/extract.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/definitions/extract.py rename to trustgraph-core/trustgraph/extract/kg/definitions/extract.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/relationships/__init__.py b/trustgraph-core/trustgraph/extract/kg/relationships/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/relationships/__init__.py rename to trustgraph-core/trustgraph/extract/kg/relationships/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/relationships/__main__.py b/trustgraph-core/trustgraph/extract/kg/relationships/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/relationships/__main__.py rename to trustgraph-core/trustgraph/extract/kg/relationships/__main__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/relationships/extract.py b/trustgraph-core/trustgraph/extract/kg/relationships/extract.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/relationships/extract.py rename to trustgraph-core/trustgraph/extract/kg/relationships/extract.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/topics/__init__.py b/trustgraph-core/trustgraph/extract/kg/topics/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/topics/__init__.py rename to trustgraph-core/trustgraph/extract/kg/topics/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/topics/__main__.py b/trustgraph-core/trustgraph/extract/kg/topics/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/topics/__main__.py rename to trustgraph-core/trustgraph/extract/kg/topics/__main__.py diff --git a/trustgraph-core/trustgraph/core/extract/kg/topics/extract.py b/trustgraph-core/trustgraph/extract/kg/topics/extract.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/kg/topics/extract.py rename to trustgraph-core/trustgraph/extract/kg/topics/extract.py diff --git a/trustgraph-core/trustgraph/core/extract/object/__init__.py b/trustgraph-core/trustgraph/extract/object/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/object/__init__.py rename to trustgraph-core/trustgraph/extract/object/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/object/row/__init__.py b/trustgraph-core/trustgraph/extract/object/row/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/object/row/__init__.py rename to trustgraph-core/trustgraph/extract/object/row/__init__.py diff --git a/trustgraph-core/trustgraph/core/extract/object/row/__main__.py b/trustgraph-core/trustgraph/extract/object/row/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/object/row/__main__.py rename to trustgraph-core/trustgraph/extract/object/row/__main__.py diff --git a/trustgraph-core/trustgraph/core/extract/object/row/extract.py b/trustgraph-core/trustgraph/extract/object/row/extract.py similarity index 100% rename from trustgraph-core/trustgraph/core/extract/object/row/extract.py rename to trustgraph-core/trustgraph/extract/object/row/extract.py diff --git a/trustgraph-core/trustgraph/core/graph_rag.py b/trustgraph-core/trustgraph/graph_rag.py similarity index 100% rename from trustgraph-core/trustgraph/core/graph_rag.py rename to trustgraph-core/trustgraph/graph_rag.py diff --git a/trustgraph-core/trustgraph/core/log_level.py b/trustgraph-core/trustgraph/log_level.py similarity index 100% rename from trustgraph-core/trustgraph/core/log_level.py rename to trustgraph-core/trustgraph/log_level.py diff --git a/trustgraph-core/trustgraph/core/metering/__init__.py b/trustgraph-core/trustgraph/metering/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/metering/__init__.py rename to trustgraph-core/trustgraph/metering/__init__.py diff --git a/trustgraph-core/trustgraph/core/metering/__main__.py b/trustgraph-core/trustgraph/metering/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/metering/__main__.py rename to trustgraph-core/trustgraph/metering/__main__.py diff --git a/trustgraph-core/trustgraph/core/metering/counter.py b/trustgraph-core/trustgraph/metering/counter.py similarity index 100% rename from trustgraph-core/trustgraph/core/metering/counter.py rename to trustgraph-core/trustgraph/metering/counter.py diff --git a/trustgraph-core/trustgraph/core/metering/pricelist.py b/trustgraph-core/trustgraph/metering/pricelist.py similarity index 100% rename from trustgraph-core/trustgraph/core/metering/pricelist.py rename to trustgraph-core/trustgraph/metering/pricelist.py diff --git a/trustgraph-core/trustgraph/core/model/__init__.py b/trustgraph-core/trustgraph/model/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/__init__.py rename to trustgraph-core/trustgraph/model/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/__init__.py b/trustgraph-core/trustgraph/model/prompt/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/__init__.py rename to trustgraph-core/trustgraph/model/prompt/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/generic/__init__.py b/trustgraph-core/trustgraph/model/prompt/generic/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/generic/__init__.py rename to trustgraph-core/trustgraph/model/prompt/generic/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/generic/__main__.py b/trustgraph-core/trustgraph/model/prompt/generic/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/generic/__main__.py rename to trustgraph-core/trustgraph/model/prompt/generic/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/generic/prompts.py b/trustgraph-core/trustgraph/model/prompt/generic/prompts.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/generic/prompts.py rename to trustgraph-core/trustgraph/model/prompt/generic/prompts.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/generic/service.py b/trustgraph-core/trustgraph/model/prompt/generic/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/generic/service.py rename to trustgraph-core/trustgraph/model/prompt/generic/service.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/template/__init__.py b/trustgraph-core/trustgraph/model/prompt/template/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/template/__init__.py rename to trustgraph-core/trustgraph/model/prompt/template/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/template/__main__.py b/trustgraph-core/trustgraph/model/prompt/template/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/template/__main__.py rename to trustgraph-core/trustgraph/model/prompt/template/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/template/prompts.py b/trustgraph-core/trustgraph/model/prompt/template/prompts.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/template/prompts.py rename to trustgraph-core/trustgraph/model/prompt/template/prompts.py diff --git a/trustgraph-core/trustgraph/core/model/prompt/template/service.py b/trustgraph-core/trustgraph/model/prompt/template/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/prompt/template/service.py rename to trustgraph-core/trustgraph/model/prompt/template/service.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/__init__.py b/trustgraph-core/trustgraph/model/text_completion/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/azure/__init__.py b/trustgraph-core/trustgraph/model/text_completion/azure/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/azure/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/azure/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/azure/__main__.py b/trustgraph-core/trustgraph/model/text_completion/azure/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/azure/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/azure/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/azure/llm.py b/trustgraph-core/trustgraph/model/text_completion/azure/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/azure/llm.py rename to trustgraph-core/trustgraph/model/text_completion/azure/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/bedrock/__init__.py b/trustgraph-core/trustgraph/model/text_completion/bedrock/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/bedrock/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/bedrock/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/bedrock/__main__.py b/trustgraph-core/trustgraph/model/text_completion/bedrock/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/bedrock/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/bedrock/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/bedrock/llm.py b/trustgraph-core/trustgraph/model/text_completion/bedrock/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/bedrock/llm.py rename to trustgraph-core/trustgraph/model/text_completion/bedrock/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/claude/__init__.py b/trustgraph-core/trustgraph/model/text_completion/claude/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/claude/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/claude/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/claude/__main__.py b/trustgraph-core/trustgraph/model/text_completion/claude/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/claude/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/claude/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/claude/llm.py b/trustgraph-core/trustgraph/model/text_completion/claude/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/claude/llm.py rename to trustgraph-core/trustgraph/model/text_completion/claude/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/cohere/__init__.py b/trustgraph-core/trustgraph/model/text_completion/cohere/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/cohere/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/cohere/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/cohere/__main__.py b/trustgraph-core/trustgraph/model/text_completion/cohere/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/cohere/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/cohere/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/cohere/llm.py b/trustgraph-core/trustgraph/model/text_completion/cohere/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/cohere/llm.py rename to trustgraph-core/trustgraph/model/text_completion/cohere/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/llamafile/__init__.py b/trustgraph-core/trustgraph/model/text_completion/llamafile/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/llamafile/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/llamafile/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/llamafile/__main__.py b/trustgraph-core/trustgraph/model/text_completion/llamafile/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/llamafile/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/llamafile/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/llamafile/llm.py b/trustgraph-core/trustgraph/model/text_completion/llamafile/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/llamafile/llm.py rename to trustgraph-core/trustgraph/model/text_completion/llamafile/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/ollama/__init__.py b/trustgraph-core/trustgraph/model/text_completion/ollama/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/ollama/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/ollama/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/ollama/__main__.py b/trustgraph-core/trustgraph/model/text_completion/ollama/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/ollama/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/ollama/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/ollama/llm.py b/trustgraph-core/trustgraph/model/text_completion/ollama/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/ollama/llm.py rename to trustgraph-core/trustgraph/model/text_completion/ollama/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/openai/__init__.py b/trustgraph-core/trustgraph/model/text_completion/openai/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/openai/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/openai/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/openai/__main__.py b/trustgraph-core/trustgraph/model/text_completion/openai/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/openai/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/openai/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/openai/llm.py b/trustgraph-core/trustgraph/model/text_completion/openai/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/openai/llm.py rename to trustgraph-core/trustgraph/model/text_completion/openai/llm.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/vertexai/__init__.py b/trustgraph-core/trustgraph/model/text_completion/vertexai/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/vertexai/__init__.py rename to trustgraph-core/trustgraph/model/text_completion/vertexai/__init__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/vertexai/__main__.py b/trustgraph-core/trustgraph/model/text_completion/vertexai/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/vertexai/__main__.py rename to trustgraph-core/trustgraph/model/text_completion/vertexai/__main__.py diff --git a/trustgraph-core/trustgraph/core/model/text_completion/vertexai/llm.py b/trustgraph-core/trustgraph/model/text_completion/vertexai/llm.py similarity index 100% rename from trustgraph-core/trustgraph/core/model/text_completion/vertexai/llm.py rename to trustgraph-core/trustgraph/model/text_completion/vertexai/llm.py diff --git a/trustgraph-core/trustgraph/core/objects/__init__.py b/trustgraph-core/trustgraph/objects/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/objects/__init__.py rename to trustgraph-core/trustgraph/objects/__init__.py diff --git a/trustgraph-core/trustgraph/core/objects/field.py b/trustgraph-core/trustgraph/objects/field.py similarity index 100% rename from trustgraph-core/trustgraph/core/objects/field.py rename to trustgraph-core/trustgraph/objects/field.py diff --git a/trustgraph-core/trustgraph/core/objects/object.py b/trustgraph-core/trustgraph/objects/object.py similarity index 100% rename from trustgraph-core/trustgraph/core/objects/object.py rename to trustgraph-core/trustgraph/objects/object.py diff --git a/trustgraph-core/trustgraph/core/processing/__init__.py b/trustgraph-core/trustgraph/processing/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/processing/__init__.py rename to trustgraph-core/trustgraph/processing/__init__.py diff --git a/trustgraph-core/trustgraph/core/processing/__main__.py b/trustgraph-core/trustgraph/processing/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/processing/__main__.py rename to trustgraph-core/trustgraph/processing/__main__.py diff --git a/trustgraph-core/trustgraph/core/processing/processing.py b/trustgraph-core/trustgraph/processing/processing.py similarity index 100% rename from trustgraph-core/trustgraph/core/processing/processing.py rename to trustgraph-core/trustgraph/processing/processing.py diff --git a/trustgraph-core/trustgraph/core/query/__init__.py b/trustgraph-core/trustgraph/query/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/__init__.py rename to trustgraph-core/trustgraph/query/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/__init__.py b/trustgraph-core/trustgraph/query/doc_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/__init__.py rename to trustgraph-core/trustgraph/query/doc_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/query/doc_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/query/doc_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/query/doc_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/query/doc_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/service.py b/trustgraph-core/trustgraph/query/doc_embeddings/milvus/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/milvus/service.py rename to trustgraph-core/trustgraph/query/doc_embeddings/milvus/service.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/service.py b/trustgraph-core/trustgraph/query/doc_embeddings/qdrant/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/doc_embeddings/qdrant/service.py rename to trustgraph-core/trustgraph/query/doc_embeddings/qdrant/service.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/__init__.py b/trustgraph-core/trustgraph/query/graph_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/__init__.py rename to trustgraph-core/trustgraph/query/graph_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/query/graph_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/query/graph_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/query/graph_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/query/graph_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/service.py b/trustgraph-core/trustgraph/query/graph_embeddings/milvus/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/milvus/service.py rename to trustgraph-core/trustgraph/query/graph_embeddings/milvus/service.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/service.py b/trustgraph-core/trustgraph/query/graph_embeddings/qdrant/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/graph_embeddings/qdrant/service.py rename to trustgraph-core/trustgraph/query/graph_embeddings/qdrant/service.py diff --git a/trustgraph-core/trustgraph/core/query/triples/__init__.py b/trustgraph-core/trustgraph/query/triples/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/__init__.py rename to trustgraph-core/trustgraph/query/triples/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/triples/cassandra/__init__.py b/trustgraph-core/trustgraph/query/triples/cassandra/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/cassandra/__init__.py rename to trustgraph-core/trustgraph/query/triples/cassandra/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/triples/cassandra/__main__.py b/trustgraph-core/trustgraph/query/triples/cassandra/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/cassandra/__main__.py rename to trustgraph-core/trustgraph/query/triples/cassandra/__main__.py diff --git a/trustgraph-core/trustgraph/core/query/triples/cassandra/service.py b/trustgraph-core/trustgraph/query/triples/cassandra/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/cassandra/service.py rename to trustgraph-core/trustgraph/query/triples/cassandra/service.py diff --git a/trustgraph-core/trustgraph/core/query/triples/neo4j/__init__.py b/trustgraph-core/trustgraph/query/triples/neo4j/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/neo4j/__init__.py rename to trustgraph-core/trustgraph/query/triples/neo4j/__init__.py diff --git a/trustgraph-core/trustgraph/core/query/triples/neo4j/__main__.py b/trustgraph-core/trustgraph/query/triples/neo4j/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/neo4j/__main__.py rename to trustgraph-core/trustgraph/query/triples/neo4j/__main__.py diff --git a/trustgraph-core/trustgraph/core/query/triples/neo4j/service.py b/trustgraph-core/trustgraph/query/triples/neo4j/service.py similarity index 100% rename from trustgraph-core/trustgraph/core/query/triples/neo4j/service.py rename to trustgraph-core/trustgraph/query/triples/neo4j/service.py diff --git a/trustgraph-core/trustgraph/core/rdf.py b/trustgraph-core/trustgraph/rdf.py similarity index 100% rename from trustgraph-core/trustgraph/core/rdf.py rename to trustgraph-core/trustgraph/rdf.py diff --git a/trustgraph-core/trustgraph/core/retrieval/__init__.py b/trustgraph-core/trustgraph/retrieval/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/__init__.py rename to trustgraph-core/trustgraph/retrieval/__init__.py diff --git a/trustgraph-core/trustgraph/core/retrieval/document_rag/__init__.py b/trustgraph-core/trustgraph/retrieval/document_rag/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/document_rag/__init__.py rename to trustgraph-core/trustgraph/retrieval/document_rag/__init__.py diff --git a/trustgraph-core/trustgraph/core/retrieval/document_rag/__main__.py b/trustgraph-core/trustgraph/retrieval/document_rag/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/document_rag/__main__.py rename to trustgraph-core/trustgraph/retrieval/document_rag/__main__.py diff --git a/trustgraph-core/trustgraph/core/retrieval/document_rag/rag.py b/trustgraph-core/trustgraph/retrieval/document_rag/rag.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/document_rag/rag.py rename to trustgraph-core/trustgraph/retrieval/document_rag/rag.py diff --git a/trustgraph-core/trustgraph/core/retrieval/graph_rag/__init__.py b/trustgraph-core/trustgraph/retrieval/graph_rag/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/graph_rag/__init__.py rename to trustgraph-core/trustgraph/retrieval/graph_rag/__init__.py diff --git a/trustgraph-core/trustgraph/core/retrieval/graph_rag/__main__.py b/trustgraph-core/trustgraph/retrieval/graph_rag/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/graph_rag/__main__.py rename to trustgraph-core/trustgraph/retrieval/graph_rag/__main__.py diff --git a/trustgraph-core/trustgraph/core/retrieval/graph_rag/rag.py b/trustgraph-core/trustgraph/retrieval/graph_rag/rag.py similarity index 100% rename from trustgraph-core/trustgraph/core/retrieval/graph_rag/rag.py rename to trustgraph-core/trustgraph/retrieval/graph_rag/rag.py diff --git a/trustgraph-core/trustgraph/core/schema/__init__.py b/trustgraph-core/trustgraph/schema/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/__init__.py rename to trustgraph-core/trustgraph/schema/__init__.py diff --git a/trustgraph-core/trustgraph/core/schema/documents.py b/trustgraph-core/trustgraph/schema/documents.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/documents.py rename to trustgraph-core/trustgraph/schema/documents.py diff --git a/trustgraph-core/trustgraph/core/schema/graph.py b/trustgraph-core/trustgraph/schema/graph.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/graph.py rename to trustgraph-core/trustgraph/schema/graph.py diff --git a/trustgraph-core/trustgraph/core/schema/models.py b/trustgraph-core/trustgraph/schema/models.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/models.py rename to trustgraph-core/trustgraph/schema/models.py diff --git a/trustgraph-core/trustgraph/core/schema/object.py b/trustgraph-core/trustgraph/schema/object.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/object.py rename to trustgraph-core/trustgraph/schema/object.py diff --git a/trustgraph-core/trustgraph/core/schema/prompt.py b/trustgraph-core/trustgraph/schema/prompt.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/prompt.py rename to trustgraph-core/trustgraph/schema/prompt.py diff --git a/trustgraph-core/trustgraph/core/schema/retrieval.py b/trustgraph-core/trustgraph/schema/retrieval.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/retrieval.py rename to trustgraph-core/trustgraph/schema/retrieval.py diff --git a/trustgraph-core/trustgraph/core/schema/topic.py b/trustgraph-core/trustgraph/schema/topic.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/topic.py rename to trustgraph-core/trustgraph/schema/topic.py diff --git a/trustgraph-core/trustgraph/core/schema/types.py b/trustgraph-core/trustgraph/schema/types.py similarity index 100% rename from trustgraph-core/trustgraph/core/schema/types.py rename to trustgraph-core/trustgraph/schema/types.py diff --git a/trustgraph-core/trustgraph/core/storage/__init__.py b/trustgraph-core/trustgraph/storage/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/__init__.py rename to trustgraph-core/trustgraph/storage/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/__init__.py b/trustgraph-core/trustgraph/storage/doc_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/__init__.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/write.py b/trustgraph-core/trustgraph/storage/doc_embeddings/milvus/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/milvus/write.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/milvus/write.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/write.py b/trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/doc_embeddings/qdrant/write.py rename to trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/write.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/__init__.py b/trustgraph-core/trustgraph/storage/graph_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/__init__.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/write.py b/trustgraph-core/trustgraph/storage/graph_embeddings/milvus/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/milvus/write.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/milvus/write.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__init__.py b/trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__init__.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__main__.py b/trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/__main__.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/write.py b/trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/graph_embeddings/qdrant/write.py rename to trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/write.py diff --git a/trustgraph-core/trustgraph/core/storage/object_embeddings/__init__.py b/trustgraph-core/trustgraph/storage/object_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/object_embeddings/__init__.py rename to trustgraph-core/trustgraph/storage/object_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__init__.py b/trustgraph-core/trustgraph/storage/object_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__init__.py rename to trustgraph-core/trustgraph/storage/object_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__main__.py b/trustgraph-core/trustgraph/storage/object_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/__main__.py rename to trustgraph-core/trustgraph/storage/object_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/write.py b/trustgraph-core/trustgraph/storage/object_embeddings/milvus/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/object_embeddings/milvus/write.py rename to trustgraph-core/trustgraph/storage/object_embeddings/milvus/write.py diff --git a/trustgraph-core/trustgraph/core/storage/rows/__init__.py b/trustgraph-core/trustgraph/storage/rows/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/rows/__init__.py rename to trustgraph-core/trustgraph/storage/rows/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/rows/cassandra/__init__.py b/trustgraph-core/trustgraph/storage/rows/cassandra/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/rows/cassandra/__init__.py rename to trustgraph-core/trustgraph/storage/rows/cassandra/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/rows/cassandra/__main__.py b/trustgraph-core/trustgraph/storage/rows/cassandra/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/rows/cassandra/__main__.py rename to trustgraph-core/trustgraph/storage/rows/cassandra/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/rows/cassandra/write.py b/trustgraph-core/trustgraph/storage/rows/cassandra/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/rows/cassandra/write.py rename to trustgraph-core/trustgraph/storage/rows/cassandra/write.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/__init__.py b/trustgraph-core/trustgraph/storage/triples/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/__init__.py rename to trustgraph-core/trustgraph/storage/triples/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/cassandra/__init__.py b/trustgraph-core/trustgraph/storage/triples/cassandra/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/cassandra/__init__.py rename to trustgraph-core/trustgraph/storage/triples/cassandra/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/cassandra/__main__.py b/trustgraph-core/trustgraph/storage/triples/cassandra/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/cassandra/__main__.py rename to trustgraph-core/trustgraph/storage/triples/cassandra/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/cassandra/write.py b/trustgraph-core/trustgraph/storage/triples/cassandra/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/cassandra/write.py rename to trustgraph-core/trustgraph/storage/triples/cassandra/write.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/neo4j/__init__.py b/trustgraph-core/trustgraph/storage/triples/neo4j/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/neo4j/__init__.py rename to trustgraph-core/trustgraph/storage/triples/neo4j/__init__.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/neo4j/__main__.py b/trustgraph-core/trustgraph/storage/triples/neo4j/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/neo4j/__main__.py rename to trustgraph-core/trustgraph/storage/triples/neo4j/__main__.py diff --git a/trustgraph-core/trustgraph/core/storage/triples/neo4j/write.py b/trustgraph-core/trustgraph/storage/triples/neo4j/write.py similarity index 100% rename from trustgraph-core/trustgraph/core/storage/triples/neo4j/write.py rename to trustgraph-core/trustgraph/storage/triples/neo4j/write.py diff --git a/trustgraph-embeddings-hf/scripts/embeddings-hf b/trustgraph-embeddings-hf/scripts/embeddings-hf index 09bb5d2f..a7d84d04 100644 --- a/trustgraph-embeddings-hf/scripts/embeddings-hf +++ b/trustgraph-embeddings-hf/scripts/embeddings-hf @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from trustgraph.embeddings_hf.embeddings.hf import run +from trustgraph.embeddings.hf import run run() diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/__init__.py b/trustgraph-embeddings-hf/trustgraph/__init__.py similarity index 100% rename from trustgraph-embeddings-hf/trustgraph/embeddings_hf/__init__.py rename to trustgraph-embeddings-hf/trustgraph/__init__.py diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/__init__.py b/trustgraph-embeddings-hf/trustgraph/embeddings/__init__.py similarity index 100% rename from trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/__init__.py rename to trustgraph-embeddings-hf/trustgraph/embeddings/__init__.py diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__init__.py b/trustgraph-embeddings-hf/trustgraph/embeddings/hf/__init__.py similarity index 100% rename from trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__init__.py rename to trustgraph-embeddings-hf/trustgraph/embeddings/hf/__init__.py diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__main__.py b/trustgraph-embeddings-hf/trustgraph/embeddings/hf/__main__.py similarity index 100% rename from trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/__main__.py rename to trustgraph-embeddings-hf/trustgraph/embeddings/hf/__main__.py diff --git a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/hf.py b/trustgraph-embeddings-hf/trustgraph/embeddings/hf/hf.py similarity index 89% rename from trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/hf.py rename to trustgraph-embeddings-hf/trustgraph/embeddings/hf/hf.py index aaa45aa5..4b3b39c1 100755 --- a/trustgraph-embeddings-hf/trustgraph/embeddings_hf/embeddings/hf/hf.py +++ b/trustgraph-embeddings-hf/trustgraph/embeddings/hf/hf.py @@ -6,11 +6,11 @@ Input is text, output is embeddings vector. from langchain_huggingface import HuggingFaceEmbeddings -from trustgraph.core.schema import EmbeddingsRequest, EmbeddingsResponse, Error -from trustgraph.core.schema import embeddings_request_queue -from trustgraph.core.schema import embeddings_response_queue -from trustgraph.core.log_level import LogLevel -from trustgraph.core.base import ConsumerProducer +from trustgraph.schema import EmbeddingsRequest, EmbeddingsResponse, Error +from trustgraph.schema import embeddings_request_queue +from trustgraph.schema import embeddings_response_queue +from trustgraph.log_level import LogLevel +from trustgraph.base import ConsumerProducer module = ".".join(__name__.split(".")[1:-1]) From 3fb75c617bb105bf3f4259208f4244c852d13c7a Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 16:38:50 +0100 Subject: [PATCH 26/44] Maint/auto pkg versions (#82) * Remove need to manage setup.py version * Update YAMLs --- Makefile | 8 ++++-- tg-launch-azure-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-azure-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-bedrock-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-bedrock-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-claude-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-claude-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-cohere-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-cohere-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-llamafile-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-llamafile-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-ollama-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-ollama-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-openai-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-openai-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-vertexai-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-vertexai-neo4j.yaml | 42 +++++++++++++++--------------- tg-storage-cassandra.yaml | 14 +++++----- tg-storage-neo4j.yaml | 14 +++++----- trustgraph-core/setup.py | 10 ++++++- trustgraph-embeddings-hf/setup.py | 10 ++++++- 21 files changed, 374 insertions(+), 354 deletions(-) diff --git a/Makefile b/Makefile index 5274f32d..521aafd1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.7 +VERSION=0.11.8 DOCKER=podman @@ -12,7 +12,11 @@ pkgs: CONTAINER=docker.io/trustgraph/trustgraph-flow -container: +update-package-versions: + echo __version__ = \"${VERSION}\" > trustgraph-core/trustgraph/core_version.py + echo __version__ = \"${VERSION}\" > trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py + +container: update-package-versions ${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \ --format docker diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 852732e0..52d0c150 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index ae29ef9b..62fc30f6 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index ce47ab8c..79e0068a 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 6c028203..af53883b 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 48397be4..0148a1ae 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 286738ca..5dab1a0d 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 19671fc3..9985bb4b 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index e205fbcc..733e43f3 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 72827a4d..e1e41d00 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index e6ce43b7..2237dae9 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 647964c9..2f584f92 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 726afc7e..1120c21b 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 0999ea56..520f4f9e 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index e463b134..1ef6c7eb 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index c1e6ab9a..14af9e1a 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index c591bc7b..87a9a1aa 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index b57b8e1f..39d85405 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index b193f021..36880bbf 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.7 + image: docker.io/trustgraph/trustgraph-flow:0.11.8 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-core/setup.py b/trustgraph-core/setup.py index 3965b4f0..404bb26b 100644 --- a/trustgraph-core/setup.py +++ b/trustgraph-core/setup.py @@ -1,10 +1,18 @@ import setuptools import os +import importlib with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.7" +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/core_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ setuptools.setup( name="trustgraph-core", diff --git a/trustgraph-embeddings-hf/setup.py b/trustgraph-embeddings-hf/setup.py index 82683e18..d473e2d5 100644 --- a/trustgraph-embeddings-hf/setup.py +++ b/trustgraph-embeddings-hf/setup.py @@ -1,10 +1,18 @@ import setuptools import os +import importlib with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.6" +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/embeddings_hf_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ setuptools.setup( name="trustgraph-embeddings-hf", From 9b91d5eee307fc6209a63bd99b0b65c53666ac6c Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 19:36:09 +0100 Subject: [PATCH 27/44] Feature/pkgsplit (#83) * Starting to spawn base package * More package hacking * Bedrock and VertexAI * Parquet split * Updated templates * Utils --- Containerfile | 33 ++++++++++-- Makefile | 54 +++++-------------- tg-launch-azure-cassandra.yaml | 42 +++++++-------- tg-launch-azure-neo4j.yaml | 42 +++++++-------- tg-launch-bedrock-cassandra.yaml | 42 +++++++-------- tg-launch-bedrock-neo4j.yaml | 42 +++++++-------- tg-launch-claude-cassandra.yaml | 42 +++++++-------- tg-launch-claude-neo4j.yaml | 42 +++++++-------- tg-launch-cohere-cassandra.yaml | 42 +++++++-------- tg-launch-cohere-neo4j.yaml | 42 +++++++-------- tg-launch-llamafile-cassandra.yaml | 42 +++++++-------- tg-launch-llamafile-neo4j.yaml | 42 +++++++-------- tg-launch-ollama-cassandra.yaml | 42 +++++++-------- tg-launch-ollama-neo4j.yaml | 42 +++++++-------- tg-launch-openai-cassandra.yaml | 42 +++++++-------- tg-launch-openai-neo4j.yaml | 42 +++++++-------- tg-launch-vertexai-cassandra.yaml | 42 +++++++-------- tg-launch-vertexai-neo4j.yaml | 42 +++++++-------- tg-storage-cassandra.yaml | 14 ++--- tg-storage-neo4j.yaml | 14 ++--- trustgraph-base/setup.py | 42 +++++++++++++++ .../trustgraph/base/__init__.py | 0 .../trustgraph/base/base_processor.py | 0 .../trustgraph/base/consumer.py | 0 .../trustgraph/base/consumer_producer.py | 0 .../trustgraph/base/producer.py | 0 .../trustgraph/clients}/__init__.py | 0 .../trustgraph/clients/base.py | 0 .../clients/document_embeddings_client.py | 0 .../trustgraph/clients/document_rag_client.py | 0 .../trustgraph/clients/embeddings_client.py | 0 .../clients/graph_embeddings_client.py | 0 .../trustgraph/clients/graph_rag_client.py | 0 .../trustgraph/clients/llm_client.py | 0 .../trustgraph/clients/prompt_client.py | 0 .../clients/triples_query_client.py | 0 .../trustgraph/exceptions.py | 0 .../trustgraph/log_level.py | 0 .../trustgraph/objects}/__init__.py | 0 .../trustgraph/objects/field.py | 0 .../trustgraph/objects/object.py | 0 .../trustgraph/rdf.py | 0 .../trustgraph/schema/__init__.py | 0 .../trustgraph/schema/documents.py | 0 .../trustgraph/schema/graph.py | 0 .../trustgraph/schema/models.py | 0 .../trustgraph/schema/object.py | 0 .../trustgraph/schema/prompt.py | 0 .../trustgraph/schema/retrieval.py | 0 .../trustgraph/schema/topic.py | 0 .../trustgraph/schema/types.py | 0 .../scripts/text-completion-bedrock | 0 trustgraph-bedrock/setup.py | 45 ++++++++++++++++ .../text_completion/bedrock}/__init__.py | 0 .../text_completion/bedrock}/__main__.py | 0 .../model/text_completion/bedrock/llm.py | 0 trustgraph-embeddings-hf/setup.py | 4 +- .../scripts/chunker-recursive | 0 .../scripts/chunker-token | 0 .../scripts/de-query-milvus | 0 .../scripts/de-query-qdrant | 0 .../scripts/de-write-milvus | 0 .../scripts/de-write-qdrant | 0 .../scripts/document-rag | 0 .../scripts/embeddings-ollama | 0 .../scripts/embeddings-vectorize | 0 .../scripts/ge-query-milvus | 0 .../scripts/ge-query-qdrant | 0 .../scripts/ge-write-milvus | 0 .../scripts/ge-write-qdrant | 0 .../scripts/graph-rag | 0 .../scripts/kg-extract-definitions | 0 .../scripts/kg-extract-relationships | 0 .../scripts/kg-extract-topics | 0 .../scripts/metering | 0 .../scripts/object-extract-row | 0 .../scripts/oe-write-milvus | 0 .../scripts/pdf-decoder | 0 .../scripts/prompt-generic | 0 .../scripts/prompt-template | 0 .../scripts/rows-write-cassandra | 0 .../scripts/run-processing | 0 .../scripts/text-completion-azure | 0 .../scripts/text-completion-claude | 0 .../scripts/text-completion-cohere | 0 .../scripts/text-completion-llamafile | 0 .../scripts/text-completion-ollama | 0 .../scripts/text-completion-openai | 0 .../scripts/triples-query-cassandra | 0 .../scripts/triples-query-neo4j | 0 .../scripts/triples-write-cassandra | 0 .../scripts/triples-write-neo4j | 0 {trustgraph-core => trustgraph-flow}/setup.py | 26 ++------- .../trustgraph}/__init__.py | 0 .../trustgraph/chunking}/__init__.py | 0 .../trustgraph/chunking/recursive/__init__.py | 0 .../trustgraph/chunking/recursive/__main__.py | 0 .../trustgraph/chunking/recursive/chunker.py | 0 .../trustgraph/chunking/token/__init__.py | 0 .../trustgraph/chunking/token/__main__.py | 0 .../trustgraph/chunking/token/chunker.py | 0 .../trustgraph/decoding}/__init__.py | 0 .../trustgraph/decoding/pdf/__init__.py | 0 .../trustgraph/decoding/pdf/__main__.py | 0 .../trustgraph/decoding/pdf/pdf_decoder.py | 0 .../trustgraph/direct}/__init__.py | 0 .../trustgraph/direct/cassandra.py | 0 .../direct/milvus_doc_embeddings.py | 0 .../direct/milvus_graph_embeddings.py | 0 .../direct/milvus_object_embeddings.py | 0 .../trustgraph/document_rag.py | 0 .../trustgraph/embeddings}/__init__.py | 0 .../trustgraph/embeddings/ollama}/__init__.py | 0 .../trustgraph/embeddings/ollama/__main__.py | 0 .../trustgraph/embeddings/ollama/processor.py | 0 .../embeddings/vectorize/__init__.py | 0 .../embeddings/vectorize/__main__.py | 0 .../embeddings/vectorize/vectorize.py | 0 .../trustgraph/extract}/__init__.py | 0 .../trustgraph/extract/kg}/__init__.py | 0 .../extract/kg/definitions/__init__.py | 0 .../extract/kg/definitions/__main__.py | 0 .../extract/kg/definitions/extract.py | 0 .../extract/kg/relationships/__init__.py | 0 .../extract/kg/relationships/__main__.py | 0 .../extract/kg/relationships/extract.py | 0 .../trustgraph/extract/kg/topics/__init__.py | 0 .../trustgraph/extract/kg/topics/__main__.py | 0 .../trustgraph/extract/kg/topics/extract.py | 0 .../trustgraph/extract/object}/__init__.py | 0 .../trustgraph/extract/object/row/__init__.py | 0 .../trustgraph/extract/object/row/__main__.py | 0 .../trustgraph/extract/object/row/extract.py | 0 .../trustgraph/graph_rag.py | 0 .../trustgraph/metering/__init__.py | 0 .../trustgraph/metering/__main__.py | 0 .../trustgraph/metering/counter.py | 0 .../trustgraph/metering/pricelist.py | 0 .../trustgraph/model}/__init__.py | 0 .../trustgraph/model/prompt}/__init__.py | 0 .../model/prompt/generic/__init__.py | 0 .../model/prompt/generic/__main__.py | 0 .../model/prompt/generic/prompts.py | 0 .../model/prompt/generic/service.py | 0 .../model/prompt/template/__init__.py | 0 .../model/prompt/template/__main__.py | 0 .../model/prompt/template/prompts.py | 0 .../model/prompt/template/service.py | 0 .../model/text_completion}/__init__.py | 0 .../model/text_completion/azure}/__init__.py | 0 .../model/text_completion/azure}/__main__.py | 0 .../model/text_completion/azure/llm.py | 0 .../model/text_completion/claude/__init__.py | 0 .../model/text_completion/claude/__main__.py | 0 .../model/text_completion/claude/llm.py | 0 .../model/text_completion/cohere/__init__.py | 0 .../model/text_completion/cohere/__main__.py | 0 .../model/text_completion/cohere/llm.py | 0 .../text_completion/llamafile/__init__.py | 0 .../text_completion/llamafile/__main__.py | 0 .../model/text_completion/llamafile/llm.py | 0 .../model/text_completion/ollama/__init__.py | 0 .../model/text_completion/ollama/__main__.py | 0 .../model/text_completion/ollama/llm.py | 0 .../model/text_completion/openai/__init__.py | 0 .../model/text_completion/openai/__main__.py | 0 .../model/text_completion/openai/llm.py | 0 .../trustgraph/processing/__init__.py | 0 .../trustgraph/processing/__main__.py | 0 .../trustgraph/processing/processing.py | 0 .../trustgraph/query}/__init__.py | 0 .../query/doc_embeddings}/__init__.py | 0 .../query/doc_embeddings/milvus/__init__.py | 0 .../query/doc_embeddings/milvus/__main__.py | 0 .../query/doc_embeddings/milvus/service.py | 0 .../query/doc_embeddings/qdrant/__init__.py | 0 .../query/doc_embeddings/qdrant/__main__.py | 0 .../query/doc_embeddings/qdrant/service.py | 0 .../query/graph_embeddings}/__init__.py | 0 .../query/graph_embeddings/milvus/__init__.py | 0 .../query/graph_embeddings/milvus/__main__.py | 0 .../query/graph_embeddings/milvus/service.py | 0 .../query/graph_embeddings/qdrant/__init__.py | 0 .../query/graph_embeddings/qdrant/__main__.py | 0 .../query/graph_embeddings/qdrant/service.py | 0 .../trustgraph/query/triples}/__init__.py | 0 .../query/triples/cassandra/__init__.py | 0 .../query/triples/cassandra/__main__.py | 0 .../query/triples/cassandra/service.py | 0 .../query/triples/neo4j/__init__.py | 0 .../query/triples/neo4j/__main__.py | 0 .../trustgraph/query/triples/neo4j/service.py | 0 .../trustgraph/retrieval}/__init__.py | 0 .../retrieval/document_rag/__init__.py | 0 .../retrieval/document_rag/__main__.py | 0 .../trustgraph/retrieval/document_rag/rag.py | 0 .../retrieval/graph_rag/__init__.py | 0 .../retrieval/graph_rag/__main__.py | 0 .../trustgraph/retrieval/graph_rag/rag.py | 0 .../trustgraph/storage}/__init__.py | 0 .../storage/doc_embeddings}/__init__.py | 0 .../storage/doc_embeddings/milvus/__init__.py | 0 .../doc_embeddings/milvus}/__main__.py | 0 .../storage/doc_embeddings/milvus/write.py | 0 .../storage/doc_embeddings/qdrant/__init__.py | 0 .../doc_embeddings/qdrant}/__main__.py | 0 .../storage/doc_embeddings/qdrant/write.py | 0 .../storage/graph_embeddings}/__init__.py | 0 .../graph_embeddings/milvus/__init__.py | 0 .../graph_embeddings}/milvus/__main__.py | 0 .../storage/graph_embeddings/milvus/write.py | 0 .../graph_embeddings/qdrant/__init__.py | 0 .../graph_embeddings}/qdrant/__main__.py | 0 .../storage/graph_embeddings/qdrant/write.py | 0 .../storage/object_embeddings}/__init__.py | 0 .../object_embeddings/milvus/__init__.py | 0 .../object_embeddings}/milvus/__main__.py | 0 .../storage/object_embeddings/milvus/write.py | 0 .../trustgraph/storage/rows}/__init__.py | 0 .../storage/rows/cassandra/__init__.py | 0 .../storage/rows/cassandra}/__main__.py | 0 .../storage/rows/cassandra/write.py | 0 .../trustgraph/storage/triples}/__init__.py | 0 .../storage/triples/cassandra/__init__.py | 0 .../storage/triples/cassandra}/__main__.py | 0 .../storage/triples/cassandra/write.py | 0 .../storage/triples/neo4j/__init__.py | 0 .../storage/triples/neo4j}/__main__.py | 0 .../trustgraph/storage/triples/neo4j/write.py | 0 .../scripts/concat-parquet | 0 .../scripts/dump-parquet | 0 .../scripts/ge-dump-parquet | 0 .../scripts/load-graph-embeddings | 0 .../scripts/load-triples | 0 .../scripts/triples-dump-parquet | 0 trustgraph-parquet/setup.py | 48 +++++++++++++++++ .../trustgraph/dump}/__init__.py | 0 .../dump/graph_embeddings}/__init__.py | 0 .../graph_embeddings}/parquet/__init__.py | 0 .../graph_embeddings/parquet}/__main__.py | 0 .../graph_embeddings/parquet/processor.py | 0 .../dump/graph_embeddings/parquet/writer.py | 0 .../trustgraph/dump}/triples/__init__.py | 0 .../dump/triples/parquet}/__init__.py | 0 .../dump/triples/parquet}/__main__.py | 0 .../dump/triples/parquet/processor.py | 0 .../trustgraph/dump/triples/parquet/writer.py | 0 .../scripts/graph-show | 0 .../scripts/graph-to-turtle | 0 .../scripts/init-pulsar-manager | 0 .../scripts/load-pdf | 0 .../scripts/load-text | 0 .../scripts/query-document-rag | 0 .../scripts/query-graph-rag | 0 .../scripts/tg-init-pulsar | 0 .../scripts/tg-processor-state | 0 trustgraph-utils/setup.py | 53 ++++++++++++++++++ .../scripts/text-completion-vertexai | 0 trustgraph-vertexai/setup.py | 45 ++++++++++++++++ .../text-completion}/vertexai/__init__.py | 0 .../text-completion}/vertexai/__main__.py | 0 .../model/text-completion}/vertexai/llm.py | 0 262 files changed, 630 insertions(+), 420 deletions(-) create mode 100644 trustgraph-base/setup.py rename {trustgraph-core => trustgraph-base}/trustgraph/base/__init__.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/base/base_processor.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/base/consumer.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/base/consumer_producer.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/base/producer.py (100%) rename {trustgraph-core/trustgraph => trustgraph-base/trustgraph/clients}/__init__.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/base.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/document_embeddings_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/document_rag_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/embeddings_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/graph_embeddings_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/graph_rag_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/llm_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/prompt_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/clients/triples_query_client.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/exceptions.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/log_level.py (100%) rename {trustgraph-core/trustgraph/chunking => trustgraph-base/trustgraph/objects}/__init__.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/objects/field.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/objects/object.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/rdf.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/__init__.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/documents.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/graph.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/models.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/object.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/prompt.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/retrieval.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/topic.py (100%) rename {trustgraph-core => trustgraph-base}/trustgraph/schema/types.py (100%) rename {trustgraph-core => trustgraph-bedrock}/scripts/text-completion-bedrock (100%) create mode 100644 trustgraph-bedrock/setup.py rename {trustgraph-core/trustgraph/model/text_completion/azure => trustgraph-bedrock/trustgraph/model/text_completion/bedrock}/__init__.py (100%) rename {trustgraph-core/trustgraph/model/text_completion/azure => trustgraph-bedrock/trustgraph/model/text_completion/bedrock}/__main__.py (100%) rename {trustgraph-core => trustgraph-bedrock}/trustgraph/model/text_completion/bedrock/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/scripts/chunker-recursive (100%) rename {trustgraph-core => trustgraph-flow}/scripts/chunker-token (100%) rename {trustgraph-core => trustgraph-flow}/scripts/de-query-milvus (100%) rename {trustgraph-core => trustgraph-flow}/scripts/de-query-qdrant (100%) rename {trustgraph-core => trustgraph-flow}/scripts/de-write-milvus (100%) rename {trustgraph-core => trustgraph-flow}/scripts/de-write-qdrant (100%) rename {trustgraph-core => trustgraph-flow}/scripts/document-rag (100%) rename {trustgraph-core => trustgraph-flow}/scripts/embeddings-ollama (100%) rename {trustgraph-core => trustgraph-flow}/scripts/embeddings-vectorize (100%) rename {trustgraph-core => trustgraph-flow}/scripts/ge-query-milvus (100%) rename {trustgraph-core => trustgraph-flow}/scripts/ge-query-qdrant (100%) rename {trustgraph-core => trustgraph-flow}/scripts/ge-write-milvus (100%) rename {trustgraph-core => trustgraph-flow}/scripts/ge-write-qdrant (100%) rename {trustgraph-core => trustgraph-flow}/scripts/graph-rag (100%) rename {trustgraph-core => trustgraph-flow}/scripts/kg-extract-definitions (100%) rename {trustgraph-core => trustgraph-flow}/scripts/kg-extract-relationships (100%) rename {trustgraph-core => trustgraph-flow}/scripts/kg-extract-topics (100%) rename {trustgraph-core => trustgraph-flow}/scripts/metering (100%) rename {trustgraph-core => trustgraph-flow}/scripts/object-extract-row (100%) rename {trustgraph-core => trustgraph-flow}/scripts/oe-write-milvus (100%) rename {trustgraph-core => trustgraph-flow}/scripts/pdf-decoder (100%) rename {trustgraph-core => trustgraph-flow}/scripts/prompt-generic (100%) rename {trustgraph-core => trustgraph-flow}/scripts/prompt-template (100%) rename {trustgraph-core => trustgraph-flow}/scripts/rows-write-cassandra (100%) rename {trustgraph-core => trustgraph-flow}/scripts/run-processing (100%) rename {trustgraph-core => trustgraph-flow}/scripts/text-completion-azure (100%) rename {trustgraph-core => trustgraph-flow}/scripts/text-completion-claude (100%) rename {trustgraph-core => trustgraph-flow}/scripts/text-completion-cohere (100%) rename {trustgraph-core => trustgraph-flow}/scripts/text-completion-llamafile (100%) rename {trustgraph-core => trustgraph-flow}/scripts/text-completion-ollama (100%) rename {trustgraph-core => trustgraph-flow}/scripts/text-completion-openai (100%) rename {trustgraph-core => trustgraph-flow}/scripts/triples-query-cassandra (100%) rename {trustgraph-core => trustgraph-flow}/scripts/triples-query-neo4j (100%) rename {trustgraph-core => trustgraph-flow}/scripts/triples-write-cassandra (100%) rename {trustgraph-core => trustgraph-flow}/scripts/triples-write-neo4j (100%) rename {trustgraph-core => trustgraph-flow}/setup.py (78%) rename {trustgraph-core/trustgraph/clients => trustgraph-flow/trustgraph}/__init__.py (100%) rename {trustgraph-core/trustgraph/decoding => trustgraph-flow/trustgraph/chunking}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/chunking/recursive/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/chunking/recursive/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/chunking/recursive/chunker.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/chunking/token/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/chunking/token/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/chunking/token/chunker.py (100%) rename {trustgraph-core/trustgraph/direct => trustgraph-flow/trustgraph/decoding}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/decoding/pdf/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/decoding/pdf/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/decoding/pdf/pdf_decoder.py (100%) rename {trustgraph-core/trustgraph/dump => trustgraph-flow/trustgraph/direct}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/direct/cassandra.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/direct/milvus_doc_embeddings.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/direct/milvus_graph_embeddings.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/direct/milvus_object_embeddings.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/document_rag.py (100%) rename {trustgraph-core/trustgraph/dump/graph_embeddings => trustgraph-flow/trustgraph/embeddings}/__init__.py (100%) rename {trustgraph-core/trustgraph/dump/graph_embeddings/parquet => trustgraph-flow/trustgraph/embeddings/ollama}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/embeddings/ollama/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/embeddings/ollama/processor.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/embeddings/vectorize/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/embeddings/vectorize/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/embeddings/vectorize/vectorize.py (100%) rename {trustgraph-core/trustgraph/dump/triples => trustgraph-flow/trustgraph/extract}/__init__.py (100%) rename {trustgraph-core/trustgraph/embeddings => trustgraph-flow/trustgraph/extract/kg}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/definitions/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/definitions/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/definitions/extract.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/relationships/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/relationships/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/relationships/extract.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/topics/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/topics/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/kg/topics/extract.py (100%) rename {trustgraph-core/trustgraph/extract => trustgraph-flow/trustgraph/extract/object}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/object/row/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/object/row/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/extract/object/row/extract.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/graph_rag.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/metering/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/metering/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/metering/counter.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/metering/pricelist.py (100%) rename {trustgraph-core/trustgraph/extract/kg => trustgraph-flow/trustgraph/model}/__init__.py (100%) rename {trustgraph-core/trustgraph/extract/object => trustgraph-flow/trustgraph/model/prompt}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/generic/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/generic/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/generic/prompts.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/generic/service.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/template/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/template/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/template/prompts.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/prompt/template/service.py (100%) rename {trustgraph-core/trustgraph/model => trustgraph-flow/trustgraph/model/text_completion}/__init__.py (100%) rename {trustgraph-core/trustgraph/model/text_completion/bedrock => trustgraph-flow/trustgraph/model/text_completion/azure}/__init__.py (100%) rename {trustgraph-core/trustgraph/model/text_completion/bedrock => trustgraph-flow/trustgraph/model/text_completion/azure}/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/azure/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/claude/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/claude/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/claude/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/cohere/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/cohere/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/cohere/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/llamafile/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/llamafile/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/llamafile/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/ollama/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/ollama/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/ollama/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/openai/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/openai/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/model/text_completion/openai/llm.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/processing/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/processing/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/processing/processing.py (100%) rename {trustgraph-core/trustgraph/model/prompt => trustgraph-flow/trustgraph/query}/__init__.py (100%) rename {trustgraph-core/trustgraph/model/text_completion => trustgraph-flow/trustgraph/query/doc_embeddings}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/doc_embeddings/milvus/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/doc_embeddings/milvus/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/doc_embeddings/milvus/service.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/doc_embeddings/qdrant/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/doc_embeddings/qdrant/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/doc_embeddings/qdrant/service.py (100%) rename {trustgraph-core/trustgraph/objects => trustgraph-flow/trustgraph/query/graph_embeddings}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/graph_embeddings/milvus/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/graph_embeddings/milvus/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/graph_embeddings/milvus/service.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/graph_embeddings/qdrant/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/graph_embeddings/qdrant/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/graph_embeddings/qdrant/service.py (100%) rename {trustgraph-core/trustgraph/query => trustgraph-flow/trustgraph/query/triples}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/triples/cassandra/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/triples/cassandra/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/triples/cassandra/service.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/triples/neo4j/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/triples/neo4j/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/query/triples/neo4j/service.py (100%) rename {trustgraph-core/trustgraph/query/doc_embeddings => trustgraph-flow/trustgraph/retrieval}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/retrieval/document_rag/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/retrieval/document_rag/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/retrieval/document_rag/rag.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/retrieval/graph_rag/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/retrieval/graph_rag/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/retrieval/graph_rag/rag.py (100%) rename {trustgraph-core/trustgraph/query/graph_embeddings => trustgraph-flow/trustgraph/storage}/__init__.py (100%) rename {trustgraph-core/trustgraph/query/triples => trustgraph-flow/trustgraph/storage/doc_embeddings}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/doc_embeddings/milvus/__init__.py (100%) rename {trustgraph-core/trustgraph/dump/graph_embeddings/parquet => trustgraph-flow/trustgraph/storage/doc_embeddings/milvus}/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/doc_embeddings/milvus/write.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/doc_embeddings/qdrant/__init__.py (100%) rename {trustgraph-core/trustgraph/dump/triples/parquet => trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant}/__main__.py (100%) mode change 100755 => 100644 rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/doc_embeddings/qdrant/write.py (100%) rename {trustgraph-core/trustgraph/retrieval => trustgraph-flow/trustgraph/storage/graph_embeddings}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/graph_embeddings/milvus/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/doc_embeddings => trustgraph-flow/trustgraph/storage/graph_embeddings}/milvus/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/graph_embeddings/milvus/write.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/graph_embeddings/qdrant/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/doc_embeddings => trustgraph-flow/trustgraph/storage/graph_embeddings}/qdrant/__main__.py (100%) mode change 100644 => 100755 rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/graph_embeddings/qdrant/write.py (100%) rename {trustgraph-core/trustgraph/storage => trustgraph-flow/trustgraph/storage/object_embeddings}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/object_embeddings/milvus/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/graph_embeddings => trustgraph-flow/trustgraph/storage/object_embeddings}/milvus/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/object_embeddings/milvus/write.py (100%) rename {trustgraph-core/trustgraph/storage/doc_embeddings => trustgraph-flow/trustgraph/storage/rows}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/rows/cassandra/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/graph_embeddings/qdrant => trustgraph-flow/trustgraph/storage/rows/cassandra}/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/rows/cassandra/write.py (100%) rename {trustgraph-core/trustgraph/storage/graph_embeddings => trustgraph-flow/trustgraph/storage/triples}/__init__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/triples/cassandra/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/object_embeddings/milvus => trustgraph-flow/trustgraph/storage/triples/cassandra}/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/triples/cassandra/write.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/triples/neo4j/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/rows/cassandra => trustgraph-flow/trustgraph/storage/triples/neo4j}/__main__.py (100%) rename {trustgraph-core => trustgraph-flow}/trustgraph/storage/triples/neo4j/write.py (100%) rename {trustgraph-core => trustgraph-parquet}/scripts/concat-parquet (100%) rename {trustgraph-core => trustgraph-parquet}/scripts/dump-parquet (100%) rename {trustgraph-core => trustgraph-parquet}/scripts/ge-dump-parquet (100%) rename {trustgraph-core => trustgraph-parquet}/scripts/load-graph-embeddings (100%) rename {trustgraph-core => trustgraph-parquet}/scripts/load-triples (100%) rename {trustgraph-core => trustgraph-parquet}/scripts/triples-dump-parquet (100%) create mode 100644 trustgraph-parquet/setup.py rename {trustgraph-core/trustgraph/storage/object_embeddings => trustgraph-parquet/trustgraph/dump}/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/rows => trustgraph-parquet/trustgraph/dump/graph_embeddings}/__init__.py (100%) rename {trustgraph-core/trustgraph/dump/triples => trustgraph-parquet/trustgraph/dump/graph_embeddings}/parquet/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/triples/cassandra => trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet}/__main__.py (100%) rename {trustgraph-core => trustgraph-parquet}/trustgraph/dump/graph_embeddings/parquet/processor.py (100%) rename {trustgraph-core => trustgraph-parquet}/trustgraph/dump/graph_embeddings/parquet/writer.py (100%) rename {trustgraph-core/trustgraph/storage => trustgraph-parquet/trustgraph/dump}/triples/__init__.py (100%) rename {trustgraph-core/trustgraph/embeddings/ollama => trustgraph-parquet/trustgraph/dump/triples/parquet}/__init__.py (100%) rename {trustgraph-core/trustgraph/storage/triples/neo4j => trustgraph-parquet/trustgraph/dump/triples/parquet}/__main__.py (100%) rename {trustgraph-core => trustgraph-parquet}/trustgraph/dump/triples/parquet/processor.py (100%) rename {trustgraph-core => trustgraph-parquet}/trustgraph/dump/triples/parquet/writer.py (100%) rename {trustgraph-core => trustgraph-utils}/scripts/graph-show (100%) rename {trustgraph-core => trustgraph-utils}/scripts/graph-to-turtle (100%) rename {trustgraph-core => trustgraph-utils}/scripts/init-pulsar-manager (100%) rename {trustgraph-core => trustgraph-utils}/scripts/load-pdf (100%) rename {trustgraph-core => trustgraph-utils}/scripts/load-text (100%) rename {trustgraph-core => trustgraph-utils}/scripts/query-document-rag (100%) rename {trustgraph-core => trustgraph-utils}/scripts/query-graph-rag (100%) rename {trustgraph-core => trustgraph-utils}/scripts/tg-init-pulsar (100%) rename {trustgraph-core => trustgraph-utils}/scripts/tg-processor-state (100%) create mode 100644 trustgraph-utils/setup.py rename {trustgraph-core => trustgraph-vertexai}/scripts/text-completion-vertexai (100%) create mode 100644 trustgraph-vertexai/setup.py rename {trustgraph-core/trustgraph/model/text_completion => trustgraph-vertexai/trustgraph/model/text-completion}/vertexai/__init__.py (100%) rename {trustgraph-core/trustgraph/model/text_completion => trustgraph-vertexai/trustgraph/model/text-completion}/vertexai/__main__.py (100%) rename {trustgraph-core/trustgraph/model/text_completion => trustgraph-vertexai/trustgraph/model/text-completion}/vertexai/llm.py (100%) diff --git a/Containerfile b/Containerfile index bfcbe5df..cc808838 100644 --- a/Containerfile +++ b/Containerfile @@ -28,18 +28,36 @@ RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama \ FROM ai AS build -env PACKAGE_VERSION=0.0.0 +COPY trustgraph-base/ /root/build/trustgraph-base/ +COPY README.md /root/build/trustgraph-base/ -COPY trustgraph-core/ /root/build/trustgraph-core/ -COPY README.md /root/build/trustgraph-core/ +COPY trustgraph-flow/ /root/build/trustgraph-flow/ +COPY README.md /root/build/trustgraph-flow/ + +COPY trustgraph-vertexai/ /root/build/trustgraph-vertexai/ +COPY README.md /root/build/trustgraph-vertexai/ + +COPY trustgraph-bedrock/ /root/build/trustgraph-bedrock/ +COPY README.md /root/build/trustgraph-bedrock/ + +COPY trustgraph-parquet/ /root/build/trustgraph-parquet/ +COPY README.md /root/build/trustgraph-parquet/ COPY trustgraph-embeddings-hf/ /root/build/trustgraph-embeddings-hf/ COPY README.md /root/build/trustgraph-embeddings-hf/ +COPY trustgraph-utils/ /root/build/trustgraph-utils/ +COPY README.md /root/build/trustgraph-utils/ + WORKDIR /root/build/ -RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-core/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-base/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-flow/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-vertexai/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-bedrock/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-parquet/ RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-embeddings-hf/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-utils/ RUN ls /root/wheels @@ -52,8 +70,13 @@ FROM ai COPY --from=build /root/wheels /root/wheels RUN \ - pip3 install /root/wheels/trustgraph_core-* && \ + pip3 install /root/wheels/trustgraph_base-* && \ + pip3 install /root/wheels/trustgraph_flow-* && \ + pip3 install /root/wheels/trustgraph_vertexai-* && \ + pip3 install /root/wheels/trustgraph_bedrock-* && \ + pip3 install /root/wheels/trustgraph_parquet-* && \ pip3 install /root/wheels/trustgraph_embeddings_hf-* && \ + pip3 install /root/wheels/trustgraph_utils-* && \ pip3 cache purge && \ rm -rf /root/wheels diff --git a/Makefile b/Makefile index 521aafd1..78c1cb45 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,31 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.8 +VERSION=0.11.9 DOCKER=podman all: container pkgs: - pip3 wheel --no-deps --wheel-dir dist trustgraph-core/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-base/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-flow/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-vertexai/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-bedrock/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-parquet/ pip3 wheel --no-deps --wheel-dir dist trustgraph-embeddings-hf/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-utils/ CONTAINER=docker.io/trustgraph/trustgraph-flow update-package-versions: - echo __version__ = \"${VERSION}\" > trustgraph-core/trustgraph/core_version.py + mkdir -p trustgraph-utils/trustgraph + echo __version__ = \"${VERSION}\" > trustgraph-base/trustgraph/base_version.py + echo __version__ = \"${VERSION}\" > trustgraph-flow/trustgraph/flow_version.py + echo __version__ = \"${VERSION}\" > trustgraph-vertexai/trustgraph/vertexai_version.py + echo __version__ = \"${VERSION}\" > trustgraph-bedrock/trustgraph/bedrock_version.py + echo __version__ = \"${VERSION}\" > trustgraph-parquet/trustgraph/parquet_version.py echo __version__ = \"${VERSION}\" > trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py + echo __version__ = \"${VERSION}\" > trustgraph-utils/trustgraph/utils_version.py container: update-package-versions ${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \ @@ -23,17 +34,6 @@ container: update-package-versions push: ${DOCKER} push ${CONTAINER}:${VERSION} -start: - ${DOCKER} run -i -t --name ${NAME} \ - -i -t \ - -p 8081:8081 \ - -v $$(pwd)/keys:/keys \ - -v $$(pwd)/configs:/configs \ - ${CONTAINER}:${VERSION} - -stop: - ${DOCKER} rm -f ${NAME} - clean: rm -rf wheels/ @@ -61,10 +61,8 @@ JSONNET_FLAGS=-J templates -J . # is going away in 0.11. update-templates: update-dcs -# update-minikubes JSON_TO_YAML=python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' -# JSON_TO_YAML=cat update-dcs: set-version for graph in ${GRAPHS}; do \ @@ -88,31 +86,7 @@ update-dcs: set-version done; \ done -update-minikubes: set-version - rm -rf deploy/minikube - mkdir -p deploy/minikube - for model in ${MODELS}; do \ - for graph in ${GRAPHS}; do \ - cm=$${graph},pulsar,${VECTORDB},embeddings-hf,graph-rag,grafana,trustgraph,$${model}; \ - input=templates/opts-to-minikube-k8s.jsonnet; \ - output=deploy/minikube/tg-launch-$${model}-$${graph}.yaml; \ - echo $${model} + $${graph} '->' $${output}; \ - jsonnet ${JSONNET_FLAGS} \ - --ext-str options=$${cm} $${input} | \ - ${JSON_TO_YAML} > $${output}; \ - done; \ - done - docker-hub-login: cat docker-token.txt | \ docker login -u trustgraph --password-stdin registry-1.docker.io -FORCE: - -IGNOREconfig.yaml: config.json FORCE - jsonnet -J . -J templates/ templates/config-to-gcp-k8s.jsonnet | \ - python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@ - -config.yaml: config.json FORCE - jsonnet -J . -J templates/ templates/config-to-minikube-k8s.jsonnet | \ - python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@ diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 52d0c150..2afe9f59 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 62fc30f6..4e784a80 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 79e0068a..0b525411 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index af53883b..822bc094 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 0148a1ae..94d184f8 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 5dab1a0d..f100fb52 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 9985bb4b..b72567cd 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 733e43f3..acc08817 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index e1e41d00..6ef1a807 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 2237dae9..98ced647 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 2f584f92..dcb509fa 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 1120c21b..aed9bee4 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 520f4f9e..27af012b 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 1ef6c7eb..8a5b4995 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 14af9e1a..b1bfaa22 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 87a9a1aa..94c2afa0 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 39d85405..98fc0a42 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 36880bbf..e0c7b339 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.8 + image: docker.io/trustgraph/trustgraph-flow:0.11.9 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-base/setup.py b/trustgraph-base/setup.py new file mode 100644 index 00000000..60d8b6c8 --- /dev/null +++ b/trustgraph-base/setup.py @@ -0,0 +1,42 @@ +import setuptools +import os +import importlib + +with open("README.md", "r") as fh: + long_description = fh.read() + +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/base_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ + +setuptools.setup( + name="trustgraph-base", + version=version, + author="trustgraph.ai", + author_email="security@trustgraph.ai", + description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/trustgraph-ai/trustgraph", + packages=setuptools.find_namespace_packages( + where='./', + ), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.8', + download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", + install_requires=[ + "pulsar-client", + "prometheus-client", + ], + scripts=[ + ] +) diff --git a/trustgraph-core/trustgraph/base/__init__.py b/trustgraph-base/trustgraph/base/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/base/__init__.py rename to trustgraph-base/trustgraph/base/__init__.py diff --git a/trustgraph-core/trustgraph/base/base_processor.py b/trustgraph-base/trustgraph/base/base_processor.py similarity index 100% rename from trustgraph-core/trustgraph/base/base_processor.py rename to trustgraph-base/trustgraph/base/base_processor.py diff --git a/trustgraph-core/trustgraph/base/consumer.py b/trustgraph-base/trustgraph/base/consumer.py similarity index 100% rename from trustgraph-core/trustgraph/base/consumer.py rename to trustgraph-base/trustgraph/base/consumer.py diff --git a/trustgraph-core/trustgraph/base/consumer_producer.py b/trustgraph-base/trustgraph/base/consumer_producer.py similarity index 100% rename from trustgraph-core/trustgraph/base/consumer_producer.py rename to trustgraph-base/trustgraph/base/consumer_producer.py diff --git a/trustgraph-core/trustgraph/base/producer.py b/trustgraph-base/trustgraph/base/producer.py similarity index 100% rename from trustgraph-core/trustgraph/base/producer.py rename to trustgraph-base/trustgraph/base/producer.py diff --git a/trustgraph-core/trustgraph/__init__.py b/trustgraph-base/trustgraph/clients/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/__init__.py rename to trustgraph-base/trustgraph/clients/__init__.py diff --git a/trustgraph-core/trustgraph/clients/base.py b/trustgraph-base/trustgraph/clients/base.py similarity index 100% rename from trustgraph-core/trustgraph/clients/base.py rename to trustgraph-base/trustgraph/clients/base.py diff --git a/trustgraph-core/trustgraph/clients/document_embeddings_client.py b/trustgraph-base/trustgraph/clients/document_embeddings_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/document_embeddings_client.py rename to trustgraph-base/trustgraph/clients/document_embeddings_client.py diff --git a/trustgraph-core/trustgraph/clients/document_rag_client.py b/trustgraph-base/trustgraph/clients/document_rag_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/document_rag_client.py rename to trustgraph-base/trustgraph/clients/document_rag_client.py diff --git a/trustgraph-core/trustgraph/clients/embeddings_client.py b/trustgraph-base/trustgraph/clients/embeddings_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/embeddings_client.py rename to trustgraph-base/trustgraph/clients/embeddings_client.py diff --git a/trustgraph-core/trustgraph/clients/graph_embeddings_client.py b/trustgraph-base/trustgraph/clients/graph_embeddings_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/graph_embeddings_client.py rename to trustgraph-base/trustgraph/clients/graph_embeddings_client.py diff --git a/trustgraph-core/trustgraph/clients/graph_rag_client.py b/trustgraph-base/trustgraph/clients/graph_rag_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/graph_rag_client.py rename to trustgraph-base/trustgraph/clients/graph_rag_client.py diff --git a/trustgraph-core/trustgraph/clients/llm_client.py b/trustgraph-base/trustgraph/clients/llm_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/llm_client.py rename to trustgraph-base/trustgraph/clients/llm_client.py diff --git a/trustgraph-core/trustgraph/clients/prompt_client.py b/trustgraph-base/trustgraph/clients/prompt_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/prompt_client.py rename to trustgraph-base/trustgraph/clients/prompt_client.py diff --git a/trustgraph-core/trustgraph/clients/triples_query_client.py b/trustgraph-base/trustgraph/clients/triples_query_client.py similarity index 100% rename from trustgraph-core/trustgraph/clients/triples_query_client.py rename to trustgraph-base/trustgraph/clients/triples_query_client.py diff --git a/trustgraph-core/trustgraph/exceptions.py b/trustgraph-base/trustgraph/exceptions.py similarity index 100% rename from trustgraph-core/trustgraph/exceptions.py rename to trustgraph-base/trustgraph/exceptions.py diff --git a/trustgraph-core/trustgraph/log_level.py b/trustgraph-base/trustgraph/log_level.py similarity index 100% rename from trustgraph-core/trustgraph/log_level.py rename to trustgraph-base/trustgraph/log_level.py diff --git a/trustgraph-core/trustgraph/chunking/__init__.py b/trustgraph-base/trustgraph/objects/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/__init__.py rename to trustgraph-base/trustgraph/objects/__init__.py diff --git a/trustgraph-core/trustgraph/objects/field.py b/trustgraph-base/trustgraph/objects/field.py similarity index 100% rename from trustgraph-core/trustgraph/objects/field.py rename to trustgraph-base/trustgraph/objects/field.py diff --git a/trustgraph-core/trustgraph/objects/object.py b/trustgraph-base/trustgraph/objects/object.py similarity index 100% rename from trustgraph-core/trustgraph/objects/object.py rename to trustgraph-base/trustgraph/objects/object.py diff --git a/trustgraph-core/trustgraph/rdf.py b/trustgraph-base/trustgraph/rdf.py similarity index 100% rename from trustgraph-core/trustgraph/rdf.py rename to trustgraph-base/trustgraph/rdf.py diff --git a/trustgraph-core/trustgraph/schema/__init__.py b/trustgraph-base/trustgraph/schema/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/schema/__init__.py rename to trustgraph-base/trustgraph/schema/__init__.py diff --git a/trustgraph-core/trustgraph/schema/documents.py b/trustgraph-base/trustgraph/schema/documents.py similarity index 100% rename from trustgraph-core/trustgraph/schema/documents.py rename to trustgraph-base/trustgraph/schema/documents.py diff --git a/trustgraph-core/trustgraph/schema/graph.py b/trustgraph-base/trustgraph/schema/graph.py similarity index 100% rename from trustgraph-core/trustgraph/schema/graph.py rename to trustgraph-base/trustgraph/schema/graph.py diff --git a/trustgraph-core/trustgraph/schema/models.py b/trustgraph-base/trustgraph/schema/models.py similarity index 100% rename from trustgraph-core/trustgraph/schema/models.py rename to trustgraph-base/trustgraph/schema/models.py diff --git a/trustgraph-core/trustgraph/schema/object.py b/trustgraph-base/trustgraph/schema/object.py similarity index 100% rename from trustgraph-core/trustgraph/schema/object.py rename to trustgraph-base/trustgraph/schema/object.py diff --git a/trustgraph-core/trustgraph/schema/prompt.py b/trustgraph-base/trustgraph/schema/prompt.py similarity index 100% rename from trustgraph-core/trustgraph/schema/prompt.py rename to trustgraph-base/trustgraph/schema/prompt.py diff --git a/trustgraph-core/trustgraph/schema/retrieval.py b/trustgraph-base/trustgraph/schema/retrieval.py similarity index 100% rename from trustgraph-core/trustgraph/schema/retrieval.py rename to trustgraph-base/trustgraph/schema/retrieval.py diff --git a/trustgraph-core/trustgraph/schema/topic.py b/trustgraph-base/trustgraph/schema/topic.py similarity index 100% rename from trustgraph-core/trustgraph/schema/topic.py rename to trustgraph-base/trustgraph/schema/topic.py diff --git a/trustgraph-core/trustgraph/schema/types.py b/trustgraph-base/trustgraph/schema/types.py similarity index 100% rename from trustgraph-core/trustgraph/schema/types.py rename to trustgraph-base/trustgraph/schema/types.py diff --git a/trustgraph-core/scripts/text-completion-bedrock b/trustgraph-bedrock/scripts/text-completion-bedrock similarity index 100% rename from trustgraph-core/scripts/text-completion-bedrock rename to trustgraph-bedrock/scripts/text-completion-bedrock diff --git a/trustgraph-bedrock/setup.py b/trustgraph-bedrock/setup.py new file mode 100644 index 00000000..317f2bdf --- /dev/null +++ b/trustgraph-bedrock/setup.py @@ -0,0 +1,45 @@ +import setuptools +import os +import importlib + +with open("README.md", "r") as fh: + long_description = fh.read() + +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/bedrock_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ + +setuptools.setup( + name="trustgraph-bedrock", + version=version, + author="trustgraph.ai", + author_email="security@trustgraph.ai", + description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/trustgraph-ai/trustgraph", + packages=setuptools.find_namespace_packages( + where='./', + ), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.8', + download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", + install_requires=[ + "trustgraph-base", + "pulsar-client", + "prometheus-client", + "boto3", + ], + scripts=[ + "scripts/text-completion-bedrock", + ] +) diff --git a/trustgraph-core/trustgraph/model/text_completion/azure/__init__.py b/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/azure/__init__.py rename to trustgraph-bedrock/trustgraph/model/text_completion/bedrock/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/azure/__main__.py b/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/azure/__main__.py rename to trustgraph-bedrock/trustgraph/model/text_completion/bedrock/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/bedrock/llm.py b/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/bedrock/llm.py rename to trustgraph-bedrock/trustgraph/model/text_completion/bedrock/llm.py diff --git a/trustgraph-embeddings-hf/setup.py b/trustgraph-embeddings-hf/setup.py index d473e2d5..f3c2869b 100644 --- a/trustgraph-embeddings-hf/setup.py +++ b/trustgraph-embeddings-hf/setup.py @@ -25,7 +25,6 @@ setuptools.setup( url="https://github.com/trustgraph-ai/trustgraph", packages=setuptools.find_namespace_packages( where='./', -# include=['trustgraph.core'] ), classifiers=[ "Programming Language :: Python :: 3", @@ -35,7 +34,8 @@ setuptools.setup( python_requires='>=3.8', download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", install_requires=[ - "trustgraph-core", + "trustgraph-base", + "trustgraph-flow", "torch", "urllib3", "transformers", diff --git a/trustgraph-core/scripts/chunker-recursive b/trustgraph-flow/scripts/chunker-recursive similarity index 100% rename from trustgraph-core/scripts/chunker-recursive rename to trustgraph-flow/scripts/chunker-recursive diff --git a/trustgraph-core/scripts/chunker-token b/trustgraph-flow/scripts/chunker-token similarity index 100% rename from trustgraph-core/scripts/chunker-token rename to trustgraph-flow/scripts/chunker-token diff --git a/trustgraph-core/scripts/de-query-milvus b/trustgraph-flow/scripts/de-query-milvus similarity index 100% rename from trustgraph-core/scripts/de-query-milvus rename to trustgraph-flow/scripts/de-query-milvus diff --git a/trustgraph-core/scripts/de-query-qdrant b/trustgraph-flow/scripts/de-query-qdrant similarity index 100% rename from trustgraph-core/scripts/de-query-qdrant rename to trustgraph-flow/scripts/de-query-qdrant diff --git a/trustgraph-core/scripts/de-write-milvus b/trustgraph-flow/scripts/de-write-milvus similarity index 100% rename from trustgraph-core/scripts/de-write-milvus rename to trustgraph-flow/scripts/de-write-milvus diff --git a/trustgraph-core/scripts/de-write-qdrant b/trustgraph-flow/scripts/de-write-qdrant similarity index 100% rename from trustgraph-core/scripts/de-write-qdrant rename to trustgraph-flow/scripts/de-write-qdrant diff --git a/trustgraph-core/scripts/document-rag b/trustgraph-flow/scripts/document-rag similarity index 100% rename from trustgraph-core/scripts/document-rag rename to trustgraph-flow/scripts/document-rag diff --git a/trustgraph-core/scripts/embeddings-ollama b/trustgraph-flow/scripts/embeddings-ollama similarity index 100% rename from trustgraph-core/scripts/embeddings-ollama rename to trustgraph-flow/scripts/embeddings-ollama diff --git a/trustgraph-core/scripts/embeddings-vectorize b/trustgraph-flow/scripts/embeddings-vectorize similarity index 100% rename from trustgraph-core/scripts/embeddings-vectorize rename to trustgraph-flow/scripts/embeddings-vectorize diff --git a/trustgraph-core/scripts/ge-query-milvus b/trustgraph-flow/scripts/ge-query-milvus similarity index 100% rename from trustgraph-core/scripts/ge-query-milvus rename to trustgraph-flow/scripts/ge-query-milvus diff --git a/trustgraph-core/scripts/ge-query-qdrant b/trustgraph-flow/scripts/ge-query-qdrant similarity index 100% rename from trustgraph-core/scripts/ge-query-qdrant rename to trustgraph-flow/scripts/ge-query-qdrant diff --git a/trustgraph-core/scripts/ge-write-milvus b/trustgraph-flow/scripts/ge-write-milvus similarity index 100% rename from trustgraph-core/scripts/ge-write-milvus rename to trustgraph-flow/scripts/ge-write-milvus diff --git a/trustgraph-core/scripts/ge-write-qdrant b/trustgraph-flow/scripts/ge-write-qdrant similarity index 100% rename from trustgraph-core/scripts/ge-write-qdrant rename to trustgraph-flow/scripts/ge-write-qdrant diff --git a/trustgraph-core/scripts/graph-rag b/trustgraph-flow/scripts/graph-rag similarity index 100% rename from trustgraph-core/scripts/graph-rag rename to trustgraph-flow/scripts/graph-rag diff --git a/trustgraph-core/scripts/kg-extract-definitions b/trustgraph-flow/scripts/kg-extract-definitions similarity index 100% rename from trustgraph-core/scripts/kg-extract-definitions rename to trustgraph-flow/scripts/kg-extract-definitions diff --git a/trustgraph-core/scripts/kg-extract-relationships b/trustgraph-flow/scripts/kg-extract-relationships similarity index 100% rename from trustgraph-core/scripts/kg-extract-relationships rename to trustgraph-flow/scripts/kg-extract-relationships diff --git a/trustgraph-core/scripts/kg-extract-topics b/trustgraph-flow/scripts/kg-extract-topics similarity index 100% rename from trustgraph-core/scripts/kg-extract-topics rename to trustgraph-flow/scripts/kg-extract-topics diff --git a/trustgraph-core/scripts/metering b/trustgraph-flow/scripts/metering similarity index 100% rename from trustgraph-core/scripts/metering rename to trustgraph-flow/scripts/metering diff --git a/trustgraph-core/scripts/object-extract-row b/trustgraph-flow/scripts/object-extract-row similarity index 100% rename from trustgraph-core/scripts/object-extract-row rename to trustgraph-flow/scripts/object-extract-row diff --git a/trustgraph-core/scripts/oe-write-milvus b/trustgraph-flow/scripts/oe-write-milvus similarity index 100% rename from trustgraph-core/scripts/oe-write-milvus rename to trustgraph-flow/scripts/oe-write-milvus diff --git a/trustgraph-core/scripts/pdf-decoder b/trustgraph-flow/scripts/pdf-decoder similarity index 100% rename from trustgraph-core/scripts/pdf-decoder rename to trustgraph-flow/scripts/pdf-decoder diff --git a/trustgraph-core/scripts/prompt-generic b/trustgraph-flow/scripts/prompt-generic similarity index 100% rename from trustgraph-core/scripts/prompt-generic rename to trustgraph-flow/scripts/prompt-generic diff --git a/trustgraph-core/scripts/prompt-template b/trustgraph-flow/scripts/prompt-template similarity index 100% rename from trustgraph-core/scripts/prompt-template rename to trustgraph-flow/scripts/prompt-template diff --git a/trustgraph-core/scripts/rows-write-cassandra b/trustgraph-flow/scripts/rows-write-cassandra similarity index 100% rename from trustgraph-core/scripts/rows-write-cassandra rename to trustgraph-flow/scripts/rows-write-cassandra diff --git a/trustgraph-core/scripts/run-processing b/trustgraph-flow/scripts/run-processing similarity index 100% rename from trustgraph-core/scripts/run-processing rename to trustgraph-flow/scripts/run-processing diff --git a/trustgraph-core/scripts/text-completion-azure b/trustgraph-flow/scripts/text-completion-azure similarity index 100% rename from trustgraph-core/scripts/text-completion-azure rename to trustgraph-flow/scripts/text-completion-azure diff --git a/trustgraph-core/scripts/text-completion-claude b/trustgraph-flow/scripts/text-completion-claude similarity index 100% rename from trustgraph-core/scripts/text-completion-claude rename to trustgraph-flow/scripts/text-completion-claude diff --git a/trustgraph-core/scripts/text-completion-cohere b/trustgraph-flow/scripts/text-completion-cohere similarity index 100% rename from trustgraph-core/scripts/text-completion-cohere rename to trustgraph-flow/scripts/text-completion-cohere diff --git a/trustgraph-core/scripts/text-completion-llamafile b/trustgraph-flow/scripts/text-completion-llamafile similarity index 100% rename from trustgraph-core/scripts/text-completion-llamafile rename to trustgraph-flow/scripts/text-completion-llamafile diff --git a/trustgraph-core/scripts/text-completion-ollama b/trustgraph-flow/scripts/text-completion-ollama similarity index 100% rename from trustgraph-core/scripts/text-completion-ollama rename to trustgraph-flow/scripts/text-completion-ollama diff --git a/trustgraph-core/scripts/text-completion-openai b/trustgraph-flow/scripts/text-completion-openai similarity index 100% rename from trustgraph-core/scripts/text-completion-openai rename to trustgraph-flow/scripts/text-completion-openai diff --git a/trustgraph-core/scripts/triples-query-cassandra b/trustgraph-flow/scripts/triples-query-cassandra similarity index 100% rename from trustgraph-core/scripts/triples-query-cassandra rename to trustgraph-flow/scripts/triples-query-cassandra diff --git a/trustgraph-core/scripts/triples-query-neo4j b/trustgraph-flow/scripts/triples-query-neo4j similarity index 100% rename from trustgraph-core/scripts/triples-query-neo4j rename to trustgraph-flow/scripts/triples-query-neo4j diff --git a/trustgraph-core/scripts/triples-write-cassandra b/trustgraph-flow/scripts/triples-write-cassandra similarity index 100% rename from trustgraph-core/scripts/triples-write-cassandra rename to trustgraph-flow/scripts/triples-write-cassandra diff --git a/trustgraph-core/scripts/triples-write-neo4j b/trustgraph-flow/scripts/triples-write-neo4j similarity index 100% rename from trustgraph-core/scripts/triples-write-neo4j rename to trustgraph-flow/scripts/triples-write-neo4j diff --git a/trustgraph-core/setup.py b/trustgraph-flow/setup.py similarity index 78% rename from trustgraph-core/setup.py rename to trustgraph-flow/setup.py index 404bb26b..a1c89797 100644 --- a/trustgraph-core/setup.py +++ b/trustgraph-flow/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: # Load a version number module spec = importlib.util.spec_from_file_location( - 'version', 'trustgraph/core_version.py' + 'version', 'trustgraph/flow_version.py' ) version_module = importlib.util.module_from_spec(spec) spec.loader.exec_module(version_module) @@ -15,7 +15,7 @@ spec.loader.exec_module(version_module) version = version_module.__version__ setuptools.setup( - name="trustgraph-core", + name="trustgraph-flow", version=version, author="trustgraph.ai", author_email="security@trustgraph.ai", @@ -25,7 +25,6 @@ setuptools.setup( url="https://github.com/trustgraph-ai/trustgraph", packages=setuptools.find_namespace_packages( where='./', -# include=['trustgraph.core'] ), classifiers=[ "Programming Language :: Python :: 3", @@ -35,6 +34,7 @@ setuptools.setup( python_requires='>=3.8', download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", install_requires=[ + "trustgraph-base", "urllib3", "rdflib", "pymilvus", @@ -49,12 +49,9 @@ setuptools.setup( "qdrant-client", "tabulate", "anthropic", - "google-cloud-aiplatform", "pyyaml", "prometheus-client", - "pyarrow", "cohere", - "boto3", "openai", "neo4j", "tiktoken", @@ -62,52 +59,35 @@ setuptools.setup( scripts=[ "scripts/chunker-recursive", "scripts/chunker-token", - "scripts/concat-parquet", "scripts/de-query-milvus", "scripts/de-query-qdrant", "scripts/de-write-milvus", "scripts/de-write-qdrant", "scripts/document-rag", - "scripts/dump-parquet", "scripts/embeddings-ollama", "scripts/embeddings-vectorize", - "scripts/ge-dump-parquet", "scripts/ge-query-milvus", "scripts/ge-query-qdrant", "scripts/ge-write-milvus", "scripts/ge-write-qdrant", "scripts/graph-rag", - "scripts/graph-show", - "scripts/graph-to-turtle", - "scripts/init-pulsar-manager", "scripts/kg-extract-definitions", "scripts/kg-extract-topics", "scripts/kg-extract-relationships", - "scripts/load-graph-embeddings", - "scripts/load-pdf", - "scripts/load-text", - "scripts/load-triples", "scripts/metering", "scripts/object-extract-row", "scripts/oe-write-milvus", "scripts/pdf-decoder", "scripts/prompt-generic", "scripts/prompt-template", - "scripts/query-document-rag", - "scripts/query-graph-rag", "scripts/rows-write-cassandra", "scripts/run-processing", "scripts/text-completion-azure", - "scripts/text-completion-bedrock", "scripts/text-completion-claude", "scripts/text-completion-cohere", "scripts/text-completion-llamafile", "scripts/text-completion-ollama", "scripts/text-completion-openai", - "scripts/text-completion-vertexai", - "scripts/tg-init-pulsar", - "scripts/tg-processor-state", - "scripts/triples-dump-parquet", "scripts/triples-query-cassandra", "scripts/triples-query-neo4j", "scripts/triples-write-cassandra", diff --git a/trustgraph-core/trustgraph/clients/__init__.py b/trustgraph-flow/trustgraph/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/clients/__init__.py rename to trustgraph-flow/trustgraph/__init__.py diff --git a/trustgraph-core/trustgraph/decoding/__init__.py b/trustgraph-flow/trustgraph/chunking/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/decoding/__init__.py rename to trustgraph-flow/trustgraph/chunking/__init__.py diff --git a/trustgraph-core/trustgraph/chunking/recursive/__init__.py b/trustgraph-flow/trustgraph/chunking/recursive/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/recursive/__init__.py rename to trustgraph-flow/trustgraph/chunking/recursive/__init__.py diff --git a/trustgraph-core/trustgraph/chunking/recursive/__main__.py b/trustgraph-flow/trustgraph/chunking/recursive/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/recursive/__main__.py rename to trustgraph-flow/trustgraph/chunking/recursive/__main__.py diff --git a/trustgraph-core/trustgraph/chunking/recursive/chunker.py b/trustgraph-flow/trustgraph/chunking/recursive/chunker.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/recursive/chunker.py rename to trustgraph-flow/trustgraph/chunking/recursive/chunker.py diff --git a/trustgraph-core/trustgraph/chunking/token/__init__.py b/trustgraph-flow/trustgraph/chunking/token/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/token/__init__.py rename to trustgraph-flow/trustgraph/chunking/token/__init__.py diff --git a/trustgraph-core/trustgraph/chunking/token/__main__.py b/trustgraph-flow/trustgraph/chunking/token/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/token/__main__.py rename to trustgraph-flow/trustgraph/chunking/token/__main__.py diff --git a/trustgraph-core/trustgraph/chunking/token/chunker.py b/trustgraph-flow/trustgraph/chunking/token/chunker.py similarity index 100% rename from trustgraph-core/trustgraph/chunking/token/chunker.py rename to trustgraph-flow/trustgraph/chunking/token/chunker.py diff --git a/trustgraph-core/trustgraph/direct/__init__.py b/trustgraph-flow/trustgraph/decoding/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/direct/__init__.py rename to trustgraph-flow/trustgraph/decoding/__init__.py diff --git a/trustgraph-core/trustgraph/decoding/pdf/__init__.py b/trustgraph-flow/trustgraph/decoding/pdf/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/decoding/pdf/__init__.py rename to trustgraph-flow/trustgraph/decoding/pdf/__init__.py diff --git a/trustgraph-core/trustgraph/decoding/pdf/__main__.py b/trustgraph-flow/trustgraph/decoding/pdf/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/decoding/pdf/__main__.py rename to trustgraph-flow/trustgraph/decoding/pdf/__main__.py diff --git a/trustgraph-core/trustgraph/decoding/pdf/pdf_decoder.py b/trustgraph-flow/trustgraph/decoding/pdf/pdf_decoder.py similarity index 100% rename from trustgraph-core/trustgraph/decoding/pdf/pdf_decoder.py rename to trustgraph-flow/trustgraph/decoding/pdf/pdf_decoder.py diff --git a/trustgraph-core/trustgraph/dump/__init__.py b/trustgraph-flow/trustgraph/direct/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/dump/__init__.py rename to trustgraph-flow/trustgraph/direct/__init__.py diff --git a/trustgraph-core/trustgraph/direct/cassandra.py b/trustgraph-flow/trustgraph/direct/cassandra.py similarity index 100% rename from trustgraph-core/trustgraph/direct/cassandra.py rename to trustgraph-flow/trustgraph/direct/cassandra.py diff --git a/trustgraph-core/trustgraph/direct/milvus_doc_embeddings.py b/trustgraph-flow/trustgraph/direct/milvus_doc_embeddings.py similarity index 100% rename from trustgraph-core/trustgraph/direct/milvus_doc_embeddings.py rename to trustgraph-flow/trustgraph/direct/milvus_doc_embeddings.py diff --git a/trustgraph-core/trustgraph/direct/milvus_graph_embeddings.py b/trustgraph-flow/trustgraph/direct/milvus_graph_embeddings.py similarity index 100% rename from trustgraph-core/trustgraph/direct/milvus_graph_embeddings.py rename to trustgraph-flow/trustgraph/direct/milvus_graph_embeddings.py diff --git a/trustgraph-core/trustgraph/direct/milvus_object_embeddings.py b/trustgraph-flow/trustgraph/direct/milvus_object_embeddings.py similarity index 100% rename from trustgraph-core/trustgraph/direct/milvus_object_embeddings.py rename to trustgraph-flow/trustgraph/direct/milvus_object_embeddings.py diff --git a/trustgraph-core/trustgraph/document_rag.py b/trustgraph-flow/trustgraph/document_rag.py similarity index 100% rename from trustgraph-core/trustgraph/document_rag.py rename to trustgraph-flow/trustgraph/document_rag.py diff --git a/trustgraph-core/trustgraph/dump/graph_embeddings/__init__.py b/trustgraph-flow/trustgraph/embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/dump/graph_embeddings/__init__.py rename to trustgraph-flow/trustgraph/embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__init__.py b/trustgraph-flow/trustgraph/embeddings/ollama/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__init__.py rename to trustgraph-flow/trustgraph/embeddings/ollama/__init__.py diff --git a/trustgraph-core/trustgraph/embeddings/ollama/__main__.py b/trustgraph-flow/trustgraph/embeddings/ollama/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/ollama/__main__.py rename to trustgraph-flow/trustgraph/embeddings/ollama/__main__.py diff --git a/trustgraph-core/trustgraph/embeddings/ollama/processor.py b/trustgraph-flow/trustgraph/embeddings/ollama/processor.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/ollama/processor.py rename to trustgraph-flow/trustgraph/embeddings/ollama/processor.py diff --git a/trustgraph-core/trustgraph/embeddings/vectorize/__init__.py b/trustgraph-flow/trustgraph/embeddings/vectorize/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/vectorize/__init__.py rename to trustgraph-flow/trustgraph/embeddings/vectorize/__init__.py diff --git a/trustgraph-core/trustgraph/embeddings/vectorize/__main__.py b/trustgraph-flow/trustgraph/embeddings/vectorize/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/vectorize/__main__.py rename to trustgraph-flow/trustgraph/embeddings/vectorize/__main__.py diff --git a/trustgraph-core/trustgraph/embeddings/vectorize/vectorize.py b/trustgraph-flow/trustgraph/embeddings/vectorize/vectorize.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/vectorize/vectorize.py rename to trustgraph-flow/trustgraph/embeddings/vectorize/vectorize.py diff --git a/trustgraph-core/trustgraph/dump/triples/__init__.py b/trustgraph-flow/trustgraph/extract/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/dump/triples/__init__.py rename to trustgraph-flow/trustgraph/extract/__init__.py diff --git a/trustgraph-core/trustgraph/embeddings/__init__.py b/trustgraph-flow/trustgraph/extract/kg/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/__init__.py rename to trustgraph-flow/trustgraph/extract/kg/__init__.py diff --git a/trustgraph-core/trustgraph/extract/kg/definitions/__init__.py b/trustgraph-flow/trustgraph/extract/kg/definitions/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/definitions/__init__.py rename to trustgraph-flow/trustgraph/extract/kg/definitions/__init__.py diff --git a/trustgraph-core/trustgraph/extract/kg/definitions/__main__.py b/trustgraph-flow/trustgraph/extract/kg/definitions/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/definitions/__main__.py rename to trustgraph-flow/trustgraph/extract/kg/definitions/__main__.py diff --git a/trustgraph-core/trustgraph/extract/kg/definitions/extract.py b/trustgraph-flow/trustgraph/extract/kg/definitions/extract.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/definitions/extract.py rename to trustgraph-flow/trustgraph/extract/kg/definitions/extract.py diff --git a/trustgraph-core/trustgraph/extract/kg/relationships/__init__.py b/trustgraph-flow/trustgraph/extract/kg/relationships/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/relationships/__init__.py rename to trustgraph-flow/trustgraph/extract/kg/relationships/__init__.py diff --git a/trustgraph-core/trustgraph/extract/kg/relationships/__main__.py b/trustgraph-flow/trustgraph/extract/kg/relationships/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/relationships/__main__.py rename to trustgraph-flow/trustgraph/extract/kg/relationships/__main__.py diff --git a/trustgraph-core/trustgraph/extract/kg/relationships/extract.py b/trustgraph-flow/trustgraph/extract/kg/relationships/extract.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/relationships/extract.py rename to trustgraph-flow/trustgraph/extract/kg/relationships/extract.py diff --git a/trustgraph-core/trustgraph/extract/kg/topics/__init__.py b/trustgraph-flow/trustgraph/extract/kg/topics/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/topics/__init__.py rename to trustgraph-flow/trustgraph/extract/kg/topics/__init__.py diff --git a/trustgraph-core/trustgraph/extract/kg/topics/__main__.py b/trustgraph-flow/trustgraph/extract/kg/topics/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/topics/__main__.py rename to trustgraph-flow/trustgraph/extract/kg/topics/__main__.py diff --git a/trustgraph-core/trustgraph/extract/kg/topics/extract.py b/trustgraph-flow/trustgraph/extract/kg/topics/extract.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/topics/extract.py rename to trustgraph-flow/trustgraph/extract/kg/topics/extract.py diff --git a/trustgraph-core/trustgraph/extract/__init__.py b/trustgraph-flow/trustgraph/extract/object/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/__init__.py rename to trustgraph-flow/trustgraph/extract/object/__init__.py diff --git a/trustgraph-core/trustgraph/extract/object/row/__init__.py b/trustgraph-flow/trustgraph/extract/object/row/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/object/row/__init__.py rename to trustgraph-flow/trustgraph/extract/object/row/__init__.py diff --git a/trustgraph-core/trustgraph/extract/object/row/__main__.py b/trustgraph-flow/trustgraph/extract/object/row/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/object/row/__main__.py rename to trustgraph-flow/trustgraph/extract/object/row/__main__.py diff --git a/trustgraph-core/trustgraph/extract/object/row/extract.py b/trustgraph-flow/trustgraph/extract/object/row/extract.py similarity index 100% rename from trustgraph-core/trustgraph/extract/object/row/extract.py rename to trustgraph-flow/trustgraph/extract/object/row/extract.py diff --git a/trustgraph-core/trustgraph/graph_rag.py b/trustgraph-flow/trustgraph/graph_rag.py similarity index 100% rename from trustgraph-core/trustgraph/graph_rag.py rename to trustgraph-flow/trustgraph/graph_rag.py diff --git a/trustgraph-core/trustgraph/metering/__init__.py b/trustgraph-flow/trustgraph/metering/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/metering/__init__.py rename to trustgraph-flow/trustgraph/metering/__init__.py diff --git a/trustgraph-core/trustgraph/metering/__main__.py b/trustgraph-flow/trustgraph/metering/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/metering/__main__.py rename to trustgraph-flow/trustgraph/metering/__main__.py diff --git a/trustgraph-core/trustgraph/metering/counter.py b/trustgraph-flow/trustgraph/metering/counter.py similarity index 100% rename from trustgraph-core/trustgraph/metering/counter.py rename to trustgraph-flow/trustgraph/metering/counter.py diff --git a/trustgraph-core/trustgraph/metering/pricelist.py b/trustgraph-flow/trustgraph/metering/pricelist.py similarity index 100% rename from trustgraph-core/trustgraph/metering/pricelist.py rename to trustgraph-flow/trustgraph/metering/pricelist.py diff --git a/trustgraph-core/trustgraph/extract/kg/__init__.py b/trustgraph-flow/trustgraph/model/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/kg/__init__.py rename to trustgraph-flow/trustgraph/model/__init__.py diff --git a/trustgraph-core/trustgraph/extract/object/__init__.py b/trustgraph-flow/trustgraph/model/prompt/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/extract/object/__init__.py rename to trustgraph-flow/trustgraph/model/prompt/__init__.py diff --git a/trustgraph-core/trustgraph/model/prompt/generic/__init__.py b/trustgraph-flow/trustgraph/model/prompt/generic/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/generic/__init__.py rename to trustgraph-flow/trustgraph/model/prompt/generic/__init__.py diff --git a/trustgraph-core/trustgraph/model/prompt/generic/__main__.py b/trustgraph-flow/trustgraph/model/prompt/generic/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/generic/__main__.py rename to trustgraph-flow/trustgraph/model/prompt/generic/__main__.py diff --git a/trustgraph-core/trustgraph/model/prompt/generic/prompts.py b/trustgraph-flow/trustgraph/model/prompt/generic/prompts.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/generic/prompts.py rename to trustgraph-flow/trustgraph/model/prompt/generic/prompts.py diff --git a/trustgraph-core/trustgraph/model/prompt/generic/service.py b/trustgraph-flow/trustgraph/model/prompt/generic/service.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/generic/service.py rename to trustgraph-flow/trustgraph/model/prompt/generic/service.py diff --git a/trustgraph-core/trustgraph/model/prompt/template/__init__.py b/trustgraph-flow/trustgraph/model/prompt/template/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/template/__init__.py rename to trustgraph-flow/trustgraph/model/prompt/template/__init__.py diff --git a/trustgraph-core/trustgraph/model/prompt/template/__main__.py b/trustgraph-flow/trustgraph/model/prompt/template/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/template/__main__.py rename to trustgraph-flow/trustgraph/model/prompt/template/__main__.py diff --git a/trustgraph-core/trustgraph/model/prompt/template/prompts.py b/trustgraph-flow/trustgraph/model/prompt/template/prompts.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/template/prompts.py rename to trustgraph-flow/trustgraph/model/prompt/template/prompts.py diff --git a/trustgraph-core/trustgraph/model/prompt/template/service.py b/trustgraph-flow/trustgraph/model/prompt/template/service.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/template/service.py rename to trustgraph-flow/trustgraph/model/prompt/template/service.py diff --git a/trustgraph-core/trustgraph/model/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/bedrock/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/azure/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/bedrock/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/azure/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/bedrock/__main__.py b/trustgraph-flow/trustgraph/model/text_completion/azure/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/bedrock/__main__.py rename to trustgraph-flow/trustgraph/model/text_completion/azure/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/azure/llm.py b/trustgraph-flow/trustgraph/model/text_completion/azure/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/azure/llm.py rename to trustgraph-flow/trustgraph/model/text_completion/azure/llm.py diff --git a/trustgraph-core/trustgraph/model/text_completion/claude/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/claude/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/claude/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/claude/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/claude/__main__.py b/trustgraph-flow/trustgraph/model/text_completion/claude/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/claude/__main__.py rename to trustgraph-flow/trustgraph/model/text_completion/claude/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/claude/llm.py b/trustgraph-flow/trustgraph/model/text_completion/claude/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/claude/llm.py rename to trustgraph-flow/trustgraph/model/text_completion/claude/llm.py diff --git a/trustgraph-core/trustgraph/model/text_completion/cohere/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/cohere/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/cohere/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/cohere/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/cohere/__main__.py b/trustgraph-flow/trustgraph/model/text_completion/cohere/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/cohere/__main__.py rename to trustgraph-flow/trustgraph/model/text_completion/cohere/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/cohere/llm.py b/trustgraph-flow/trustgraph/model/text_completion/cohere/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/cohere/llm.py rename to trustgraph-flow/trustgraph/model/text_completion/cohere/llm.py diff --git a/trustgraph-core/trustgraph/model/text_completion/llamafile/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/llamafile/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/llamafile/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/llamafile/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/llamafile/__main__.py b/trustgraph-flow/trustgraph/model/text_completion/llamafile/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/llamafile/__main__.py rename to trustgraph-flow/trustgraph/model/text_completion/llamafile/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/llamafile/llm.py b/trustgraph-flow/trustgraph/model/text_completion/llamafile/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/llamafile/llm.py rename to trustgraph-flow/trustgraph/model/text_completion/llamafile/llm.py diff --git a/trustgraph-core/trustgraph/model/text_completion/ollama/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/ollama/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/ollama/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/ollama/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/ollama/__main__.py b/trustgraph-flow/trustgraph/model/text_completion/ollama/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/ollama/__main__.py rename to trustgraph-flow/trustgraph/model/text_completion/ollama/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/ollama/llm.py b/trustgraph-flow/trustgraph/model/text_completion/ollama/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/ollama/llm.py rename to trustgraph-flow/trustgraph/model/text_completion/ollama/llm.py diff --git a/trustgraph-core/trustgraph/model/text_completion/openai/__init__.py b/trustgraph-flow/trustgraph/model/text_completion/openai/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/openai/__init__.py rename to trustgraph-flow/trustgraph/model/text_completion/openai/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/openai/__main__.py b/trustgraph-flow/trustgraph/model/text_completion/openai/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/openai/__main__.py rename to trustgraph-flow/trustgraph/model/text_completion/openai/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/openai/llm.py b/trustgraph-flow/trustgraph/model/text_completion/openai/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/openai/llm.py rename to trustgraph-flow/trustgraph/model/text_completion/openai/llm.py diff --git a/trustgraph-core/trustgraph/processing/__init__.py b/trustgraph-flow/trustgraph/processing/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/processing/__init__.py rename to trustgraph-flow/trustgraph/processing/__init__.py diff --git a/trustgraph-core/trustgraph/processing/__main__.py b/trustgraph-flow/trustgraph/processing/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/processing/__main__.py rename to trustgraph-flow/trustgraph/processing/__main__.py diff --git a/trustgraph-core/trustgraph/processing/processing.py b/trustgraph-flow/trustgraph/processing/processing.py similarity index 100% rename from trustgraph-core/trustgraph/processing/processing.py rename to trustgraph-flow/trustgraph/processing/processing.py diff --git a/trustgraph-core/trustgraph/model/prompt/__init__.py b/trustgraph-flow/trustgraph/query/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/prompt/__init__.py rename to trustgraph-flow/trustgraph/query/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/__init__.py b/trustgraph-flow/trustgraph/query/doc_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/__init__.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/milvus/__init__.py b/trustgraph-flow/trustgraph/query/doc_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/milvus/__init__.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/milvus/__main__.py b/trustgraph-flow/trustgraph/query/doc_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/milvus/__main__.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/milvus/service.py b/trustgraph-flow/trustgraph/query/doc_embeddings/milvus/service.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/milvus/service.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/milvus/service.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__init__.py b/trustgraph-flow/trustgraph/query/doc_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__init__.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__main__.py b/trustgraph-flow/trustgraph/query/doc_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/qdrant/__main__.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/qdrant/service.py b/trustgraph-flow/trustgraph/query/doc_embeddings/qdrant/service.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/qdrant/service.py rename to trustgraph-flow/trustgraph/query/doc_embeddings/qdrant/service.py diff --git a/trustgraph-core/trustgraph/objects/__init__.py b/trustgraph-flow/trustgraph/query/graph_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/objects/__init__.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/milvus/__init__.py b/trustgraph-flow/trustgraph/query/graph_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/milvus/__init__.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/milvus/__main__.py b/trustgraph-flow/trustgraph/query/graph_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/milvus/__main__.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/milvus/service.py b/trustgraph-flow/trustgraph/query/graph_embeddings/milvus/service.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/milvus/service.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/milvus/service.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__init__.py b/trustgraph-flow/trustgraph/query/graph_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__init__.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__main__.py b/trustgraph-flow/trustgraph/query/graph_embeddings/qdrant/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/qdrant/__main__.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/qdrant/service.py b/trustgraph-flow/trustgraph/query/graph_embeddings/qdrant/service.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/qdrant/service.py rename to trustgraph-flow/trustgraph/query/graph_embeddings/qdrant/service.py diff --git a/trustgraph-core/trustgraph/query/__init__.py b/trustgraph-flow/trustgraph/query/triples/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/__init__.py rename to trustgraph-flow/trustgraph/query/triples/__init__.py diff --git a/trustgraph-core/trustgraph/query/triples/cassandra/__init__.py b/trustgraph-flow/trustgraph/query/triples/cassandra/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/cassandra/__init__.py rename to trustgraph-flow/trustgraph/query/triples/cassandra/__init__.py diff --git a/trustgraph-core/trustgraph/query/triples/cassandra/__main__.py b/trustgraph-flow/trustgraph/query/triples/cassandra/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/cassandra/__main__.py rename to trustgraph-flow/trustgraph/query/triples/cassandra/__main__.py diff --git a/trustgraph-core/trustgraph/query/triples/cassandra/service.py b/trustgraph-flow/trustgraph/query/triples/cassandra/service.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/cassandra/service.py rename to trustgraph-flow/trustgraph/query/triples/cassandra/service.py diff --git a/trustgraph-core/trustgraph/query/triples/neo4j/__init__.py b/trustgraph-flow/trustgraph/query/triples/neo4j/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/neo4j/__init__.py rename to trustgraph-flow/trustgraph/query/triples/neo4j/__init__.py diff --git a/trustgraph-core/trustgraph/query/triples/neo4j/__main__.py b/trustgraph-flow/trustgraph/query/triples/neo4j/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/neo4j/__main__.py rename to trustgraph-flow/trustgraph/query/triples/neo4j/__main__.py diff --git a/trustgraph-core/trustgraph/query/triples/neo4j/service.py b/trustgraph-flow/trustgraph/query/triples/neo4j/service.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/neo4j/service.py rename to trustgraph-flow/trustgraph/query/triples/neo4j/service.py diff --git a/trustgraph-core/trustgraph/query/doc_embeddings/__init__.py b/trustgraph-flow/trustgraph/retrieval/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/doc_embeddings/__init__.py rename to trustgraph-flow/trustgraph/retrieval/__init__.py diff --git a/trustgraph-core/trustgraph/retrieval/document_rag/__init__.py b/trustgraph-flow/trustgraph/retrieval/document_rag/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/document_rag/__init__.py rename to trustgraph-flow/trustgraph/retrieval/document_rag/__init__.py diff --git a/trustgraph-core/trustgraph/retrieval/document_rag/__main__.py b/trustgraph-flow/trustgraph/retrieval/document_rag/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/document_rag/__main__.py rename to trustgraph-flow/trustgraph/retrieval/document_rag/__main__.py diff --git a/trustgraph-core/trustgraph/retrieval/document_rag/rag.py b/trustgraph-flow/trustgraph/retrieval/document_rag/rag.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/document_rag/rag.py rename to trustgraph-flow/trustgraph/retrieval/document_rag/rag.py diff --git a/trustgraph-core/trustgraph/retrieval/graph_rag/__init__.py b/trustgraph-flow/trustgraph/retrieval/graph_rag/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/graph_rag/__init__.py rename to trustgraph-flow/trustgraph/retrieval/graph_rag/__init__.py diff --git a/trustgraph-core/trustgraph/retrieval/graph_rag/__main__.py b/trustgraph-flow/trustgraph/retrieval/graph_rag/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/graph_rag/__main__.py rename to trustgraph-flow/trustgraph/retrieval/graph_rag/__main__.py diff --git a/trustgraph-core/trustgraph/retrieval/graph_rag/rag.py b/trustgraph-flow/trustgraph/retrieval/graph_rag/rag.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/graph_rag/rag.py rename to trustgraph-flow/trustgraph/retrieval/graph_rag/rag.py diff --git a/trustgraph-core/trustgraph/query/graph_embeddings/__init__.py b/trustgraph-flow/trustgraph/storage/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/graph_embeddings/__init__.py rename to trustgraph-flow/trustgraph/storage/__init__.py diff --git a/trustgraph-core/trustgraph/query/triples/__init__.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/query/triples/__init__.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__init__.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__init__.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__main__.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/dump/graph_embeddings/parquet/__main__.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/milvus/write.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/milvus/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/milvus/write.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/milvus/write.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__init__.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__init__.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/dump/triples/parquet/__main__.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/__main__.py old mode 100755 new mode 100644 similarity index 100% rename from trustgraph-core/trustgraph/dump/triples/parquet/__main__.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/write.py b/trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/write.py rename to trustgraph-flow/trustgraph/storage/doc_embeddings/qdrant/write.py diff --git a/trustgraph-core/trustgraph/retrieval/__init__.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/retrieval/__init__.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__init__.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__init__.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__main__.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/milvus/__main__.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/milvus/write.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/milvus/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/milvus/write.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/milvus/write.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__init__.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/qdrant/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__init__.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/qdrant/__init__.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__main__.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/qdrant/__main__.py old mode 100644 new mode 100755 similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/qdrant/__main__.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/qdrant/__main__.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/write.py b/trustgraph-flow/trustgraph/storage/graph_embeddings/qdrant/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/write.py rename to trustgraph-flow/trustgraph/storage/graph_embeddings/qdrant/write.py diff --git a/trustgraph-core/trustgraph/storage/__init__.py b/trustgraph-flow/trustgraph/storage/object_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/__init__.py rename to trustgraph-flow/trustgraph/storage/object_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/storage/object_embeddings/milvus/__init__.py b/trustgraph-flow/trustgraph/storage/object_embeddings/milvus/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/object_embeddings/milvus/__init__.py rename to trustgraph-flow/trustgraph/storage/object_embeddings/milvus/__init__.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__main__.py b/trustgraph-flow/trustgraph/storage/object_embeddings/milvus/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/milvus/__main__.py rename to trustgraph-flow/trustgraph/storage/object_embeddings/milvus/__main__.py diff --git a/trustgraph-core/trustgraph/storage/object_embeddings/milvus/write.py b/trustgraph-flow/trustgraph/storage/object_embeddings/milvus/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/object_embeddings/milvus/write.py rename to trustgraph-flow/trustgraph/storage/object_embeddings/milvus/write.py diff --git a/trustgraph-core/trustgraph/storage/doc_embeddings/__init__.py b/trustgraph-flow/trustgraph/storage/rows/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/doc_embeddings/__init__.py rename to trustgraph-flow/trustgraph/storage/rows/__init__.py diff --git a/trustgraph-core/trustgraph/storage/rows/cassandra/__init__.py b/trustgraph-flow/trustgraph/storage/rows/cassandra/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/rows/cassandra/__init__.py rename to trustgraph-flow/trustgraph/storage/rows/cassandra/__init__.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__main__.py b/trustgraph-flow/trustgraph/storage/rows/cassandra/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/qdrant/__main__.py rename to trustgraph-flow/trustgraph/storage/rows/cassandra/__main__.py diff --git a/trustgraph-core/trustgraph/storage/rows/cassandra/write.py b/trustgraph-flow/trustgraph/storage/rows/cassandra/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/rows/cassandra/write.py rename to trustgraph-flow/trustgraph/storage/rows/cassandra/write.py diff --git a/trustgraph-core/trustgraph/storage/graph_embeddings/__init__.py b/trustgraph-flow/trustgraph/storage/triples/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/graph_embeddings/__init__.py rename to trustgraph-flow/trustgraph/storage/triples/__init__.py diff --git a/trustgraph-core/trustgraph/storage/triples/cassandra/__init__.py b/trustgraph-flow/trustgraph/storage/triples/cassandra/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/cassandra/__init__.py rename to trustgraph-flow/trustgraph/storage/triples/cassandra/__init__.py diff --git a/trustgraph-core/trustgraph/storage/object_embeddings/milvus/__main__.py b/trustgraph-flow/trustgraph/storage/triples/cassandra/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/object_embeddings/milvus/__main__.py rename to trustgraph-flow/trustgraph/storage/triples/cassandra/__main__.py diff --git a/trustgraph-core/trustgraph/storage/triples/cassandra/write.py b/trustgraph-flow/trustgraph/storage/triples/cassandra/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/cassandra/write.py rename to trustgraph-flow/trustgraph/storage/triples/cassandra/write.py diff --git a/trustgraph-core/trustgraph/storage/triples/neo4j/__init__.py b/trustgraph-flow/trustgraph/storage/triples/neo4j/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/neo4j/__init__.py rename to trustgraph-flow/trustgraph/storage/triples/neo4j/__init__.py diff --git a/trustgraph-core/trustgraph/storage/rows/cassandra/__main__.py b/trustgraph-flow/trustgraph/storage/triples/neo4j/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/rows/cassandra/__main__.py rename to trustgraph-flow/trustgraph/storage/triples/neo4j/__main__.py diff --git a/trustgraph-core/trustgraph/storage/triples/neo4j/write.py b/trustgraph-flow/trustgraph/storage/triples/neo4j/write.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/neo4j/write.py rename to trustgraph-flow/trustgraph/storage/triples/neo4j/write.py diff --git a/trustgraph-core/scripts/concat-parquet b/trustgraph-parquet/scripts/concat-parquet similarity index 100% rename from trustgraph-core/scripts/concat-parquet rename to trustgraph-parquet/scripts/concat-parquet diff --git a/trustgraph-core/scripts/dump-parquet b/trustgraph-parquet/scripts/dump-parquet similarity index 100% rename from trustgraph-core/scripts/dump-parquet rename to trustgraph-parquet/scripts/dump-parquet diff --git a/trustgraph-core/scripts/ge-dump-parquet b/trustgraph-parquet/scripts/ge-dump-parquet similarity index 100% rename from trustgraph-core/scripts/ge-dump-parquet rename to trustgraph-parquet/scripts/ge-dump-parquet diff --git a/trustgraph-core/scripts/load-graph-embeddings b/trustgraph-parquet/scripts/load-graph-embeddings similarity index 100% rename from trustgraph-core/scripts/load-graph-embeddings rename to trustgraph-parquet/scripts/load-graph-embeddings diff --git a/trustgraph-core/scripts/load-triples b/trustgraph-parquet/scripts/load-triples similarity index 100% rename from trustgraph-core/scripts/load-triples rename to trustgraph-parquet/scripts/load-triples diff --git a/trustgraph-core/scripts/triples-dump-parquet b/trustgraph-parquet/scripts/triples-dump-parquet similarity index 100% rename from trustgraph-core/scripts/triples-dump-parquet rename to trustgraph-parquet/scripts/triples-dump-parquet diff --git a/trustgraph-parquet/setup.py b/trustgraph-parquet/setup.py new file mode 100644 index 00000000..6da7d916 --- /dev/null +++ b/trustgraph-parquet/setup.py @@ -0,0 +1,48 @@ +import setuptools +import os +import importlib + +with open("README.md", "r") as fh: + long_description = fh.read() + +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/parquet_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ + +setuptools.setup( + name="trustgraph-parquet", + version=version, + author="trustgraph.ai", + author_email="security@trustgraph.ai", + description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/trustgraph-ai/trustgraph", + packages=setuptools.find_namespace_packages( + where='./', + ), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.8', + download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", + install_requires=[ + "trustgraph-base", + "pulsar-client", + "prometheus-client", + "pyarrow", + ], + scripts=[ + "scripts/concat-parquet", + "scripts/dump-parquet", + "scripts/ge-dump-parquet", + "scripts/triples-dump-parquet", + ] +) diff --git a/trustgraph-core/trustgraph/storage/object_embeddings/__init__.py b/trustgraph-parquet/trustgraph/dump/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/object_embeddings/__init__.py rename to trustgraph-parquet/trustgraph/dump/__init__.py diff --git a/trustgraph-core/trustgraph/storage/rows/__init__.py b/trustgraph-parquet/trustgraph/dump/graph_embeddings/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/rows/__init__.py rename to trustgraph-parquet/trustgraph/dump/graph_embeddings/__init__.py diff --git a/trustgraph-core/trustgraph/dump/triples/parquet/__init__.py b/trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/dump/triples/parquet/__init__.py rename to trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/__init__.py diff --git a/trustgraph-core/trustgraph/storage/triples/cassandra/__main__.py b/trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/cassandra/__main__.py rename to trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/__main__.py diff --git a/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/processor.py b/trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/processor.py similarity index 100% rename from trustgraph-core/trustgraph/dump/graph_embeddings/parquet/processor.py rename to trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/processor.py diff --git a/trustgraph-core/trustgraph/dump/graph_embeddings/parquet/writer.py b/trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/writer.py similarity index 100% rename from trustgraph-core/trustgraph/dump/graph_embeddings/parquet/writer.py rename to trustgraph-parquet/trustgraph/dump/graph_embeddings/parquet/writer.py diff --git a/trustgraph-core/trustgraph/storage/triples/__init__.py b/trustgraph-parquet/trustgraph/dump/triples/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/__init__.py rename to trustgraph-parquet/trustgraph/dump/triples/__init__.py diff --git a/trustgraph-core/trustgraph/embeddings/ollama/__init__.py b/trustgraph-parquet/trustgraph/dump/triples/parquet/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/embeddings/ollama/__init__.py rename to trustgraph-parquet/trustgraph/dump/triples/parquet/__init__.py diff --git a/trustgraph-core/trustgraph/storage/triples/neo4j/__main__.py b/trustgraph-parquet/trustgraph/dump/triples/parquet/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/storage/triples/neo4j/__main__.py rename to trustgraph-parquet/trustgraph/dump/triples/parquet/__main__.py diff --git a/trustgraph-core/trustgraph/dump/triples/parquet/processor.py b/trustgraph-parquet/trustgraph/dump/triples/parquet/processor.py similarity index 100% rename from trustgraph-core/trustgraph/dump/triples/parquet/processor.py rename to trustgraph-parquet/trustgraph/dump/triples/parquet/processor.py diff --git a/trustgraph-core/trustgraph/dump/triples/parquet/writer.py b/trustgraph-parquet/trustgraph/dump/triples/parquet/writer.py similarity index 100% rename from trustgraph-core/trustgraph/dump/triples/parquet/writer.py rename to trustgraph-parquet/trustgraph/dump/triples/parquet/writer.py diff --git a/trustgraph-core/scripts/graph-show b/trustgraph-utils/scripts/graph-show similarity index 100% rename from trustgraph-core/scripts/graph-show rename to trustgraph-utils/scripts/graph-show diff --git a/trustgraph-core/scripts/graph-to-turtle b/trustgraph-utils/scripts/graph-to-turtle similarity index 100% rename from trustgraph-core/scripts/graph-to-turtle rename to trustgraph-utils/scripts/graph-to-turtle diff --git a/trustgraph-core/scripts/init-pulsar-manager b/trustgraph-utils/scripts/init-pulsar-manager similarity index 100% rename from trustgraph-core/scripts/init-pulsar-manager rename to trustgraph-utils/scripts/init-pulsar-manager diff --git a/trustgraph-core/scripts/load-pdf b/trustgraph-utils/scripts/load-pdf similarity index 100% rename from trustgraph-core/scripts/load-pdf rename to trustgraph-utils/scripts/load-pdf diff --git a/trustgraph-core/scripts/load-text b/trustgraph-utils/scripts/load-text similarity index 100% rename from trustgraph-core/scripts/load-text rename to trustgraph-utils/scripts/load-text diff --git a/trustgraph-core/scripts/query-document-rag b/trustgraph-utils/scripts/query-document-rag similarity index 100% rename from trustgraph-core/scripts/query-document-rag rename to trustgraph-utils/scripts/query-document-rag diff --git a/trustgraph-core/scripts/query-graph-rag b/trustgraph-utils/scripts/query-graph-rag similarity index 100% rename from trustgraph-core/scripts/query-graph-rag rename to trustgraph-utils/scripts/query-graph-rag diff --git a/trustgraph-core/scripts/tg-init-pulsar b/trustgraph-utils/scripts/tg-init-pulsar similarity index 100% rename from trustgraph-core/scripts/tg-init-pulsar rename to trustgraph-utils/scripts/tg-init-pulsar diff --git a/trustgraph-core/scripts/tg-processor-state b/trustgraph-utils/scripts/tg-processor-state similarity index 100% rename from trustgraph-core/scripts/tg-processor-state rename to trustgraph-utils/scripts/tg-processor-state diff --git a/trustgraph-utils/setup.py b/trustgraph-utils/setup.py new file mode 100644 index 00000000..f3337f1e --- /dev/null +++ b/trustgraph-utils/setup.py @@ -0,0 +1,53 @@ +import setuptools +import os +import importlib + +with open("README.md", "r") as fh: + long_description = fh.read() + +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/utils_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ + +setuptools.setup( + name="trustgraph-utils", + version=version, + author="trustgraph.ai", + author_email="security@trustgraph.ai", + description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/trustgraph-ai/trustgraph", + packages=setuptools.find_namespace_packages( + where='./', + ), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.8', + download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", + install_requires=[ + "trustgraph-base", + "requests", + "pulsar-client", + "tabulate", + ], + scripts=[ + "scripts/graph-show", + "scripts/graph-to-turtle", + "scripts/init-pulsar-manager", + "scripts/load-pdf", + "scripts/load-text", + "scripts/query-document-rag", + "scripts/query-graph-rag", + "scripts/tg-init-pulsar", + "scripts/tg-processor-state", + ] +) diff --git a/trustgraph-core/scripts/text-completion-vertexai b/trustgraph-vertexai/scripts/text-completion-vertexai similarity index 100% rename from trustgraph-core/scripts/text-completion-vertexai rename to trustgraph-vertexai/scripts/text-completion-vertexai diff --git a/trustgraph-vertexai/setup.py b/trustgraph-vertexai/setup.py new file mode 100644 index 00000000..73c03b20 --- /dev/null +++ b/trustgraph-vertexai/setup.py @@ -0,0 +1,45 @@ +import setuptools +import os +import importlib + +with open("README.md", "r") as fh: + long_description = fh.read() + +# Load a version number module +spec = importlib.util.spec_from_file_location( + 'version', 'trustgraph/vertexai_version.py' +) +version_module = importlib.util.module_from_spec(spec) +spec.loader.exec_module(version_module) + +version = version_module.__version__ + +setuptools.setup( + name="trustgraph-vertexai", + version=version, + author="trustgraph.ai", + author_email="security@trustgraph.ai", + description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/trustgraph-ai/trustgraph", + packages=setuptools.find_namespace_packages( + where='./', + ), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.8', + download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz", + install_requires=[ + "trustgraph-base", + "pulsar-client", + "google-cloud-aiplatform", + "prometheus-client", + ], + scripts=[ + "scripts/text-completion-vertexai", + ] +) diff --git a/trustgraph-core/trustgraph/model/text_completion/vertexai/__init__.py b/trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__init__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/vertexai/__init__.py rename to trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__init__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/vertexai/__main__.py b/trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__main__.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/vertexai/__main__.py rename to trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__main__.py diff --git a/trustgraph-core/trustgraph/model/text_completion/vertexai/llm.py b/trustgraph-vertexai/trustgraph/model/text-completion/vertexai/llm.py similarity index 100% rename from trustgraph-core/trustgraph/model/text_completion/vertexai/llm.py rename to trustgraph-vertexai/trustgraph/model/text-completion/vertexai/llm.py From f00baab1b8b3b8de53c8ba3f3284020306614d7a Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 19:47:09 +0100 Subject: [PATCH 28/44] Maint/fix build env (#84) * Put README placeholders for packages in place * Bump version --- .gitignore | 13 +++++++-- Containerfile | 13 --------- Makefile | 2 +- tg-launch-azure-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-azure-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-bedrock-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-bedrock-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-claude-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-claude-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-cohere-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-cohere-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-llamafile-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-llamafile-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-ollama-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-ollama-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-openai-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-openai-neo4j.yaml | 42 +++++++++++++++--------------- tg-launch-vertexai-cassandra.yaml | 42 +++++++++++++++--------------- tg-launch-vertexai-neo4j.yaml | 42 +++++++++++++++--------------- tg-storage-cassandra.yaml | 14 +++++----- tg-storage-neo4j.yaml | 14 +++++----- trustgraph-base/README.md | 1 + trustgraph-bedrock/README.md | 1 + trustgraph-embeddings-hf/README.md | 1 + trustgraph-flow/README.md | 1 + trustgraph-parquet/README.md | 1 + trustgraph-utils/README.md | 1 + trustgraph-vertexai/README.md | 1 + 28 files changed, 369 insertions(+), 366 deletions(-) create mode 100644 trustgraph-base/README.md create mode 100644 trustgraph-bedrock/README.md create mode 100644 trustgraph-embeddings-hf/README.md create mode 100644 trustgraph-flow/README.md create mode 100644 trustgraph-parquet/README.md create mode 100644 trustgraph-utils/README.md create mode 100644 trustgraph-vertexai/README.md diff --git a/.gitignore b/.gitignore index 73dc07b4..1377a864 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,15 @@ *~ __pycache__/ env/ -*.egg_info/ +*/build/ +*.egg-info/ *.parquet -templates/components/version.jsonnet +templates/values/version.jsonnet +trustgraph-base/trustgraph/base_version.py +trustgraph-bedrock/trustgraph/bedrock_version.py +trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py +trustgraph-flow/trustgraph/flow_version.py +trustgraph-parquet/trustgraph/parquet_version.py +trustgraph-vertexai/trustgraph/vertexai_version.py +trustgraph-utils/trustgraph/ +vertexai/ \ No newline at end of file diff --git a/Containerfile b/Containerfile index cc808838..05bfe087 100644 --- a/Containerfile +++ b/Containerfile @@ -29,25 +29,12 @@ RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama \ FROM ai AS build COPY trustgraph-base/ /root/build/trustgraph-base/ -COPY README.md /root/build/trustgraph-base/ - COPY trustgraph-flow/ /root/build/trustgraph-flow/ -COPY README.md /root/build/trustgraph-flow/ - COPY trustgraph-vertexai/ /root/build/trustgraph-vertexai/ -COPY README.md /root/build/trustgraph-vertexai/ - COPY trustgraph-bedrock/ /root/build/trustgraph-bedrock/ -COPY README.md /root/build/trustgraph-bedrock/ - COPY trustgraph-parquet/ /root/build/trustgraph-parquet/ -COPY README.md /root/build/trustgraph-parquet/ - COPY trustgraph-embeddings-hf/ /root/build/trustgraph-embeddings-hf/ -COPY README.md /root/build/trustgraph-embeddings-hf/ - COPY trustgraph-utils/ /root/build/trustgraph-utils/ -COPY README.md /root/build/trustgraph-utils/ WORKDIR /root/build/ diff --git a/Makefile b/Makefile index 78c1cb45..392286b5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.9 +VERSION=0.11.10 DOCKER=podman diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 2afe9f59..b804e588 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 4e784a80..8237348a 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 0b525411..849ee00e 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 822bc094..d1105ad1 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 94d184f8..8d3f932e 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index f100fb52..4e314349 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index b72567cd..4abad88d 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index acc08817..a5ea5cd4 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 6ef1a807..7680cd2d 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 98ced647..4c5145bc 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index dcb509fa..2009648b 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index aed9bee4..9771ec52 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 27af012b..3a8d8b7a 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 8a5b4995..44229296 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index b1bfaa22..f3e98e2c 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 94c2afa0..65fb57dc 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 98fc0a42..7c9fbb2b 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index e0c7b339..40215d32 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.9 + image: docker.io/trustgraph/trustgraph-flow:0.11.10 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-base/README.md b/trustgraph-base/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-base/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ diff --git a/trustgraph-bedrock/README.md b/trustgraph-bedrock/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-bedrock/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ diff --git a/trustgraph-embeddings-hf/README.md b/trustgraph-embeddings-hf/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-embeddings-hf/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ diff --git a/trustgraph-flow/README.md b/trustgraph-flow/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-flow/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ diff --git a/trustgraph-parquet/README.md b/trustgraph-parquet/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-parquet/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ diff --git a/trustgraph-utils/README.md b/trustgraph-utils/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-utils/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ diff --git a/trustgraph-vertexai/README.md b/trustgraph-vertexai/README.md new file mode 100644 index 00000000..7a2ce130 --- /dev/null +++ b/trustgraph-vertexai/README.md @@ -0,0 +1 @@ +See https://trustgraph.ai/ From c26ada08c22868e41af765fc329efe9553f9b21a Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 20:50:20 +0100 Subject: [PATCH 29/44] Fix VertexAI package. Add Python packaging to Makefile. (#85) Bump version & generate templates. --- Makefile | 15 ++++++- tg-launch-azure-cassandra.yaml | 42 +++++++++---------- tg-launch-azure-neo4j.yaml | 42 +++++++++---------- tg-launch-bedrock-cassandra.yaml | 42 +++++++++---------- tg-launch-bedrock-neo4j.yaml | 42 +++++++++---------- tg-launch-claude-cassandra.yaml | 42 +++++++++---------- tg-launch-claude-neo4j.yaml | 42 +++++++++---------- tg-launch-cohere-cassandra.yaml | 42 +++++++++---------- tg-launch-cohere-neo4j.yaml | 42 +++++++++---------- tg-launch-llamafile-cassandra.yaml | 42 +++++++++---------- tg-launch-llamafile-neo4j.yaml | 42 +++++++++---------- tg-launch-ollama-cassandra.yaml | 42 +++++++++---------- tg-launch-ollama-neo4j.yaml | 42 +++++++++---------- tg-launch-openai-cassandra.yaml | 42 +++++++++---------- tg-launch-openai-neo4j.yaml | 42 +++++++++---------- tg-launch-vertexai-cassandra.yaml | 42 +++++++++---------- tg-launch-vertexai-neo4j.yaml | 42 +++++++++---------- tg-storage-cassandra.yaml | 14 +++---- tg-storage-neo4j.yaml | 14 +++---- .../vertexai/__init__.py | 0 .../vertexai/__main__.py | 0 .../vertexai/llm.py | 0 22 files changed, 363 insertions(+), 352 deletions(-) rename trustgraph-vertexai/trustgraph/model/{text-completion => text_completion}/vertexai/__init__.py (100%) rename trustgraph-vertexai/trustgraph/model/{text-completion => text_completion}/vertexai/__main__.py (100%) rename trustgraph-vertexai/trustgraph/model/{text-completion => text_completion}/vertexai/llm.py (100%) diff --git a/Makefile b/Makefile index 392286b5..8ae1da3a 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,13 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.10 +VERSION=0.11.11 DOCKER=podman all: container -pkgs: +# Not used +wheels: pip3 wheel --no-deps --wheel-dir dist trustgraph-base/ pip3 wheel --no-deps --wheel-dir dist trustgraph-flow/ pip3 wheel --no-deps --wheel-dir dist trustgraph-vertexai/ @@ -15,6 +16,16 @@ pkgs: pip3 wheel --no-deps --wheel-dir dist trustgraph-embeddings-hf/ pip3 wheel --no-deps --wheel-dir dist trustgraph-utils/ +packages: + rm -rf dist/ + cd trustgraph-base && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-flow && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-vertexai && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-bedrock && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-parquet && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-embeddings-hf && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-utils && python3 setup.py sdist --dist-dir ../dist/ + CONTAINER=docker.io/trustgraph/trustgraph-flow update-package-versions: diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index b804e588..39c1f658 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 8237348a..257381c8 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 849ee00e..2f612332 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index d1105ad1..1e6f9901 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 8d3f932e..e6081c94 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 4e314349..ca525160 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 4abad88d..261dae6f 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index a5ea5cd4..e33d0ed6 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 7680cd2d..5421e795 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 4c5145bc..598404ce 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 2009648b..f69d7a9d 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 9771ec52..d189d096 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 3a8d8b7a..043f901d 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 44229296..834e3f60 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index f3e98e2c..be0693a8 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 65fb57dc..faae9232 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 7c9fbb2b..f1b5a299 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 40215d32..0350e734 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.10 + image: docker.io/trustgraph/trustgraph-flow:0.11.11 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__init__.py b/trustgraph-vertexai/trustgraph/model/text_completion/vertexai/__init__.py similarity index 100% rename from trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__init__.py rename to trustgraph-vertexai/trustgraph/model/text_completion/vertexai/__init__.py diff --git a/trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__main__.py b/trustgraph-vertexai/trustgraph/model/text_completion/vertexai/__main__.py similarity index 100% rename from trustgraph-vertexai/trustgraph/model/text-completion/vertexai/__main__.py rename to trustgraph-vertexai/trustgraph/model/text_completion/vertexai/__main__.py diff --git a/trustgraph-vertexai/trustgraph/model/text-completion/vertexai/llm.py b/trustgraph-vertexai/trustgraph/model/text_completion/vertexai/llm.py similarity index 100% rename from trustgraph-vertexai/trustgraph/model/text-completion/vertexai/llm.py rename to trustgraph-vertexai/trustgraph/model/text_completion/vertexai/llm.py From 0e4c9c69eef56ea6ed2d0eabfe8943b24f3a4e09 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 21:07:18 +0100 Subject: [PATCH 30/44] Add twine upload target (#86) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8ae1da3a..e5868416 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,9 @@ packages: cd trustgraph-embeddings-hf && python3 setup.py sdist --dist-dir ../dist/ cd trustgraph-utils && python3 setup.py sdist --dist-dir ../dist/ +pypi-upload: + twine upload dist/*-${VERSION}.* + CONTAINER=docker.io/trustgraph/trustgraph-flow update-package-versions: From 771d9fc2c77ad948766202dc4ad6cd2a79a3060b Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 21:24:22 +0100 Subject: [PATCH 31/44] Make util pathnames have tg- prefix (#87) --- Makefile | 2 +- tg-launch-azure-cassandra.yaml | 42 +++++++++---------- tg-launch-azure-neo4j.yaml | 42 +++++++++---------- tg-launch-bedrock-cassandra.yaml | 42 +++++++++---------- tg-launch-bedrock-neo4j.yaml | 42 +++++++++---------- tg-launch-claude-cassandra.yaml | 42 +++++++++---------- tg-launch-claude-neo4j.yaml | 42 +++++++++---------- tg-launch-cohere-cassandra.yaml | 42 +++++++++---------- tg-launch-cohere-neo4j.yaml | 42 +++++++++---------- tg-launch-llamafile-cassandra.yaml | 42 +++++++++---------- tg-launch-llamafile-neo4j.yaml | 42 +++++++++---------- tg-launch-ollama-cassandra.yaml | 42 +++++++++---------- tg-launch-ollama-neo4j.yaml | 42 +++++++++---------- tg-launch-openai-cassandra.yaml | 42 +++++++++---------- tg-launch-openai-neo4j.yaml | 42 +++++++++---------- tg-launch-vertexai-cassandra.yaml | 42 +++++++++---------- tg-launch-vertexai-neo4j.yaml | 42 +++++++++---------- tg-storage-cassandra.yaml | 14 +++---- tg-storage-neo4j.yaml | 14 +++---- .../scripts/{graph-show => tg-graph-show} | 0 .../{graph-to-turtle => tg-graph-to-turtle} | 0 ...-pulsar-manager => tg-init-pulsar-manager} | 0 .../scripts/{load-pdf => tg-load-pdf} | 0 .../scripts/{load-text => tg-load-text} | 0 ...ery-document-rag => tg-query-document-rag} | 0 .../{query-graph-rag => tg-query-graph-rag} | 0 trustgraph-utils/setup.py | 14 +++---- 27 files changed, 358 insertions(+), 358 deletions(-) rename trustgraph-utils/scripts/{graph-show => tg-graph-show} (100%) rename trustgraph-utils/scripts/{graph-to-turtle => tg-graph-to-turtle} (100%) rename trustgraph-utils/scripts/{init-pulsar-manager => tg-init-pulsar-manager} (100%) rename trustgraph-utils/scripts/{load-pdf => tg-load-pdf} (100%) rename trustgraph-utils/scripts/{load-text => tg-load-text} (100%) rename trustgraph-utils/scripts/{query-document-rag => tg-query-document-rag} (100%) rename trustgraph-utils/scripts/{query-graph-rag => tg-query-graph-rag} (100%) diff --git a/Makefile b/Makefile index e5868416..2d450130 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.11 +VERSION=0.11.12 DOCKER=podman diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 39c1f658..f229e411 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 257381c8..b18f81a2 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 2f612332..5f393d9e 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index 1e6f9901..acf1705b 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index e6081c94..fc3d5ce0 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index ca525160..64b382ee 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 261dae6f..c8938de0 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index e33d0ed6..ecf4165d 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 5421e795..8dd4b270 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 598404ce..b738d7a6 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index f69d7a9d..47f800d7 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index d189d096..9ad14831 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 043f901d..243774c5 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 834e3f60..d1406a79 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index be0693a8..64db6742 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index faae9232..b2b7bd3a 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index f1b5a299..1834fb60 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 0350e734..7f3d7c8f 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.11 + image: docker.io/trustgraph/trustgraph-flow:0.11.12 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-utils/scripts/graph-show b/trustgraph-utils/scripts/tg-graph-show similarity index 100% rename from trustgraph-utils/scripts/graph-show rename to trustgraph-utils/scripts/tg-graph-show diff --git a/trustgraph-utils/scripts/graph-to-turtle b/trustgraph-utils/scripts/tg-graph-to-turtle similarity index 100% rename from trustgraph-utils/scripts/graph-to-turtle rename to trustgraph-utils/scripts/tg-graph-to-turtle diff --git a/trustgraph-utils/scripts/init-pulsar-manager b/trustgraph-utils/scripts/tg-init-pulsar-manager similarity index 100% rename from trustgraph-utils/scripts/init-pulsar-manager rename to trustgraph-utils/scripts/tg-init-pulsar-manager diff --git a/trustgraph-utils/scripts/load-pdf b/trustgraph-utils/scripts/tg-load-pdf similarity index 100% rename from trustgraph-utils/scripts/load-pdf rename to trustgraph-utils/scripts/tg-load-pdf diff --git a/trustgraph-utils/scripts/load-text b/trustgraph-utils/scripts/tg-load-text similarity index 100% rename from trustgraph-utils/scripts/load-text rename to trustgraph-utils/scripts/tg-load-text diff --git a/trustgraph-utils/scripts/query-document-rag b/trustgraph-utils/scripts/tg-query-document-rag similarity index 100% rename from trustgraph-utils/scripts/query-document-rag rename to trustgraph-utils/scripts/tg-query-document-rag diff --git a/trustgraph-utils/scripts/query-graph-rag b/trustgraph-utils/scripts/tg-query-graph-rag similarity index 100% rename from trustgraph-utils/scripts/query-graph-rag rename to trustgraph-utils/scripts/tg-query-graph-rag diff --git a/trustgraph-utils/setup.py b/trustgraph-utils/setup.py index f3337f1e..553d8aa5 100644 --- a/trustgraph-utils/setup.py +++ b/trustgraph-utils/setup.py @@ -40,13 +40,13 @@ setuptools.setup( "tabulate", ], scripts=[ - "scripts/graph-show", - "scripts/graph-to-turtle", - "scripts/init-pulsar-manager", - "scripts/load-pdf", - "scripts/load-text", - "scripts/query-document-rag", - "scripts/query-graph-rag", + "scripts/tg-graph-show", + "scripts/tg-graph-to-turtle", + "scripts/tg-init-pulsar-manager", + "scripts/tg-load-pdf", + "scripts/tg-load-text", + "scripts/tg-query-document-rag", + "scripts/tg-query-graph-rag", "scripts/tg-init-pulsar", "scripts/tg-processor-state", ] From 88a7dfa1261987160b8a88ee99d75bd830af2d61 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 30 Sep 2024 22:20:26 +0100 Subject: [PATCH 32/44] Maint/rename pkg (#88) * Rename trustgraph-utils -> trustgraph-cli * Update YAMLs --- .gitignore | 2 +- Containerfile | 6 +-- Makefile | 10 ++--- tg-launch-azure-cassandra.yaml | 42 +++++++++---------- tg-launch-azure-neo4j.yaml | 42 +++++++++---------- tg-launch-bedrock-cassandra.yaml | 42 +++++++++---------- tg-launch-bedrock-neo4j.yaml | 42 +++++++++---------- tg-launch-claude-cassandra.yaml | 42 +++++++++---------- tg-launch-claude-neo4j.yaml | 42 +++++++++---------- tg-launch-cohere-cassandra.yaml | 42 +++++++++---------- tg-launch-cohere-neo4j.yaml | 42 +++++++++---------- tg-launch-llamafile-cassandra.yaml | 42 +++++++++---------- tg-launch-llamafile-neo4j.yaml | 42 +++++++++---------- tg-launch-ollama-cassandra.yaml | 42 +++++++++---------- tg-launch-ollama-neo4j.yaml | 42 +++++++++---------- tg-launch-openai-cassandra.yaml | 42 +++++++++---------- tg-launch-openai-neo4j.yaml | 42 +++++++++---------- tg-launch-vertexai-cassandra.yaml | 42 +++++++++---------- tg-launch-vertexai-neo4j.yaml | 42 +++++++++---------- tg-storage-cassandra.yaml | 14 +++---- tg-storage-neo4j.yaml | 14 +++---- .../README.md | 0 .../scripts/tg-graph-show | 0 .../scripts/tg-graph-to-turtle | 0 .../scripts/tg-init-pulsar | 0 .../scripts/tg-init-pulsar-manager | 0 .../scripts/tg-load-pdf | 0 .../scripts/tg-load-text | 0 .../scripts/tg-processor-state | 0 .../scripts/tg-query-document-rag | 0 .../scripts/tg-query-graph-rag | 0 {trustgraph-utils => trustgraph-cli}/setup.py | 4 +- 32 files changed, 361 insertions(+), 361 deletions(-) rename {trustgraph-utils => trustgraph-cli}/README.md (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-graph-show (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-graph-to-turtle (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-init-pulsar (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-init-pulsar-manager (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-load-pdf (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-load-text (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-processor-state (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-query-document-rag (100%) rename {trustgraph-utils => trustgraph-cli}/scripts/tg-query-graph-rag (100%) rename {trustgraph-utils => trustgraph-cli}/setup.py (95%) diff --git a/.gitignore b/.gitignore index 1377a864..357ecf1e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,5 @@ trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py trustgraph-flow/trustgraph/flow_version.py trustgraph-parquet/trustgraph/parquet_version.py trustgraph-vertexai/trustgraph/vertexai_version.py -trustgraph-utils/trustgraph/ +trustgraph-cli/trustgraph/ vertexai/ \ No newline at end of file diff --git a/Containerfile b/Containerfile index 05bfe087..e8daa861 100644 --- a/Containerfile +++ b/Containerfile @@ -34,7 +34,7 @@ COPY trustgraph-vertexai/ /root/build/trustgraph-vertexai/ COPY trustgraph-bedrock/ /root/build/trustgraph-bedrock/ COPY trustgraph-parquet/ /root/build/trustgraph-parquet/ COPY trustgraph-embeddings-hf/ /root/build/trustgraph-embeddings-hf/ -COPY trustgraph-utils/ /root/build/trustgraph-utils/ +COPY trustgraph-cli/ /root/build/trustgraph-cli/ WORKDIR /root/build/ @@ -44,7 +44,7 @@ RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-vertexai/ RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-bedrock/ RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-parquet/ RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-embeddings-hf/ -RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-utils/ +RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-cli/ RUN ls /root/wheels @@ -63,7 +63,7 @@ RUN \ pip3 install /root/wheels/trustgraph_bedrock-* && \ pip3 install /root/wheels/trustgraph_parquet-* && \ pip3 install /root/wheels/trustgraph_embeddings_hf-* && \ - pip3 install /root/wheels/trustgraph_utils-* && \ + pip3 install /root/wheels/trustgraph_cli-* && \ pip3 cache purge && \ rm -rf /root/wheels diff --git a/Makefile b/Makefile index 2d450130..65db5817 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.12 +VERSION=0.11.13 DOCKER=podman @@ -14,7 +14,7 @@ wheels: pip3 wheel --no-deps --wheel-dir dist trustgraph-bedrock/ pip3 wheel --no-deps --wheel-dir dist trustgraph-parquet/ pip3 wheel --no-deps --wheel-dir dist trustgraph-embeddings-hf/ - pip3 wheel --no-deps --wheel-dir dist trustgraph-utils/ + pip3 wheel --no-deps --wheel-dir dist trustgraph-cli/ packages: rm -rf dist/ @@ -24,7 +24,7 @@ packages: cd trustgraph-bedrock && python3 setup.py sdist --dist-dir ../dist/ cd trustgraph-parquet && python3 setup.py sdist --dist-dir ../dist/ cd trustgraph-embeddings-hf && python3 setup.py sdist --dist-dir ../dist/ - cd trustgraph-utils && python3 setup.py sdist --dist-dir ../dist/ + cd trustgraph-cli && python3 setup.py sdist --dist-dir ../dist/ pypi-upload: twine upload dist/*-${VERSION}.* @@ -32,14 +32,14 @@ pypi-upload: CONTAINER=docker.io/trustgraph/trustgraph-flow update-package-versions: - mkdir -p trustgraph-utils/trustgraph + mkdir -p trustgraph-cli/trustgraph echo __version__ = \"${VERSION}\" > trustgraph-base/trustgraph/base_version.py echo __version__ = \"${VERSION}\" > trustgraph-flow/trustgraph/flow_version.py echo __version__ = \"${VERSION}\" > trustgraph-vertexai/trustgraph/vertexai_version.py echo __version__ = \"${VERSION}\" > trustgraph-bedrock/trustgraph/bedrock_version.py echo __version__ = \"${VERSION}\" > trustgraph-parquet/trustgraph/parquet_version.py echo __version__ = \"${VERSION}\" > trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py - echo __version__ = \"${VERSION}\" > trustgraph-utils/trustgraph/utils_version.py + echo __version__ = \"${VERSION}\" > trustgraph-cli/trustgraph/cli_version.py container: update-package-versions ${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \ diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index f229e411..29a660c4 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index b18f81a2..8cc2a3e0 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 5f393d9e..fa720e28 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index acf1705b..f89c1b71 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index fc3d5ce0..4a82e844 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index 64b382ee..a324753c 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index c8938de0..b6cfa945 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index ecf4165d..01d0389a 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 8dd4b270..6de5f730 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index b738d7a6..58ad8f37 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 47f800d7..4bc85649 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 9ad14831..f7ff1bb6 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 243774c5..5a277d81 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index d1406a79..16597f3c 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 64db6742..0f65ed55 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index b2b7bd3a..15fda75f 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 1834fb60..3fcb1bb5 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 7f3d7c8f..518b1c55 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.12 + image: docker.io/trustgraph/trustgraph-flow:0.11.13 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-utils/README.md b/trustgraph-cli/README.md similarity index 100% rename from trustgraph-utils/README.md rename to trustgraph-cli/README.md diff --git a/trustgraph-utils/scripts/tg-graph-show b/trustgraph-cli/scripts/tg-graph-show similarity index 100% rename from trustgraph-utils/scripts/tg-graph-show rename to trustgraph-cli/scripts/tg-graph-show diff --git a/trustgraph-utils/scripts/tg-graph-to-turtle b/trustgraph-cli/scripts/tg-graph-to-turtle similarity index 100% rename from trustgraph-utils/scripts/tg-graph-to-turtle rename to trustgraph-cli/scripts/tg-graph-to-turtle diff --git a/trustgraph-utils/scripts/tg-init-pulsar b/trustgraph-cli/scripts/tg-init-pulsar similarity index 100% rename from trustgraph-utils/scripts/tg-init-pulsar rename to trustgraph-cli/scripts/tg-init-pulsar diff --git a/trustgraph-utils/scripts/tg-init-pulsar-manager b/trustgraph-cli/scripts/tg-init-pulsar-manager similarity index 100% rename from trustgraph-utils/scripts/tg-init-pulsar-manager rename to trustgraph-cli/scripts/tg-init-pulsar-manager diff --git a/trustgraph-utils/scripts/tg-load-pdf b/trustgraph-cli/scripts/tg-load-pdf similarity index 100% rename from trustgraph-utils/scripts/tg-load-pdf rename to trustgraph-cli/scripts/tg-load-pdf diff --git a/trustgraph-utils/scripts/tg-load-text b/trustgraph-cli/scripts/tg-load-text similarity index 100% rename from trustgraph-utils/scripts/tg-load-text rename to trustgraph-cli/scripts/tg-load-text diff --git a/trustgraph-utils/scripts/tg-processor-state b/trustgraph-cli/scripts/tg-processor-state similarity index 100% rename from trustgraph-utils/scripts/tg-processor-state rename to trustgraph-cli/scripts/tg-processor-state diff --git a/trustgraph-utils/scripts/tg-query-document-rag b/trustgraph-cli/scripts/tg-query-document-rag similarity index 100% rename from trustgraph-utils/scripts/tg-query-document-rag rename to trustgraph-cli/scripts/tg-query-document-rag diff --git a/trustgraph-utils/scripts/tg-query-graph-rag b/trustgraph-cli/scripts/tg-query-graph-rag similarity index 100% rename from trustgraph-utils/scripts/tg-query-graph-rag rename to trustgraph-cli/scripts/tg-query-graph-rag diff --git a/trustgraph-utils/setup.py b/trustgraph-cli/setup.py similarity index 95% rename from trustgraph-utils/setup.py rename to trustgraph-cli/setup.py index 553d8aa5..d2ba7b3b 100644 --- a/trustgraph-utils/setup.py +++ b/trustgraph-cli/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: # Load a version number module spec = importlib.util.spec_from_file_location( - 'version', 'trustgraph/utils_version.py' + 'version', 'trustgraph/cli_version.py' ) version_module = importlib.util.module_from_spec(spec) spec.loader.exec_module(version_module) @@ -15,7 +15,7 @@ spec.loader.exec_module(version_module) version = version_module.__version__ setuptools.setup( - name="trustgraph-utils", + name="trustgraph-cli", version=version, author="trustgraph.ai", author_email="security@trustgraph.ai", From ef1b8b5a13f111b257252b02df5a132e2c126777 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Tue, 1 Oct 2024 06:46:41 +0100 Subject: [PATCH 33/44] Feature/metering dashboard (#89) * Bump version * Added Prom metrics to metering, added dashboard * Update YAMLs * Add $ on axis * Tweak dashboard --- Makefile | 2 +- grafana/dashboards/dashboard.json | 242 +++++++++++++++++- tg-launch-azure-cassandra.yaml | 42 +-- tg-launch-azure-neo4j.yaml | 42 +-- tg-launch-bedrock-cassandra.yaml | 42 +-- tg-launch-bedrock-neo4j.yaml | 42 +-- tg-launch-claude-cassandra.yaml | 42 +-- tg-launch-claude-neo4j.yaml | 42 +-- tg-launch-cohere-cassandra.yaml | 42 +-- tg-launch-cohere-neo4j.yaml | 42 +-- tg-launch-llamafile-cassandra.yaml | 42 +-- tg-launch-llamafile-neo4j.yaml | 42 +-- tg-launch-ollama-cassandra.yaml | 42 +-- tg-launch-ollama-neo4j.yaml | 42 +-- tg-launch-openai-cassandra.yaml | 42 +-- tg-launch-openai-neo4j.yaml | 42 +-- tg-launch-vertexai-cassandra.yaml | 42 +-- tg-launch-vertexai-neo4j.yaml | 42 +-- tg-storage-cassandra.yaml | 14 +- tg-storage-neo4j.yaml | 14 +- .../trustgraph/metering/counter.py | 30 ++- 21 files changed, 616 insertions(+), 358 deletions(-) diff --git a/Makefile b/Makefile index 65db5817..4c8aaec2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.13 +VERSION=0.11.14 DOCKER=podman diff --git a/grafana/dashboards/dashboard.json b/grafana/dashboards/dashboard.json index aba5d918..e2db0f09 100644 --- a/grafana/dashboards/dashboard.json +++ b/grafana/dashboards/dashboard.json @@ -280,7 +280,7 @@ "editorMode": "builder", "expr": "rate(request_latency_count[1m])", "instant": false, - "legendFormat": "{{instance}}", + "legendFormat": "{{job}}", "range": true, "refId": "A" } @@ -824,7 +824,7 @@ }, "gridPos": { "h": 7, - "w": 12, + "w": 8, "x": 0, "y": 32 }, @@ -869,8 +869,8 @@ "options": { "include": { "names": [ - "instance", - "model" + "model", + "job" ] } } @@ -895,6 +895,238 @@ } ], "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 32 + }, + "id": 15, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(job) (rate(input_tokens_total[$__rate_interval]))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "input {{job}}", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(job) (rate(output_tokens_total[$__rate_interval]))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "output {{job}}", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Tokens", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "$", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 16, + "y": 32 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(job) (rate(input_cost_total[$__rate_interval]))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "input {{job}}", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(job) (rate(output_cost_total[$__rate_interval]))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "output {{job}}", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Token cost", + "type": "timeseries" } ], "refresh": "5s", @@ -911,6 +1143,6 @@ "timezone": "", "title": "Overview", "uid": "b5c8abf8-fe79-496b-b028-10bde917d1f0", - "version": 3, + "version": 1, "weekStart": "" } diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 29a660c4..6d90a5a4 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 8cc2a3e0..5c6d8873 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index fa720e28..298649a9 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index f89c1b71..dc307c83 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index 4a82e844..edd9ad8d 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index a324753c..c6f94a62 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index b6cfa945..4575e385 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 01d0389a..a47147a5 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 6de5f730..238de95e 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 58ad8f37..c2f3d02a 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 4bc85649..a71c92ff 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index f7ff1bb6..10c5fa6c 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 5a277d81..96afdf25 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 16597f3c..7603148a 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index 0f65ed55..a96ba694 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index 15fda75f..c70dec2f 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 3fcb1bb5..8334e8f0 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index 518b1c55..cf4353e6 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.13 + image: docker.io/trustgraph/trustgraph-flow:0.11.14 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-flow/trustgraph/metering/counter.py b/trustgraph-flow/trustgraph/metering/counter.py index 6404888e..6e6b829b 100644 --- a/trustgraph-flow/trustgraph/metering/counter.py +++ b/trustgraph-flow/trustgraph/metering/counter.py @@ -2,7 +2,7 @@ Simple token counter for each LLM response. """ -from prometheus_client import Histogram, Info +from prometheus_client import Counter from . pricelist import price_list from .. schema import TextCompletionResponse, Error @@ -20,6 +20,26 @@ class Processor(Consumer): def __init__(self, **params): + if not hasattr(__class__, "input_token_metric"): + __class__.input_token_metric = Counter( + 'input_tokens', 'Input token count' + ) + + if not hasattr(__class__, "output_token_metric"): + __class__.output_token_metric = Counter( + 'output_tokens', 'Output token count' + ) + + if not hasattr(__class__, "input_cost_metric"): + __class__.input_cost_metric = Counter( + 'input_cost', 'Input cost' + ) + + if not hasattr(__class__, "output_cost_metric"): + __class__.output_cost_metric = Counter( + 'output_cost', 'Output cost' + ) + input_queue = params.get("input_queue", default_input_queue) subscriber = params.get("subscriber", default_subscriber) @@ -50,6 +70,9 @@ class Processor(Consumer): num_in = v.in_token num_out = v.out_token + __class__.input_token_metric.inc(num_in) + __class__.output_token_metric.inc(num_out) + model_input_price, model_output_price = self.get_prices(price_list, modelname) if model_input_price == None: @@ -59,6 +82,9 @@ class Processor(Consumer): cost_out = num_out * model_output_price cost_per_call = round(cost_in + cost_out, 6) + __class__.input_cost_metric.inc(cost_in) + __class__.output_cost_metric.inc(cost_out) + print(f"Input Tokens: {num_in}", flush=True) print(f"Output Tokens: {num_out}", flush=True) print(f"Cost for call: ${cost_per_call}", flush=True) @@ -72,4 +98,4 @@ class Processor(Consumer): def run(): - Processor.start(module, __doc__) \ No newline at end of file + Processor.start(module, __doc__) From 647010be9ff79bd4bb1f5d5fead3efe1b10982d0 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Tue, 1 Oct 2024 19:33:14 +0100 Subject: [PATCH 34/44] Put Docker Compose config resources in the docker-compose directory, (#90) Put Docker Compose config resources in the docker-compose directory to save having to workaround directory structures. --- templates/generate-all | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/generate-all b/templates/generate-all index be963e9e..948b811f 100755 --- a/templates/generate-all +++ b/templates/generate-all @@ -132,7 +132,7 @@ def generate_all(output, version): version=version ) - fname =f"{platform}/tg-{model}-{graph}.yaml" + fname = f"{platform}/tg-{model}-{graph}.yaml" output(fname, y) @@ -155,21 +155,21 @@ with zipfile.ZipFile(outfile, mode='w') as out: # Placeholder for the private.json file. Won't put actual credentials # here. - output("vertexai/private.json", private_json) + output("docker-compose/vertexai/private.json", private_json) # Grafana config with open("grafana/dashboards/dashboard.json") as f: - output("grafana/dashboards/dashboard.json", f.read()) + output("docker-compose/grafana/dashboards/dashboard.json", f.read()) with open("grafana/provisioning/dashboard.yml") as f: - output("grafana/provisioning/dashboard.yml", f.read()) + output("docker-compose/grafana/provisioning/dashboard.yml", f.read()) with open("grafana/provisioning/datasource.yml") as f: - output("grafana/provisioning/datasource.yml", f.read()) + output("docker-compose/grafana/provisioning/datasource.yml", f.read()) # Prometheus config with open("prometheus/prometheus.yml") as f: - output("prometheus/prometheus.yml", f.read()) + output("docker-compose/prometheus/prometheus.yml", f.read()) # A README with open("templates/zip-readme.md") as f: From 5985b8612b69aab77ac749f1987cb12000c87f28 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Tue, 1 Oct 2024 19:34:35 +0100 Subject: [PATCH 35/44] Replace... (#91) Replace tg-load-* -f file with tg-load-* file1 file2 ... --- trustgraph-cli/scripts/tg-load-pdf | 23 +++++++++++++---------- trustgraph-cli/scripts/tg-load-text | 23 +++++++++++++---------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/trustgraph-cli/scripts/tg-load-pdf b/trustgraph-cli/scripts/tg-load-pdf index 0c2aac46..5d54da93 100755 --- a/trustgraph-cli/scripts/tg-load-pdf +++ b/trustgraph-cli/scripts/tg-load-pdf @@ -22,7 +22,6 @@ class Loader: pulsar_host, output_queue, log_level, - file, ): self.client = pulsar.Client( @@ -36,13 +35,16 @@ class Loader: chunking_enabled=True, ) - self.file = file + def load(self, files): - def run(self): + for file in files: + self.load_file(file) + + def load_file(self, file): try: - path = self.file + path = file data = open(path, "rb").read() id = hashlib.sha256(path.encode("utf-8")).hexdigest()[0:8] @@ -58,8 +60,10 @@ class Loader: self.producer.send(r) + print(f"{file}: Loaded successfully.") + except Exception as e: - print(e, flush=True) + print(f"{file}: Failed: {str(e)}", flush=True) def __del__(self): self.client.close() @@ -95,8 +99,7 @@ def main(): ) parser.add_argument( - '-f', '--file', - required=True, + 'files', nargs='+', help=f'File to load' ) @@ -105,16 +108,16 @@ def main(): while True: try: + p = Loader( pulsar_host=args.pulsar_host, output_queue=args.output_queue, log_level=args.log_level, - file=args.file, ) - p.run() + p.load(args.files) - print("File loaded.") + print("All done.") break except Exception as e: diff --git a/trustgraph-cli/scripts/tg-load-text b/trustgraph-cli/scripts/tg-load-text index 3a0e19c3..8137006c 100755 --- a/trustgraph-cli/scripts/tg-load-text +++ b/trustgraph-cli/scripts/tg-load-text @@ -22,7 +22,6 @@ class Loader: pulsar_host, output_queue, log_level, - file, ): self.client = pulsar.Client( @@ -36,13 +35,16 @@ class Loader: chunking_enabled=True, ) - self.file = file + def load(self, files): - def run(self): + for file in files: + self.load_file(file) + + def load_file(self, file): try: - path = self.file + path = file data = open(path, "rb").read() id = hashlib.sha256(path.encode("utf-8")).hexdigest()[0:8] @@ -58,8 +60,10 @@ class Loader: self.producer.send(r) + print(f"{file}: Loaded successfully.") + except Exception as e: - print(e, flush=True) + print(f"{file}: Failed: {str(e)}", flush=True) def __del__(self): self.client.close() @@ -95,8 +99,7 @@ def main(): ) parser.add_argument( - '-f', '--file', - required=True, + 'files', nargs='+', help=f'File to load' ) @@ -105,16 +108,16 @@ def main(): while True: try: + p = Loader( pulsar_host=args.pulsar_host, output_queue=args.output_queue, log_level=args.log_level, - file=args.file, ) - p.run() + p.load(args.files) - print("File loaded.") + print("All done.") break except Exception as e: From 56a9ac3ba9fde0d101e88ff789e825dc6b7243f4 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Tue, 1 Oct 2024 21:04:55 +0100 Subject: [PATCH 36/44] Change LLM latency dashboard to be rate & bump version (#92) --- Makefile | 2 +- grafana/dashboards/dashboard.json | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4c8aaec2..d9366c4f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.14 +VERSION=0.11.15 DOCKER=podman diff --git a/grafana/dashboards/dashboard.json b/grafana/dashboards/dashboard.json index e2db0f09..04561863 100644 --- a/grafana/dashboards/dashboard.json +++ b/grafana/dashboards/dashboard.json @@ -90,14 +90,18 @@ "type": "prometheus", "uid": "f6b18033-5918-4e05-a1ca-4cb30343b129" }, - "editorMode": "code", + "disableTextWrap": false, + "editorMode": "builder", "exemplar": false, - "expr": "max by(le) (text_completion_duration_bucket)", + "expr": "sum by(le) (rate(text_completion_duration_bucket[$__rate_interval]))", "format": "heatmap", + "fullMetaSearch": false, + "includeNullMetadata": true, "instant": false, "legendFormat": "99%", "range": true, - "refId": "A" + "refId": "A", + "useBackend": false } ], "title": "LLM latency", @@ -1136,7 +1140,7 @@ "list": [] }, "time": { - "from": "now-5m", + "from": "now-15m", "to": "now" }, "timepicker": {}, From 2e6be5cdce2aad03d2fc6553df4f9ecfb587d9ef Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 1 Oct 2024 21:06:07 +0100 Subject: [PATCH 37/44] Bump version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d9366c4f..08418e82 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.15 +VERSION=0.11.16 DOCKER=podman From 14672f7f0e80d056bf344288956fd82998368c74 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Tue, 1 Oct 2024 22:14:28 +0100 Subject: [PATCH 38/44] Fix/processor state specify prom (#93) * Provide mean to specify -p prometheus server * Bump version --- Makefile | 2 +- tg-launch-azure-cassandra.yaml | 42 ++++++++-------- tg-launch-azure-neo4j.yaml | 42 ++++++++-------- tg-launch-bedrock-cassandra.yaml | 42 ++++++++-------- tg-launch-bedrock-neo4j.yaml | 42 ++++++++-------- tg-launch-claude-cassandra.yaml | 42 ++++++++-------- tg-launch-claude-neo4j.yaml | 42 ++++++++-------- tg-launch-cohere-cassandra.yaml | 42 ++++++++-------- tg-launch-cohere-neo4j.yaml | 42 ++++++++-------- tg-launch-llamafile-cassandra.yaml | 42 ++++++++-------- tg-launch-llamafile-neo4j.yaml | 42 ++++++++-------- tg-launch-ollama-cassandra.yaml | 42 ++++++++-------- tg-launch-ollama-neo4j.yaml | 42 ++++++++-------- tg-launch-openai-cassandra.yaml | 42 ++++++++-------- tg-launch-openai-neo4j.yaml | 42 ++++++++-------- tg-launch-vertexai-cassandra.yaml | 42 ++++++++-------- tg-launch-vertexai-neo4j.yaml | 42 ++++++++-------- tg-storage-cassandra.yaml | 14 +++--- tg-storage-neo4j.yaml | 14 +++--- trustgraph-cli/scripts/tg-processor-state | 61 ++++++++++++++++++----- 20 files changed, 399 insertions(+), 364 deletions(-) diff --git a/Makefile b/Makefile index 08418e82..9952192c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.16 +VERSION=0.11.17 DOCKER=podman diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 6d90a5a4..9ac4f47c 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index 5c6d8873..fee09918 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 298649a9..de02fb34 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index dc307c83..cb4d393a 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -768,7 +768,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index edd9ad8d..7bf01fd9 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -730,7 +730,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -755,7 +755,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -770,7 +770,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index c6f94a62..da8dfd5a 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -731,7 +731,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 4575e385..dec65f7f 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -728,7 +728,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -751,7 +751,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -766,7 +766,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index a47147a5..92815b0a 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -729,7 +729,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -752,7 +752,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -767,7 +767,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index 238de95e..98fd7001 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index c2f3d02a..729beb2c 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index a71c92ff..50b9f3c3 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -237,7 +237,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -260,7 +260,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -314,7 +314,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -331,7 +331,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -348,7 +348,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -365,7 +365,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -382,7 +382,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -399,7 +399,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -418,7 +418,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -441,7 +441,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -456,7 +456,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index 10c5fa6c..6964d28c 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -238,7 +238,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -261,7 +261,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -315,7 +315,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -332,7 +332,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -349,7 +349,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -366,7 +366,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -383,7 +383,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -400,7 +400,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -419,7 +419,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -442,7 +442,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -457,7 +457,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 96afdf25..b54e057e 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -732,7 +732,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -759,7 +759,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -774,7 +774,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index 7603148a..9c9e0dc0 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index a96ba694..8d7c8eba 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -110,7 +110,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -140,7 +140,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -155,7 +155,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pdf-decoder: command: @@ -202,7 +202,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -392,7 +392,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -570,7 +570,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -624,7 +624,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -641,7 +641,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -658,7 +658,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -675,7 +675,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -692,7 +692,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -709,7 +709,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -782,7 +782,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index c70dec2f..8079d04c 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 init-pulsar: command: @@ -93,7 +93,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-definitions: command: @@ -108,7 +108,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-relationships: command: @@ -123,7 +123,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 kg-extract-topics: command: @@ -138,7 +138,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 metering-rag: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -203,7 +203,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -393,7 +393,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prompt-rag: command: @@ -571,7 +571,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 pulsar: command: @@ -625,7 +625,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -642,7 +642,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -659,7 +659,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -676,7 +676,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -693,7 +693,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -710,7 +710,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -766,7 +766,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -783,7 +783,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 8334e8f0..f91c4e0c 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -49,7 +49,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 prometheus: deploy: @@ -119,7 +119,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -136,7 +136,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -153,7 +153,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -170,7 +170,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -187,7 +187,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -204,7 +204,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index cf4353e6..6a169bd0 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -32,7 +32,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 neo4j: deploy: @@ -120,7 +120,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-graph-embeddings: command: @@ -137,7 +137,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 query-triples: command: @@ -154,7 +154,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-doc-embeddings: command: @@ -171,7 +171,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-graph-embeddings: command: @@ -188,7 +188,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 store-triples: command: @@ -205,7 +205,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.14 + image: docker.io/trustgraph/trustgraph-flow:0.11.17 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph-cli/scripts/tg-processor-state b/trustgraph-cli/scripts/tg-processor-state index 1b9399c7..cfab00c8 100755 --- a/trustgraph-cli/scripts/tg-processor-state +++ b/trustgraph-cli/scripts/tg-processor-state @@ -1,24 +1,59 @@ #!/usr/bin/env python3 +""" +Dump out TrustGraph processor states. +""" + import requests +import argparse import tabulate -url = 'http://localhost:9090/api/v1/query?query=processor_state%7Bprocessor_state%3D%22running%22%7D' +default_prometheus_url = "http://localhost:9090" -resp = requests.get(url) +def dump_status(prom): -obj = resp.json() + url = f"{prom}/api/v1/query?query=processor_state%7Bprocessor_state%3D%22running%22%7D" -tbl = [ - [ - m["metric"]["job"], - "running" if int(m["value"][1]) > 0 else "down" + resp = requests.get(url) + + obj = resp.json() + + tbl = [ + [ + m["metric"]["job"], + "running" if int(m["value"][1]) > 0 else "down" + ] + for m in obj["data"]["result"] ] - for m in obj["data"]["result"] -] -print(tabulate.tabulate( - tbl, tablefmt="pretty", headers=["processor", "state"], - stralign="left" -)) + print(tabulate.tabulate( + tbl, tablefmt="pretty", headers=["processor", "state"], + stralign="left" + )) + + +def main(): + + parser = argparse.ArgumentParser( + prog='tg-processor-state', + description=__doc__, + ) + + parser.add_argument( + '-p', '--prometheus-url', + default=default_prometheus_url, + help=f'Prometheus URL (default: {default_prometheus_url})', + ) + + args = parser.parse_args() + + try: + + dump_status(args.prometheus_url) + + except Exception as e: + + print("Exception:", e, flush=True) + +main() From 68910531075e1679e8f7ffaef1410185047ec753 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Wed, 2 Oct 2024 00:09:11 +0100 Subject: [PATCH 39/44] Maint/remove cruft (#94) * Remove cruft --- graph-clear | 8 - graph-dump | 70 --- sample-text-corpus.pdf | Bin 165674 -> 0 bytes sample-text-corpus.txt | 367 ------------- templates/components/grafana.jsonnet | 1 - tg-launch-azure-cassandra.yaml | 785 -------------------------- tg-launch-azure-neo4j.yaml | 786 -------------------------- tg-launch-bedrock-cassandra.yaml | 793 -------------------------- tg-launch-bedrock-neo4j.yaml | 794 --------------------------- tg-launch-claude-cassandra.yaml | 781 -------------------------- tg-launch-claude-neo4j.yaml | 782 -------------------------- tg-launch-cohere-cassandra.yaml | 777 -------------------------- tg-launch-cohere-neo4j.yaml | 778 -------------------------- tg-launch-llamafile-cassandra.yaml | 467 ---------------- tg-launch-llamafile-neo4j.yaml | 468 ---------------- tg-launch-ollama-cassandra.yaml | 467 ---------------- tg-launch-ollama-neo4j.yaml | 468 ---------------- tg-launch-openai-cassandra.yaml | 785 -------------------------- tg-launch-openai-neo4j.yaml | 786 -------------------------- tg-launch-vertexai-cassandra.yaml | 793 -------------------------- tg-launch-vertexai-neo4j.yaml | 794 --------------------------- tg-storage-cassandra.yaml | 215 -------- tg-storage-neo4j.yaml | 216 -------- 23 files changed, 12181 deletions(-) delete mode 100755 graph-clear delete mode 100755 graph-dump delete mode 100644 sample-text-corpus.pdf delete mode 100644 sample-text-corpus.txt delete mode 100644 tg-launch-azure-cassandra.yaml delete mode 100644 tg-launch-azure-neo4j.yaml delete mode 100644 tg-launch-bedrock-cassandra.yaml delete mode 100644 tg-launch-bedrock-neo4j.yaml delete mode 100644 tg-launch-claude-cassandra.yaml delete mode 100644 tg-launch-claude-neo4j.yaml delete mode 100644 tg-launch-cohere-cassandra.yaml delete mode 100644 tg-launch-cohere-neo4j.yaml delete mode 100644 tg-launch-llamafile-cassandra.yaml delete mode 100644 tg-launch-llamafile-neo4j.yaml delete mode 100644 tg-launch-ollama-cassandra.yaml delete mode 100644 tg-launch-ollama-neo4j.yaml delete mode 100644 tg-launch-openai-cassandra.yaml delete mode 100644 tg-launch-openai-neo4j.yaml delete mode 100644 tg-launch-vertexai-cassandra.yaml delete mode 100644 tg-launch-vertexai-neo4j.yaml delete mode 100644 tg-storage-cassandra.yaml delete mode 100644 tg-storage-neo4j.yaml diff --git a/graph-clear b/graph-clear deleted file mode 100755 index 9633a08f..00000000 --- a/graph-clear +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env python3 - -from trustgraph import TrustGraph - -t = TrustGraph() - -t.clear() - diff --git a/graph-dump b/graph-dump deleted file mode 100755 index e31a1c3b..00000000 --- a/graph-dump +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env python3 - -import pulsar -from pulsar.schema import JsonSchema, Bytes -from schema import Chunk, Triple -from langchain_huggingface import HuggingFaceEmbeddings -from langchain_community.llms import Ollama -from trustgraphETL import scholar, callmixtral, build_graph_robust -import sys -import rdflib -import uuid - -g = rdflib.Graph() - -client = pulsar.Client("pulsar://localhost:6650") - -consumer = client.subscribe( - 'graph-load', 'graph-dump', - schema=JsonSchema(Triple), -) - -g = rdflib.Graph() -count = 0 -limit = 100 - -while True: - - msg = consumer.receive() - - try: - - v = msg.value() - - if v.o.is_uri: - g.add(( - rdflib.term.URIRef(v.s.value), - rdflib.term.URIRef(v.p.value), - rdflib.term.URIRef(v.o.value), - )) - else: - g.add(( - rdflib.term.URIRef(v.s.value), - rdflib.term.URIRef(v.p.value), - rdflib.term.Literal(v.o.value), - )) - - count += 1 - - if count > limit: - - id = str(uuid.uuid4()) - path = f"graph/{id}.ttl" - g.serialize(destination=path) - g = rdflib.Graph() - print(f"Written {path}") - - count = 0 - - # Acknowledge successful processing of the message - consumer.acknowledge(msg) - - except Exception as e: - - print(e) - - # Message failed to be processed - consumer.negative_acknowledge(msg) - -client.close() - diff --git a/sample-text-corpus.pdf b/sample-text-corpus.pdf deleted file mode 100644 index 9a0ecf143b8421d8891ad3016bb286fbc7a0c539..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 165674 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%0D%_mM_^Shf2ddo)*%$^gge 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

G;`{$eOtnV%F9bqou=b*epq<(15_n++c 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 diff --git a/sample-text-corpus.txt b/sample-text-corpus.txt deleted file mode 100644 index 179ce79f..00000000 --- a/sample-text-corpus.txt +++ /dev/null @@ -1,367 +0,0 @@ - The Cosmic Tapestry: -Atlantean Cosmology, Spirituality, and Prophecy Introduction -The legendary civilization of Atlantis has captivated the human imagination for millennia. While concrete historical evidence for Atlantis remains elusive, the idea of an advanced ancient culture lost to time continues to inspire speculation and wonder. This paper will explore a hypothetical reconstruction of Atlantean cosmology, spiritual beliefs, cultural norms, and apocalyptic prophecies. -Drawing on a variety of esoteric traditions, mythological motifs, and creative speculation, we will paint a picture of how the Atlanteans may have viewed the cosmos and their place within it. While entirely speculative in nature, this exploration can offer intriguing food for thought on the nature of lost civilizations and alternative cosmological paradigms. -I. Atlantean Cosmology -At the heart of Atlantean cosmology was the concept of the Cosmic Tapestry - an intricate, multidimensional weaving of energy, consciousness, and matter that comprised all of existence. The Atlanteans did not see the universe as a vast emptiness punctuated by isolated islands of matter. Rather, they perceived reality as an infinitely complex, living, breathing whole in which all things were fundamentally interconnected. -The Cosmic Tapestry consisted of several key components: -1. The Primordial Waters - This was the underlying substrate of pure potentiality from which all things emerged. The Atlanteans saw it as a vast, cosmic ocean of infinite creative potential. -2. The Loom of Creation - This was the underlying structure or matrix that gave form and order to the Primordial Waters. It was envisioned as an immense, multidimensional loom on which the tapestry of reality was woven. -3. The Threads of Being - These were the fundamental constituents of existence - energy, consciousness, and matter in their most elemental forms. They were the raw materials woven together to create the fabric of reality. -4. The Patterns of Manifestation - These were the underlying templates or blueprints that guided how the Threads of Being were woven together. They were seen as cosmic archetypes or primordial ideas. -5. The Weavers - These were the primordial creative intelligences that operated the Loom of Creation, weaving the Threads of Being into the Patterns of Manifestation. They were revered as the first gods or cosmic architects. - - In the Atlantean worldview, the physical universe we inhabit was just one layer or level of the Cosmic Tapestry. They believed in a vast, multidimensional cosmos with many layers of reality existing simultaneously. These different dimensional levels were seen as distinct vibrational frequencies or states of consciousness. -The Atlanteans identified at least seven primary dimensional levels: -1. The Physical Plane - The realm of matter and physical manifestation that we inhabit. -2. The Etheric Plane - A subtle energy realm interpenetrating and underlying the physical. 3. The Astral Plane - The realm of emotion, desire, and lower thought forms. -4. The Mental Plane - The realm of higher thought, ideas, and archetypes. -5. The Causal Plane - The realm of pure intention and the seeds of karma. -6. The Buddhic Plane - The realm of pure intuition, unity, and spiritual insight. -7. The Atmic Plane - The realm of pure being and divine will. -Beyond these seven planes, the Atlanteans posited even higher levels of reality ascending towards the utterly transcendent source of all being. They saw the cosmos as infinitely ascending and descending - there was no absolute top or bottom to existence. -Interestingly, the Atlanteans did not see these dimensional levels as strictly separate or hierarchical. Rather, they were understood as simultaneously interpenetrating and co-creating each other. Like the warp and weft of a textile, the various dimensions were seen as intimately interwoven. -Another key feature of Atlantean cosmology was the concept of the World Tree. This was envisioned as a vast, cosmic tree whose roots extended deep into the lower dimensions and whose branches reached up into the highest celestial realms. The World Tree was seen as the central axis of creation - the cosmic pillar around which the dimensional planes were organized. -The Atlanteans identified several World Trees corresponding to different scales of manifestation: -• The Individual World Tree - The energetic structure of a single being, linking their various subtle bodies and chakras. -• The Planetary World Tree - The energetic structure of a planet, linking its various dimensional aspects. -• The Solar World Tree - The energetic structure of a star system. -• The Galactic World Tree - The energetic structure of an entire galaxy. - - • The Cosmic World Tree - The energetic structure of the entire manifest universe. -These nested World Trees were seen as creating a fractal, holographic structure to the cosmos. The same patterns repeated at every scale from the microcosm to the macrocosm. -The Atlanteans also had a sophisticated understanding of cosmic cycles and the spiral nature of time. They saw existence as moving through vast cyclic ages on multiple, interlocking scales. These cycles were seen as the breath of the cosmos - the in-and-out flow of manifestation from the Primordial Waters. -Some of the cosmic cycles they identified included: -• The Day and Night of Brahma - A cycle of cosmic manifestation and withdrawal lasting billions of years. -• The Precession of the Equinoxes - A 26,000 year cycle caused by the slow wobble of Earth's axis. -• The Galactic Year - The time it takes our solar system to orbit the galactic center, about 225 million years. -• The Solar Year - The Earth's annual orbit around the Sun. -• The Lunar Month - The Moon's orbital cycle around the Earth. -The Atlanteans saw these interlocking cycles as creating a vast cosmic clockwork. By understanding these cycles, they believed they could align themselves with the deeper rhythms and flows of the universe. -II. Atlantean Spirituality -Atlantean spirituality was intimately intertwined with their cosmological understanding. They did not see the spiritual and material realms as separate, but rather as complementary aspects of the unified Cosmic Tapestry. -At the heart of Atlantean spirituality was the recognition that consciousness was fundamental to the cosmos. They saw awareness itself as the primary reality underlying all phenomena. In their view, the entire universe was conscious and alive at every level. -This panentheistic worldview led to a profound sense of the sacred in all things. The Atlanteans did not worship gods as external beings separate from creation. Rather, they reverenced the divine intelligence immanent within all of nature and within themselves. -That said, they did recognize various orders of spiritual intelligences operating at different levels of the cosmic hierarchy. These included: - - • Nature Spirits - Consciousness inherent in natural phenomena like plants, animals, and elemental forces. -• Planetary Intelligences - Vast beings embodying the consciousness of entire planets. -• Star Beings - Immense intelligences at the level of stars and solar systems. -• Cosmic Architects - Exalted beings involved in shaping whole galaxies and cosmic sectors. -• The Primordial Weavers - Inconceivably vast intelligences that shaped the fundamental patterns of existence. -The Atlanteans saw themselves as part of this great cosmic hierarchy of consciousness. Through spiritual practice and inner development, they believed it was possible to expand one's awareness to commune with these higher intelligences. -One of the core spiritual practices in Atlantean culture was meditation. They developed sophisticated techniques for quieting the mind, expanding awareness, and exploring inner space. These included: -• Breath meditation - Using the breath as a focal point to still the mind. -• Mantra meditation - Using sacred sounds and vibrations to attune consciousness. • Visualization - Using vivid mental imagery to shape subtle energies. -• Light meditation - Focusing on inner experiences of luminosity and radiance. -• Void meditation - Resting in the groundless awareness beyond all phenomena. -The Atlanteans also practiced various yogic disciplines to purify and strengthen the physical body, seeing it as the temple of spirit. These included breath control techniques, physical postures, mudras (ritual gestures), and dietary practices. -Another key aspect of Atlantean spirituality was the cultivation of siddhis or paranormal abilities. They saw these not as ends in themselves, but as side effects of expanding consciousness. Some of the abilities they cultivated included: -• Telepathy - Direct mind-to-mind communication. -• Clairvoyance - Subtle perception beyond the physical senses. -• Precognition - Glimpsing possible future events. -• Psychokinesis - Mental influence over physical matter. -• Bilocation - Projecting one's consciousness to multiple locations. - - • Levitation - Overcoming gravity through mental power. -The Atlanteans developed training programs and mystery schools to systematically cultivate these abilities in those who showed aptitude. However, they also recognized the potential for misuse of such powers and placed great emphasis on ethical development alongside paranormal abilities. -Atlantean spirituality also included a strong emphasis on understanding and working with subtle energy. They mapped out elaborate systems of chakras, meridians, and energy bodies. Through various practices, they learned to consciously direct life force energy for healing, creativity, and expanded awareness. -Some key concepts in their subtle energy work included: -• Prana - The vital life force energy that animates all things. -• Chakras - Energy centers in the subtle body that process prana. -• Nadis - Subtle energy channels that distribute prana throughout the being. • Koshas - Layers or sheaths of the subtle body. -• Kundalini - A powerful evolutionary energy coiled at the base of the spine. -The Atlanteans saw activating and raising kundalini energy as a key to expanding consciousness and developing higher abilities. However, they also recognized its dangers if awakened prematurely or improperly. -Ritual and ceremony also played an important role in Atlantean spiritual life. They created elaborate rites to align themselves with cosmic forces and cycles. These often involved the use of: -• Sacred geometry - Precise spatial patterns to channel subtle energies. -• Crystal technology - Harnessing the energetic properties of minerals. -• Sound healing - Using specific frequencies to affect consciousness and matter. • Archaeoastronomy - Aligning structures and rituals with celestial cycles. -Many Atlantean temples and monuments were designed as energetic instruments to amplify consciousness and commune with higher dimensional realities. They built vast stone circles, pyramids, and other structures specifically tuned to cosmic frequencies. -(Continued in next section...) III. Atlantean Cultural Norms - - Atlantean society was built around their spiritual and cosmological worldview. They sought to create a culture that honored the interconnectedness of all life and fostered the expansion of consciousness. -One of the central values in Atlantean culture was harmony - with nature, with each other, and with the cosmos as a whole. They saw themselves as stewards of the Earth rather than its masters. This led to a culture with a strong ecological ethic, seeking to live in balance with natural systems. -Some key aspects of Atlantean environmental philosophy included: -• Sustainable resource use - Taking only what was needed and ensuring renewal. -• Biomimicry - Modeling technologies on natural systems and processes. -• Sacred ecology - Recognizing the inherent worth and consciousness of nature. -• Holistic land management - Working with whole ecosystems rather than isolated parts. -Atlantean settlements were designed to blend seamlessly with the natural landscape. They built with local, sustainable materials and incorporated living systems into their architecture. Many of their cities featured vast gardens, food forests, and green spaces integrated throughout. -The Atlanteans also placed great emphasis on communal living and cooperation. While they honored individual uniqueness, they did not have the same focus on individualism seen in many modern cultures. There was a strong ethic of working for the common good and seeing oneself as part of a greater whole. -This communal ethic was reflected in their governance structures, which emphasized participatory decision-making and seeking consensus. They did not have autocratic rulers, but rather councils of wisdom keepers who helped guide the community. Leadership was seen as a form of service rather than a position of power over others. -That said, Atlantean society was not an undifferentiated mass. They recognized natural hierarchies of development, with individuals of greater wisdom and ability taking on greater responsibility. However, this hierarchy was seen as concentric circles of inclusion rather than a top-down pyramid of control. -The Atlanteans placed great value on education and the cultivation of knowledge. Learning was seen as a lifelong process of expanding awareness rather than just acquiring information. Their educational system addressed the whole being - body, emotions, mind, and spirit. -Some key features of Atlantean education included: -• Experiential learning - Emphasizing direct experience over rote memorization. • Mentorship - Pairing students with masters for personalized instruction. - - • Mystery schools - Esoteric training for those pursuing deeper spiritual development. -• Telepathic instruction - Direct mind-to-mind transmission of knowledge and experience. -• Akashic research - Accessing universal knowledge through expanded states of consciousness. -The Atlanteans had a highly developed artistic and creative culture. They saw art not just as self-expression, but as a means of communing with and channeling cosmic energies. Some of their artistic traditions included: -• Sacred geometry in visual arts and architecture -• Sound healing and transformational music -• Psychoactive plant ceremonies for visionary experiences -• Movement practices like sacred dance and tai chi -• Storytelling and mythic theater -There was no clear distinction between art, science, and spirituality in Atlantean culture. All were seen as complementary ways of exploring and co-creating reality. -Atlantean society also had different norms around sexuality and relationships compared to many historical cultures. They honored the sacred and transformative power of sexuality, seeing it as a means of communion with divine energies. Some key features of their sexual ethics included: -• Honoring the divine feminine and sacred masculine • Tantra and sexual energy practices -• Polyamorous and non-possessive relationships -• Fluidity around gender expression -• Sexual rites as part of spiritual practice -The Atlanteans did not have the same taboos around sexuality seen in many later cultures. However, they also recognized its power and emphasized the importance of conscious, ethical sexual expression. -Family structures in Atlantean society were also quite different from the nuclear family model common today. Children were seen as belonging to the whole community rather than just their biological parents. Extended kinship networks and intentional communities were the norm. - - Child-rearing emphasized nurturing the unique gifts and purpose of each individual. There was a recognition that souls chose their time and place of birth for specific reasons. Atlantean culture sought to provide an environment that supported the unfolding of each person's highest potential. -Work and leisure were not as sharply divided in Atlantean society as in many modern cultures. There was an emphasis on finding and living one's dharma or true purpose. Work that was in alignment with one's gifts and passions was seen as a form of joyful service rather than drudgery. -That said, the Atlanteans also placed great value on rest, rejuvenation, and cyclical rhythms. They did not have the same work-obsessed culture seen in many contemporary societies. There was an understanding of the importance of fallow periods for creativity and growth. -Atlantean culture also had different attitudes towards wealth and resource distribution than many historical societies. While there was not total economic equality, there was a strong ethic of ensuring that everyone's basic needs were met. Wealth was seen more as a tool for manifesting creative visions than as a means of personal aggrandizement. -Some key features of the Atlantean economy included: -• Gift economies alongside more formal systems of exchange -• Cooperative ownership of key resources and infrastructure -• Automated technologies that reduced the need for menial labor • A basic income guarantee for all citizens -• Ecological economics that factored in true environmental costs -There was much less material scarcity in Atlantean society due to their advanced technologies and more equitable distribution. This allowed their culture to focus more on higher needs like creative expression, relationships, and spiritual growth. -Time was also viewed differently in Atlantean culture. While they certainly planned for the future, there was more emphasis on being fully present in each moment. Their understanding of cyclical time gave a less linear and goal-oriented perspective than many modern cultures. -Atlanteans sought to find a balance between the masculine principle of action and the feminine principle of receptivity. Stillness and space were valued alongside activity and achievement. There was an understanding that fallow periods were just as important as periods of outer productivity. -(Continued in next section...) -IV. Atlantean Prophecy and the End Times - - Like many ancient cultures, the Atlanteans had prophetic traditions about great cycles of time and the end of their civilization. However, their understanding of these prophecies was more nuanced than simple predictions of doom. -The Atlanteans saw time as cyclical rather than linear. They understood that all things move through cycles of birth, growth, decay, death, and renewal. This was true for individuals, civilizations, planets, and even entire universes. -In the Atlantean worldview, there was no final "end of time," but rather a constant interplay of endings and new beginnings. They foresaw that their own civilization would eventually end, but saw this as part of a larger cosmic process rather than as an absolute finality. -That said, Atlantean seers and prophets did foresee a time of great upheaval and transformation that would bring their current epoch to a close. This was variously called: -• The Great Turning -• The Purification -• The Harvest of Souls -• The Dimensional Shift -This prophesied time of transition was seen as a collective initiation for humanity - a cosmic rite of passage into a new level of consciousness and way of being. -Some of the key events and dynamics foreseen as part of this transition included: -1. Earth Changes - Major geological and climatic shifts including pole shifts, rising sea levels, earthquakes, and extreme weather. -2. Societal Collapse - The breakdown of existing social, economic, and political systems. -3. Technological Singularity - A rapid acceleration of technological change leading to unpredictable outcomes. -4. Disclosure - The revealing of hidden truths about reality, including the existence of extraterrestrial life. -5. DNA Activation - Spontaneous mutations and awakening of dormant human potential. -6. Timeline Convergence - The merging of multiple parallel realities. -7. Dimensional Bleed-through - Increased contact and interaction with other planes of reality. 8. Solar Transformation - A quantum leap in the Sun's energy output and frequency. - - 9. Galactic Alignment - An astronomical alignment with powerful transformational effects. -10. Mass Awakening - A collective shift in human consciousness to a new level of awareness. -Importantly, the Atlanteans did not see these events as fixed or predetermined. They understood the fluid nature of time and the role of consciousness in shaping reality. The future was seen as a realm of infinite potential that was continuously shaped by the choices and intentions of conscious beings. -As such, their prophecies were not meant as passive predictions, but as calls to action. By foreseeing potential futures, they sought to consciously navigate towards the most positive outcomes. -The Atlanteans understood that the coming transitions would bring great challenges. They foresaw times of chaos, destruction, and suffering. However, they also saw these challenges as evolutionary drivers - initiatory experiences that would push humanity to realize its fuller potential. -This time of transition was seen as a collective dark night of the soul - a confrontation with shadow that would lead to profound healing and transformation. The Atlanteans believed that the outcome of this process would be the birth of a new earth and a new humanity. -Some of the positive potentials they foresaw emerging from this transition included: • A global awakening to the interconnectedness of all life -• The development of new cleanly aligned technologies -• Harmony between human civilization and the natural world -• The conscious mastery of energy and matter -• Open contact and cooperation with extraterrestrial civilizations -• A collective shift into unity consciousness -• The activation of humanity's full DNA potential -• The emergence of a galactic culture -However, the Atlanteans also foresaw more challenging potentials, including: • Devastating warfare, potentially involving planet-destroying weapons -• Ecological collapse and mass extinction events -• Malevolent artificial intelligence taking control of planetary systems - - • Intrusion of hostile interdimensional forces -• Fracturing of spacetime and unraveling of reality itself -The Atlantean masters taught that the actual outcome would depend on the choices made by humanity, individually and collectively. They emphasized the importance of maintaining a positive vision and staying heart-centered even in the face of great chaos and uncertainty. -Interestingly, some Atlantean prophecies spoke of the re-emergence of Atlantean wisdom and technology in the time of transition. They foresaw that ancient knowledge would be rediscovered, helping humanity navigate the challenges ahead. -There were also prophecies about the return of various master teachers and avatar figures to help guide humanity through the shifting times. Some traditions spoke of the awakening of an "Atlantean seed group" - individuals who had incarnated specifically to help re-anchor higher consciousness on Earth. -A key teaching in Atlantean prophecy was the importance of healing the past in order to create a positive future. They foresaw that humanity would need to confront and integrate the shadow of Atlantis - the misuse of power and technology that led to their own downfall. -By facing and healing these old wounds, humanity could release the karmic patterns of the past and open to a new expression of civilization. This was seen as essential to avoid repeating the same mistakes that led to Atlantis' destruction. -The Atlanteans taught practices and technologies to help future generations navigate the prophesied transitions. These included: -• Time capsules of knowledge and wisdom buried at specific sites • Psychic technologies for tapping into the Akashic records -• Ceremonies and practices for maintaining energetic stability -• Genetic keys for activating dormant human potential -• Interdimensional portals for connecting with higher guidance -One of the most important Atlantean teachings about the prophecied time of transition was the need to stay centered in the heart. They foresaw that fear would be one of the greatest enemies as the old structures broke down. -By staying grounded in love, compassion, and trust in the larger cosmic process, individuals and groups could help anchor higher energies and possibilities. This heart-centered presence was seen as key to transmuting the challenges into opportunities for profound transformation. - - Ultimately, the Atlanteans saw the prophesied transitions as an invitation for humanity to consciously participate in its own evolution. Rather than being helpless victims of cosmic forces, humans could become co-creators in the birth of a new world. -The end times were seen not as a final destruction, but as a death and rebirth process - the ending of one chapter of Earth's story and the beginning of a new one. The Atlanteans sought to plant seeds of wisdom to help future generations navigate this Great Turning and realize the highest potentials of the coming age. -Conclusion -This exploration of Atlantean cosmology, spirituality, culture, and prophecy offers a rich vision of how an advanced ancient civilization may have viewed reality and their place in the cosmic order. While this is a work of speculative imagination, it draws inspiration from various esoteric traditions and invites us to expand our own thinking about the nature of existence. -The Atlantean worldview presented here is one of profound interconnectedness, conscious participation in cosmic processes, and tremendous human potential waiting to be unlocked. It offers a holistic perspective that integrates science, spirituality, and art into a seamless whole. -Whether Atlantis truly existed or not, contemplating such alternative cosmologies can help us question our own assumptions and consider new possibilities. As humanity faces unprecedented global challenges, we can draw inspiration from this vision of a culture that strove to live in harmony with nature and cosmic principles. -Perhaps by remembering the wisdom of "Atlantis" - even if only as a mythic ideal - we can find guidance for consciously shaping a positive future for our civilization. In this way, we may realize that we are the Atlanteans of this age, creating the culture that future generations will look back on as legendary. -Introduction -While both Atlantis and Lemuria (also known as Mu) are legendary lost civilizations with no concrete historical evidence, they have captured the imagination of esotericists and alternative historians for generations. In this section, we will explore a speculative comparison between these two mythical cultures, examining their purported differences in philosophy, technology, and spiritual practices. This comparison will help illustrate the diverse ways ancient advanced civilizations might have approached cosmic understanding and human development. -I. Origins and Geographical Locations -Atlantis, as described by Plato, was said to be a large island continent located in the Atlantic Ocean beyond the Pillars of Hercules (the Strait of Gibraltar). In contrast, Lemuria was believed to have been located in the Pacific Ocean, possibly stretching from Easter Island to Madagascar. - - The Atlantean civilization was often portrayed as more recent, flourishing around 10,000 BCE, while Lemuria was thought to be far older, possibly existing up to 100,000 years ago. This vast difference in timeline suggests that the two cultures might have represented different stages of human evolution and consciousness. -II. Physical Characteristics and Genetics -In esoteric literature, Atlanteans are often described as being similar in appearance to modern humans, though perhaps taller and more physically robust. They were said to have diverse racial characteristics, reflecting a global mixing of genetic lines. -Lemurians, on the other hand, are frequently depicted as more ethereal and less physically dense. Some traditions describe them as having a more androgynous appearance, with less pronounced sexual dimorphism. They were said to be very tall, with elongated heads and large, luminous eyes. -These physical differences might reflect the different vibrational frequencies or dimensional planes that each civilization was thought to inhabit, with Lemuria possibly existing in a higher, less dense state of matter. -III. Technological Development -Atlantean culture, as we explored in Part 1, was often characterized by its advanced technology. They were said to have mastered crystal energy, anti-gravity propulsion, genetic engineering, and even weather control. Their technology was highly sophisticated, integrating spiritual principles with scientific understanding. -In contrast, Lemurian technology is often described as being more organic and intuitive. Rather than building external machines, they were said to have developed their own innate abilities to a very high degree. This included advanced telepathy, telekinesis, and the ability to manipulate matter and energy directly with the mind. -Where Atlanteans might have used crystal-powered flying vehicles, Lemurians were said to be able to levitate or teleport at will. While Atlanteans developed complex healing machines, Lemurians could heal through touch and thought alone. -IV. Social Structure and Governance -Atlantean society, as we discussed earlier, was communal but with natural hierarchies based on wisdom and ability. They had councils of elders and complex societal structures to manage their large, technologically advanced civilization. -Lemurian society is often portrayed as more egalitarian and less structured. Leadership was based on spiritual development rather than external hierarchies. Some traditions suggest that Lemurian communities were matriarchal, honoring the divine feminine principle more prominently than in Atlantean culture. - - V. Spiritual Practices and Beliefs -While both civilizations were deeply spiritual, their approaches differed significantly: -Atlantean spirituality, as we explored, was based on a complex cosmology involving multiple dimensions and a vast hierarchy of spiritual beings. They developed elaborate rituals, used advanced technology in their spiritual practices, and sought to master the forces of nature. -Lemurian spirituality was often described as more intuitive and heart-centered. They were said to have a more direct connection to the source of creation, requiring less external methodology. Their practices might have included: -• Deep meditation and mindfulness in everyday life -• Communing directly with nature spirits and elemental forces -• Sound healing using sacred tones and mantras -• Akashic record reading as a natural ability -Where Atlanteans sought to understand and master the cosmos, Lemurians sought to dissolve into it, transcending individual identity to merge with the all. -VI. Relationship with Nature -Both cultures were said to have a deep respect for nature, but their approaches differed: -Atlanteans saw themselves as stewards of nature, using their advanced technology to work in harmony with natural systems. They studied the laws of nature in order to cooperate with them more effectively. -Lemurians were described as living in almost perfect symbiosis with their environment. Rather than building large cities, they were said to inhabit natural spaces, shaping living plants into dwelling spaces. Their connection with animals was so profound that they rarely needed to use verbal communication with them. -VII. Cognitive Abilities and Consciousness -Atlantean consciousness was highly developed, with individuals able to access higher dimensional awareness. However, they still maintained a strong sense of individual identity and worked to develop their personal powers and abilities. -Lemurian consciousness is often described as more fluid and collective. They were said to have a natural ability to access group consciousness, sharing thoughts and experiences telepathically across their entire civilization. Individual identity was less fixed, with an understanding of the self as a flowing expression of the divine whole. - - VIII. The Fall and Legacy -The fall of Atlantis is often attributed to the misuse of their advanced technologies, possibly leading to a global cataclysm. Their downfall serves as a cautionary tale about the responsible use of power. -The end of Lemuria is usually described less dramatically - more as a fading away as the Earth's vibration densified. They were said to have consciously chosen to withdraw, preserving their wisdom in hidden repositories and within the DNA of certain lineages. -Both cultures were said to have left behind seeds of their wisdom: -Atlantean knowledge was preserved in hidden libraries, crystals encoded with information, and within secret mystery schools that survived the cataclysm. -Lemurian wisdom was said to be preserved in the ancestral memories of indigenous cultures, in the energy grids of the Earth itself, and in higher dimensional records accessible to those with developed psychic abilities. -IX. Influence on Human Evolution -In esoteric philosophies, both Atlantis and Lemuria are seen as important stages in human consciousness evolution: -Atlantis represented the development of mental powers, technological achievement, and the mastery of the physical plane. The challenge of Atlantis was learning to balance power with wisdom and ethics. -Lemuria represented a more spiritually integrated state of being, where the heart and mind were united and humanity lived in greater harmony with the natural and spiritual worlds. The challenge of Lemuria was maintaining this high vibration in an increasingly dense physical reality. -Some traditions teach that modern humanity is working to integrate the lessons of both civilizations - to achieve the technological and mental mastery of Atlantis while reclaiming the spiritual connection and harmony of Lemuria. -Conclusion -This comparative study of Atlantis and Lemuria, while speculative, offers a fascinating lens through which to contemplate different modalities of human development and civilization. The Atlantean model presents a path of active engagement with the physical world, developing technology and mental acuity to master natural forces. The Lemurian model offers a path of surrender and harmony, developing intuitive abilities and maintaining a close connection with spirit. - - In our modern world, we can see reflections of both approaches. Our rapid technological advancement mirrors Atlantean development, while growing interests in spirituality, intuitive development, and reconnection with nature reflect Lemurian values. -Perhaps the great task of our time is to integrate these two streams - to create a civilization that is both technologically advanced and deeply spiritual, that can master the physical world without losing connection to the heart and soul of existence. By studying and reflecting on these legendary cultures, we open our minds to new possibilities for human potential and planetary evolution. -In doing so, we recognize that the true Atlantis or Lemuria is not a lost continent, but a state of consciousness that we have the potential to recreate here and now. The wisdom of these ancient cultures lives on within us, waiting to be remembered and reawakened for the benefit of all. -Cosmic Cousins: A Comparative Analysis of Ebens, Atlanteans, and Lemurians Introduction -In the realm of speculative history and ufology, few topics capture the imagination quite like ancient advanced civilizations and extraterrestrial beings. This paper aims to explore and compare three such groups: the purported alien race known as the Ebens, and the legendary lost civilizations of Atlantis and Lemuria. While concrete evidence for any of these groups remains elusive, examining the lore and theories surrounding them can provide fascinating insights into human beliefs about advanced societies and our place in the cosmos. -It's important to note that this analysis is entirely speculative and draws upon various esoteric traditions, alleged witness accounts, and creative extrapolation. The goal is not to assert the reality of these beings, but to explore the ideas they represent and what they might tell us about human conceptions of advanced intelligence and civilization. -I. Origins and Timelines Ebens: -According to ufological lore, the Ebens are an extraterrestrial race originating from a planet orbiting Zeta Reticuli, a binary star system approximately 39 light-years from Earth. They are said to have been visiting Earth for thousands of years, with more frequent contact occurring in the mid-20th century. -Atlanteans: -The Atlantean civilization, first mentioned in Plato's dialogues, is typically placed in the Atlantic Ocean and is said to have flourished around 10,000 BCE. Some esoteric traditions suggest a much longer timeline, with Atlantis existing in various forms for hundreds of thousands of years. - - Lemurians: -Lemuria, also known as Mu, is often described as even more ancient than Atlantis. Some theories place its existence as far back as 100,000 years ago, with its final destruction occurring around 12,000 BCE. It was said to be located in the Pacific Ocean. -Comparative Analysis: -While the Ebens represent an ongoing extraterrestrial presence, Atlantis and Lemuria are portrayed as Earth-based civilizations that rose and fell in prehistoric times. This fundamental difference shapes many of the other comparisons we'll explore. The Eben timeline suggests a long-term observation of and interaction with Earth, while Atlantis and Lemuria represent lost chapters of human history and evolution. -II. Physical Characteristics and Biology Ebens: -Descriptions of Ebens often portray them as small, humanoid beings standing 3-4 feet tall. They are said to have large heads, almond-shaped eyes, small noses and mouths, and grayish skin. Their biology is described as both similar to and distinctly different from humans, with more efficient organs and possibly a different number of chromosomes. -Atlanteans: -Atlanteans are typically described as human-like but often taller and more physically robust than modern humans. Some traditions suggest they had more diverse racial characteristics, reflecting a global mixing of genetic lines. Advanced Atlanteans were said to have activated more of their DNA potential, giving them enhanced physical and psychic abilities. -Lemurians: -Lemurian physical descriptions are often more exotic. They are frequently portrayed as very tall (up to 7-15 feet), with an ethereal or less dense physical form. Some traditions describe them as more androgynous, with less pronounced sexual dimorphism. They were said to have elongated heads and large, luminous eyes. -Comparative Analysis: -The Ebens stand out as distinctly non-human in this comparison, reflecting their extraterrestrial origin. Both Atlanteans and Lemurians are portrayed as variations or ancestors of modern humans, though Lemurians are often described in more fantastical terms. This suggests that while Atlantis is often seen as a lost human civilization, Lemuria sometimes occupies a space between the human and the otherworldly, perhaps closer to the Eben concept in some ways. -III. Technological Development - - Ebens: -Eben technology is described as far advanced beyond current human capabilities. This includes interstellar travel, antigravity propulsion, energy weapons, and the ability to manipulate space-time. They are also said to possess advanced medical technology, including the ability to clone biological organisms and transfer consciousness. -Atlanteans: -Atlantean technology is often portrayed as a blend of scientific and spiritual principles. They were said to have mastered crystal energy, antigravity, weather control, and genetic engineering. Their technology was highly sophisticated but still recognizably based on Earth materials and energies. -Lemurians: -Lemurian "technology" is often described in more organic and intuitive terms. Rather than building external machines, they were said to have developed their innate abilities to a very high degree. This included advanced telepathy, telekinesis, and the ability to manipulate matter and energy directly with the mind. -Comparative Analysis: -The Ebens represent the most advanced technology in this comparison, reflecting their status as a spacefaring civilization. Atlantean technology occupies a middle ground, more advanced than our current level but not as exotic as Eben tech. Lemurian abilities blur the line between technology and innate capability, representing a different approach to mastering the physical world. -IV. Social Structure and Governance Ebens: -Information about Eben social structure is limited in most accounts. They are often described as having a collective mindset, with a strong emphasis on the good of their species as a whole. Some reports suggest a hierarchical structure based on knowledge and ability, but with less emphasis on individual power. -Atlanteans: -Atlantean society is often portrayed as having natural hierarchies based on wisdom and ability, with councils of elders guiding the civilization. They had complex societal structures to manage their large, technologically advanced culture, but with an emphasis on harmony and the common good. -Lemurians: - - Lemurian society is frequently described as more egalitarian and less structured than Atlantean society. Leadership was based on spiritual development rather than external hierarchies. Some traditions suggest that Lemurian communities were matriarchal, honoring the divine feminine principle. -Comparative Analysis: -All three groups are portrayed as having moved beyond the type of competitive, individually-focused social structures common in much of modern human society. The Eben collective mindset might be seen as the most alien to us, while Atlantean and Lemurian social structures represent different idealized versions of human society. -V. Spiritual Beliefs and Practices Ebens: -Less is typically said about Eben spirituality in ufological accounts. Some reports suggest they have a scientific understanding of consciousness and the nonphysical aspects of reality, but it's unclear if this translates into what we would recognize as spiritual beliefs or practices. -Atlanteans: -Atlantean spirituality, as we explored earlier, was based on a complex cosmology involving multiple dimensions and a vast hierarchy of spiritual beings. They developed elaborate rituals, used advanced technology in their spiritual practices, and sought to master the forces of nature. -Lemurians: -Lemurian spirituality is often described as more intuitive and heart-centered. They were said to have a more direct connection to the source of creation, requiring less external methodology. Their practices might have included deep meditation, communing with nature spirits, and sound healing. -Comparative Analysis: -The spiritual dimension provides an interesting contrast. While Atlantean and Lemurian cultures are deeply infused with spiritual concepts and practices, the Ebens are often portrayed in more scientific terms. This could reflect human projections onto these different groups – ancient Earth civilizations imbued with spiritual wisdom, versus advanced aliens with superior scientific knowledge. -VI. Relationship with Earth and Nature Ebens: - - The Eben relationship with Earth is typically portrayed as one of scientific interest and possibly resource extraction. Some accounts suggest they have bases on Earth and have been involved in long-term genetic experiments with humans and other Earth species. -Atlanteans: -Atlanteans are often described as stewards of the Earth, using their advanced technology to work in harmony with natural systems. They studied the laws of nature in order to cooperate with them more effectively, but also sought to master and control natural forces. -Lemurians: -Lemurians were said to live in almost perfect symbiosis with their environment. Rather than building large cities, they were described as inhabiting natural spaces, shaping living plants into dwelling spaces. Their connection with animals was reportedly so profound that they rarely needed to use verbal communication with them. -Comparative Analysis: -This comparison reveals a spectrum of relationships with nature. The Ebens represent an outsider's scientific interest, the Atlanteans a balance of stewardship and control, and the Lemurians a state of deep integration with the natural world. This progression might reflect changing human attitudes towards nature over time, from early harmony to technological control to a modern desire for reconnection. -VII. Knowledge and Consciousness Ebens: -Eben consciousness is often described as more collective and unified than human consciousness. They are said to have advanced telepathic abilities and possibly a form of shared consciousness. Their knowledge base is portrayed as vast, encompassing a scientific understanding of the universe far beyond current human knowledge. -Atlanteans: -Atlantean consciousness was highly developed, with individuals able to access higher dimensional awareness. They cultivated both scientific knowledge and spiritual wisdom, seeking to understand and master the fundamental laws of the cosmos. -Lemurians: -Lemurian consciousness is often described as more fluid and collective than Atlantean consciousness. They were said to have a natural ability to access group consciousness and the Akashic records. Their knowledge was more intuitive and experiential than academic. -Comparative Analysis: - - All three groups are portrayed as having forms of expanded consciousness beyond ordinary human awareness. The Eben collective consciousness might be seen as the most alien, while Atlantean and Lemurian consciousness represent different ideals of human potential – the Atlanteans balancing individual development with higher awareness, and the Lemurians embodying a more unified state of being. -VIII. Interaction with Humanity Ebens: -According to ufological accounts, Eben interaction with humanity has included observation, abduction, and genetic experimentation. Some theories suggest they have influenced human development over long periods of time. Their motivations are often portrayed as a mix of scientific curiosity and their own evolutionary needs. -Atlanteans: -As an Earth-based civilization, Atlantean interaction with other human groups was more direct. They are often credited with spreading advanced knowledge and culture to other parts of the ancient world. Some traditions suggest they engaged in genetic engineering of human populations. -Lemurians: -Lemurian interaction with other human groups is less emphasized in most accounts, as they are often portrayed as existing in a different time or dimensional frequency. However, some traditions suggest they planted seeds of wisdom that influenced later cultures, particularly in the Pacific region. -Comparative Analysis: -The nature of interaction with humanity differs significantly among these groups. The Ebens represent an ongoing, often hidden interaction from an outside civilization. The Atlanteans represent a more familiar model of an advanced civilization influencing its neighbors and descendants. The Lemurians, being the most ancient and ethereal, are portrayed as having the least direct interaction but a lasting spiritual influence. -IX. Legacy and Influence -Ebens: -The purported legacy of the Ebens includes ongoing influence on Earth affairs, contributions to human technological development (through reverse engineering of crashed craft), and possible genetic influence on the human species. Their presence is often tied to government secrecy and conspiracy theories. - - Atlanteans: -The Atlantean legacy is often described in terms of scattered survivors preserving ancient wisdom, sunken ruins containing advanced technology, and the influence of Atlantean knowledge on later civilizations like ancient Egypt and Greece. The story of Atlantis serves as both a source of lost wisdom and a cautionary tale about the misuse of power. -Lemurians: -The Lemurian legacy is typically portrayed in more spiritual and energetic terms. They are said to have left behind wisdom preserved in the Earth's energy grids, in the collective unconscious of humanity, and in certain genetic lineages. Some believe that crystals like quartz hold records of Lemurian knowledge. -Comparative Analysis: -Each group is credited with ongoing influence, but in different ways. The Eben influence is the most current and technological, fitting into modern UFO narratives. The Atlantean legacy bridges the ancient and modern worlds, offering both lost technology and spiritual wisdom. The Lemurian influence is the most subtle and esoteric, representing the most ancient layer of human spiritual heritage. -X. Prophetic Visions and Future Interactions Ebens: -Some ufological narratives suggest ongoing or future open contact between Ebens and humanity. These scenarios often involve disclosure of the Eben presence, sharing of advanced technology, and possibly a role for Ebens in helping humanity face global challenges. -Atlanteans: -Atlantean prophecies, as discussed earlier, often speak of a return or reemergence of Atlantean wisdom and technology in times of great transition. This is sometimes tied to the idea of reincarnated Atlantean souls coming back to help guide humanity. -Lemurians: -Lemurian future scenarios are often tied to spiritual awakening and the raising of Earth's vibrational frequency. Some traditions speak of a time when the hidden Lemurian wisdom will be fully accessible again as humanity evolves in consciousness. -Comparative Analysis: -These future scenarios reflect different paradigms of human advancement. The Eben narratives suggest progress through external, technological means. Atlantean prophecies imply a - - rediscovery and integration of lost human potential. Lemurian visions represent a more complete spiritual transformation of humanity and the Earth. -XI. Philosophical and Ethical Considerations Ebens: -Ethical questions surrounding the Ebens often focus on the morality of their alleged abductions and experiments on humans. There are also philosophical implications of their advanced technology and the potential impact of open contact on human society and beliefs. -Atlanteans: -The Atlantean narrative often carries ethical lessons about the responsible use of power and technology. Their fall serves as a cautionary tale about the dangers of technological hubris and the misuse of spiritual knowledge for material gain. -Lemurians: -Lemurian philosophy emphasizes harmony with nature, the development of innate spiritual abilities, and the interconnectedness of all life. Ethical considerations revolve around maintaining purity of intention and alignment with natural laws. -Comparative Analysis: -Each group presents different ethical and philosophical challenges for humanity to consider. The Eben scenario forces us to grapple with our place in a larger cosmic community and the ethics of advanced beings interacting with less developed ones. Atlantis presents questions about the balance of technological and spiritual development. Lemuria invites us to reconsider our relationship with nature and our own inner potential. -XII. Scientific Plausibility and Evidence Ebens: -The existence of Ebens remains unproven by mainstream scientific standards. Evidence cited by believers includes alleged government documents, witness testimonies, and purported physical traces of UFO encounters. Skeptics point to the lack of conclusive physical evidence and the psychological and cultural factors that might contribute to such beliefs. -Atlanteans: -While Plato's account of Atlantis may have been based on real events, there is no conclusive archaeological evidence for the advanced civilization described in esoteric literature. Some researchers point to underwater structures and cultural similarities across ancient civilizations as potential evidence, but these claims are not widely accepted by mainstream archaeology. - - Lemurians: -Of the three groups, Lemuria has the least scientific support. The original theory of a lost continent in the Pacific was based on now-outdated ideas about biogeography. No geological evidence supports the existence of such a continent in the timeframe usually given for Lemuria. -Comparative Analysis: -All three of these subjects fall outside currently accepted scientific paradigms. The Eben hypothesis, being tied to modern UFO phenomena, has generated the most recent alleged evidence and remains a topic of debate. Atlantis, with its roots in ancient literature, occupies a space between mythology and speculative history. Lemuria remains largely in the realm of spiritual and esoteric belief systems. -XIII. Cultural Impact and Popular Representations Ebens: -The concept of Ebens and similar alien races has had a significant impact on popular culture, appearing in numerous films, TV shows, books, and video games. They have become a staple of science fiction and conspiracy theory narratives. -Atlanteans: -Atlantis has captured the human imagination for millennia, inspiring countless books, movies, and artistic works. It has become a powerful symbol for lost wisdom and advanced ancient civilizations in both esoteric circles and popular culture. -Lemurians: -While less prominent in mainstream popular culture than Atlantis, Lemuria has a significant following in New Age and spiritual circles. It has inspired numerous books on spiritual development and ancient wisdom. -Comparative Analysis: -These three concepts have influenced culture in different ways. The Eben narrative taps into modern anxieties and wonders about extraterrestrial life. Atlantis serves as a bridge between ancient mythology and modern aspirations for advanced civilization. Lemuria represents more esoteric and spiritual yearnings for a past golden age of harmony and wisdom. -Conclusion -This comparative analysis of Ebens, Atlanteans, and Lemurians reveals intriguing patterns in how humans conceptualize advanced intelligences and lost civilizations. While wildly speculative, these narratives offer a mirror to our own hopes, fears, and beliefs about human potential and our place in the cosmos. - - The Eben narrative reflects our modern technological age and our wondering about life beyond Earth. It challenges us to consider how we might interact with a truly alien intelligence and what the consequences of such contact might be. -The Atlantean story bridges our ancient past and our technological present. It offers both the allure of lost advanced knowledge and a warning about the responsible use of power. Atlantis serves as a canvas upon which we paint our ideas about the heights of human civilization. -The Lemurian legend takes us deepest into spiritual and esoteric realms. It represents a yearning for harmony with nature and the development of inner spiritual technologies rather than external machines. Lemuria embodies an idealized past that some believe holds the key to a more enlightened future. -Together, these three concepts span a spectrum from the extraterrestrial to the ancient human to the mystical. They invite us to expand our ideas about what's possible and to imagine different modes of advanced existence. -While it's crucial to maintain scientific skepticism about such unproven ideas, exploring them can be a valuable thought experiment. They challenge us to question our assumptions about reality, history, and human potential. These stories also reveal much about the human psyche and our eternal quest to understand our origins, our capabilities, and our cosmic context. -As we continue to advance scientifically and explore both outer and inner space, the themes embodied by the Ebens, Atlanteans, and Lemurians remain relevant. They remind us to balance technological progress with spiritual wisdom, to consider the ethical implications of our actions, and to remain open to the vast possibilities that the universe may hold. -In the end, whether these beings exist or not, the quest to understand them tells us much about ourselves. It reflects our highest aspirations, our deepest fears, and our unquenchable curiosity about the great mysteries of existence. diff --git a/templates/components/grafana.jsonnet b/templates/components/grafana.jsonnet index b59bbd00..e968faec 100644 --- a/templates/components/grafana.jsonnet +++ b/templates/components/grafana.jsonnet @@ -21,7 +21,6 @@ local images = import "values/images.jsonnet"; .with_image(images.prometheus) .with_limits("0.5", "128M") .with_reservations("0.1", "128M") -// .with_command(["/bin/sh", "-c", "sleep 9999999"]) .with_port(9090, 9090, "http") .with_volume_mount(cfgVol, "/etc/prometheus/") .with_volume_mount(vol, "/prometheus"); diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml deleted file mode 100644 index 9ac4f47c..00000000 --- a/tg-launch-azure-cassandra.yaml +++ /dev/null @@ -1,785 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml deleted file mode 100644 index fee09918..00000000 --- a/tg-launch-azure-neo4j.yaml +++ /dev/null @@ -1,786 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-azure - - -p - - pulsar://pulsar:6650 - - -k - - ${AZURE_TOKEN} - - -e - - ${AZURE_ENDPOINT} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml deleted file mode 100644 index de02fb34..00000000 --- a/tg-launch-bedrock-cassandra.yaml +++ /dev/null @@ -1,793 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-recursive - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '2000' - - --chunk-overlap - - '100' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml deleted file mode 100644 index cb4d393a..00000000 --- a/tg-launch-bedrock-neo4j.yaml +++ /dev/null @@ -1,794 +0,0 @@ -services: - chunker: - command: - - chunker-recursive - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '2000' - - --chunk-overlap - - '100' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-bedrock - - -p - - pulsar://pulsar:6650 - - -z - - ${AWS_ID_KEY} - - -k - - ${AWS_SECRET_KEY} - - -r - - us-west-2 - - -x - - '4096' - - -t - - '0' - - -m - - mistral.mixtral-8x7b-instruct-v0:1 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml deleted file mode 100644 index 7bf01fd9..00000000 --- a/tg-launch-claude-cassandra.yaml +++ /dev/null @@ -1,781 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml deleted file mode 100644 index da8dfd5a..00000000 --- a/tg-launch-claude-neo4j.yaml +++ /dev/null @@ -1,782 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-claude - - -p - - pulsar://pulsar:6650 - - -k - - ${CLAUDE_KEY} - - -x - - '4096' - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml deleted file mode 100644 index dec65f7f..00000000 --- a/tg-launch-cohere-cassandra.yaml +++ /dev/null @@ -1,777 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '150' - - --chunk-overlap - - '10' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - '0' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml deleted file mode 100644 index 92815b0a..00000000 --- a/tg-launch-cohere-neo4j.yaml +++ /dev/null @@ -1,778 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '150' - - --chunk-overlap - - '10' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - '0' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-cohere - - -p - - pulsar://pulsar:6650 - - -k - - ${COHERE_KEY} - - -t - - '0' - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml deleted file mode 100644 index 98fd7001..00000000 --- a/tg-launch-llamafile-cassandra.yaml +++ /dev/null @@ -1,467 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - 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.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml deleted file mode 100644 index 729beb2c..00000000 --- a/tg-launch-llamafile-neo4j.yaml +++ /dev/null @@ -1,468 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - 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.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-llamafile - - -p - - pulsar://pulsar:6650 - - -m - - LLaMA_CPP - - -r - - ${LLAMAFILE_URL} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml deleted file mode 100644 index 50b9f3c3..00000000 --- a/tg-launch-ollama-cassandra.yaml +++ /dev/null @@ -1,467 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - 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.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml deleted file mode 100644 index 6964d28c..00000000 --- a/tg-launch-ollama-neo4j.yaml +++ /dev/null @@ -1,468 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-generic - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - 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.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-ollama - - -p - - pulsar://pulsar:6650 - - -m - - gemma2:9b - - -r - - ${OLLAMA_HOST} - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml deleted file mode 100644 index b54e057e..00000000 --- a/tg-launch-openai-cassandra.yaml +++ /dev/null @@ -1,785 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml deleted file mode 100644 index 9c9e0dc0..00000000 --- a/tg-launch-openai-neo4j.yaml +++ /dev/null @@ -1,786 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion-rag: - command: - - text-completion-openai - - -p - - pulsar://pulsar:6650 - - -k - - ${OPENAI_KEY} - - -x - - '4096' - - -t - - '0' - - -m - - GPT-3.5-Turbo - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - 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.17 - restart: on-failure:100 - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml deleted file mode 100644 index 8d7c8eba..00000000 --- a/tg-launch-vertexai-cassandra.yaml +++ /dev/null @@ -1,793 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - deploy: - resources: - limits: - cpus: '0.5' - memory: 256M - reservations: - cpus: '0.1' - memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - volumes: - - ./vertexai:/vertexai - text-completion-rag: - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - deploy: - resources: - limits: - cpus: '0.5' - memory: 256M - reservations: - cpus: '0.1' - memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - volumes: - - ./vertexai:/vertexai - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml deleted file mode 100644 index 8079d04c..00000000 --- a/tg-launch-vertexai-neo4j.yaml +++ /dev/null @@ -1,794 +0,0 @@ -services: - chunker: - command: - - chunker-token - - -p - - pulsar://pulsar:6650 - - --chunk-size - - '250' - - --chunk-overlap - - '15' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - embeddings: - command: - - embeddings-hf - - -p - - pulsar://pulsar:6650 - - -m - - all-MiniLM-L6-v2 - deploy: - resources: - limits: - cpus: '1.0' - memory: 400M - reservations: - cpus: '0.5' - memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - graph-rag: - command: - - graph-rag - - -p - - pulsar://pulsar:6650 - - --prompt-request-queue - - non-persistent://tg/request/prompt-rag - - --prompt-response-queue - - non-persistent://tg/response/prompt-rag-response - - --entity-limit - - '50' - - --triple-limit - - '30' - - --max-subgraph-size - - '3000' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-definitions: - command: - - kg-extract-definitions - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-relationships: - command: - - kg-extract-relationships - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - kg-extract-topics: - command: - - kg-extract-topics - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - metering: - command: - - metering - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - 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.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - pdf-decoder: - command: - - pdf-decoder - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - prompt: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - --text-completion-request-queue - - non-persistent://tg/request/text-completion - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prompt-rag: - command: - - prompt-template - - -p - - pulsar://pulsar:6650 - - -i - - non-persistent://tg/request/prompt-rag - - -o - - non-persistent://tg/response/prompt-rag-response - - --text-completion-request-queue - - non-persistent://tg/request/text-completion-rag - - --text-completion-response-queue - - non-persistent://tg/response/text-completion-rag-response - - --definition-template - - ' - - Study the following text and derive definitions for any discovered entities. - - Do not provide definitions for entities whose definitions are incomplete - - or unknown. - - Output relationships in JSON format as an arary of objects with fields: - - - entity: the name of the entity - - - definition: English text which defines the entity - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract will be written as plain text. Do not add markdown formatting - - or headers or prefixes. Do not include null or unknown definitions. - - ' - - --relationship-template - - ' - - Study the following text and derive entity relationships. For each - - relationship, derive the subject, predicate and object of the relationship. - - Output relationships in JSON format as an arary of objects with fields: - - - subject: the subject of the relationship - - - predicate: the predicate - - - object: the object of the relationship - - - object-entity: false if the object is a simple data type: name, value or date. true - if it is an entity. - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not use special characters in the abstract text. The - - abstract must be written as plain text. Do not add markdown formatting - - or headers or prefixes. - - ' - - --topic-template - - "You are a helpful assistant that performs information extraction tasks for\ - \ a provided text.\nRead the provided text. You will identify topics and their\ - \ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\ - \ in the provided text.\n- Study the provided text carefully.\n\nHere is the\ - \ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\ - - Return only topics that are concepts and unique to the provided text.\n- Respond\ - \ only with well-formed JSON.\n- The JSON response shall be an array of objects\ - \ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\ - \ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\ - ```\n\n- Do not write any additional text or explanations." - - --knowledge-query-template - - 'Study the following set of knowledge statements. The statements are written - in Cypher format that has been extracted from a knowledge graph. Use only the - provided set of knowledge statements in your response. Do not speculate if the - answer is not found in the provided set of knowledge statements. - - - Here''s the knowledge statements: - - {graph} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --document-query-template - - 'Study the following context. Use only the information provided in the context - in your response. Do not speculate if the answer is not found in the provided - set of knowledge statements. - - - Here is the context: - - {documents} - - - Use only the provided knowledge statements to respond to the following: - - {query} - - ' - - --rows-template - - ' - - Study the following text and derive objects which match the schema provided. - - - You must output an array of JSON objects for each object you discover - - which matches the schema. For each object, output a JSON object whose fields - - carry the name field specified in the schema. - - - - - - - {schema} - - - - - - - {text} - - - - - - - You will respond only with raw JSON format data. Do not provide - - explanations. Do not add markdown formatting or headers or prefixes. - - ' - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - text-completion: - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - deploy: - resources: - limits: - cpus: '0.5' - memory: 256M - reservations: - cpus: '0.1' - memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - volumes: - - ./vertexai:/vertexai - text-completion-rag: - command: - - text-completion-vertexai - - -p - - pulsar://pulsar:6650 - - -k - - /vertexai/private.json - - -r - - us-central1 - - -x - - '4096' - - -t - - '0' - - -m - - gemini-1.0-pro-001 - - -i - - non-persistent://tg/request/text-completion-rag - - -o - - non-persistent://tg/response/text-completion-rag-response - deploy: - resources: - limits: - cpus: '0.5' - memory: 256M - reservations: - cpus: '0.1' - memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - volumes: - - ./vertexai:/vertexai - vectorize: - command: - - embeddings-vectorize - - -p - - pulsar://pulsar:6650 - deploy: - resources: - limits: - cpus: '1.0' - memory: 512M - reservations: - cpus: '0.5' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml deleted file mode 100644 index f91c4e0c..00000000 --- a/tg-storage-cassandra.yaml +++ /dev/null @@ -1,215 +0,0 @@ -services: - cassandra: - deploy: - resources: - limits: - cpus: '1.0' - memory: 800M - reservations: - cpus: '0.5' - memory: 800M - environment: - JVM_OPTS: -Xms256M -Xmx256M - image: docker.io/cassandra:4.1.6 - ports: - - 9042:9042 - restart: on-failure:100 - volumes: - - cassandra:/var/lib/cassandra - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - reservations: - cpus: '0.1' - memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-cassandra - - -p - - pulsar://pulsar:6650 - - -g - - cassandra - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - cassandra: {} - grafana-storage: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml deleted file mode 100644 index 6a169bd0..00000000 --- a/tg-storage-neo4j.yaml +++ /dev/null @@ -1,216 +0,0 @@ -services: - grafana: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - environment: - GF_ORG_NAME: trustgraph.ai - image: docker.io/grafana/grafana:11.1.4 - ports: - - 3000:3000 - restart: on-failure:100 - volumes: - - grafana-storage:/var/lib/grafana - - ./grafana/provisioning/:/etc/grafana/provisioning/dashboards/ - - ./grafana/provisioning/:/etc/grafana/provisioning/datasources/ - - ./grafana/dashboards/:/var/lib/grafana/dashboards/ - init-pulsar: - command: - - tg-init-pulsar - - -p - - http://pulsar:8080 - deploy: - resources: - limits: - cpus: '1' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - neo4j: - deploy: - resources: - limits: - cpus: '1.0' - memory: 768M - reservations: - cpus: '0.5' - memory: 768M - environment: - NEO4J_AUTH: neo4j/password - image: docker.io/neo4j:5.22.0-community-bullseye - ports: - - 7474:7474 - - 7687:7687 - restart: on-failure:100 - volumes: - - neo4j:/data - prometheus: - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/prom/prometheus:v2.53.2 - ports: - - 9090:9090 - restart: on-failure:100 - volumes: - - ./prometheus:/etc/prometheus/ - - prometheus-data:/prometheus - pulsar: - command: - - bin/pulsar - - standalone - deploy: - resources: - limits: - cpus: '2.0' - memory: 1500M - reservations: - cpus: '1.0' - memory: 1500M - environment: - PULSAR_MEM: -Xms600M -Xmx600M - image: docker.io/apachepulsar/pulsar:3.3.1 - ports: - - 6650:6650 - - 8080:8080 - restart: on-failure:100 - volumes: - - pulsar-data:/pulsar/data - qdrant: - deploy: - resources: - limits: - cpus: '1.0' - memory: 256M - reservations: - cpus: '0.5' - memory: 256M - image: docker.io/qdrant/qdrant:v1.11.1 - ports: - - 6333:6333 - - 6334:6334 - restart: on-failure:100 - volumes: - - qdrant:/qdrant/storage - query-doc-embeddings: - command: - - de-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-graph-embeddings: - command: - - ge-query-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - query-triples: - command: - - triples-query-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-doc-embeddings: - command: - - de-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-graph-embeddings: - command: - - ge-write-qdrant - - -p - - pulsar://pulsar:6650 - - -t - - http://qdrant:6333 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 - store-triples: - command: - - triples-write-neo4j - - -p - - pulsar://pulsar:6650 - - -g - - bolt://neo4j:7687 - deploy: - resources: - limits: - cpus: '0.5' - memory: 128M - reservations: - cpus: '0.1' - memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.17 - restart: on-failure:100 -volumes: - grafana-storage: {} - neo4j: {} - prometheus-data: {} - pulsar-data: {} - qdrant: {} - From 709221fa102d92050d5b47dd765982fa10e8042e Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Wed, 2 Oct 2024 11:39:57 +0100 Subject: [PATCH 40/44] Add missing rdflib import (#95) --- trustgraph-cli/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trustgraph-cli/setup.py b/trustgraph-cli/setup.py index d2ba7b3b..68024de6 100644 --- a/trustgraph-cli/setup.py +++ b/trustgraph-cli/setup.py @@ -37,6 +37,7 @@ setuptools.setup( "trustgraph-base", "requests", "pulsar-client", + "rdflib", "tabulate", ], scripts=[ From db9ed06b1c8e17216b8da2fcd6b892516301a41f Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Wed, 2 Oct 2024 22:23:00 +0100 Subject: [PATCH 41/44] Fix/broken kg extract topics (#97) * Add missing kg-extract-topics service * Bump version --- Makefile | 2 +- templates/components/graph-rag.jsonnet | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9952192c..d59577fa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.17 +VERSION=0.11.18 DOCKER=podman diff --git a/templates/components/graph-rag.jsonnet b/templates/components/graph-rag.jsonnet index c7a58bd5..1bce5f04 100644 --- a/templates/components/graph-rag.jsonnet +++ b/templates/components/graph-rag.jsonnet @@ -89,6 +89,7 @@ local url = import "values/url.jsonnet"; engine.resources([ containerSet, + service, ]) }, From 8bd710972bb0e40511ee5a8ce20ccaae85ab4044 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Wed, 2 Oct 2024 22:25:37 +0100 Subject: [PATCH 42/44] Fix service --- templates/components/graph-rag.jsonnet | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/components/graph-rag.jsonnet b/templates/components/graph-rag.jsonnet index 1bce5f04..c0200d1e 100644 --- a/templates/components/graph-rag.jsonnet +++ b/templates/components/graph-rag.jsonnet @@ -87,6 +87,10 @@ local url = import "values/url.jsonnet"; "kg-extract-topics", [ container ] ); + local service = + engine.internalService(containerSet) + .with_port(8000, 8000, "metrics"); + engine.resources([ containerSet, service, From adba99f270fe396f43b971af9fd1d2446921fb67 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Wed, 2 Oct 2024 22:25:48 +0100 Subject: [PATCH 43/44] Bump version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d59577fa..5593faa7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.18 +VERSION=0.11.19 DOCKER=podman From 44a6088465e7250aa0834875f39589de80897b46 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Thu, 3 Oct 2024 09:58:29 +0100 Subject: [PATCH 44/44] Update 0.11 release with front-page README changes (#98) * Readme updates * Fixed typo * Updated banner image * Updated readme table --------- Authored-by: JackColquitt --- README.md | 84 ++++++++++++++------------ TG_Banner_readme.png => TG_readme.png | Bin 162600 -> 161591 bytes 2 files changed, 44 insertions(+), 40 deletions(-) rename TG_Banner_readme.png => TG_readme.png (57%) diff --git a/README.md b/README.md index 30e41edc..7a587876 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # TrustGraph -![TrustGraph banner](TG_Banner_readme.png) +![TrustGraph banner](TG_readme.png) 🚀 [Full Documentation](https://trustgraph.ai/docs/getstarted) 💬 [Join the Discord](https://discord.gg/AXpxVjwzAw) @@ -16,54 +16,58 @@ The pipeline processing components are interconnected with a pub/sub engine to m The processing showcases the reliability and efficiences of GraphRAG algorithms which can capture contextual language flags that are missed in conventional RAG approaches. Graph querying algorithms enable retrieving not just relevant knowledge but language cues essential to understanding semantic uses unique to a text corpus. -## Deploy in Minutes - -TrustGraph is designed to deploy all the services and stores needed for a scalable GraphRAG infrastructure as quickly and simply as possible. - -### Install Requirements +## Install the TrustGraph CLI ``` -python3 -m venv env -. env/bin/activate -pip3 install pulsar-client -pip3 install cassandra-driver -export PYTHON_PATH=. +pip3 install trustgraph-cli ``` -### Download TrustGraph +## Download TrustGraph -``` -git clone https://github.com/trustgraph-ai/trustgraph trustgraph -cd trustgraph -``` +TrustGraph releases are available [here](https://github.com/trustgraph-ai/trustgraph/releases). Download `deploy.zip` for the desired release version. -TrustGraph is fully containerized and is launched with a Docker Compose `YAML` file. These files are prebuilt and included in the download main directory. Simply select the file that matches your desired model deployment and graph store configuration. +| Release Type | Release Version | +| ------------ | --------------- | +| Latest | [0.11.19](https://github.com/trustgraph-ai/trustgraph/releases/download/v0.11.19/deploy.zip) | +| Stable | [0.11.19](https://github.com/trustgraph-ai/trustgraph/releases/download/v0.11.19/deploy.zip) | + +TrustGraph is fully containerized and is launched with a `YAML` configuration file. Unzipping the `deploy.zip` will add the `deploy` directory with the following subdirectories: + +- `docker-compose` +- `minikube-k8s` +- `gcp-k8s` + +Each directory contains the pre-built `YAML` configuration files needed to launch TrustGraph: | Model Deployment | Graph Store | Launch File | | ---------------- | ------------ | ----------- | -| AWS Bedrock | Cassandra | `tg-launch-bedrock-cassandra.yaml` | -| AWS Bedrock | Neo4j | `tg-launch-bedrock-neo4j.yaml` | -| AzureAI Serverless Endpoint | Cassandra | `tg-launch-azure-cassandra.yaml` | -| AzureAI Serverless Endpoint | Neo4j | `tg-launch-azure-neo4j.yaml` | -| Anthropic API | Cassandra | `tg-launch-claude-cassandra.yaml` | -| Anthropic API | Neo4j | `tg-launch-claude-neo4j.yaml` | -| Cohere API | Cassandra | `tg-launch-cohere-cassandra.yaml` | -| Cohere API | Neo4j | `tg-launch-cohere-neo4j.yaml` | -| Llamafile | Cassandra | `tg-launch-llamafile-cassandra.yaml` | -| Llamafile | Neo4j | `tg-launch-llamafile-neo4j.yaml` | -| Mixed Depoloyment | Cassandra | `tg-launch-mix-cassandra.yaml` | -| Mixed Depoloyment | Neo4j | `tg-launch-mix-neo4j.yaml` | -| Ollama | Cassandra | `tg-launch-ollama-cassandra.yaml` | -| Ollama | Neo4j | `tg-launch-ollama-neo4j.yaml` | -| OpenAI | Cassandra | `tg-launch-openai-cassandra.yaml` | -| OpenAI | Neo4j | `tg-launch-openai-neo4j.yaml` | -| VertexAI | Cassandra | `tg-launch-vertexai-cassandra.yaml` | -| VertexAI | Neo4j | `tg-launch-vertexai-neo4j.yaml` | +| AWS Bedrock API | Cassandra | `tg-bedrock-cassandra.yaml` | +| AWS Bedrock API | Neo4j | `tg-bedrock-neo4j.yaml` | +| AzureAI Serverless API | Cassandra | `tg-azure-cassandra.yaml` | +| AzureAI Serverless API | Neo4j | `tg-azure-neo4j.yaml` | +| Anthropic API | Cassandra | `tg-claude-cassandra.yaml` | +| Anthropic API | Neo4j | `tg-claude-neo4j.yaml` | +| Cohere API | Cassandra | `tg-cohere-cassandra.yaml` | +| Cohere API | Neo4j | `tg-cohere-neo4j.yaml` | +| Llamafile API | Cassandra | `tg-llamafile-cassandra.yaml` | +| Llamafile API | Neo4j | `tg-llamafile-neo4j.yaml` | +| Ollama API | Cassandra | `tg-ollama-cassandra.yaml` | +| Ollama API | Neo4j | `tg-ollama-neo4j.yaml` | +| OpenAI API | Cassandra | `tg-openai-cassandra.yaml` | +| OpenAI API | Neo4j | `tg-openai-neo4j.yaml` | +| VertexAI API | Cassandra | `tg-vertexai-cassandra.yaml` | +| VertexAI API | Neo4j | `tg-vertexai-neo4j.yaml` | Launching TrustGraph is as simple as running one line: +**Docker**: ``` -docker compose -f up -d +docker compose -f up -d +``` + +**Kubernetes**: +``` +kubectl apply -f ``` ## Core TrustGraph Features @@ -80,7 +84,7 @@ docker compose -f up -d - GraphRAG query service - [Grafana](https://github.com/grafana/) telemetry dashboard - Module integration with [Apache Pulsar](https://github.com/apache/pulsar/) -- Container orchestration with `Docker` or [Podman](http://podman.io/) +- Container orchestration with `Docker`, `Podman`, or `Minikube` ## Architecture @@ -105,12 +109,12 @@ The agent prompts are built through templates, enabling customized extraction ag PDF file: ``` -scripts/load-pdf -f sample-text-corpus.pdf +tg-load-pdf sample-text-corpus.pdf ``` Text file: ``` -scripts/load-text -f sample-text-corpus.txt +tg-load-text sample-text-corpus.txt ``` ## GraphRAG Queries @@ -118,7 +122,7 @@ scripts/load-text -f sample-text-corpus.txt Once the knowledge graph has been built or a knowledge core has been loaded, GraphRAG queries are launched with a single line: ``` -scripts/query-graph-rag -q "Write a blog post about the 5 key takeaways from SB1047 and how they will impact AI development." +tg-query-graph-rag -q "Write a blog post about the 5 key takeaways from SB1047 and how they will impact AI development." ``` ## Deploy and Manage TrustGraph diff --git a/TG_Banner_readme.png b/TG_readme.png similarity index 57% rename from TG_Banner_readme.png rename to TG_readme.png index 974737cba941fcf5950b0d16b12adc4cfa587d06..c1446aa29fa6ad2a6efe3682c38ebce8d5e3377f 100644 GIT binary patch delta 68933 zcmX_oWmr}1^EF)(64Kq>-CdF*-QC?Go9+;hl01Mk2-4l%p>%_EBQ3n!=l8$f{echX zx;UJ3&pk71)>=d9EppQta!oP}JO?`qJ6B3N3_Z1_DVG(8nS~__FFQLg3pc+NFN=UF zA3KWx7cUpDB^N)Jg_&914vaJm(zMFz92AV}O&uFNPbc8}k@zn2>~(&bNFTOfAOT8( z3R>^2ygcp?-ZA?kYA;SV&JlhU+RVikF88yz^US>$&i(OKfd$cAq4#FiX^XnT(blW#)GF~uU}#^b1LtQ$K*iC6==rr> zNSo}m!GRU<*%r4i?XSJU7qv7N@)3He2+D+xwNkmUps?$~jV(stotYa^wR@8bdlx

Sn0W4tEdtrFP?Em%5O?#y@OYLX&!kd@h+N*U;`6-|Mh8oS0F=&6U1hLHP_ zqTZk1H)kLL>l{xb@gUGYTXIGbGu^<^W$aq4ZKfGODD(I*e0-M3r+VDS+tRD1c)eJc zb0n?YpnK-U7hG+M@=dqyF0bVBhmi}e6knBZa+ga&O7d}6vJ+cX#bv%J8r#acu>=b}wXJXi_px6W#OJy;BShzB(& zXN6u^k%Tw$?8E#uBONvq2|V2YJ-CrhMDbMG4H;oNR_45sbPI@h9Z2+&PseDNKKsd- zu-Fhw6(Jui$57OS4fddPBpsHX%)PiuATAY|lCX_(rRhBtua5l5j6Iqwe_$W*ZK5XU zEABcp`4Dm7)-NuJKi7l&RY@LjCiIp{b83mS&Gv8;ax5`if~yv^?@OI6FHg|vNSU`> zhkOWNm5y(o;Eu(|QZ*O9*ksDJId2EHFx7sxnwGX8Oq_4{vDm>IFqBE7-fPXLQ$(W(Js{V>dT0N)UbUoIfo?~UEk1Hg zfVi!o@24nXI4)+kxDubrAD6~Z3BZskR%~TIgJ&cqjT|B@C;mhpzO$fH)Q@Q7&BKmU zL!sS0r0q!&d!~}motec9863|Pd};Xc|c4>)}^@<6L9Oc*H zlExvJGp*k*tgwa;%ksb2yMjA0s%Yoqme{T%LKSV!?<>uLlY$*79(Y&k3nXR2X`k^C!^q*>2v@AUGZ~PS%7zf10x3hq(9xdpIA_ zjms6Bn?~xJo@RdJw{SKgAt_WBfpzGJyy0j4jns-@R!T(Z0wL<*eYYQ`P$3Cj&Re}6p*gbg?$2z!0?Pg4+oLq)xz*~a~k5hsu zHZw0OzZGgF5;F&1bJM%_#48jH-j?k4Nl7_ap#_)4W<~L3;)V7;(#YIu<`aFX&0%;F z#_Lq8k(M$_-d*I->e9cSsn*X>MoaX$$+xkFki5p0{gIyjj>LpQeJ#N5gl5M z71CnIFYi|bwEv#?Z&O5i29iqGr;aJZ3R-~if_dR(Xe%7|o$R3c*`@+<7evl38~;mN zGr6X?dAdq0t6uSc@wXN(jm8(pY&EV_M)jRd#6!MWwBf!xa@mc+oakT%Zx=q$s9{57 zCjK@k8toZ%FcvOQCoi8QFE%KYu9hO}&7)3B-VB^~eEz=@+Dc4eb_tgzjZ9`RZEBbR z70ZfDaz?sHLkC43sXPQdCcB!MKP@UR*Iot*PE}81$?v8tc)$(Ca8}tYxD?5D<0q65H`U$MhSi7}AV`$G3I)br(clfvkGFd|ng>rt& zx$Iy-fJ~%N3U&FFuLIL|QVQeaGa6W;`4DY|JA2~ONC{I|-Lx!Gq}F1aKTsB1tP&Tv zG%G|VP!Oi5aGK3<0jTf%D#2{K7}3P7`pb>3#k8U+_1|Ouu)T>yY!?%IYiD!cZMSu~ zix7D5K?!(OCQ0)bPf!y3g{$g3m#mj;7*(|xhH? zvJymz6>|3`N~y$)UO?xF0M8A;Msn9w$P=gVL@-p)ouC}CFMCxh&M>cI;e zul0~u1Sx1{G=sy!{gz3#yIG&(I8tu-0LU!bF-({jhMfMFW?Y_aMg_)#CorosT(E{! zV}XFeI8h>a7-?x*P3CB<1fy9BE?rc9*DtnOv_b7M)ku^s-x7Ne#2%h-kWmv--qMJ3 zqvtRAI{td{@+a!Tm$>GUZbUSkuf;iSl>>M~B4vT!_1s3*E{zc+Y0ShZWDN*@g z`*CKsRruU9w*gEgfRY*55&VQ}Juv06>It*3)-)}I9uPo_$Bi5yswCMKX|5eICU+Ng z){u@T=g~F&t@L|Rxf#6y!}clHW6%sID*VmLmw3^pn62M$;bY*gV6rh>1qtYubt)&^ zH=l`n{z6j2hk1%hjm}j|Ci7=p&-rl}5Qzs_>kah~@#Lud0qDu!N_EK?uY+aX1y4E1 zScZK#yboo=8Sg(a#e(PyvBG-4lfZNI@2tmez3--n2?J3|tvi&Xs{d;>CDZoV{ z5`0}%v!xIC)vx!ze51N8bL6p6hBn8k2p@WJ^E~sSQ{8-$8;@md^tU0h2#HBIr57-B zAJdkF3o zwU%aJ+^0RKgUkzMM%1{ZVR;mz>_Uc3eGEaDzr68@-=){pHB6!n%0B#1h(;6eW4KT@ zk585Qbo{)r;v4ya=iy6}WPfQ+Sg@*0S@Y@oG5uh1b3y(u|Ki0nQ^nl=>QN(V0?X%< zFaVlG1R@ro`TN?ZcraSqE}nm7YsGDyR~#{QEwEG~QC)~b)d4Xm85Mfr@%Q&SeR3DD z#eyA*-#w)#4Tcn~hS5ioq^;~Z7?w*gH*qJPua8tq)DZCg^MPNp>FE@#p3}2ZJKq74 z$h>(X5OVdDirkOc7wbyqv0U8g0e&{^M%Ln%qKUBYoLDLh|BJw;QeD)vtdsE-0WW%#BPcYZM-^yrtIFrRaf3XEmIxilTK8{d_ zAk)frUCGzAr=^D5hFp`?F#QKn8kOWk_y{|{cWMVx*Ce*cbBkE@IWPkI|y#q*$m)qtS` zN~v6|YoR=lQ-bQ&r_m3^ziKkS%e!1E63-q_+W{lOp)QS~Gov2OHl$6DyT?%K9bT)= z7i+eJwza;(<29ex5CGAwShx4Afq0$YHtPOSIJMq6?Z645anTZnh}XVaJR{L{j&Ws* zyDA4LSRl+~2C{;E!atpByWq(zDjJcu#r59cfYrO<XvD0n37z=e$#eVn+i+vv16ONG?vg*o!oS5qJm05$-89vWAAJL*iKUW|fx7}L z(^zT5upRnF@Ok^ohg!G%-uRMo1Dy`eD^`FImdQLabttRkkEyN^_@RSQ_+IXyg>sj+ z!h)gEdGIeVB9-}9i~9DAURf!PS??aTa3iMnn#Ml-KOuegXqT8e72TydpE-dD4m5Ep zb~`2vZYZ!5gGbp$5MXJ4Q3rWL!6E^pJOVw?(Vz>1KqnvIqaG>uOGYK?$25bF=pS1T z*T2&#f;u*TmR8nnNb+3^QlWF+Lj}gcvkJ6#l}*V)23u=Ju+!2mPYqR`hv-J7<=A~M z><-AN@Mvhk6s4GBhJZ5%5dZVeIpffctv>3YDQOrh=ywsLW?kLjj6|%Y<5RC08rytf_MK-AfMzLEnf5Tr*eJvp z-=CVWTSbGTkZ(g#X{5{cp{r^Nyb7hYZl$%1Pup&6@q=08H`3C!X+g8hroU=)Q%w8( zVYQQ_<0v90#32R=efu8t^-=eO2?Hdd|2GwzCEBzV@C4MUe0` zSDl&J2$g8`KpB7BfZoW%)A9 z&kTIfR7{aorq=Ajt&{OhlLwboIWOVGhW7l=+gu{7UUNF>*h|oS={e_|=n==T+(#?; zyTvj0%do7gX>%7Fjl+LCT2PfgvuEL+ktP-$kWP*RkK!jx-aDy!REl-*)K5#SJX&Yf zYDdzMqt9L#&b;)#D|l_TKh>GLMIarWso}XvmwyzIEtm4-@D?zjYS_z4+ek3FpU{2; zr(X8U@(mKhiME$YWg88i@nj#NdcZR6fMFnZn%(+oE-S3DgPO5%wu=N7+-|auLLGt+ z`cHtZ!4X74gOhg`rPQbj=_+)G+K#PG9di|Wb5jcstRvt=Cu{LzsC%?@e7}T_T+h$O z;OyIFo4a69Kf`&|czgU^_Ia=6F8cw(@@kXX{=wk&&qP~+Q$mh`FR?-T7pyoL9&S2A zE-K{ghgUC6_=>kHo4QgvffgK7s__T;slfFRt*n-;>sLVyjmqeZ|K?L>UJLlZ+?CH0 zwjobgrW9sR|2T=Cn7JsM;nU`Y4Z|7uMUI~(>^fBpR;(0e8f;g(_XBvy=tj@{;=#HvUjO9i&~ z#$UEXUI(iW?LLPP zOi{kBji5EyV~2;%b8vaYK?NX54&IubZ;&*k@ZV&Tf`82_`m`^FdUDl*{g6_v{zE?= zZ_97xODio3m@V)Vp@#oj)bJ4e}`(e0Sw!!UQeV=Jltn; zxYy6~IsvVY9!dg*JZBKCd51Ggb2qZwqv;B))hb-lbLQSh8|FCTx}be;C4^H+uPeAf z-$@*7Ga)Gc`|kai<%n(ArwS+Y=-n{O#TCBD)NXaMDPd52>+4}0^tW;^9T`!F`(cl0B^#|8d&NRrp zK>`_2-sgSC-}}LI+FoBLu#Hc+;3-j53oa=<=B!Xdx}VVEkrFIws8DLeoj7GBM9>CHfNjleK-LQVMJ#%vB~`=ZVUImleW|nON;jWtlXzGqBku$`f?G z1!Y7JeB6l}ErQ58P{Hyq4Q`JsBkZ8VD9950tPpT8tcr#s?15PB53&y6dhTC8;7@F7 zw;6qHCV2WEAwWDx&Sa4z9E@j=ZC)N?>I1|`yXw_1NSd=QH^`IJy3^YBQ+E{h$XH9m zP%#yDW9fjr2j7`?W9vm7HbQ`P6RZ-BnTv2e#s~hHK}tF>Voukr^;1RQOwQx_&fO@r zwkfVpX#dZ>*8qFc)huxN)KIf~r;5wZL2qCRdt?QXAz;2h>YP5BM2nP1OGPtI9*opP z&t`<1eJhlGYY>RAjVib{d$7>qZG)$-PjE10nBboe_`|mm6U?&lWm&TlKDZJkWWVnR zAt}ce^^8j>ycAOsM^6+o(KX=He$&Zd7b5ib!G-{!{&0zpSMs~V$rSe&nCvalgW%(fCfV8M;Lr{_6h#RxeMV%>1fMp<__*9jRMb11BTyLA%t%W7U?lfl-zs zl@hVt^p3$$N2EquR`*K0-%b1nA4SW7>DddH$1B#KQ<=Bxj+uQh0iPeE;eUzNC}f0E_mON4qu1lt z$89nPenal7u8r!Z8NRlC%H-gb*#=A4>$wy*ZB8wuxyw`bTr`94mnZST7ip5oms?qk%tOcajrxY_cTNrarvO%wh)004}ivxvUXrY0;Dv;SsoQ91U`<<}7Gm_g+s3HN!!RiPDSLw572?gVVWOZh{=F%P{DX_5e`wKL~1do2Ha{*V|6M>uu;lm!GEN9a9& zfNkBIeL;ffqx$s{_oh#uCDmJlRxI`_7ve8>7WD_W$|hL9u(8KjuGpc|eV1#RZyX%$ z*`j?u+mSZ`f%e1~wt`i)Fk)U3|DB4B<9bW@&TJ6yPW?y3l zq9{_Lc)UcK!IMSK0=JHObGOUG=*vrHT(It=<$<6=J?)(k?7}T2I^FX8RDmPgZ?K=a z)C&E8l~}0RMn41Z>0#Am4S;e=dJ`8Xx6pQ(RR>WeS87F~#-}`&)hRvbT%_DLxJ`BC zUoHrpljAB}*`X$7^?v&6_@|1Qb3AzgsmN0RhET``tPUq*U4}u^q$=P$(eXCdeqW6* zO!x4)d+u;_8Sy3Q!mkeJxD$rTw@KI$Wb46cbo=2GiV90*PCe=bAgEFq8V^Yn)qtp) za!cYF@__u2U@V``jB8(mN_aJsTHRlu^+`v$Ua@Ffo16O#5hh2h`T#H4jv2F6&RpZ| zoQ~+fqrs0}+%^dpp|0(4jOvLU!ZQC6{T;F4xR@j*Hu1L$MjS5q8l|RSNNk_HZ#Uce8EGKbxkx)GQNRw%>!Zw{i}5^`ANV z5u`xMqA6JlCYXoQ^^2&p@ADC9hekHhMjKEd(gPD1 z9mK!as{6WI(%I3;T}W?-`Zz!H>kY~EEY{UD71{Lw-n1)K#Nc}dn5GC-j-f?>jczmm zT25bwxKyY8kBgi1Je@H&Zh9RFDycqMhq(xiN=R5;*>s${Uq$Y;jwizesCc zZ5u{;)W@Blxo#WK#ZNhvcD0;fe5UHe$I+AKZ+S?f%<03?T61L8Gv8}(UEOe)-q~_P zAK`*4R~L!~SwrGSrNq$yQdMV9(_RI$dD7esJrm3`UQ;wOkd5oS4Z?N;%+D(qh)B{Q zbUMPRH*X#2y28YV7|@=0tL|xgoK2oah2^S16~*^ z?^4tBjDrV;dN4W2QrQpWRA$2k3vNOqVSwR=~VfAYn++CKh0z2 z))u7plsJ>kcFcThmcz9Z2rgGihw69kf03ZrbH2MA&l>ydfC!5yrzG^4LmXVl!VFF% z#FbtXZuvsKFik_ly1fCVAU(*3NL6^1;mLe9&c1Qf@6TrqZ%fJe#s{pt7*9U6EkQ#| z=!7dV1wsHiNu}2|ohQQclpIOyw(!F0>3gyeD0~!o?ooMe6rB_X^0{%4Iq0P7aq!|S zH{V$2L@;*JU_&`-ql!K)iu-Q33W6(^v)jd4wV>-p}COOO^Hg6&6 zSU~|}|4sk|XlYN`q5d~scB#Sxu7?B=7m(4*lETR?cQdsf*%nytPzRDJ zf+%-`l$(Fg@+ndZjn@j=frX`Hg`i8tJAHgBVux3{FGt2eXahXcr_ojZWw)t;brH$Q z7}~4mRgvQtrxiGKEuoU|TQE|fc74%>vACb3YR?%~BTypJ3sC#ecM?W_B!&`~t67u~ zjeC9WXJ1pLSfcK6NS?NSbG`>y%rQdetwjX}K8)KCpv9~C)`W#lsybuHeaTA3g1Xgi zzFc@Z^=VxWFKKGMXhJN$xQ{rH0TohaI?f5Kmm_yCkT=3MUOwsd_7b@4B5g9agdIZ_zr~F;5h{-9_&V~BtrBP5t?n{9I z)m)9#^c8C=*B|i%qteJArEJD%v>&VK^gMPRuhSqYot?ROV!OE4U*=m4~ov=E|#;f zQ18d+>yb>yij9##pyu-sg?t(+DZL;w=4{-lMr|@b;sQKHDHN0~E}oCjB9A=OvLJvb zt0@mdud-lZLI{EEHL+ost%YY*edu?b+m0`gOwjGV7NQNsO$TQP<6N$-kCCF1_PDxw zh?zm?-r|{YQF{nAV@YS~r^~yEmU}MWoA{Jtr*i=|IYJVax%0(+DuN!pIoHBkY=>%dR4iMK1ieg1s~>Qy&goVvg7GbE%VvclMm1F8UGp5)9_I4#^E05E)l}swSc86e5T> zLf=;(*G!k`Y_Sfu9AC=6|8fzoT)Ss;C#w(<^qZB?S_o$U^e*AUFsB@lcSJw{QooxZ z%LMhBdG@ZNWO~hc5acUHXaRz6OOiTQlc6*qYtNWB6p81#=%nd=cKC6(mUd`lSU!2$ zCk6SvgA_z2E`z9j{FKUEIhBRFXBEg+tuxX16@_Tc24s5R6qhJX*IVSPkdEs&^(xoo%P+DXTYO5?7+ zLy2I8q7@KO^#n@NB?%Yx_*4#zN?N z-DjK*L4?}D4Ok)6X-M<0GDpzL7tz4c^#^)pz4^}jr!VR5Wlg)9O8ubMn^y$)TJlM$ zvt}edJrN%?`;hk}k}nA<4k}?AP*s31jI@oeHJvENb;g(EtZm4n1%ib8iJ198m=QW| zS;628GGk2z64>frX_)P9WI^rV)DjngP4ZDt3R4AG(eIYhy#sMNt{}}OXNoeGR{#6v zY2`>67uAFmle!eBUZD24PQAuzJlEkMFKHnSi*8GmtZ|2IgJ+BGk6+~&X3aNt;USRY z7FIE`z8r2nh+XB;LT4l6DB#YLv&x{Wkv-kA&9A@|ib{4n%WfIj^k{R2Sd7_`hNWA3 z5CDn;nQY}KKKK6hVkHYWbDb2R|=Zw`U}U0Zqb2Qv zJh6?{fpNRWuX(g)GVPDo9}!$2v4amP2(ad(fjl*wTK!`>skA2M)j{t}MbCL~Wv3Q@ z_&FG-f%LG$Fp9(E(&xPdg&vV1=29#VbLHpN&jY5Q2g~dYnbwRd=CQBCnD+Q5^aOG6 z^8Pj=`RczUGB`-=$0_rw z-1Q_VP*aLJ9OK!7SdC4q^)hw}^*&_{JumN=N6Ni zXFcKGggF_Vhg+nCeQi6t0@+SbCQ%`s+kP_p4Bl5zcoA;$zV!l|R&Aayiu2mR!2W1- z{*&w%D*(Cqm#S(kBgBkXp;-VwlcM8adH21Qnb%+Uk;x6(rT&Ta?9Np%JFVWntXbP-%X3b?R+Gb!8O?4h^>QA`_Gdb<@Ndj4JgA=G=TTl1e>az4o5EV% z5c=L%D&pcXETr73`x5b)3Lhak`}I@7Y|22E5ei3fNnMDpmu+&X(u@gPwc zQ*rY1n~li$tR~i@af<71PL*Nq74{fawC*43yydRKr6IMFO7owgGyyfl_@$WU^G&3G z2BXeM8F%MhT2)-i#x5Ub*QGe3_iK=@)x+AE#SD_H9ld&8FH;v>L3kd(_1&-~7ubEt zXXvNKVvS-}N$F;0rOX!y(V1DOl49hdKSrAwlDd76rY58|IMQ7dxA4Z!S0HF*ACMR? z^19-hR|$;xr=H_2kTvcV(soc5^B}B*1c3w=}>=oFXwQlmP`S9OSk4dH--f0 zq^rxUN`11===5~6odE04@&kpVI=E^zliW-kv|xw*Y`F=NO_5piBKZ-c!#L5P+sAS# z=3Xd$+X7p5g%6&ku?gctsnJ9sL`u))I>nS)p&FdC|B9EkC?baCt7>+ zyPAIU4Q_~@DtVjcs!Jcg>_YFI-N21z&df}ii$Z*+UE#ib9aW{!?{!EO&zbQYbFKQWv z8YB)gF8S1~kdUI*v3%FyJ}Q%6+xOZ4lF?lMhP=b#T8t+{xyp@DRpE((^HSRU2FrWWAlTQ*ipX?A5q;_?HU0x@C3tiDD>p9LDdAq0 zC0+B>H)^SF5Fh6m7`9?KfF>DQ;$7jAPGNIENmVu3MB#Hl8e7HIGYi7I3d$W^FNHhS z%^kA~Jaj;~HKDI>CUel6qv^<*BLR_krE(tkwHn#$(O?1Cno_Gl{d# zsHvEC+WbjM?JZpgRXsx3Mt{JAVvM;lL1b1a4k)<1yYtU*W*3a4uhgR`_@^_b-vZ0y zJbldYYr8yLy3#2gD6kc;B(K~z8uKc=VeJVBS`l-xHZ^LG4n;=+wy;c80xFmRYH={$>u zMVGJ7?9ts`QeNogP;54obLQOvM0Z#W>yEQqzj8L4o^l&jD@zLoOpFQmnDi`JL82?5 zgK4Z=fy@eC9p>mS_i3kRm~X0SZTB~VBpy2#H@LvS*`R2s6b!;7nqQQ{ z+yRBZPTRYLn~zT9vExjL(ITIWDzMp3$p-3vrf}dHCfQ-R*7PQ%-zJ&?KqeJ)?-R(W zlry1Qx&5c{r>BD^5$cfNg7M*yQ=*MkJbhX*WogihC#Rp5dk|QiB9Uz*o0Q(1(IVAC zqb_OXc2Mw?DvB~-8ujf`R@ngFZCJQ+0p5!p@x5C%-1~yC#^BAsrd$(sfj@|gET52p zoJ-GPDf>&m9O&#C;D%MrPj>Jh>*DGbIO3KUFRg{jw|mXMmT3G&*#i*=(gb=*K)no< zM~NLxL3AHk2c7L`ci3KtbOr@7WYOMVe>?AkjYs`m^+aaW7ufiOv_pVTP>-EHF04H_ zDT?N>E@}88S^I2Ex$Ap&R>N9K9A_se5XJ~Yi;0y1ayevj`D{vp1Xd}#3&^b*<8f)o zi0j+F+-ZCrg*Y!;B-k&fR8*{YtN_IxX!Rv)u+gL-U4_A%7Ew;>&Yd0bmKSR7u6A)Q z@KekVD-Rj)PRsP*^wRnCx&}Iov;(ru@mddkmrl6^)+U4QT%T^r^6Uv@U=jz#QT3WZ ze+oeSb8@4Uvof0CJwn6MNf|8%wFD1V(O2mc7Of`M59CNYnZTM}QXalGJ+R9D z-9vA$2XI!dq}mYhbqS`lRKq_)yMlpRAWSoA=+v9Hn6ai~i8l%xLz~z-%X<2Kl#|MA z_9-Ceg;-`J6|)y^%o3@w>1^hgl<;qC1&>!XN1*)-B!-ln5~p8uxsA=3b+da!;!4b z{;PXiMb2NY7@J`)1g(5%Nq@^e|I^JUS?RV>IRkaEFLXI@*i|0aVFZoX6`kK#jDJTVH{FuK zQCRWau_mM?+hJYy=3Zua)FVn_PSAnnQ(p~}4lJw*qsVDe%EgudOC#)&nWfpM4^{$& z(P!%|-y37Vobsed!~m!L#m7a@T%{HyZf}k`Wy+2oWH=Ae+uS8;Q^(@CRxMniXXZW{ zcl=hSvz)ff1VqXcB`liz@em{WOFx1N?U?38Wpl%X$IOX1YRrAXGsj`j3u}=f^IY>Q z3Utm;I1kLWb^}0Q3K1J%(*Lz>TL|iAS^k6}{_n;X=9+OC4~!bA4xS=JMj9d$mO|yy zk`9iHzpIIi#D6GK^i5!2lkVQ7wp}V#VSZb>OG`1u4fQG)9MphPM^qd2ksf1qTe`_l z+v=flcll=6Z@V7u19=P1I7NHo-+;LO!s8Ayu}*^}0OTe3{Zo26uO4jaxk?+5#ga#u)f1T)dapVQhcuQznsezu?x)pc+EmFC3gST^u0(pQ+rbKW7Nvojz? zWe~VELx;!36eO%!LIx=_o3nyiK9n;rs0@#X!2Aj2cO^rgV3`WRImfj%XlMbu?&}3i z_Z-M^K03|KEF=)Qe4Bde3}{_$*v$4zORFvU(sw@Tix&d=UBH$-tkB|J)xvWkhBep+ z5{CM*KI5y5c}A9>Vx|Q3Zv9R*#x_WS=7rBs&g(JP1VT67#u+FAY+^Jjy<9@s!}6`( zYlOsfmq$agd8v4cQa}BF!^RJMvv%-J4FA_q&=!qL(hneQl#ondfO&&ps4a}iv#-j2=|P}`EV>jNIL(hjp(Xc=A zneeXF0$q&s0qt>TGC#H@iY)ONVQ1T7dh9a7G3Mro_$D1%-v+>(nSKAX+QGkh;eEumE^y8Bqofs^}UFE_$kr?UC53B9yv`bu$BG=bs)3h3Y zmdG`GffM>I&|4t(e(`Exz{yV+WgHLoW8D|)H}}_aCpvjd$C74FdhJ%+_%nZbFV`Gb(k_kw-ECY_t@m~dct40#Js~pVD-dTd0rzT<%q*O7|HQ@p zX^8>I`I>qv#qik>O6Gl#ftMOsF%eVo@A07RWnj`3E9xhcOr=uYRtbrAt$+X`!S9P* zB{p2}_@+)>H&e}J--<7CnWiYudi;^ki_bngRr^P?@Vu^qGB{*>OhDHL)3rrAI<2hM zZJ7Igvp^B+cK9l`FzRAv|pP!aOB@_v&SDrYYSU z566a5Krj;FeMM-SlJ)zv78dC5130w7VhsvJ z55oI*U)*fSid_HRUfE~2`m^lU&5q)1zOW|mmLQWO`*^yz!vurNCd6HXAV(4Q!{MKT zsGdcffvf<9@qOnaR%1Op65KZcmk+=W3@)aON%VjHX=q-{t0BOqYGfU7`^a%2Er=+&&@LY^mD9@)GyYyXbK zj&ou;0rKJm8mR}C`=3TfsS^!{jS|Gzi@!>Ejwl%{=jc3iQ z#xA^6@ON(yraU*oOJ#6sZAZq?khTuELM040zmgRY_!9Tmtsl<&Z4wZ)YPxs9*2QN! z$0%w-`Yke5f%4Jen(G9uGEQviw0nz|B=Dvd6R2Nnp(Z41Y;lG#JyAh*JFms-WNN^h zeDcs{ln1tNI6K>hg0&L~B;G1IIZ%W5WVljo@-?lk+B=bG-CYnwQ57$I^T}@{mfRe z2*VO;2Yo}#%8-?;=BlbZ$k;1H2%4E+mgWN}@P2#;S54c>rLdh+!F;5r3#y`*KtF=F zbOruTHPB;puldV<3ReN)sG8&cnU?QJFEjsY7_{Gju8~TmFD^%|=k|l(gwk%4qtmxt z$o3_Yy3iSP|4K=TG*lr7TX>cypcyF5d;*y-XNOEw#a%R<=pS!E0=)P4mG>2#9wI?K zIw$C)e@2-tFh%7&g%c_3_XYfDo7P*NI+IdO8!qTocEF#*=oDv`w7C(bWwglW_4wc` zAk!;}z0#*-hnfL(CRcAnwXRE>=mCLPTb!_X?%2F}BdUnGkS(4M$&s+ta*>?)603F^ zG|RKdEYcMrNpVB&#h>qYHB$cF3|XsiBH z^)iI;Kl$A`S1TJuu}^JdKS7`TqA(E+Gz~#0RWbE{2L>9VC))q*F|1+sKxxckEPm~P zA!v4KWduwNRLCFY6!OqC(4f7d!NsYsG;j`zd?{DN&>Q~4!3uc6pkbp!3l&^0a{0m1 zywf9DLO%4KSCpq7RNEKfo$2=YGe|g!AY1VkDZ5R4QS{JKfy5VFx+rLtPbNE03QXpVt3gw>dQu?Y}}A|-^0-J$7)_L zc6@Ii=P;CR=jZjy3g$^qPSKsIaav>yxTw%Lco>=2x3MM(Ge`-%ph=e6)kS(*nYjtv zS@BLxkf~QVc;S?rrgR1+OtVznEv%I+f8FOAQRu0^g79Lc@5RB_^T{W^8N%nS9$o{V z5al)lFk+>YX#-y6v0l#Pu|S}LU(2S1v1okO4f=AW{=Zk}>4Sr|KPsVlz_x$OkLhc( z7Pk%OcM%^9%KubVZYXWbv;S5j6wt!Enub3_N#5Q3l?wTCwFfH1voPGq7PgzliG-Jj z4F}57%wdi)!XQ;wepf;XG(U;G1Nm=Z!_!_Mzzj(bHJ-N}>7U~d2rBlhm2a0Ay!I!) zFST@)_TDsFe*!1bWF;(WxF$M1XJOk}x)<1k4tcs(+46RzBhq215ZeFwtu^~6o9osfc z#u-e97#@%e)%jy0oXx?l!s&wuxT0D@hZ=QjUd>}D4jFjz9Gk$tPgIQ)J;xx^-M?L~ zgNI`E;F=qJ=PYb62`{|P!!0SnG-uqJeQxSnPSyNkmMiSs;L2?WZp2u&?DepC_p5B@ zqzzj%kyX~P$vc2mVBMBu`=JRZNn|mi+F+Td8Q@|oeFWl?&{E3kSRG_9R@{vIKX! z8kr4Pr#H`V9s{~S^AjOcq?o^st=1LTBH;IM6W@8IyWQ`WxBfB8q=!r;_N_^+qX3xy zvJB&^XCPT?fpUBqOe+BgfoevD>BL(XP}0S)j|VBHigF3d%C~4UYkkAi(f<~SOI`XL zlK<`T^(hP1PmNF;8G0d~Cx73v8_lwje`Ev6qj5jux52NE^FgD}{$@g(ZI`YJ5&41` z>r&ua6XF%>oU%681Xk|K4$!^j?pF_&q$!jF>YyHM6Qs`Q<@!cH6hfA$Be{c3W=DL= zN5jEIpy%64^mFdRVwvRA0fXt@+ixn^=+vj(8#*ueK+>(;B2m{nKgkip*H}4{Af?Sc zs^ZVTeu7N{53J(8@fm-&;yy_g$!27_Jcx;Aw3Xl~+cr4pr6f)yXfp{s2?rJ)~ELO4!Eo@qHG!#v{Rp z&HaP(HeKjq7Jw!KI|SYrd#8qrIj1AFuWtX=eJGXvF|-zI7miR5+ejgQ*)ZsKa^4Sq z{-s)MxS8TC5k(fH^yG|x8m~d(_q?}d(eAMA*8b|8~lH(zxgoJSn#WY`$>N zDf8Av$rJG=+~yvJ(*4QcEQ4+3@Q!Ok;$RWeMW=-=0c+}%0_eDXHP3@3k-`b|>V={} zV1ja6LJeTri}mTR!MLmfKLi8`Gzt8(CS3cI$j7H&thoDuix>#mPTI!EZsa$~N`x)cuo&+3ubJU2^x8Nssuc!lvjZgd zOy2AE>xI|ujiT%>*>8e_fcdsd-K;A0IH(1BKT9`&|GNNNLROwd`XZtXvsV#GZmX&YiCkABH8{5S#YCF1%u-{gOb~ z5K9gNnU~MEwS?fl6L4WxMcY_GvlvYif5AcAec>)vpqx3i6>KI$%&3C*Y$Xse8qWIf ze+IZRW=p;x@g`!c5t17n6<=kHA!P@8cysqw%ORW(X_E`G;Z|2 z`upC`^CmBXPiC%j&f06Qwe}g-1FJSS^AwqdHr3UF0bB;?89mxe3k47#yykOOv8A6~ zDW(j|$<+@T#m5CD8Ohj`P{5dw;Qb=q90A29Fw-cgFY4V40Z>je-k99n*Qk5 z!G5BK3P29N$G<3a= zsxhou8ufpBh}BR4zWaz_qn7^Z4A5Zu9dFb@fHNW3?;E4(Jlo?p7(%SYQdZJsxhzkm z;?H>MnrpWPYW4az@5ARJcF21|Jx4bnXuiW_blCw4+#chB)9;l03G5_(5p1$3|1P~Q zHT;QAa{1o4IKr!`Y^AF3+%D69lXKZ@kM4gql^<6ffl=wdBeE7=<+2D^sVNp&@7bp< z^o_S{OFeVkhWVlx@_V|#m=MTs5hgQEJ_r8rWzoOw2(sApDVUn*qj>qGEWCO{12B>4 z3@T35!mb|t$26+;N2?k9V*-T%$3ylqJ4TQ$cm$#pKE zkv20ur7xcYRqyDThsnkpAkA4PpxNE!6FI;{-h6#8M=_l3g80t4UdRQtId=yOs))zMLTNw$4#ZFNb(Wr&gwzQsXV0Fe_&|4`9G(Qkhk;8= ze*7Xx0K9iI>>e^_F10~ItdV=hrUcw|FbyzI^GeDKbfRtb;SSF)4{I1;pgSUC7VDR= z+;Hp!!dng~KF0STAh!SvOz(~{yg&Dip&vD<^4VOo7Wrl!07DjlyuZK53{N)_$C}{t zODV7Svc>wwsqIh8fV0AWRePw<>hEI^DgtHep1nj$-Q=MsKAARka5)TQziKuDKV!R;9mlm!7n`w7>M)d(VMb$dwgGV;#tRf9cND10iI<`8VVjy z_5}$k7sb$_qfu=>59uHHc5Xa0-7c_&zCY){!$1OI=$F?db<^@*9duS8og*XRYvNo& zp`7-6(8HA+ylHHvDa0qdT`G4f9(PnX?@NEkjYL289xno9*xNy z1;}8Q*G8O+I-&d>+{a`H$l01oM8$^T70M9H`3GTm~Mj zTvPjaxXFn6eCldGkN?^h<3Q9lx>LFO5|wZ)M*%l1n`{Bo@^aTEe|)Wcg5+f()IwKd z*L1r~muyw;i>AOfy3`gnFwIQ_HzJpHYT>k3fC9wr%SLw-&?V|{<%WF=1Qf@0aLKg; z4zqooIo@=v>H6V)=Q|hIL7oT+w((a>KAX>E@pzdStlRf|5h(#7??7_7LL-(LD7GAv z1r+UoKtsIx*B+}G+q=gkRw+RYeyms*3Ygsm`|s}sji@`eQoZAP(8`3|dLANNMmo*F zX7K@)*+a*>(_2r(F46VP2a*l8OOJqkx(LXSF+L(m0JekUG3e~t>}$!l`2d)KKz58C z4Sdr*Q^nyOqaVOf2Vh?soZS0Q(96s3txJjIwr$cY;fktX;aggJVtW1f)Oz5zaQlQP zAZ*@0Y(;xrIqw4uA%HtI(2A3K=ZV+C~Vm*QB5YvF~8k*;mvTE z3m`aV>Y3-o*nC5qBh%o)X<)vS&n1^Qt= zx={O9E})=dbhnseEVC2%qSM!{1F_YB5sO*x+XS@ir@d+2wsVeis8kQ+GZi_V@5ZaP zqO0#S8_RG~&YR9J9jGmyz9XFBWVDfzqU3nw7=2*SJYIo2)k=A+a(Wv1*AhAVVcZfq zV`@i5W49IQQqJrprPA`R#%@*aRX9I2D(7faX~K6j8l|_f`hp>ReSKR{{p(!AYdt$W zTSkc6b3J>VTUwOgUqSCZn-8mw195_sqj9bqNmaXS^L0$0nXCvF@CidJK2e16QRI7A zU9!Q0K=Gm}a!Ft|X>dhSw#OPNd7YtzJ?d^b!p>hIgl=|>nH2EV5c2D9QQATupYHDO zBfO||FE7dJB5A7WZ}Ls`x)^+cz3baYBei_mVZ8lC(s79f_|H6#*OzuYL>*YG7QE?R z;L+BQKg-J%vM={h0UD{{e4d8L`meVL!KNUPj|O3w)Wa_EeGxp@J7J!RR+&h`bP2~? zV$(rFp5C%Pc$sp>^mEr+(8wOdLPS;7$DJxAn`>O&uk6eRDSP8KcUOFW+9-D&pnQr@An?vya{X!%>B`xFt z`nICFg&Q9JAXUi2i=zw&18HwaL*}a1Dz?JE0`q-~lDHS-~Sq!vk9j*rpRi!CNExn-bUX`w~gu2RMmO z^X_7&&LbxbX_3^erz%EtrV3=Ur1`}H1VXP^S_?N3~O;ljS{Ngs*(TZfToc5 z$#4J4w%$+~M3N`}wA8L`Q|h%NApw3r;2M>-z3W&r=2|WL+b+MRaRZ0t8euG`K5<*6 z)-jk=f+)h+|3twXjh>Whi)}lgB~PWl8IIe&iB5mG?z8RE$rFkGxc+MrbNd6xu9KkS zdv)(yzxK7u1&zjS7m9E0hndOGAOpNQRZ$#9ncMO6<5HDG#vyzCehvgZp%<^;_ZC3~ zw)iF`#N+jU(59*I0*(kNuOEKkcd}b!>ihtl9mOR9J8g~kd%}mQQ8(Mdjkr| zGtuaj@5TMV=$99mSR87GRS{cE5!EBrklkL)t7*ny+sn}X3cVw3%!|U}t3@3`4t-4L z)SV@{;cA4zEKSqo0HI2MoeAnef1p z24jAb!_01i@vPpYjuepvZHfANOcr#clU&6SN;9sRpBL5E%Hn+Aa`^Vs4?YMl^XTpF zD}n2cYaO`g2-O7Cz9pLTxe3HB|F!%hX=&tz_Olrw9tROZ_jA=ZAx3Y5lD4V3(XB4cVN?Xajhnudp|-);2}=om-aBYu3-Gg2R25dZPlN7M3S>5nfx z+DkiBBs$W4)58#d!$#@zeKyE{WAb1aWyhj3|1sdOT`Smrklo;~ z8Y_=rXuc7nphuLz3HbD$}clCWd0mV-`A@5$j5OJE5S^}V<}G!N&|oj5fnvnIl&#(^d47&Hh<&Z zi58LpkHPH5Gs(?LoU~pvG)b0oq7#)aF_QgD%eYLe2>)^axT=Wx0;`qEK48W1@y;*2 zH?aAvXqjH_jE%}e=jOrez;IrKm1M5V*5l)prWOkrCm4=#Z3+RkIUHGdNUHQWoVt~; zh|4&rN>tko71XlMLXWLjE;}!d2G3Whaq8zX9oY7yW*}~GZh&qXit+ZFcoSN*S-o!| z48nsKcGh_!OyXS0FyEKoMwj7er3>qDbT=R^;_79Gtoaury`kF?VS$QS{T9iv5~EHt zSqN#>eqA;BH&c-a;Ll#JgP<4HulzOVvUxS#dc1S{K|y%_y2^%DTf4GnM)^L4&%?43 zW~@KdZ$~%~?6FE3ub=tUgr?zF679=z;}6xG_Bze|e4pLU!W+e}qigNOK9=&E_q2F{ z<+3iUY8zCsH`;x^Xms3>7Pb2vx8hPo_i`WrFKcNIueV$YPG(x5?j~{dGz+ zQl1AYkQH}TM0@6S@v2;QEJJiKO$d45ab8kkv{^BhEFe=y{u=NjRHArn!Q)ybgLRvh znMhDmY^iWf#=rxX*&XV>`>3TNnI>UZ;KU8X2Fyq#rKb~Oi>gebc;bz*!AkJC!gFn99 z)ni`fjw-ghkHz}1lsLbj8n-287@{$C5?ni4t&WF8$hd9l&gd36!$gO-FEp6j*1CXX zO2pUN-6!}7%}q>_B~^aiv)(&X4MV}m-z4da@eC%k3MiP>4HxZuTI*`yM8QA%1ze>f z*&CDe7QhVr_A{qaGO}VD#w_#rj4pv!8Z7cY5=hWe*0u@3ZLnafK5LRFbMlIg(eoBP zG#-g2h)&Zowv*(FQdRbmntRfY1DXQYlL_(p6V>xwSt5IL0Py3T;!o;6 zdoX3wn$`5#JvBJMwS1sI)4i)D*q+F&IFH>3c{9nxbmW!+Z5_Zsy?6HK6eKU4b~CQI}>9;k&H*W>w37AM{O3FE_RmX0wa-o57Kooef>xi4st;IzeB zr>YX=gd}&MRJYNmmn%9A)1M)&#=HDt{{ zd;AfB*nuCbE-{;gS$g`=k>cg zMlK>_58-`a6k(jb#xo^hIeE#>vTo*`X=Lb$+(XK(=H7h^{M;zI^KH4^^F zX(_N9brNR9%9cRlz$_G5_hzWvX&j?pIEO}JX}LNg255i2iCs65JFiZn;Xn&&#N!-( zVcWFdbnvtoTrOzI%;DY8=3s7NWUCmz-@&pw`m)D7E_`4mRpj)KTGG42k=eDjjNy$@ zOI(#C@`$I8Q^9ahAUl5^v`e==W4!A6U?CfGBiaUgZ{8cEKqabFOA-owGin=7H~kmj z|6LQ4^z=V(nBl)0@rIpS3ZZrC($%xZtSR;Xp`w?T_zB{`rO{on(P+O#E`Hb)%iK)C2_%kAAs0DEw>D8&6ed!0MMn(Pi zB^W(wl2pwotoo2v5iDLF{RtUvu(=-UZ*n4YFea_nq~w!SUYVmR?Yif`oRBI6wKM!8~V+I68a?}*Xjr}`u%SU zJ01v~zA7@aOQDt~-wN20*G66FJ(yMW=Urf=3t@}Ww!e_OUJTPnT{9J#d>Ys?Msyql z3ft@Br)UV%`66|YAUs&FkB^Cesy0ut0!7KtKEgnm?wjqp6ESemwi?@GIu-E1wM8Jf zU|{djFvzCUwU#bvQYl9lXFemTE-fk&%!j?eX}H6F#Ymrn%e^bwQ=tesoehvw}Lbzw)qp3Ah8p^JPL~r;0z(Ec$o^M``5Tfyd&a1cd){ zhuhCPE_}n3;BpPCceYpE(x@mbLGCo}9q%tRQ6xL_51&pPQ}yjp7g5dY@iiJ3KlYXNWZqzg}MT3-|`tkxztQCty*I{B8O?Y#;weuuybR z`ce1@bN&6e5&0Xf{alxMJUjM~>p4gm+>U~>>Bn*Pt-NAslb;Z3N{qsxGu^%9dql|=3f|@y=L~y2u8ow-i1ud?bs|O~dS7epUu#=nxo{92dOgFXzR~ma#ks+ zL_-OGn9MgzDw{{!lyF*J5W$oJ$bBp*|C3Ut8(nacSx1~t-STBU&qf-F|8~tgGY{N!OM5ZIRUvp=VCYbSQU={VCp#;8BMKxdMEq!!WtO zhx4W?*4sTUh?!gUo!4C5-@SIv20a5WF;$!%^frfv(evAhpThnh>> zC*{6%u>D}D1gNzO%Oa(pk(2^6!Ey#mpL3<{|T5&7U8oawdKayV{5|_?Lb~b6sU=C;s^I#G@y1f)V1iH8 zJRNIfKnNuAYP#=^Rf5m*x7@&ymte|)_4e`+_%905*s!}=xP*0H)v^hUju|h!s3fcQ z#Zj%?|J%af`4PAOQZq5>yHL%W-KNvnCAZMzpQC&j+~_*8i8W-7zHX_ zKXU&0c&y9VDR1#%K3jszCGmS)ArHOuK!O_lrtqHhlP#?Fs?N(%G_tkB^$m{aAw_!> z1}wSg!{aas&LM%f-|jaXe##yWC6hS6sp>Z#=Ro&7v*?&%_M+0fXWbeKLOMQr0VCG+H2=Z&c^r)MkL8fWzp6~ zzGySGjYkqc<|lP876;PqoE?!rk^jT_z*?72HXI#YZI0ejqmOh-Ns72w0Y;chWVmvI zy6z=w=fXJS`vE0mkzz?R?YV5}Pj7s+vr{1W?KzR|7pr|qOqa&6z9*10i5yVgYf#Tv znwK8l9HV zdqeq27pl~*tAicZd`GvmQ>$d-w4KW&5teLj14M!yXk!Y!_4DdOuZ|Mw$?cRALVA2B zV%McOnA8Vi@!%N;jy%hF}Nhf zi0P@bMtM5^!MjnR8`Dzh)=QuN#g=>Yw)-Gq-Tr{0jGI~d6F9SO&~YN(Y9VM=5-U|y z+%`(Saq|W+M5R@+GUPoZ`a|_x z2$fR-$&Mpblon8#Ii#Lxb=a<~UlJuHmTdJJ68yuI0iv^2JByDtDPmUX|H^IP6`ooa zO{NEfu}#dh!jVk_PxDU(t=46=W;p`qg z+v=1m5uIoLz>m)!6zfI9!^Cd)4hL`Tp!klo43cB;0pngYdRaB#0%UiGRC#%Jh4-D% z=8`QYn)(-;yD-29AJ>#-LUiC?{+c5OsD71NC;ChMDEYAX1IDv`^V0f7n#&!D&8t$W zmlq|3wHaFa=2yAHMS94%*TX+{S}!_0-Na#gAr%nM&p_}>{?hhPDU_ObT{v%4iF*l} zKFLKx0S?DT&lKe+X+-*F5u*GA40EiPpt&6r1>@4fp>jA9M$gA7miJ`J^0=@y&$mjtaEGVy;nWGTCkn**L9Vt40i z!xl1G4qdX7w=|V>*6;9uE8GbTxkyedztcQI*e?tL&Kr@uHSmvHJgBNAwZ7TWn$E7c zsQ}0VtQ7A?p=azEu_^|r5LbT!c;8-wuyHdETSPjtk?OU>w=ROsLEo4wE&ZD02T2_t zde4imZf>+Xwamp_e>|BjXv}rdi=v+a$B3Jgpu_{2{c)We5_t10FXIhU{@r4@F{jycxvDI*>)Hja!wP6p3bBOpRHfM)#N?y8xF}b0+>Ax_IlhL1^~e za~4_6I?E=cSjY>v2Ad1+koG5+qF=!ASIVtVO~{+7}*uTmpomroo z6_TX1i{MqrM*X)L+&Q|PMF;0CF-VYpK3+fbbm}su{he0ZMVfnEOnr?49y}LD>0tLQ z5@`N$%2L8U*D=46OXhm@y;mU_iEY~*f3dj|-gh zKgcG>!uTTCQsC7+X#m$kr(SldmjiO<&{yEEokEzr5sNq0x5Q$&yaO12|FPQx)zb2$BI54d&>hCaZIvd zGRKsF)|Sc3J2#xKvW^(>ytmnjzdnhpCxKSWXe5UMpL8wODCO^pKMF5t?GmUCxEXcd z$nUV0@QX7+fX_lCs>4mmy*Zh@E0!Ay$Nbs|(DC}fp$~&gdUMq^Y~+2ex+9oE2w9DuI;<$h>ja#cd(@`X_H*!;NQ% zjEi9)o)df7DMx8BR{9xa?N9bhOJxKs#5hlql{NX0j~4+)L>4NG(>tN^s7rKs+4DQx z_LEw(pCk*1&>xY3^VS)#9F+PHHJ=g2u+mRD2vF|^GfO`mK4Q%wwLz%|ph>{Z@V1{+ ztF1QqJ7o!S%?Y|B@}TUi+07Mc-0`DC^^P6BP`1C`swRwMm`INx@ae}wqlBG+Fy5dv zGyfjc16suK$nkqe0^iG9ND>b~m*Y~NEbZ9=5RkLEGt`38Ugwh%sg5l81~khoYx^%K zde)H_s6|Ewgl=TKQ%2iiI)Dcb?S1~(F!KCiZeih6X- zUzL;4qR%R;BLfx}fL#kn;DXK=Wm+O>mfS!u8aT@Zcdt+T>Rw-3<{p3L`fief$}nrY zoP0KdY$gN$Ahdu0oqmjcg$uHxI<9Y(7Y1m?`KH*9Q|Om)xBKf@ zB>GOZVPp~ZTkI=}xz_XBtH^%wj_ZQbWS`GoJpHLz^_h3NdUc%%P?(?$c|rAmKD+LXnR9Y04a`3~ z?Dni3LX_feK?oZ`?5{-sKWsyqDRt6Z1_r5s;ZnfiXXc=p}3_duvxZS&P7~TPY=V~kk1Pf z4UytN&3zk@13g#0?f^VLO4$K92T^x@5cvJJv(cy7^CIU8BT>_gNJml*UZMYQ!LGc_ zcsgFqGEG+6I)06^A5+CzdH8Y-dXNgw3B8R+kK zS*&NGA)34%WEmGeq`2b;vH2$>zjzj{I&b+6}>k6gi06%UQKO{OhVCMIX-7 z4bxbS=_vQ}+D9DdUppr8DP?eim%LVtrrdFNEpO^~P;kRv_KM3&IQOkxiYB9|I%0Y4 zV0&U;0jA*PQn=>{7nZW9ns_d<3)-Mm$HOa3uq_aC;rbC%V8QqPquH6Sdmy;NjAM)X zKiGn?((e91@8N2Gnl#a<%V4tMy?z!R`*@5wSeV{IGWFo}87t#?@|w05Ir>J9ock3H?5+w*tfIij@TX0d%h@l0lH_&+3Kzq9Zn&u zLlw?hqucH`WU){Pi*sfTb&U}uD&zvbM^5W~QE+`Pj=%ZoEUW}lMDQyov1>w7mH3w1 z+9j_6>{uN^*m_j1ND4veHfyfO?u7&#aN6ORE!;lgTToZ8Wy*tp?LOS)uAdE~ZZvGC zpjJQrmO|X9!ggv01&$Q^O5cN`f&=FjP0gGCK__4Pa?}Mm!TYj1<(99Zc8%1jc^;c$ zHa0XSlU_x81S-RY1JH37Qu_6+(>6kf=_slHtqLpOR!e6s1iCPw?j{}fR1ugxZ>!PU z!1-#{g{a>(7_tK5ojn3Nt!q;ZCpV%+jRx;E&;yHsfFGMR7F7ShE!d?t#%m3EoC7HO83VCAciNiZk` zc*+bnmP^oFS;?APE{q>yA@8f>s`T9!`SCjz#>yOat_S9M&h%)_Cr-AY1Fd;{uUDuM z-(Ki>IWV|x`S7WhaC+v#3}>&c!RubH^|0?w<6)@}9k1;_I>0s>A&=1$>0UGom#0~t z*gto;TB#9&ce#KGd_cn(hUUuN2jLCCpC8-@?nusN*}P0eh#%&v>xwjUGCc{=b+znXJk~BC@{?ZO>_@HO&9sv9y1Euh^M5mHfT;exs2ia)sE4Q z4efusJ*|*WF@S09+)8BkZhG`!{V%?(Gdsm)>z^?>jfBjyG@K*&5ZN0YQg1*6OV<}fNs+B}iehYDY<4XJ_3jLHNn>{c zb)rb6b#;OQ^hrzN&!8J#3rx{4^G36`l_|2Z~^n%^PC*XlK zV~?t?KLEJtQI+Df%@RkNU1#cM$C)QW834opZI-Z-^q| zwHW(DD?+Es_U~4SXPWLD{)JS(?cN`JFESw)RvjUbZfz^#tf08L|MwugD3mybK&akX zemaC%E(Csv3@9DF4-(KBC|r!tXqLq7_Ms;c!7TcD6F4@B#1L1n^q0&|{AZmg9a3P! zkFT_8NvpJisBK4MOGTn)x4*Sm@|Mn2-~ibhnk{P|poC(uH$XprLPHYzrNY>`eMHV& z#uNl}2LLTR^z^=JaMc2KZYB$c7WQY%)yGlfUmG)9pF5yIEbIvE`VuSzr6=B0%kGKu z|24j%A2XGcGYBO-_;u$m4vNE)`ChdraDJA)3$l zVV7`2fs@0}9YUy7DAX(_7l~UG(5Rxu6|W3<`#T-iC%(>2d&7l80@J6uJs3|gM>x7W z(y0~CK@{7714634m!P#cUo21Rg|m%w?W67QTY783N^`?7sM09us9>?EeJF>Ub2=$> zjyg-#W_R`2Xivu_MfeMd+7_Mu@(z+l+HUAjxG*1-Uhd?`>L(Wsj{4U=5PR?29fn7B z%C#ydn6$@nV8aZa@KsXfU;C1q)3gn+JeCc^wc+x&r7k6DK&#W9(Z9BD!~OD!n2%En zS~bbUumN3k+04;Qlqxhxo1Ng@2fJ`=KiY2M`$L$^#KJ zx8B3(GlLW#hUk{b`q)9@yJy5CGY;1UKP^zhPOjf{)31avhUMdz-l-N!=w%!2oV@8< zsRuq?KCd1Z%n4b%oIQgqBUzZ70%4!LGGo>6;;gE40Z5vdcczy z28HfiABPN#?s6t16>V>SjJd^^N+rjQsjMbSG;7RbxdJ}@t#b#IRkHI(jc;>wyF z*gdvv9#fT*s3P<0Qjd}NHI^7_Uy1qG z_8{;8Qakv&Ra9`01~%vo@cFVzAy@IsZU>#SuGurXoarK6>c;o8(S}RI_tatC-cFMYFc7gl4|+5@(XQ=~?LSRrew@S{w$5c}1h+4Il0FKbip6`t z;{*%0{q~xnv@`;&5WspgV|afl|EF0J#cF!Z%?=e%N!}_&1xLt2&jXze;E!lve=doH z{?F!s2@*lU&YW-{b(?ElYVL&fY(R>hIbYTTtU=lza2t)oQXu!n4-!o%=2f?z0BE4V zjQHsAdwe6F_~-5_%gzsD#)wa7bP$((Y_*)V5WWjGnV~q{9)^NMw;ciKw#~y zu3Aus1WDG*LsuQS&Ier`Z(=!ipTVrK2NI5}Q7n%d!^bMS7D=%zv`t_SD@LJL*0UJ) z`Q8OG+A~!TfM|}kLa;{rAz#;z;nlDb0)R}a=Yx# z*Dgnp5_>`h3}VR^S$2DXx@8IoX?F85Gp?-~{USN_Vp{Z#K0dQFo(jXB_6;d8lNiRb ziDv}DO+N^G@H1J8`1i!rgF47#m0zk=u4J*o*0Dg+QV5h3$f>DNpHH`ROl+&O^WAm4 zznRm7xGtcLeeH}5foET*Et1(4c)J@J{&xH5fm+k-oL4S$nP4*i&lm=rfUV1o`rS%j zsjA5AfOVU5bEo`eI-I*0wx#Y9JeHQVfp+AnJo?_b^e9%WAK=iRkO!)mvp^y6bU-lq z0xI;rn!NkFg-5nw#q#iKO9+q>(cN_a-C^lJhCbsARI#2O0=~21!c(qF=eBKUxw*_cr zEn+|bHyMPv@+a&?u7=xe38>@!stX9S!MoTjOB7|SfCc@SSvbI_Y6k+@M;e8MTFb#- ztezD+(S;ouVXFsmEwp-}DoR#B3@3v!^9sqh8%KBMr~v`$TJ%J$+@1JWp!gEZK%byC z0QveH&E^%sn#s{N(V{BJD2&#veqV!P0m5(<9jko)hm1#dgY%zU4IK!=x{qtV9FC48O?b)*mEmSy z+rM;|b&LYH2VzO42gyKbcw_TjB{^6_933l-=sOg8ae~}0ZM#Wn-kP0;gBz8}aQT44 zL*Sww{c0dB)#=GY|vxqikKJlUYNyP*JF$2R_8Sfq?KdV5(`FTQcNY-_A-YBWIjLj8oW_X9UL$+f*rP zD{zB^ktOAtgVd3wOWNIc+P9*D@m=s^BH|n}gmp+0%&wEjNf_>Io?#+$Ux-Vi#MN2j z9EI_7oYr=W64Lp4>_%q!Vluw>z7m)4s0%g!#;irJ0vf9f^RvuJv?;)|_`4QaS|GWt z0gcM|foOAE_x2PWP=Ox38nk-vJl^pOb3tn-LpcSbQ~hlleLHs(Z=_tGU6Xa4!T$j4 z<8%#_t62w~I^VoS%%26xTv?>Xm+BD>4S~K6uWBlnU5o>Y9I?hg zneh=Ct05l~er>|}z?tsNB#%{}*r;1G)*?Nfzr2dl8(z6=om5Be%nV_&_E{{8;Fatt z0Pa@=P1LvTi{G?wC3FMJc9=+FKZgk^EO8vOs;r1*db-TStb!tgsq;zG0K~w7EdjnT6fn*Yxv~ncM&tct` zD%nfoOp}^Ef}`pom;yA^impeo0Q+j z=3TB(%VTk1YVsL^xF95MYaB9iJ_}zIJ6)i}ZJ09h;9d?h|Ap#ohmk(KmT{ihozjEU zLhim{lO{8t!=T627~_K7~^>Kq)Q zT@{02BDSCMsuP9gtH&c3+!F~zFZKfjP(jD*>{d7)p7E}T04PQ6FRf1sASch~GXNI1{uw!y zK?2?WhihrF+b)&psG5nO!jPA)a)30o{vM*3t1-2qSX4=-Yvj`*s=P9D+HnOM_UFaV zUd;xuD&eIn;U5Yxty!!Kgbarg)V};lTkcXC20C2fx*@;qV)OVuYs|v~D(C3gvP%oa zkww6x15_usMFc)A_U8wHhtMI2NyUdL@tolc0sS|SNUDeg6^HM2W8$QODY^8X559MJ zkwAQg&irFR#F9|U5F4Hoax`~dbX~~V{AI`5@I%yr5geca#p<9U_uEhNUW@&}oDw=~ zG!nKt#xr3%y9cGpqo4^`!x4XM@7f-eZNB47f{RU`^wc5@6up|M@r(PyemlwG_?-Yn zn729W3PSBK=-d()8}m!@k`djIbV47lkooZ%LNCb+E-7W?{GQyyllaxnJ-Z;DJX!k1 zjfEx?zOjPkGQtHXyTR4`ht@1}pEc=#PU4w8rkv-8RNN|^)EX0CQzvVAUyu-?yVs6^-bX*12`F5VXH>}4%LwxIDPPP$HLS`TPCC1DJ^pjle?pR$9uSjb zW3zI;TrM&qQ#gz#m&8KCMX(d>xDi*Qyn}U&BEwYU5~2(_CyTCHz2!ygYWow7oQbYJ$JJ#^b6G8!@aDjfnnr zKdy!xju@H?B|WX0GszrVn)A1@hW_>PIcT2J5N_lP)yPrVmu(f2-m%4%kw@&)SN6RE zfZq0v2ktdu(x`If-3x;Oem~>zJ$y9@joYZl{`!>5<1R`i- zx5xltA-J_W1dFu_IS~I`>N|49dr8G~^jyOgLTyoEh){*sw@ylEAmcpphGHRGJ4#m^=bJNd1+vPQzq~c%s9WYZL=x*KVVJJ!nmqJEm&7Lc?aIa2nKj+igr$g z_XDxezHvgRY*vgBmZN#22iix_dj}^pYLU!*_rl<+Gt~&9DhB~gfOCt@c)mX%++uR$ zAhppEZPqoqtT?#WN(U)Jj3*|=4=0`&HYR8ms@iH5@X*^n&z4%W0`@*Y#p1EHdf~ok z&8vm+SalZ-*?B#be6!~Dy)ua(PW6}x7>#W@xf+*N4s#-$PdUJAy8r=l+%&h#tUH4K z0*pgF0-lmLr4k&VJYNGseWvz=SB*gi4&sfh4R53^7VO&56$pM)pK1GySlA@zuSPrI zBPaEH?gIY%5os|kWx#=Wo>j#^Ur&n+$Rd)gEBR;%e!nEJ4g(A!$%qUd#BZW$kwq&1 zjASF&h8j*7P`@8OHoYJo5>rLv17`_hQOH&6TE7^wv#;HmDLaFjD+52~$GH&WIpt%< zB*Q0?qNOPz(wdO7dnehPKMDg6_@55$OA0aTI38%tEJ;{)a9D`WbpA?aO=f&?<_M7y zG(O<*XOT)=lY|Arg;X=yXzW^N)txoLQY@Jf*7My^pg5NNj?GB0Ki1AbTI45EqH!`K zQsEdt_^GnSzW?EmfUVo$SVgjo77N7e0JFE2{d1rUPl#P^I1Bxop(=Y2x)29Wa3$b!?0N*?!mQmj7f!aLfXzG$R^sMk+eBb*D*dD@LB$5!Be#K z_h$*369R{oKRn|{dza-s&ob#o5X4^IZVggTSaALZ4yJK626?UY#@|W1foc{WledmI z;F~S&IzVAjJ+&6o(e3n?5Y;M>UaJWS$Dot&J>ZaZiW4MlfdM%yDdgD>yMRB-)y32{ zZsEHq>Nupix9~nV$0-hcCJh`^_h5oP(}AlZ7RYZP@tTj$x=H!Thuv#2pwaCp1S7Kr zDDSn24etZT!CU6DQoC+R*i*4Ghu>osRkLUc1y`dCpANVy08yQy6_a8(vh(NWvDJ1; z`PdN-;!q)(CTK|CU0i1we3K8PJSk7`AVlkKcN0%3^z2Hkzs_TkIq`=Xa=AeiFC$d- zYh16P&Auv50IT6TZTZmVZH4Tj9mQMN&P{v)<}+F)eUkI~isNP-yqEnaNeiDxUo0yiBqaIJ^8mjBBK3yD-Z z&CZU&MTY@`JfG%FA)BHhhm>IdpY1(&NU8MktPDDgk8iTE?7*!i7#r1{Bw9&!L7y^w zb&-^ArQwJ6wNSwF)GiyCA45K=XVFlCc<0uZ9-UoVGDFpvYTZ%?ej1`cB=vXDRyr(4 zTz1dwV6IH5Wm!#6HYOtS>@OS5`=d#w_uDO=1;DzrNN)Sk#+_yh0uh_5?5@K3L<%TC zpoy6Hcgok&S2kwyJk#z4m<4%tr7qdJ$i%;Zxr7c4!twjAUygYZR0{y>6*Q8s=D38S zz=<0bf0~9iRvB457QG87>lB}c(b}yJx@JOxwuPBx5ogFR<8}oEAKwJ-r7+jKI6`xC zTXvkvaYMf_IJoIJhdg5m)_KlS#uohGC7!`4+V0W&B>Ex1YbER_5$ufped3o<)g5iz zY8~v#?W2-o?Bfg^6o5(ZfSC9_u;s)ur(VypumQI{XZgj37ywYZagD18W}|;T#(@z| z?&@*6=8_)3;Wi|Ik7lRj%w`4*4XuI@Q{EV3ko5#1O(;veF$Q);KqKlyabKo^`m_q8TA#Ds;jo_&i7 zceJESy$W-(&HIc%wWqb7L29#-nS_X|Db<=D1=C)$$MM4R5F4*Ci_b&GN%pbJ?*@da@j~-&eJ5BL_|oA>NMEr;H!E>p-rkc4i^sgU#P?d=SQ|Um!Shmub(uq9 zOdK7dqGXex7>S_+qPAcbf<*xdE(?7tr097%dE~CFn8g7XE9ID+1U15KMY|B*1_u&- z0{@U47a-1N8gUkKoaSB_#Sz*ggy~rEIJ>uX)ndJKy@~q&Sh@&-XQ)6@MXHhp#mpmN0>X~bb% z7UIoB0R^NO9uaGBBjXQ|Grt??%ct6rHv5&SV8K?)GoNJ8_A)SKu%(PI$~wUHVBL#4 zozntr3&0@v{W%>8(7pcQ!GGPX8QQ}8tI>^8DjwNaCSAa85T~gNSSi|O&P*K(&5c;> zffh6`w_)cA5e;z;IbmM`ExKL~4v?$zq;?>!DIu^|u{};2abw!@Ap#&>eKRj|7c!vH$l5BnS`{zQ*pv zX$!aNHZ+qs&yo<+-N5D8?WCgDKX=>Y#DJnbpbc)QLPa-e&phCIYKUODi_7Z5zULm2Ght3`h3@T%d;d4T?trJGj;R2UOTjYcdfKxhJXF?D)G6?H(0 z;%FEgl6D{Ym_)N~D0WM0bE@y857S5CQl{3ov2)bNCr=loA79 ziP?gYZh*@SFhwsYXT;Ukod+w&J{oQAYqQ_cvMY~nrcR&a(kCkLjkPmJqr57JiA%4X z7{c+I;A$d%^;_RWnXrxJg3_zdX(36R(VqEkE_YTY9@Eg6fKD3^fJL*r7W^Jy@)1%& zkr6yzm&(3q9X-ZL?(0W8MUs{d!s59M&!{&TZ4$GcR9((XLBe z8A7-bcPMa{I}NLX(y>0Sa=@B|FjW5`dK>zYY{W@Z+~Yi)R}6gU4zJ z@E&wuQH5Oo1Dfwic}O7qfFVB6nH9c6Mo)MlcKvxt@T@+8z%lG_I>3$B_!QmkISOk( zia*UJYO*Fv?hxg3cOCB;jh6mkeZ1NsdGJ%SSBwwssSeBb zQs&4hyy+Okvk|D!TsU zhXzX8_}GhtEC11mc?FRAs+$M|X~J~p_wL#UdVz(((TTROLmod};?Xk!HnDwChG!AK zC4E7-sjve+As))OMjJ@%NT3o8UHHZWeQ1tshla+a~pFuGC83o-)j^pgU-Y?Ntx zm6CD4~ZeS`I1w}q7Vx(d}J?QmX* z@*9|~Pj9l`kG0GIWMm&TMQ{+8N+-QlGvTx{vU#?9_(u=7k>_0x@xTojobS7Zum&r; z85#kta}&mIF>)tNzj1)mm*d;Y12H{N@M?frCUq`bb4ZDo$hHBp2k4A*S9b;m%`V@V z)%Dv=MLOiAoJxWgtr?eomdm-cy-d44y0vWj_Ur_&3j8P9ujAP97qUL6n^I)<0VFdQ zByQUVzpE_I&49E)3P`^IB6$6;QE;bKDRC{_8d+L;}K)Q%K8Tc_}yATkl z0=jxcGlmw*gj6)^l&by`w;90LAAs@x^*>p0I8an;nu)X?mStvYG&VEXe}Swy{#FSK`$*9X8hss(ZCPHRD?!s;;H!p z7^=486}d>tT8BWpM_%bh@FCJkK;ho%>H#F6$%oRk-%|ke7LNUG9n*}@;rSME!u~Vo zk)vW{{&oTe7W$6|Uf`hd8Q#`|EIL%9V1W)G$?GPe=M*{MlNf_&-;HeCh@WG@1V|3J zGox|qX?9woUK%?BKEw>v1PJ{Ad5q9a$WwG>D7X?t?K@LUrPJGf2j!fk{wh4xetGQ0 zpsSBKWtZ`izcG4(v@`#pY_1pXeZ>rnXr!)H$iMS-L~XOmN6k>Sk*G>|KqzCZ`-EG) z9@N7EqE-vD+Rbxwr%L1JE7N_q7@yK;R(?b?s+IrvL0Bnnna6VsZbCk-*Y~ynG>03{ z0?;g0T}#eTsO$reD>AEQR*9ip@l`9C*ZVun18`I|di6WMI(I75vE$_m3ZhXo)1w>z z{Z~o=PU_JB;P(E~qXCR0&$=O!tYi1w#EvgkJOK5lQhX9HiC*z*l?1xdABpXwJhuOK z(l+3dGff2bI-vmZWvM-MpbN{E3OX7pUmoAQ^#s28{(0fQhAyaoM7Mp4oJIyEGwHL8 zy<7bfn^|f^O~x_9gZ(#sKZ13Lo=qvx6j_(9wnU)`ybHww=4;E$h>-*tqYh!a7BVab zEe96oE%M992ZJ4PF8vK$wxARlx(0Lmb>~vb1>0Heosov^Ck^`swT3v*Ng?Y)6#BV7n4=&ZzZ4IQVNiCocmY$Yw!Hl81(*g)?bz_co#RYww@Z!-g414ZZqI9=e_SR+z zv}P0lc`?=o7s%s}2O=1&h(Tz4$h~hf4~MQZ!0+LJ0E(!N*~H!L6&QUn{T4$rjY}qI zP}Uc87+97hC922fybI|nH?Y~gL@TwmbYp#dRloqV*_=BK%WCn|kwBcIu?{QdbO~zc zOMz4lf~{&$w22~@6w*0N$cayzyu_t3;6nz!XyW=>^D^vm)O_TjFAw~e#VHNeyRAv%R}6a9deqL9Lv-53g!+0RF$emykTnM(KBy??-+ ztb-?Ih-62=pzSB}!x7_2!<}hW0H7u61vPBzwZJNbcR)mbK6?v;f75OCNNst40@AFX zSdTEs5K!|B)Cz+|0YZrUd%B}F4JDKOKvpBvf`V0cy6NIiQ||Zmvtn`u&b-^mE0=-M z6F~7CanVh}Tj~=X+zUviH@ zYY6^vAF!QRDe0F?1*z9Mi=|QEU{?u zF-5G&ZZtM&+TrGdg#hxeT#e5JJ*DvhK!=Ndnr1T;UmF)!p#?H;K~s)|RZ|e~mqw9& z9;Xc0uKZTM^W)&r6OhsVoH@s{L-p*iHB%f30(y{hl0_ar(D1=Q?akE4t0rKZ z_)hwu5v+L{jx!V9C{1&c4Hi-|DS!uUVa-|*LwMtq0gW-|1H0vk1?x`9_PvS{CzuP{ zgzZ_hQeIU#yF7r+2ojhbK;x1onfw`f@c@X>cpct94@7y9CIRBWGQ3e|9PHvSZlTD2 z4>tTQP`hU5_nZZ>LB>qfc{fMPWAo{K)2(Zj>AT1aW_>U~TLMJ{mcYQ<6cGjMWoVH> zLOs?G%Yus#AI~DJdlPKdFAvM~^9R7q1Co7u4Wy;t1tp%wPHZV zLMbQ$?#0|4RLw5Wue0#}`pA*h+2R@xMpIn9oCrRzW#}p-Uf0aV4c|7+BZyW>1Xbm8 z^*~?Do9Pe_vfo5z%K)aZdvb1nSM&G6mmGUsKy38*4C&ExdIAtC;oo1;aA7pUt5q-Q z=PQvSfeFkRpf3Gy0>9a~z5hm`vdbx;elT!Of$*P=@8fMFF8GVeH<3pt6SZQ;>I7gI zm5@`mEy@vFqn3eJ$(55C15$t5m%^o5;q-NH2OX}g>*LbZ5hj|9e-3vS83M%I|KZFB z2ZYBK3;YZ^3YAvVfAs-?EbZKt1EBbJ`NP)?56y+pq5(^jRwSkXd*~vIj^hz&c;iu+ zCwdeBjkx(@4jKYx#{U}Z?gGkwz+(J1`5r;tbx``wL);FH3NnMBJm!JPzp|6fi$` zNPzt-pcm~@CTwok?C_bh{P|jLM_QSsf?U%&wC&yg5nj)7di`xKaIr?y@nZY*%)^V0 zN754TOn8D$!s3duIy@=*D~rk>y{%kPp1N59jL_>O_Or$w3h)b8M128REW=><3*eR2 z7~F4C0Zt7O_ry=#t+u_faYtYsjGnULe4z7{nh*e7Ap*^2&+mxhf4Tul^Bn~jbB9y! z88fbfF4n7LshqzDnkJCghJdJ0J_#=>>j42-9x(BBa}cj%h6b|b1DbIFqwi7u{%_o8 zEZi_nAtH~2#?*5(Fx}G>`BuwiFxbxhcG$fE%q=+Uo#-$lP5kL)&wwajicqGZw;f3U z<`s3Y(J|@cULH)tt4xTC{9efx;azDd7CuGPEzmPq>qSgW4kK*bsARA_!64nl8U;;i zM%muCDn6j$IG}+afajAO82&K;(DJ%%V}QcMO8dYWsBWq#eU;|f{ELKnyWypFkI(*W zj8ayAD9iv=OElQg`vvP3X-=&}9j{F}bjs>LCog5uXdmNVOip8ma%R2n$iIorp;C0t6H!Hv7DI?1y3|+|hVV&zpHya*Xes`!1LN zFd5Zu;f_L5f(umu@9MX?*bG{rrT@c=&v{=93Cr6PkKpj%ZE1SEqHc&#=s24n+iAxhKIY1lks573snGk8*w>*||#g`}XOrEU6TXQM7 z`A-Y>BbrSG939*HWzyTgnKeG}`dT&fl+ykNK#p*BeJ>m43jHQ9G#d^7Dxi8k;4d8e z$B(h!1A`fGs^9WhrF(?~zZgk~#P^B7w;nVbEFI^a!%X;}Jz~{LD5oBH(b!{|JGz}Q5pQubFa7xjh(2<3_kEws*|;lM zKSiRN-EI=%-bihJ=B6hWLKcrq`KY}8WtI8$kp$fTVh>u9ybqZ{&-5!%8b=-|tfZvj zdMM59`M%Jw>F8{?zn(uzsAa+gxUnKtl?#2}>-%u|{*%BfR9wO-c`it%r-a32kYV zN#1ezlhL)?&b4tl~u$gB!Gbz4_D>pvl!EF!tJ!(gFeP>7k&`(k>gsG~|Dc^u)^aV5}p+UcjAY zaJYp@W~)mnqd(mK{mQ)8X#559$i$zHlm;}0LZL67DmJhK9D&gP$x}>z__4H;d13>DosLCt+%L+KD@&LrT2^3mS?%lcQp_CH0G$eDE^#h4;36D9 zetsgdxLY(Qj>yhn^L6aIWB1Bn0hzjlcSz=ARn*)Te$EFoaB3T^bYvVNNT8K}Z2U4} z7mfkQQ`k6waN{caMq>^wQ^ws+A$aKYT5go>Jq3?~zzcqzaNFEI|Ek*#>3>XNU4gT^W*6(J2Blnn~#{qb| z!Hqjif47++fEjwu!R-R6{G=(t?EWzYSO)kZAV~ed(;i&bwQ`sF>EX8+hK-+;5jNu3^g9xzTNK+X6 zKU^VbYF_YeQ=fq}gLm%SQ0RUT1jxhY8WsYaC~*~}L@J`{iD5HDp2-2&`y!Zn@I5wf za7)OT3G`g~&fhzDQbfU3(>LS%C2{CgMNlD?2nomQny2=EC3DevNA-yk4<|VXh^FSS zQ%~RMaQhehNR!zgj9sV}jNlqzBLJW1Cx#BAV`v(iQMF8CzyQ9a>(EpV$TZ0YNVQKe z&8!EesL2?S#|~mTp8^2pZRl7%!LC>}y8u+!7@y%1oO=%m2hj0x_K1E3Yw2ctEf!Rd zAbi>QMF6zfzus1&0N&(G%>2aD1cHc09(+JEVuWB1RSG;7BKq(@JjqHF${%<)#P&NC zan=pih}mJG&y2pse?=(PR>9dE0DvCd!4(D*w9a*GVmOL-N;65JKhBMRP7#>`4X zFe-2ig7NiSh%-YHpL?$tq@+4WR`xW?5w`wl-!i%!Y*_fTbo4F(aV+*;1#g!6q0a~( z5n}(vd%DfqF}oiY4LVh$wnGU@mZ6Lm)2YA%U#}1TzSwO0_X%SKgXe@UC|KOFDtgd{ z{|{4OB2^?e@E?~-jjXUuEwlSEP@EPfffm~wB;8VPKz2Ffr6YcE-ldFr$cJy6o=Ay> zjv$}V%Bni}&|Kc+QV4S!qtr4ZzZ(=jSg32li(0ocY(}J!0#B}gB1LH1f)@-GM&=*b zb8$@aSnA--v@DZsDoYC*NkB)3=e(QFZ1;y~WU@z7A@7ZM`NcHu{8&$tGO!y4W!=c* zyj()S)8<_eftPn19%G{ILq}ZUB+fYd_=*_Kg%lbgT1^nvL8X0Rt!P#89bBWVRjK_R zYjb*AW@B=ga%WKa@@jiZ>0!e>G0vnJl9Qf2V7#Ah56FL-!M=mJxNEcVHP)VZ)FK;oL%76WdhUQ+w#ch5lD7 zW*k@jl74}oT$n1Tck|+U`>ckzWeQ`dMXh^ol9Pw)Uyc0$-nt~TyxNB_^cesMDYCOtm#o{!{x~4h;7JUJ)8hV)~d0 z8eX&-Uu66jWRRQlN-LARv-u9RsB{v7sXgzgCZSE%>UNt!M8r1F9SCJ;+c2IpFU#YGZoS1 znJ=YW65}8M+*c=nzzKVcoK$9IK2v5gvmhw9W6K{5LQx(RQ8luH-Si(7&QOOe+j(oJ zAu;0jFEOyG*m`GO>0^{dn!mD;X@ZeZ7V}jEZiSjz{=$1q>9~Q_Hf<8trR;{mjrnxM z-qnzRgmse!+|jo^0wGj}QiD!R_yeq0+LVTKyn4%IND&Jw164+krBqaB@~bnxZ;OWj z3u&ws^oHxkCznY^=*POmFaguFIE1C8xVn9 zPQ<4BrDOkqE%Wzl#P=0RV|Mm8e}@&apt`^HRNojkaR4v%2<*d!itHn^zC|7PX^Y(r zDGAw2#!-MV@=OHxFcND!x-RRd9EuK##;R#+^3RL5dd(1n2;gc@f&Fjl<%ShgoFLa( zO{>C0I&isRzZ5>M?nBMPu3Yr->iaAw8-$VvlCO(8MAn#>um3<8=qVU!suFR$b!6Z# zGok!CXRbEI7D7(N-6SMpsg9<=hd9I$wYZH4)CTW%|Ew>Di9fq_<6H(V+*D0Nm)(^q zRPI$Xtt(E7{5Y}ghuH*80P4PUQ2o^XU>W>Lo zlr8$jAex+%x-JQ@ZoB-{KZ0bcNcDR;7<0n%d{p?55*|6s|lDejB|#tH;{Dz^YC^8-pq2B z>}Am5d3{7G4)y~Mr zDYrNSNhy^wuwdTf(N+6=QVt}Yf@2xg4xyA@aJ~_9`%+1ptTadbBp?BKtWDrM_N`is zf^CU1x5%>qUG{_Iti>WCgooz9=(YX z*2$?1>P!*x^&Hs|_fK{Hvutn4EmByq2HCS*M^dEK{nbx_f>nF{9YlK`F=rTA{{qKi3tBVnt($F1%q`0vZ-Wyf95q;V1i3ylwJADX5o zd$*zHmF7a}{wqmbehu;N$&^*=e=FxH3vgTUc;yA5>c5_ay)&Wos}3%OEzTbE7ve5# zqjX_y|EiSuq=y6##DGGtf5BqL>6<7g1Gh#y*CIwy!$|}ADf?T%?&md^=`bqVw!;#7 z9@mw)i7}Wt$PB$;?4}?1AIR!vP|WM5m$5^!c@3@EQudiKVx?y-%Pb-CsgQpyTtB>p zpD&Vle3!$LcNOF?*a?z`x)Nbhs7KIN%h?*OgIUBO1w8k$o+ z?q3QWrhPuQkNU0m=ir7(2J^RRn<v;EI6NxN zr?vLHxwAhjFs;z5x?a>KUat$1^7$OQuraK@oC9q=6PoaKR5pogNTVDTb{~mK-r)Sm zE^D}nbu0*3YwkTFfbiRfQ~d0o$E#aaCF(e?F_fGfG&hhP^6|v1NVrd_t(%j(W(kM@8{ilB&pT+KxlXHaz8jyw_&&ztwtW z(n&91U-AYmkSQ%0UOuX@id{9MtsfmA|7iYfmumoZN%JG8#5O+&iKnj39n*%&Zn`f+ zLTp$GZb*jHeZ~oIHQ2Po@`VTLICak?mJujG7HW1E%*oU9Cce{;v#S1kB_p0M3>KQw z6cAzsnB+r>n!~28x1F;SN~sJ3f@_RpUns}ED29Nl6917>v+aGUvrh={vw?oJ%Yp6| zIO>_inGw4vamk|;?TSwAVd@ZmrBm=>vC3`WQ521iGbqE|M-uP2ib1pM&hdWR22Cwvpa%lb32fJMe>7&p2yE`?=$OeKezpom z0SSVs^s6*r?X@C_w{Z4ck%F1_7YsT|GnZ;%1J&B0!c_1!?rR>zk`ailfa}wRJ}YW^ z7ciM3B?O+1e9%x4Y1dQ%+Z!_ah{({Zf;4@&1?r?D=v$6);4Ud3FGBDO@SZ!Z3n0FZ zGLv;)e%A`zp2D+BD@=$)*-AUA!p$SvyU^U63g z_y$wGrcjA4iT)f-?j4P!dIbkRAt6e3{Ya<%cO6oab_AOV)!Ztv96*vup? z26W)?EYVvaAG^&m@uBJsSyLmeZ6ht&8-NWF^b zt79`7P#(Jd&cz*I95%_!S~1_9n$c`<5dnM%{oyfV?o~)Edmi`m@v#s@7;(4b-A(>s z@@>8GdS9I=SC51hhtZ=eSj3Jf82T?745wi4IuY6QynGg_35v?%prytpzZR^U-7(CE z&nk~@tGta6|4wK;_rbPMPJr~c)~?U|s@#UrHcY5{0%#jqaRzTAOFcXby4^{Cl4LN2 z>s3vG;HzoJD%m9sjh_Tbeb$VB+U3yAd{;2gsW|s%C&XUyP8(Ddb}8(f(!DE9ICS`< zo8%-68An5b3oX#1aC@lc-{$X@rX0wYIgq~0ZBYndv^nVEDq<6fjy+FN4zMA$BgZ8R zDKX9NyWgTt*&wjWLoG{$iDF+wypU#ejcgX50{4Gop;bW!q~V-x3fq8F10)Y)ia+b5 zC0BzqTEIpCO^t&|+&C_NWYBwON>_;5fQl|$dckbj(2NNz0>XDL6E|1$T*RJFCsk(( z4Tv=82;B!oVKXE|H<4Nvbl@u(g|Br>FX#eTc7K8bzJ(yWo~+#xJIV5FP6g{r%@7p;!ILzv4;S8X23B7fCoZ(F-Y}!NhViX9bCIxp&m3i21OD zDiYahCbRV7DM>&iLP!HQ>YD9zADf0zL8hu~)ieAfrKkfc(P;nP?zkc1b3cSFOtdS# z`pt^^FAC;OV^_iZMnfyu8V#4n3l7xRAv}fGJB>Hc@#SA6iAsIi9ap4i&_`b+iY%-u zE>E4YVT`yPLvV*H!IX`y)#7fj_9w(yGgS=%k_Xz?^GXs>^BkT^Fa95ni2hd8!TKek zV@lS+1X}5MU;j2)IE25>)ZFTWn`$nP%gQv)bEaeWT;^9uF!)G>U>YDh*{1{~(&e7j zoLz#p&#+Kmj}=j0w~qQ(b~!f+t}JlRS`(?*`gSEKntoii`R`e*5?~jPwecTYs`#jw znqZrjYGyH(h@*ElCEw6WrvZH_|1*kO)H5v9#b2JwDW48$H~jW^Y0{DHp?`|0R+#y8 zZzlv88{*K5UYb;eOykDIXN7(j8eMaib~(WQ_24?z-((PDxZI6Z&rgtbJudO=DL2?i zz~UOGNuUy&5Mwlgj$kpNr~g=GTIJ=%zL{3<$|-&AFB&Y781$I+_Z-2QtI+tYxK*WU z<>@k1RbS^`|BIA8T!|0;F5WWQU^~&tzM;b~Kzyx>#2jEw zJgzs@VNN8$!_oPk-5-bbvi7p^Ky}#B`k?zl-O9bl#GGuW)r6_zP9>{BIe>b<(F;|G z4l#4Gkdfo{fe!^EeQNAphXlf%I3y-b)G;@=$j$INc=64!J(0Qb6;}%A9erd(n5a4X$Nf6dC!ijwu!9`PKMvWyb z_){-1K5IporC9zt)jYez%00eQUhW}r`v~i<@!Ql}E>|;q>8Z6r`&XUpURM00EvU5W zhw1KDG({F9_D;jcC*yRGcr1MxU+HBU8r4^cn_w*FTwTo0q}(iXcDfiYs>)!n~ zM=XB7aLDw1dXsXG^A_7IaLxdwM`+o_PoB?TXo$Ds!}a8bIm;M9q+VMb9APb77V^X7;-nO0~5ED%ULn^K6OjC%de^78nUcZ?#Ytq{@pTdw~ ztg}#QH}dH{8ELFK_4~7wSF&THT8S&scNf=OecKPM$D&*skiPnENug4MpAgOHpx_a) zy|kYAx)kKlx)6J_TJiV`jT-5ngwN@S`e)u*i{2ZB^k+XhJVy7nzGQ@&dCv~G*E&nq zP@zjer6#>TaY6dG&T$-z9e*pBF_jt?FXEvw_Nn+y0(X7jq4C?6&+AN4J}bmtv%1JZ zU~ktXTC}np8N|UmWw;Uo-)a@cR7b-2X?kr03~SSzUq8>!Qqt}hKoGiM8(LTEZ=a60 z0Oxs_K6+s*PSk>(B!w69cys5^-1Pl*tbM_CV>i&nxBHFj-Dga3X};M)Zk02Dh3ay{ z2`}6l=PQ73byW+-Xs%0(=uZwp?567BLty>u|AOl?Kr0dUZeaW;qjR;Q@qR{1^6eMP zobez!ZMg?e`%Dpq%-$pNP$&y*Nljtyam8kDgrnx%5Bg%H4xhCFN;Y#7fo|#m#=dSl zf;`WR26=WD*+OAg?&s&H_-gt2(5x~f?z(aZ?w7YotWvR8_#m#944mCe!}QDFdgo;i zwIgiipc+mO*`k9^!V(-KT(o*ioYnVx6QTEGk&iM88-W@77Z!T9BJH*}s87ri2Ktjf zUu>0QXq%JL_A#PaQPCHG=S&I@PJOwUEbg&REn(CIgXM*po{iGzIT-521b${&pTpc# zhS7Mvo24IrnlOJguj6HR#`}x;*)LP)e~F2Sp!8%*Ii`rWY43c=?Zx(WSG^y?y{uKD zd%{b5UxBNY+f(SF6U7sDk{CHv&9{i` z2|7r1YWX-Si@tN|E5cp;j_W59crTRjlbQ^EnyLvpABjA9TmyU46crip1an%RCZ{J8 z^%iMJ0eQmDTX^tt4+R`rKL|QjY4! zoILwGrF1iKHv~xrS55V*+Iot26T*3z3c z*SNP131*sczI!fl{S$~DxUqqH^&NWTSy$9=V!v;UaAUGN#|2)7RmZb~%PfMxVk<$# z%88aXAIm5v32|Z4Is4PjClhHXu8GKR(dbnAOxz8K^FK@YH%(yuZA4vo^AF(t;;jb#t-mMgw>F5Vg`8Um9rqE? zjOVZ+#-`#){8S~HAxXL7!@Xi>#eaLv>_Isz<0iYjc2^wlI3d8o0+D5MYaJS&41Y46 zf(-@I(7a{iTr7L{+L4iHNiXz`Xp>F1xQRoIt(#29r-RU)sL!oybWR;cd%H(S2*g$D znu&&LdL84LWercJKt)7~!>ns+34XaOK6I1!P}qAp8E} zofL{lyN2>Pv{sLeb~iY-XFn4fX&US7_}0El+yrD?O-^3h7f)pIv10ZGF}o@%T}SF; zpYlDO6Q3Qvyc~fmn+|u{*kg^*!_>RwOfI8v)V$$`CJR0g8@o(jq%cv2PN7?;$J)T? zbzQXg;@mEtpk-eFkaLPPPqdRXEhcmBNF)`3O#BmM(n1@TkBa%b!+# z1GqL1`Yq1#wV!~eqhOWh8jRLy>c!aW|Igv`Gg(%Wc^p1o(l*;u^d028SM=m3lE29c zt>a-aX5v90E!TS_a4K7_+-U6d28|?B)540)K(Fh4bh_q?OoE}Ydq@<8-@M%Dv3bS> zje1wxS614-a5qR9vh#3fCd?0y>Qb_~+7u@%4=vD3S>EPn$1BAPPcI|+08t_dL!<`e zgUM>ML$`)G<|lrHw$K)Hs}Q%q^+TMX%$_JMqggCay1T#NClON4?B{Fx-%UMe+&)h?_%Fg3+TNABbMs%E{wNfbs2A>5ETx`t(T&C_ zeI@S$?UWOiQm{`f`fajSHeEgK-@EXV5W~@q#a}-5p*!?PK%M-NT%&217&xai6mT*J&6@xq{*X~QM{ohHQ;(qgq)MoD&QHX0G zD3vtf4G-sjQPb;0UXP-CY1>F8?n@c93Qv3Ek7DYme56#v&fdW{U)oN{z@)UfBGiM6 zR#yL@mzX~Ifn_-PujXL)XK}u>QY?ttdf&axgvzg=-+z+$BRe>QQ8$^m*xphHtLLtV z_v<8rSM!tK{`COz^_>+iH`K-Sk)cY<^{>m~!Ev^lD(^$G#N6EgIr$${_0 zDP-$}XDwf4Gh+hl=FKE39l>(pG+M3oK)51#(`XumTp@<*NDWS)KM;nqWf49(V4_Xvv==4TK*x4 z9q>smu^2h>?UQu3j}jW=h%}rx##FxKfx^U&b%g@9I+yFdD!)q94~Wp7jQQ%N60zMi z7%J0oKsqf;^vcP0F`7M>-i+bx(qTjWzcYgeR6jjlS3rEcR;MMdNsFF=1Tri!P9UFu zJGK4&u$2hdJawXBY%5Nc1aUANpp*Jr=tey(6at-X)~ud5vQg=S+=Wi zSodsoAh%xiR1$QQ=9NfX;Om~N4j}Q)+h6Z8kpfJHbeUr%SSm{$$H;p1R~fT>ZS|*` z3y+&4pD?u3HDUhou4vFG3L7f)yoWSUyZ+^PFd5(ZDR9!hF48=ILegCDkS1;+gvFeN z0pfSrS^F1IWWt7u8>M3CdL)Sck=p5?F47ZMH-6+0geDj*-XO=1wDB5k@Z##VMBp#v z_t$y9tWQ4u;^Uy%Ain9D;K9AZT!2N@SJ_H@yO3jvh#C304bqS!&HTLc@JTY)yGqJ% z%*w_fR?;MGc*?``u|E-=VRRR3==UUDf13`C3a8+l340N1Un^|_P1*{Twzs&BWQ1w0 zk$!~1xm*`MP{C_!PY2(U#{d5jc>NPW*)kMJBIWiCYj8l>-h;%$y0_Oouiqwo*7h*9 zRNEEL6~yhlDSjKn0M<`?p{9VXPwEn??Z5YodUSsj-w?Q(nY53WY*#ei%|+f2I5!iM z05XkO(^L*nNWduc>Rji_MPwv9G{SF_9bvI4S@bQR%abyAm1!K3gXb1#W;bYN&+u5~ zWm|A+OJWX+39!ux#|gn=%QJi#$jx40b`=uP5c|AfT9*0GEcdeychU&|$_H2;@#}Q$WpcY`l-0%X=g`1&O1Wxtc|$^Ky-JmgbNcZ9srvArR1UN7I_~gXx1pA;Cn+q2T|m&g>CYmY5==n~7JzO;$)$Ya1r%FX=2r z{o&XX3mB2{mVBi7^jR97l1B{$w?4Zyf$wHejP$lHzl1snlji-Ejn?!UtV8^X@`Yw1 zf6SulwM&bzy#hz5Yj1_NU5e}Jcm)Kp`O+h+piOrC=jdwdjFOo&_w)B*yQlGbvhH<@ z$a9v;yLejraM$h3GJkbVhjZLd{A{opa09$>H?mx$nGQAa&5If#3Tv^`!IbD zohl?ee(Z|gMtL}RGA(@q>$M^Mon*<(%VUS|9l71NqVi)ww zi*2;qgzdjX-qk{$7tVpTk;U3N*7G2rX=E1x$2b6{w;na5r<>V{%En9kbmMSgvN4M2 zp?|}azh;+1WJjToP7=0uu2U~;{IM69rBvBi$m3+;YLXW5BM;(-7~U-XSCfSr!xO6% zmKwwu*@JS~1Gt9_3{d9S$-4Y-$!Ov!os8C0wRK9ELIO)w$ILIEe~IJQFvJsvf`7h% z$+OP5m}dA8Fu24rc-i_kg?21<-5EA^Te$+$`^rE5l|J>?NB@E2JZ4rP|2_R&DaDnc zUd-{^a@Yb4wK_>lT&=D|l@#ZnaPxzT`j9|wvN7b*IBP(@$O%-fbs(KH9{n)1aSlny zN9EtS3U>JojZpRCSS7bl<+pTe!SCzXhvQLq5V-1QRyUayuG@2IWrxL%(pAgeGiXQJ zbydq!099RA+wkWZ6@iH&W`z9t$S3G^J3sof-@kn<*`PmnkwBBl>7f@J)^^_IF02&y5QmpB6{lx1kt% zYXFCF(1La29FrDuPgQ@xsQ$K;EIAtQBe64_W?yG`o@pXp(`Wb`q z7M~ne3|FfB83ihMt+A)>q$vbC89l|~{0o84($ZKwUc6T(ddYT|eJeezH<2W9^Mn4D zUBA^n6AwqFwU<}|Z=T_})vrwB;7VfTh<{~U^#SGx2~mb%xW50MOk$b4DNwEPDQj8b z9K?Bjq4eNFUrV$)Lt5l7U4Iqt^z&W85Jq-WSh;*toK z-aTztUk?m3vA$r@oC!tVXWBf}ay#ra`Kl4veY+|eZ^@e&g8plJyb6u!dLPod^aoqL zsf0pdm^Gcl>J?SPre^rc+bf;lO&~*126WiDd&OHs)GiKX6ez6{*I~H7oGr}j})t9yIlk&0Lvy<8MO#OO7c|i0 zrdXYJm({vHUxrT*gkmgAq1=FWne^WewwJDWuJR>L_o0Dhfj}p_%i_CohR3MfsnbDU zDa+{=4Ujxm!AmboFfcCn|V5gE~dt}JkgrK)8cDZCCn^xyg@+tcS2>}GyCMKjM_k(Ac8l5 zM)or01=^PP*Y$?ekNKTHGw1!EwRp|gn`|}#+ zqKc9naltnJL9xshBt)=Thg*A|mDfhYY22}Hc^awAh|{vIPmC62it|bwq0yTAO>+w% zYz0j;r34~^)W?0ttWqB0S|zKh&|`s!0s3=8(PSarij~(1TN)3-xOAh>?S8XrxUz07 z387yKTB7w(dHT6??k-mf{>*e6Vzt)5v;BHhy zI9F8_1iVpWz1tdt1lVztElB5XXPCONPucqDM(WQK85B!+*pHXV*8GwbIK{1U-q82C zqhW|=xgrlWqq`Y4o&qi?jc1r<4HUM*47C*k<7i*KyzFCzk0!PGO=SqyRH>aS^@&x( z?i?OkN8~{qVUc}eyh=s2?7ad*SZVuZWAY&bW_&egPBeOspJe+V0g@t1q2j*)5NPM? zNq)5{lrs3X1>{Tv6uR$xp!&%XxQqd@>&=suFLCoD;~B*_kr;3p9ThSXbqW$!jf((O zenyoI5!SybtWu-``>BUa#VTc5AV>Xm+oskBUAzb6Tb=#j_z)4QE4H2A#9IKE!GSTo zU(dCVVV*!kSs=aOJ^&6c)%7)!crA2QXcLj@mez0UttTKPYW9)z9X8M+Eos%+OVLYp z5hi#PgW6EmeRUvpzv}5&Qf3!9(QgS0TP&%}Y`C>6JOTZ6~bHqC64(ANg= zUq=kde>CQHfSbN>E05_|ul5}M)ly%=CyB9WfT%S$YZGqfGqm|O+-np7tLn)pQhulHWwmF2_^hu^Uy*}-N^B|_7bUUdXLYGrs&8D{ zluM4Y`&t>U%XZX6O5EPGv@qgyKwC_sUp;+|B7o-J-9V|3?+ph5SMjf>smQQKEE1$9 zH_iC^9A{IWI)2j7gs%-Ru^|qM;VpF$y(>SuGucl5unSw3AlQETzgS=^Gp; zIk@5n2kv=pi3HACZ&Vf`ORrzRi-peN{G|0s_Hmr^csM{sR+05pM6ou|98oTG5|I71 z^Y2(4$&v10UXEv1uUZ?}W=q`H&PRW{&Y^`mm}mj!7STX=Wm2h1J)^GdSF9cPPE88mhd1_^n4u zAAQ%d0zOCr(KkdWR+IfDDrI$MrOaM#g5;&i8xku^}X!rloA@nu$7@L1 z1%01$w`y;CdW||P&l-(ey`d<&^3`?vPuNEkxzpLnF+Gx{H1U8AcV>xh_A@5@2~>sc zj&kL2#Yk&Hnf+f#{VHdd7I)L_%UxN~VCV&Jn91g0PS=P>QK%BSpXXm`N59gtM8&k` z&HopFbJR0L=$GLz6k%MJ>F4Zp6aQ1wSBFLQeP5%Lw1gln-Q6t>(%mWDNarXubV_$f zBPHG4AR*n|sf5&fd_TYMeV+M~8ScI3?7j9{Ywy$Wy{qAqz65);WGU;HMeeXPP1|R5 zqL#1)gg3Ih?iYY|A2+H#PrqOl7BjE-S@#-Dtk*XF3|si=n_vP!u9Lb%yJvoV2V>@&AY{ z9B!Oi6QF!-?8BI&K6R+HO;+7Z(_xj|vuYcyp$&u^GImbw?=62t*x=Q)OvMhV`D6U4 zZBRSoBOn(qvk?uxDukYU;y|6q3tHp>eNGR7@^0J*zIe0p9Rn80 zg}9WHMRZ5#YF@f~WAn&(u+5$C_(vE(W?TIn>pJ;NRB_RrRPM#I&#sT z)J>JSajstWN2Kys*CF*N3ODwfF`_l=R7avu)eefh78d88su>@v?jSQ<4AQM)KAcHo zGrXR%8yq*fk{F~Zc#6fmN7^ZRc~?t*4ogR9M=wFH)An=wYs=|NW+H$0dw|ePljf}f zRs^6|SR8K()SVC+BCdcw>*>`34dg;5oF(4Q*1LIGMYbhOP59=xEk`-SJ~rDVT4%jZ zym^VTOe8aFuud@%BBxBJo+rQsm?S<;ma8b}BNDOFMrpOl1U%L0OE(DrA%R+kx;!?FHaMh=!aGBU@zxh`Cs+2 z@=R4XcXpLSaz`&8T+^Xd4t?}|y#HOxNB}6QH}rouSvQ{Cz#by(Q&vsO-_jWSD*bc2 zNYc*SYt4Fq`;F;6%$+qR$V3DGcuTC+0ae<%JmrsfKYr%C&ypvaT-k8%&QJN6wctzx zNl@*2G>#HeY-Tf^H7Oh@U}0^~|4o`zgDkf@z*i^m%TqlejT@=QcvS3OIZ3`w;-)AG z!RtOWV)ZlYX;Z?EBtM>>v_}a-x2EFhM-=gVexR_>mVcMmXFWT{8~RNN>FlFQZ+w&B z&=GqHKtV&Imo5DZ_agxWBS@JCp~pQ0+3WT@BhVKC^DFB~{l3+g{$7-u+p$~Shs_Od zf%wQ7FOmq~tx$INB%k@ov`u8gG#R#*-#uIF?yvY{e$;o%8?Rt~cy9@}#4U^}#D{_)^TrZ}R#{!1B5~BpgPGrT*D2iB>%LhT$!xF>pYg*HE~!v(8(dxIIU&PbJf4-;41(09J8 zW>ToIn<4IFAU~LuL6w$?i8SoaP+rw<(Msigla6euf>;PL(ogg1CVNB0KpJ$-AN9M* zYTsz1OK64}xnOwplTC3?J2wOBy~)?Eb539kq7cRE@nf!*n^4>5!#^`}XS2 zv)r(dlE>8Nb3V^I|vV@Oxi6^1|H{Qu(A zS@q6|K=^19n%%=#q5|iIJKH!oHAkmzR}l?Y`F1zggn!2$u-%OyK2YGsq6JkvShT=0 zni%A?DHZUJzmSm(s9Yw^0cMgw>@6dT-md>HvISnX>l2syzSY|KOY5PC<;Z^Qs}o7X z#g$#X%zw;2Q$1oHjzfc-zitrPn-@=zjW~xV@X0bfu1!omv&n*%c^QsQeBIr*D}Hre zr_tv7tVS%@Q0}-4*RMW~<>VxT`>iQ@og|`w!5JtLH!&^R0s?|I+~)@0G|S~no95{^ zFi=KYg2@pGS|pf%$ZQv;mZxJE7P>{g2^ihyDGgS01-$L-IC{S1y2v%PC4_SAw8B|e zG-xD~;r2#h+d>a=MVzEk(F;L#x*>AT8pIox=aP2Tw&Qb%$0bCN2Bwt91U7{3-vcGli-mK zUUsY`>+Zz|{&$I&4k<-M+MeE?jK(4OgrG3sQr^YA6Hj)8@Yv-3MSs1Vtv5@0^Mq>k za&6&jp9ha+l#VCV_T^mz&+qfgy~VrPza$`>O<-R=Fft;k8Rn=M8WZDn#mXjp>zW%z z`624@)G&K<{;1@JihMgXY!!3E!<>z4CLa9AZ;p<>rC=S+@s=o}fZjP-fQo=$f+WLH z>1RCEPx6vC5U8$?B(r{;y`x%bSkk0_n`g2e;2!xV-_;h&=hqu-7U>D~)Fi46<*`RK zptsOAji*imBms0nmU7g^Pi@!ma5epJ;ip$=`ZXxo4b6~%_Rs%U@^VV8HVcIb3kaua znqe4&BQGC3Ba){cWK`>=c^Gf}gU1M73>=wT;2g@9tro#6c;yQ^;xiJ3u3k z_zV~b;_TH~mw1rud}jx628aIcx99RhwUXt9dggQ#mLstZT`!#wV{ z@Kcvf>v{AHlvl2WEApgenQEFzN+XnyF*2Ux+ev!81m$0p4v$VXe4Xo#V`;}o&i#Gi ziu%a)cZB>nmo~TB7BsyLE`c@P4w`2dSl@0tRssBAz-$5vdWf-r>E=3BaGx5sNUjg; z%LVZ8LKw43U2>@1GB+Ax8eiFH8eS)B!l#%i?#Ow?T=A%pd@F1EO8je1pZLHbq1Bb* z5H-+j69uX9yE{p^3puBu!5)ZX7K$@>XO4yWfT7e)&GT^oB4CBUf$;||Sw{dq`(L1Y<18VenaXHUt)-NIEjTszx6Fc$^16?o*a&u1n6 zBzmvANwIGG6fyp(t*u`3eSK`>dH>8FpqK;5wb3W7U+WBm^~i>EqIHNLV;told-qa> zM4LdMuQ9xDwq8!2_}g_LvF2B3s#@OFG^8Rc$kg|L@6rLDp2(z!yTvX%0RV{h`cj^Q zBZznPM19L+U~NM~Y#M4caVKfLq0dzi51qq}UN9&fI(#USffn?~fPHNNrz2e?&hL0V z)+QsMBtHSC%Wps@5!5Ce$Xja*YBUm!^YOlH!0Q1R}0_Wpeb5#1tI2$5+peMH3qTnSK9l3>NB;Q>J%1IvYcGf^#JnQV8tAMo0d*c~n6 zjSi<`H9Le%q0`TeOL76>#BZ)Xw@r!Cl(q2TF&B>OORPl)?Jg-si>IKh3Og+DXSm)u zv<9sTh}UwhZ>lH&D?;bd{R*c$l{?+4ud4ZhYt-)}{d*w82-dUqHjrLjOf|zaSyQJg zl|DR@PTl=+;2AhH7yCQ7=NGZc=K1*2YCqP~3(^Ahh;Gv65CD->dVDooNOmu-MeM<; zHu*GG%C9js$GUC|)JJdnE>=hn7pV#b`{;+A0{=lnUsoqk(pgUH z#MrCU<|)hBXu1n-TD`~S{lw?RHQS$V7Iq@;1ps`JXIFMY-t%4z2i@+q-IwX*?}2x|mY%5IumKeTVSpdWu#b19qXst1%i0qXVGpC&fYF)V#cj*C zM9l?NdjZ`MH;4!;Kizq?A^BDQr}L&VKpI+#-mg~WCKL06;w0yLa4PbAI4;)obTUkF zbLj@)#;kG7g#0>fnAHa`J*_J}M#Afe<)TR*F%hCjW9F6q7)<`q{PzsG(w8{j}3%_qs+7w8y0iK}I>4BH zcKk;hW7w<31Mcr#V|WZLjEx7wlARkNZ=6nL^C|oukBpw7678Pfq_+VEO#5IznkNIQ z9=BQm3AXiR{uS(hTza;ci-9`2jh6TvOdb|v5 za)1Zi;-y_VBI89%g_1+qW7D>pT&!k+@ zxmgY!@0GFX2*mHtgW-Vis@{K4qkz+3`l(#lU(1m*`qxNn&BzE%a)`Eu!^xEhU^veW zHVDT%?h@R92TegGTGXWQ3!|7pOQaT;eM5`{a4=b)wbaKP@lyitvLmV6MfV~MRntH1 zG=%JYoDDBx7>g8w=~p)#rDr}9P@?-!-4sfp%9j5dNKX7nZa%jY*@DBnMxL<4HdKvi z@-^G!9rF1sCXa{GbgW(43Z%V!n=A|{?>jA(-%-_Kt*7RxF1nBs1E;9}CMI=F z{5|+6r4p)?h_}$5^yG8X!ub}h$M7iBb(-qO`32o{zAxlRN|Af8@lA@x*X1j&5nFap zrE7Wkq-Ye-xK_A1H5v>ma-?#p?0ugid>*BZT(4t$f3^-Tr=uJhP4(eSoQAj$1kGl% ztT2P zmul(_=Za)xU61k!^2*rSf(Tu9w9N3O={tl$WfFjvAMR$)e2BbgdE4+O3B4sr-zIOSR(uX*OxDtcJP*ji4 z%bW=f(TzI7;qUCABE)WhE{zB_*Hq-z4rFMLeSh~Vpg^xWV-zff>O%HN$^gdhNr-oF z6IDt2waYi@JQiAZm%KU!ApS2YmI>Bz4z`l12!quUV2t*bF_qx?I-`YLWsW&lCX#^e zYFq_x#8Sted0{_9qtm@Wl&Ik)@XC&|)ZN?{Zc78+-nm$_n(KA-&X3`*4>DqGhT=n) zx++>%AKb3f^c+1!-m21usn36ctZG4R7PbWVFVnvp78XmI$>CFUK!}0$fSy`XmHnvy zh`oe%79Z*=$ti>{$GFX+Dl;rY-0VJVTM2&1zxy;SEO_-N1r{ zZQqO13;2`*5z1I$go`bp6K%H+reyqdKe#{vFR>IAn;n%J^-!iZnUEsO3B^V(2Z+kzvRA0I4pr(DUrcJb|RZvOt&(`mEyjds87 zt9%OFHOe?$!vp)+8?rQY1eOd3it>%j#IO*QnCoShIsAN!T1V-p_&g*{XM1}kCS#e; zhZT83Ops`lnA>No7rb?MO1@1}n3Cwd{fGFpJiKl%4pWkR)T z-)m?kgr~UcM)-VFqk^_{A;A^EM(N|%^;X1ea~gOK7U8;fwk`JkM^J)rX)FYG~%1yLzGKxmcjm~8=G8E#x$PXcG8by94ctmFqxCYlV)z| z$3anFqpEdQl3MQb$!=?ixqjL{)PR$tYHO zFm*l+528#%ib!|g$3Wuri1_h4wDClg4~Dv zF-66K+OslM<*jJkx>&?00CxI~3@sznRV~svJBl%`j1sk-gv@~P_+(* z+>)X&i7iJ5npIhak8dpYvNJ5+OFZ4Q7>2u`ez-)PooM4eG*}~JqZ{a?8W3JLYFnEq zkxFewKZ!lOC#u@tR z9Cc};Z%B_9RRZ7Kh;YJ+gQZ^prKtMG)OX++v>l+&(6XV>J`b!`OK*c)ZPne`g*?)s z$+F+E#N2yw-nSD9-vkfcT#ATHPpHWSrgWZNx7;~)jI0;wL4?#Z)%LHA?jIf4uDN=? zx2)h{DVwRDcK#`*p7@Sl_2&n{AMfLT5g%Mm3@WE)yZvLpxH2Hf@J@tDOfpwWGMC$; zx-D03w@&=vqi+A$JIv~~9vW%|JJR9LGLLv2V_WwE>P zfCAFL210ZqJGd^goKxehwiwco{Z>NR$Lew)Xn%$FQ) ztse+4_HylVnzNJr-j#KASUk{NH`i<(&9(HrZC)n)z9zyVS}JL7yKU=xQrv z++~B-UMj%ok!W&%9wiPYmcJGw`lb}O!EJqpcemacac>EAE~EBgDGofnG;^tz>_378 zFcqnLKac}~vi2;X+u++|ZB0ZC+H&~N8AhXyHn+F`9gtqXZWG84#W=MZ0`Y<3Y>BBz zV>rU~16HJE%}AHrWJB(|o^_A=8sSAa2XsOcby)mINBLFgTZ6W*Uu`EAu zlUcQO>p@qD9F_Mk!$Nhb{~Qj+u``SAJVkzM?3*Oku}n8dRWlwhnDHQ?!o-!IT<{&1 z?CsSw(f%JhnI5dgl}U8N3(^DE3Hw!e508*4)BkruQJ+BCmj;eOOV3j_qECvJok$vD z`IlgbuZX}-M_rTFrdjQ9VJ%6ijsA?skn1g_tN1$zYM-WnFZr(u8-<=w18vRg%}w41a~1gT86xAbxp$gio@-T3y$9|(v4imwS& zXO8R^ayFMd2LasORCCd%Bgg4~$mJjVUH2iJVV9C5AniRcYTn_dcKFRh$-4^l1N)i7 z7#)AFiNu~gB`_Ig84-pqP=mB~yGtRA%JJ7O78ry<9r4KhF`_?!K3&C9*~}9nPrXCn zJb!3`+!#8rg-4eAt~aPsLCw0Z?jo6#c4uF>d03&gP=H znkC^AD)ml~m$6|AgAjSTVk57YPT_QN1nm=-*ed+j2ZEVaxmV%8+(`!;V;IxXZ-A0$ zEnB>YiILq-GngISd=3p#fgHX3uYTm^U6#+#PQ5KTi@&?~_;h>yH!B@CICj)3@q%0h z&rLje)PviSs_&5)Hg!`Yp}Tv&UF^&#`vW)xE$WK+Z})T_w0!jJ$k*Kk?B&2TNGG&NgG4Wus9LBT4NZh}MbWYN{Z!4d@IHi-i!{{w zW>qC}1s~RsKGR8fHoCHx9(?;Iy$KrZfbFmK_r~~>75YuK-JdF81U&*%1>SggI9YYzG%W(MDr7th9%o8W7Wl#O*ok8MF^C)&KU z4MM{*m-+UK;J{=YvF1)c4lc2@&Vv#52x;18$lo#p2VplQ*3vTJRA58i{-#%JDAirj z2@L!wn;9BFvU&#tlzoh>j~(*|8=$l2qF-fi^LIV6i z6fc^qJ(~75w_ag)`Hl6=_2GZXX5Fdwl@+-(^P2zN8V@0p>6?ZOt@0?J$*~aT)HC~u z)(W`EB?Y^f5L`?~vQ-+Dl{|^Zk9?!w(obpLeTA3mWy z{S_T)BbtJ%&sG8I(%kZB5%Y*MN&}1<3b{JY0bpaHmRg9OSFr*I%&Q^jVZg3Ns)v*3 zIrvW2x!y!zz&~f~|C6T`D5$$#7|L#n8@YFy0~BdJerNE(;hV1(RxkLH|K&Sh)0t-6 z#6JG#>N$vl(ffBj*lXMs-%(wf0)09C3xZ?;G)11m>btKI&wpq@b(D{5*oI?QsC6Bio+Pw;q7d|E z#{{h5RFoZn-Bof*A_DR0J9zluc9^vqW!AiMw>aDmB2Ec>HSIg zma7M#AeK+Ao4Phucd!>cR7`r7XLjla$d_zCl^Bp{XnO-S5WoYZCT-v%BoA@J290sy zy~PWY7p4On!e5tNv5hvE4->a~4Clg}_&wu3dEg)9@$9k#nw+{9lKR;GC-TEW(5q<_ zavXXu#y{ivWzLJNP|Kvbv>osacP8OYK71n2uukH0(wv>3&-Ss$ zxd&?EX=*Np03_>-#N|RJAnrX|!pp_zqrP{wkgi&>cvbGou?yq98dgJbI zb8s6~e~kd=4f`_TV`G2aE5H}-re%rfSOQbZA$2N*r6TgN1$Zw(Rq#+c9BAE5bB12+ z@4$O%+pP@1th;(yhE?p)bsAvgQdHiC9qyBUC>${Rl-0FB9oFI13)=k(a>Y%-mw_*s zsh5T0>Ixr?>v_n#Lc2zYCdbLx)Gtn2$ilC;yrE3UvxC(MP@pkjv(^4z(1$FeW)R&} z=SqTs1!d|D^q`cW8*w{34{L4Z2~@BYvWi>U)8;e1uMibajx@qf(IPSus%q*Z0M`Gd z(lNeeL&3UECI4o%`%&~y{~4uSa&^Q1AlLk57@)f6B>)1*bW}A9y52`K-|07VgW054dZP443vd?Iug%BRn8wRp-| zxUGl(;C0ZC)<+^O7FSMQJ?F9?-@O$Pzr~DpuzY^spAG?ijg==CRll3_+ChKgs_^FK zNZHFCBG72~sQCR} zyqI&l=jR#A;duxAIZGTeA^a;w`gomXX~*T7+H4X(cq+3H#qSW5Ns_=fWX^swLmyK7e8AXhr1AJ`Jqj z=>A5pchA};nZv>v3a=rU2u%eRSU3n@?{ixfBGVN)^JJgunP8IlUi1?8|5k@Y&yX{z zfTbSJ(^Do9Zc>ovr}petHk^5)5AU&W$GU!qCSRTeQPi*L0(LQ%Q`+*5^L|mrU)SvC z!6^|2RDGRy`GmspaB1wKlMm+5%5*1)#P~vCg;s;w25tcKfTRXvLi8q)Glk>E{a-MV z1Bc3XAxdR6=vwac6%i_f?pYY5U(e#b21O)rPCdoGhbZUd8*MMY!B=6u2nK$s&t89M zyGnDCA2-?x`NfP$v;N}6j`nQP;E=Pp2 z>L#Gu$gWDF9RhmlmnKSG?BDaECaWZu#aQxncq6`1rfs#m(?LIUBo2%cT31MC9&vdQv2&mONN(Vr{CRTt*zgO zunDT}N(9RLH?uL0TL=!y){+OBvMCGxkxwA<_%V`&g1pnmZ-C9?BCLu=4fh9q^>iWR z_%F`A;*RrW&FItt!Sl{Xp89W|ysPhk?Xo{V1t?mzdA`RdJ$P7Bu4o##N9wpog27xq z8xV{(wBH6dsre@cL_&L_F`pe??PDG_QhcV=cH_nwO3N)6oL#Fi%L|o5M5|uHe8rv_b{XX+o zgrzezPB2aKdFfb8y5Vok38L;JP(8=2t(< zxYhcOiJq~`s#SC_SaM&roVQdpCX+TOtf%f^D96Sjbj~2fb>YK-20a=Av-(UGX9j9u ze|gi_gD9+DBMV&+^_y2J(e2&P4IaRy9$4{jHB_9}$gsmrJOGZ#f5IG#hxd82{L?k& z8d|o1a=x-*0mcaA-5Nw?qg`hRU-ALW698of$KW*qAQ5n)$?EskZki7c@$UM2v|RSw zOnUWCH#1&EWnLhi8i&;cz=-_)`RONyJx>VI=C5{f zvJt3Fv)g!@IN%=0$SmUKK$9k@dDH523MRheU$5qWOGq{H-{NC`uZ{N;Ed=Ru_8A_S z7k#86P$7QnXP>Ea5W83lqY{|0h;0yAnZ7F7aQlc0m?9 zz+?%ALU?<=wT>3Ph*~Du;iFb0Ua%&jz)D!A=e^0gjYZiJ)ctL%cDK?!MoOn;eic$2 z2O3Tv$-YpjISO_P`OCe>gdb7JIBge_xXx{aPgJc7{p)lUdRCdv8kmVE`E(J*Ns>Wo zs?o%4+8cl=xrBTKatZyifB_9;K&r?Dz%y{e&0So0elneSID7@IDDfJe5Yg`-~Uae003Rb3(vIvia0tlgImU*kq6U(lW=R~D}}1J1u*-;x8}GN01} zld)LjTdr)r-|&!LU?6Ygv0k<_kFyoqHXvK~%Spy*6gRYs1Clz{*)8NVRioas|5a=R zpaP?4uZ!Yy@OOWWH|%FFc1`dbhwF~+xsVWE)V={2)8F7?282$d_c<)@rU-vL3Eg_U zFK8E+z}+Byij9WYs!)SN@|dnr_G-UZa3)^YbSe8@Rs^zKuqd=EXizk~<>1 zQ{21tpa``n;N(NSnklfhb8N%QKW8Q57*##f-}SNR)32vb*T2G`^0*JQNP##g9Fi0N zUpR;l(c+?G`C07H<|nzTms-m-ob&mqxAlVO4JrtA-FHvaL2td66e|J&N z_3-`P&zt-aXV^Xb zifPVX8g05juuyHTQ*S4o7RH55a~(Nic8s$mTizSDQ#fBkrI%Db%*TBlJ1siDU z6h374Ce_`=cWAN*Ns{x$9?X0um45^@TY`i$>W#$MhG`0#v~rG&UDSTo(m$Q}VQcFK zhwCluI(t`;if0%~8ivot{;*Avat8+jrtO>mq$(dc`iQu$Qs ztLdI!bzAkM8d3P2?+QNZOP7&Ll&pBsfp*j;H&FytA>8jE69u1WV@nwXok&>b#c4f*W~vb z`S{rM-pp}Q`U30U{Qu92WzSmUeVwoDnN zGdprR2lF_A$Gr+Fwzd4y;(6BM&)ALLQ9ii zojctZwf-C?o=p_`)0eub6OO>ZtY}h<1`w`4tht2ibh-Fs@UHZ4_KXlc9eu{!X~H7W zKZ3yc&X1Z{r$yFe>`RsRnAk1`{$j8-HuqNP-rI70^ychE(#|AYS*xxpNg=Y9C?g6# znBrTIf|Lb@)ACyiV^ShlX3h3cyqq|57K1;}zlnOm5b^ArHLzFzH{#EhRwJLa9YH8u zU_jym)@sQf1@0*~UT`)s+h*1d`7o^S+?O;WA6fR2x2+}O-e3&EP^bYk3zNVo!wOf= zEUw!05h>$p#)gIUh5V44%xDkHX7~3ADtQ@~FOUGWpGj>oO_Blu$D*3$wft&-0)4UJt&!<&%GF9YF>LvuGT zU?4T|X1{ga*ziu{J1HF2nFZ_e2+s7^RpJ$xS^sVD_wN`0$$biDRt3z+S>Wf_+vy?r`k$u8xGLDNR%C<$N9vPSU zbWNljESM_S1VRxZD+$>UigkAcaV6(l`Agx}rKON-IpsNv?rWV77G>g4$k(?M z{%>7WJr9a8%W9~Ob^PRJbg*#rNxwZ3Jo~#QN=jyJC+9QC;Czpns(oSlSnrSTH1E{yAaj0S%V9g zF|3^~#5tc>Q@t&k83XK>D^yl|n~-qix4ia?1=jJrH_SyTZ?-AdY+l=KtM@|3xQwFb z2E2W%DdM)H9T~BlTZ7T)mnS@GWMZ^@IW!BWxQH6>%2yO}>jV4x91yH8kV{b{1(opy zM3Ko;=p;RBD`NeQ`g-*V_H~i7z*neM=gI`>blm2d!7#P=eK7A1Ft3f`qCbp*h#lLJSljW} z!NoQ%gfAVp$XKuBGmnjzV7s%oxdScb7wIqh(czva(11znUwvN)x}`q&@dREj&xh5F zlM!_AS$F3Daws3Xe11_ri0z!4aDn6jg^C%_L|A(Kl^e)U<~!DgaCLNlwN(Gg80SHe`t6@`^Kf{R%7C<%IF+3H#}S!8^R? z_UjyfKeq8#+P7YBN-mJ)4O4~5#`kKQ?-RmW&f9ntZU+#>2YNl}#=f5aPEaW&ZD}8Ww|$T0K-*0(JVHg+-!%46n{O9; z&rxaWQq8MSzod_|T0FVMAW+ybH%bZL=2l%f(>y=6KJubI=D(zDQeD;b`PI!G%%iQ%Ud}ai6Ujkd=ejuoE>7L*EEymUG0XiaL<&Flk7MC1e;c=`Gq@D zydy1pat%#VoF{M@2jBWd>DPwJ*XKPR@>XqKIlL5?*iXUWkRv$<;?|=Gi45zH&RPef z82cbV-asVc zgdM#x+lzr}*mm>T1Z3@qDxX?H{YZ)0Vu@sJHJU91A{8TD76@jrHSHoV zB3R8RO7wr-k?|~848(D#6*Gx^aSYe5&(jgS1PBHZdR*dgz9>)V^Jh~xb zDx#Yjmj8kzjIoJo70Z)D#{jQXSrQy)9EZ(ZO)LlQdwB%Y8mnymI0FY-bV4RfBx=K8 zy_roxF)n^07uC1mRNpzBqw}K(%-nA$l zycV52*Ta|^3)ebsgXvf?T^#gQnGoa{iLqkUo5BdOJT~t8p0kO4HoNJKruz(0hTr%E zGAxZjMrc3CqQhbLqXrc&ASWBt=mN0YtrLjmd{~A8Wzakr$C*n{&&=nrAKw%DN;GjN zPMrUy=^}JfsFDTyxYyu*!=@Y1`6>W!dEmxhF!4=&>xNSL?c`$jHT3l zL;Hh5jQ?QFt02h_C6c|6lItdxdU6THA2+ZlXdvb>gCK|dQguU^1GmBnW1#t48mjf7 zxf3|Dd&(85j|^^HA4~qn1S0qa0F`hG5&a$K5UhI-eub5OLdV@Bz|p0o+-*8v)DZ&7 zdbz`UH(zBW$*P(=-<=rj9hp~ToVD>d>br8DEztw{FVch|ir@TVyOQD$5FIqW1f{tn z=!NIU1Y0+c=lDja_lERrlnv}mYKzc;{*{1+OaXH9v;A5C}IIJc8`EPei?TZ6kx^uhpJ+usD;x{__ z$^);_WTk$lLa@B4NM;$*owb5zk4)~7U*Lx!KV5ysRI+oY5V7A#vtL}n+02V<4Cg4; zPGin*kLXGhL{j|Hy+KW4v~)r$w}nMJGp}g zL7acHLo>^|Nv*QAx4M4$6U-rqKevTAAlP2QqPS(Lh^pzDLw@`~V@09YcZ@tZ-@=HT z*Cb!hb=yGXwxKqSZ(UZmd;1#dHv&y3zt7l<4;REtMqCLk^F$G~B4FgHYZY%iX^gs&L-Flt)r>1P9elduLdqm^|&h zO;1l#Q9@$U3=wZ|g6$}4*w~+f&5de36)`$Sb5iYJR_9 z%h-NXh(u~&ezDGvk+rrJ>G^pCETO+Te)9-zpOdy$Eu$2&qGB~{dE8k@q8{RV{=p;p?TXOI?#l+HR_s?_-rWz3Hu*t>3adC3 z`cK&_rv3n+Q9HM**!=59EyxT^#a1`*+1v(=Mx@`^%%)AulQ@~&zs;43U-rUl<*D@j z6~hF(TfcdH{e<6N3aiBhk|O1n`&P5q+sikBu+qN(<8Ol?IlO3|F*>G-YLj~RUG#pt zcmr>XMcL%k&$0DAQiAhsO^@EO_dBoCd3Fol4bKGZIqzxf?~~4nVn$A99evbu>YK)Q zCq8A3WABvUkhk4eiyo8AEzw$93z+1RMWe8GeQ!#14sya4R4wN`FmO`tX2S6YcFBiVpj=h4t5cNypqTb38xuq4Jk)cjUowcRmcC9$}Vj6ic!dx z|80lw_WSe5a4V6MLPMr$2$?6S7eL%MT04<&|8%Q@n*4r)=02**`F64w0=@Ko~$+@l9UOY=K?2O8C?6zLJq_55Pt-IMaC~Nl2 zxE<4cU7G{y*kRJ2NXVJBeAu1r!7FZ2snoyGl;{Zgkt!~ghow2?BgE1>kSe)RfTFujBf^N+zF{sa|LSLX%JuF;Pry@0FnpG1;U#p ztyh34aXux8ph)JM*N@9|1+XC7YR%yELL+h@e1;dk;*nF=fmJ(`K{69R6St@{KBsec zYQtqof1f1xVo#SO>y=_RG@aMZh%U#Ewz)XVFOg)%gJZf>UHX`xQ8x7WsvI(!th_|x zmFRPXMnEO{sbdf1c#^D6|ja4A8C;jN0?hxF+GMOWL@t4&oQFDXDyJ|1LjHn)A@K3h< zfU@V^!#O`jDOd;luoMW6GQ95qxApt56(dFdTW-3f{(o#~92-)I$2CvnGTET33+0GEapWQhv+EFlHwDRL)lxT0=vrQITH;oS z!T~ItUJ3R2_zwVL>D0Gn-)<~kjNd}n-2}5_79-&J(d}V5%h8FEnb^Y_YuBnJ@Z0rw z7mU}{f9qH;w+Xi1jv}ktXOdLDSE=g?I$?l|oOioju@>TH!Vdgkldd-s1~I9G!@fC!lbRJ3Y?;MJ6j#Gp=7Ns%@ZRDuR(W2->XMMP{mL&zr^l!Ei-K5T)v z63Tx5yG;>C!7MkK^^SJq%CGW%k(uV{j)hvA7>9`D`E7LY`?{jQFv8FDZ{M|Gi4yid zWHqqTnap9z7Rc*n1h7e;vy|kfi-v;@X?mU>EL;XbmzAQ*n<#Epmhf&30EEK&q>WPV zuV0gZ>ywGd>9W6h6{S|eNZ|9fd^En(I~=AC9qZeP^n$$9;6#&)HWXUAtJT;di9DdE zozd8xODW#1<<4so=H$fq8XW^ZTJz%2S}3cT#@FFqy(ZpVpY)fczKRGQ2x#ZMNe6hT zND!$v?y4J#{~xBBV5+5Vb#>v2m-B2z=lgsWmG$1PZTmR1`;tevW0K_0v(McR{G!D_ zS5=Zh+8c?dEXPDpvTiG5nD$5LF$NqK4LG4(lgfuMT;f=tYW;69`aLvlT@yZXgqw)C zJv_}FcgW(620Sp;{FuF1a5M2QQ`AS0_q9X91tRwA&q; z*$o2li{~{&G(q=dYgmk7R3azmkf2dY{Ch$^m^3@1MB>cfj1!4YxeO1D%F}KZhC!vt zv;G8tR|SvJL!#y}c>wKp@?Hwy_}eEit7(BGv@4yzd^ky2NF~niqn!ylL=FVAn7!Y; zpUB>nrLdo;D!g{M)oRj9!2z^W_xBMn9pWz%965yw(qiY0IsA&-Bvjdo>`$n(qGp6oI@xwEBo%kk+PCwr4xB&PXR1*8aquXv?Rp$E3!sRne g1Hsgbzr{E_TqX@!#$N@&NP8GrNkxh8V#Wdg4}jt`wEzGB delta 69950 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