Some default values in yaml file

This commit is contained in:
Cyber MacGeddon 2024-08-21 17:17:24 +01:00
parent 7113d04f21
commit 7d00a53711
10 changed files with 115 additions and 9 deletions

View file

@ -8,9 +8,13 @@
- "cassandra:/var/lib/cassandra" - "cassandra:/var/lib/cassandra"
"chunker": "chunker":
"command": "command":
- "chunker-recursive" - "${CHUNKER:-chunker-token}"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "--chunk-size"
- "250"
- "--chunk-overlap"
- "15"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"embeddings": "embeddings":
@ -18,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -60,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -22,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -64,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -8,9 +8,13 @@
- "cassandra:/var/lib/cassandra" - "cassandra:/var/lib/cassandra"
"chunker": "chunker":
"command": "command":
- "chunker-recursive" - "${CHUNKER:-chunker-token}"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "--chunk-size"
- "250"
- "--chunk-overlap"
- "15"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"embeddings": "embeddings":
@ -18,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -60,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -22,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -64,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -22,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -64,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -8,9 +8,13 @@
- "cassandra:/var/lib/cassandra" - "cassandra:/var/lib/cassandra"
"chunker": "chunker":
"command": "command":
- "chunker-recursive" - "${CHUNKER:-chunker-token}"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "--chunk-size"
- "250"
- "--chunk-overlap"
- "15"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"embeddings": "embeddings":
@ -18,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -60,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -1,9 +1,13 @@
"services": "services":
"chunker": "chunker":
"command": "command":
- "chunker-recursive" - "${CHUNKER:-chunker-token}"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "--chunk-size"
- "250"
- "--chunk-overlap"
- "15"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"embeddings": "embeddings":
@ -11,6 +15,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -53,6 +59,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -8,9 +8,13 @@
- "cassandra:/var/lib/cassandra" - "cassandra:/var/lib/cassandra"
"chunker": "chunker":
"command": "command":
- "chunker-recursive" - "${CHUNKER:-chunker-token}"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "--chunk-size"
- "250"
- "--chunk-overlap"
- "15"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"embeddings": "embeddings":
@ -18,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -60,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -8,9 +8,13 @@
- "cassandra:/var/lib/cassandra" - "cassandra:/var/lib/cassandra"
"chunker": "chunker":
"command": "command":
- "chunker-recursive" - "${CHUNKER:-chunker-token}"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "--chunk-size"
- "250"
- "--chunk-overlap"
- "15"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"embeddings": "embeddings":
@ -18,6 +22,8 @@
- "embeddings-hf" - "embeddings-hf"
- "-p" - "-p"
- "pulsar://pulsar:6650" - "pulsar://pulsar:6650"
- "-m"
- "all-MiniLM-L6-v2"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"etcd": "etcd":
@ -60,6 +66,12 @@
- "non-persistent://tg/request/prompt-rag" - "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue" - "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response" - "non-persistent://tg/response/prompt-rag-response"
- "--entity-limit"
- "50"
- "--triple-limit"
- "30"
- "--max-subgraph-size"
- "3000"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.8" "image": "docker.io/trustgraph/trustgraph-flow:0.6.8"
"restart": "on-failure:100" "restart": "on-failure:100"
"init-pulsar": "init-pulsar":

View file

@ -20,9 +20,13 @@ local url = import "url.jsonnet";
chunker: base + { chunker: base + {
image: images.trustgraph, image: images.trustgraph,
command: [ command: [
"chunker-recursive", "${CHUNKER:-chunker-token}",
"-p", "-p",
url.pulsar, url.pulsar,
"--chunk-size",
"250",
"--chunk-overlap",
"15",
], ],
}, },
@ -41,8 +45,8 @@ local url = import "url.jsonnet";
"embeddings-hf", "embeddings-hf",
"-p", "-p",
url.pulsar, url.pulsar,
// "-m", "-m",
// "mixedbread-ai/mxbai-embed-large-v1", "all-MiniLM-L6-v2",
], ],
}, },
@ -74,6 +78,12 @@ local url = import "url.jsonnet";
"non-persistent://tg/request/prompt-rag", "non-persistent://tg/request/prompt-rag",
"--prompt-response-queue", "--prompt-response-queue",
"non-persistent://tg/response/prompt-rag-response", "non-persistent://tg/response/prompt-rag-response",
"--entity-limit",
"50",
"--triple-limit",
"30",
"--max-subgraph-size",
"3000",
], ],
}, },