Feature/separate containers (#287)

* Separate containerfiles

* Add push to Makefile

* Update image names in the templates
This commit is contained in:
cybermaggedon 2025-01-28 19:36:05 +00:00 committed by GitHub
parent 6c3d2e7f97
commit edcdc4d59d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 363 additions and 65 deletions

View file

@ -14,7 +14,7 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
local container =
engine.container("agent-manager")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"agent-manager-react",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-azure",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-azure-openai",
"-p",

View file

@ -22,7 +22,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-azure",
"-p",

View file

@ -22,7 +22,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-azure",
"-p",

View file

@ -26,7 +26,7 @@ local chunker = import "chunker-recursive.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_bedrock)
.with_command([
"text-completion-bedrock",
"-p",

View file

@ -26,7 +26,7 @@ local chunker = import "chunker-recursive.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_bedrock)
.with_command([
"text-completion-bedrock",
"-p",

View file

@ -12,7 +12,7 @@ cassandra + {
local container =
engine.container("store-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-write-cassandra",
"-p",
@ -44,7 +44,7 @@ cassandra + {
local container =
engine.container("query-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-query-cassandra",
"-p",

View file

@ -14,7 +14,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("chunker")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"chunker-recursive",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-claude",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-claude",
"-p",

View file

@ -21,7 +21,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-cohere",
"-p",

View file

@ -21,7 +21,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-cohere",
"-p",

View file

@ -11,7 +11,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("document-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"document-rag",
"-p",
@ -45,7 +45,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("document-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"document-embeddings",
"-p",

View file

@ -13,7 +13,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"embeddings-fastembed",
"-p",

View file

@ -13,7 +13,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_hf)
.with_command([
"embeddings-hf",
"-p",

View file

@ -13,7 +13,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"embeddings-ollama",
"-p",

View file

@ -13,7 +13,7 @@ falkordb + {
local container =
engine.container("store-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-write-falkordb",
"-p",
@ -45,7 +45,7 @@ falkordb + {
local container =
engine.container("query-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-query-falkordb",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-googleaistudio",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-googleaistudio",
"-p",

View file

@ -14,7 +14,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("kg-extract-definitions")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"kg-extract-definitions",
"-p",
@ -44,7 +44,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("kg-extract-relationships")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"kg-extract-relationships",
"-p",
@ -74,7 +74,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("kg-extract-topics")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"kg-extract-topics",
"-p",
@ -104,7 +104,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("graph-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"graph-rag",
"-p",
@ -144,7 +144,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"graph-embeddings",
"-p",

View file

@ -21,7 +21,7 @@ local prompts = import "prompts/slm.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-llamafile",
"-p",

View file

@ -21,7 +21,7 @@ local prompts = import "prompts/slm.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-llamafile",
"-p",

View file

@ -14,7 +14,7 @@ memgraph + {
local container =
engine.container("store-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-write-memgraph",
"-p",
@ -48,7 +48,7 @@ memgraph + {
local container =
engine.container("query-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-query-memgraph",
"-p",

View file

@ -12,7 +12,7 @@ milvus + {
local container =
engine.container("store-graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"ge-write-milvus",
"-p",
@ -44,7 +44,7 @@ milvus + {
local container =
engine.container("query-graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"ge-query-milvus",
"-p",
@ -76,7 +76,7 @@ milvus + {
local container =
engine.container("store-doc-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"de-write-milvus",
"-p",
@ -108,7 +108,7 @@ milvus + {
local container =
engine.container("query-doc-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"de-query-milvus",
"-p",

View file

@ -13,7 +13,7 @@ neo4j + {
local container =
engine.container("store-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-write-neo4j",
"-p",
@ -45,7 +45,7 @@ neo4j + {
local container =
engine.container("query-triples")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"triples-query-neo4j",
"-p",

View file

@ -21,7 +21,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-ollama",
"-p",

View file

@ -21,7 +21,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-ollama",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local containerRag =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-openai",
"-p",

View file

@ -23,7 +23,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"text-completion-openai",
"-p",

View file

@ -17,7 +17,7 @@ local cassandra_hosts = "cassandra";
local container =
engine.container("store-graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"ge-write-pinecone",
"-p",
@ -52,7 +52,7 @@ local cassandra_hosts = "cassandra";
local container =
engine.container("query-graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"ge-query-pinecone",
"-p",
@ -87,7 +87,7 @@ local cassandra_hosts = "cassandra";
local container =
engine.container("store-doc-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"de-write-pinecone",
"-p",
@ -122,7 +122,7 @@ local cassandra_hosts = "cassandra";
local container =
engine.container("query-doc-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"de-query-pinecone",
"-p",

View file

@ -44,7 +44,7 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
local container =
engine.container("prompt")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"prompt-template",
"-p",
@ -84,7 +84,7 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
local container =
engine.container("prompt-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"prompt-template",
"-p",

View file

@ -109,7 +109,7 @@ local url = import "values/url.jsonnet";
// Trustgraph Pulsar initialisation
local adminContainer =
engine.container("init-trustgraph")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"tg-init-pulsar",
"-p",

View file

@ -12,7 +12,7 @@ qdrant + {
local container =
engine.container("store-graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"ge-write-qdrant",
"-p",
@ -44,7 +44,7 @@ qdrant + {
local container =
engine.container("query-graph-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"ge-query-qdrant",
"-p",
@ -76,7 +76,7 @@ qdrant + {
local container =
engine.container("store-doc-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"de-write-qdrant",
"-p",
@ -108,7 +108,7 @@ qdrant + {
local container =
engine.container("query-doc-embeddings")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"de-query-qdrant",
"-p",

View file

@ -21,7 +21,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("api-gateway")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"api-gateway",
"-p",
@ -60,7 +60,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("chunker")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"chunker-token",
"-p",
@ -94,7 +94,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("pdf-decoder")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"pdf-decoder",
"-p",
@ -124,7 +124,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("metering")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"metering",
"-p",
@ -154,7 +154,7 @@ local url = import "values/url.jsonnet";
local container =
engine.container("metering-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_flow)
.with_command([
"metering",
"-p",

View file

@ -30,7 +30,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion-rag")
.with_image(images.trustgraph)
.with_image(images.trustgraph_vertexai)
.with_command([
"text-completion-vertexai",
"-p",

View file

@ -30,7 +30,7 @@ local prompts = import "prompts/mixtral.jsonnet";
local container =
engine.container("text-completion")
.with_image(images.trustgraph)
.with_image(images.trustgraph_vertexai)
.with_command([
"text-completion-vertexai",
"-p",