mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-05 11:22:11 +02:00
Simplify templates (#10)
- Add component template files for all LLM types - Top-level templates simplified to use just components - Version to 0.6.2
This commit is contained in:
parent
d3e213f194
commit
fa0b89b5d4
30 changed files with 502 additions and 520 deletions
4
Makefile
4
Makefile
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
# VERSION=$(shell git describe | sed 's/^v//')
|
# VERSION=$(shell git describe | sed 's/^v//')
|
||||||
VERSION=0.6.1
|
VERSION=0.6.2
|
||||||
|
|
||||||
DOCKER=podman
|
DOCKER=podman
|
||||||
|
|
||||||
|
|
@ -38,6 +38,6 @@ DCS=$(foreach template,${TEMPLATES},${template:%=docker-compose-%.yaml})
|
||||||
|
|
||||||
update-templates: set-version ${DCS}
|
update-templates: set-version ${DCS}
|
||||||
|
|
||||||
docker-compose-%.yaml: templates/docker-compose-%.jsonnet templates/version.jsonnet
|
docker-compose-%.yaml: templates/docker-compose-%.jsonnet templates/components/version.jsonnet
|
||||||
jsonnet -S ${@:docker-compose-%.yaml=templates/docker-compose-%.jsonnet} > $@
|
jsonnet -S ${@:docker-compose-%.yaml=templates/docker-compose-%.jsonnet} > $@
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -77,14 +77,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
- "${AZURE_TOKEN}"
|
- "${AZURE_TOKEN}"
|
||||||
- "-e"
|
- "-e"
|
||||||
- "${AZURE_ENDPOINT}"
|
- "${AZURE_ENDPOINT}"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -236,14 +236,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -15,14 +15,14 @@
|
||||||
- "2000"
|
- "2000"
|
||||||
- "--chunk-overlap"
|
- "--chunk-overlap"
|
||||||
- "100"
|
- "100"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -81,14 +81,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -145,7 +145,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -160,7 +160,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -187,7 +187,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -205,7 +205,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -214,7 +214,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -227,7 +227,7 @@
|
||||||
- "${AWS_SECRET_KEY}"
|
- "${AWS_SECRET_KEY}"
|
||||||
- "-r"
|
- "-r"
|
||||||
- "us-west-2"
|
- "us-west-2"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -244,14 +244,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -77,14 +77,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -219,7 +219,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-k"
|
- "-k"
|
||||||
- "${CLAUDE_KEY}"
|
- "${CLAUDE_KEY}"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -232,14 +232,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -15,14 +15,14 @@
|
||||||
- "1000"
|
- "1000"
|
||||||
- "--chunk-overlap"
|
- "--chunk-overlap"
|
||||||
- "50"
|
- "50"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -81,14 +81,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -145,7 +145,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -160,7 +160,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -187,7 +187,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -205,7 +205,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -214,7 +214,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -223,7 +223,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-k"
|
- "-k"
|
||||||
- "${COHERE_KEY}"
|
- "${COHERE_KEY}"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -236,14 +236,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -15,14 +15,14 @@
|
||||||
- "4000"
|
- "4000"
|
||||||
- "--chunk-overlap"
|
- "--chunk-overlap"
|
||||||
- "120"
|
- "120"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -81,14 +81,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -145,7 +145,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -160,7 +160,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -187,7 +187,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -205,7 +205,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -214,7 +214,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -225,7 +225,7 @@
|
||||||
- "${COHERE_KEY}"
|
- "${COHERE_KEY}"
|
||||||
- "-m"
|
- "-m"
|
||||||
- "c4ai-aya-23-35b"
|
- "c4ai-aya-23-35b"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -240,14 +240,14 @@
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
- "-m"
|
- "-m"
|
||||||
- "c4ai-aya-23-8b"
|
- "c4ai-aya-23-8b"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -77,14 +77,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -219,7 +219,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-r"
|
- "-r"
|
||||||
- "${OLLAMA_HOST}"
|
- "${OLLAMA_HOST}"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -232,14 +232,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -70,14 +70,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -125,7 +125,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -144,7 +144,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -159,7 +159,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -186,7 +186,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "bolt://neo4j:7687"
|
- "bolt://neo4j:7687"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -204,7 +204,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -213,7 +213,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "bolt://neo4j:7687"
|
- "bolt://neo4j:7687"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -222,7 +222,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-k"
|
- "-k"
|
||||||
- "${OPENAI_KEY}"
|
- "${OPENAI_KEY}"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -235,14 +235,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"etcd": {}
|
"etcd": {}
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -77,14 +77,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -219,7 +219,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-k"
|
- "-k"
|
||||||
- "${OPENAI_KEY}"
|
- "${OPENAI_KEY}"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion-rag":
|
"text-completion-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -232,14 +232,14 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"vectorize":
|
"vectorize":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"embeddings":
|
"embeddings":
|
||||||
"command":
|
"command":
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"etcd":
|
"etcd":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
- "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"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"init-pulsar":
|
"init-pulsar":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -77,14 +77,14 @@
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"kg-extract-relationships":
|
"kg-extract-relationships":
|
||||||
"command":
|
"command":
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"milvus":
|
"milvus":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prometheus":
|
"prometheus":
|
||||||
"image": "docker.io/prom/prometheus:v2.53.1"
|
"image": "docker.io/prom/prometheus:v2.53.1"
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
- "non-persistent://tg/request/text-completion"
|
- "non-persistent://tg/request/text-completion"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-response"
|
- "non-persistent://tg/response/text-completion-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"prompt-rag":
|
"prompt-rag":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "--text-completion-response-queue"
|
- "--text-completion-response-queue"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"pulsar":
|
"pulsar":
|
||||||
"command": "bin/pulsar standalone"
|
"command": "bin/pulsar standalone"
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"query-triples":
|
"query-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-graph-embeddings":
|
"store-graph-embeddings":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-t"
|
- "-t"
|
||||||
- "http://milvus:19530"
|
- "http://milvus:19530"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"store-triples":
|
"store-triples":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
- "-g"
|
- "-g"
|
||||||
- "cassandra"
|
- "cassandra"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"text-completion":
|
"text-completion":
|
||||||
"command":
|
"command":
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
- "/vertexai/private.json"
|
- "/vertexai/private.json"
|
||||||
- "-r"
|
- "-r"
|
||||||
- "us-west1"
|
- "us-west1"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
- "./vertexai:/vertexai"
|
- "./vertexai:/vertexai"
|
||||||
|
|
@ -238,7 +238,7 @@
|
||||||
- "non-persistent://tg/request/text-completion-rag"
|
- "non-persistent://tg/request/text-completion-rag"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "non-persistent://tg/response/text-completion-rag-response"
|
- "non-persistent://tg/response/text-completion-rag-response"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
- "./vertexai:/vertexai"
|
- "./vertexai:/vertexai"
|
||||||
|
|
@ -247,7 +247,7 @@
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
- "pulsar://pulsar:6650"
|
- "pulsar://pulsar:6650"
|
||||||
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
|
"image": "docker.io/trustgraph/trustgraph-flow:0.6.2"
|
||||||
"restart": "on-failure:100"
|
"restart": "on-failure:100"
|
||||||
"volumes":
|
"volumes":
|
||||||
"cassandra": {}
|
"cassandra": {}
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -4,7 +4,7 @@ import os
|
||||||
with open("README.md", "r") as fh:
|
with open("README.md", "r") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
version = "0.6.1"
|
version = "0.6.2"
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="trustgraph",
|
name="trustgraph",
|
||||||
|
|
|
||||||
38
templates/components/azure.jsonnet
Normal file
38
templates/components/azure.jsonnet
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-azure",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${AZURE_TOKEN}",
|
||||||
|
"-e",
|
||||||
|
"${AZURE_ENDPOINT}",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-azure",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${AZURE_TOKEN}",
|
||||||
|
"-e",
|
||||||
|
"${AZURE_ENDPOINT}",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
57
templates/components/bedrock.jsonnet
Normal file
57
templates/components/bedrock.jsonnet
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
chunker: base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"chunker-recursive",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"--chunk-size",
|
||||||
|
"2000",
|
||||||
|
"--chunk-overlap",
|
||||||
|
"100",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-bedrock",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-z",
|
||||||
|
"${AWS_ID_KEY}",
|
||||||
|
"-k",
|
||||||
|
"${AWS_SECRET_KEY}",
|
||||||
|
"-r",
|
||||||
|
"us-west-2",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-bedrock",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
// "-m",
|
||||||
|
// "mistral.mistral-large-2407-v1:0",
|
||||||
|
"-z",
|
||||||
|
"${AWS_ID_KEY}",
|
||||||
|
"-k",
|
||||||
|
"${AWS_SECRET_KEY}",
|
||||||
|
"-r",
|
||||||
|
"us-west-2",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
local base = import "base.jsonnet";
|
local base = import "base.jsonnet";
|
||||||
local images = import "images.jsonnet";
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
local cassandra_hosts = "cassandra";
|
||||||
{
|
{
|
||||||
volumes +: {
|
volumes +: {
|
||||||
cassandra: {},
|
cassandra: {},
|
||||||
},
|
},
|
||||||
services +: {
|
services +: {
|
||||||
|
|
||||||
cassandra: base + {
|
cassandra: base + {
|
||||||
image: images.cassandra,
|
image: images.cassandra,
|
||||||
ports: [
|
ports: [
|
||||||
|
|
@ -13,6 +16,29 @@ local images = import "images.jsonnet";
|
||||||
volumes: [
|
volumes: [
|
||||||
"cassandra:/var/lib/cassandra"
|
"cassandra:/var/lib/cassandra"
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
|
|
||||||
|
"store-triples": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"triples-write-cassandra",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-g",
|
||||||
|
cassandra_hosts,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"query-triples": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"triples-query-cassandra",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-g",
|
||||||
|
cassandra_hosts,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
34
templates/components/claude.jsonnet
Normal file
34
templates/components/claude.jsonnet
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-claude",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${CLAUDE_KEY}",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-claude",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${CLAUDE_KEY}",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
47
templates/components/cohere.jsonnet
Normal file
47
templates/components/cohere.jsonnet
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
chunker: base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"chunker-recursive",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"--chunk-size",
|
||||||
|
"1000",
|
||||||
|
"--chunk-overlap",
|
||||||
|
"50",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-cohere",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${COHERE_KEY}",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-cohere",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${COHERE_KEY}",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,10 +1,14 @@
|
||||||
local base = import "base.jsonnet";
|
local base = import "base.jsonnet";
|
||||||
local images = import "images.jsonnet";
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
{
|
{
|
||||||
|
|
||||||
volumes +: {
|
volumes +: {
|
||||||
neo4j: {},
|
neo4j: {},
|
||||||
},
|
},
|
||||||
|
|
||||||
services +: {
|
services +: {
|
||||||
|
|
||||||
neo4j: base + {
|
neo4j: base + {
|
||||||
image: images.neo4j,
|
image: images.neo4j,
|
||||||
ports: [
|
ports: [
|
||||||
|
|
@ -20,6 +24,30 @@ local images = import "images.jsonnet";
|
||||||
volumes: [
|
volumes: [
|
||||||
"neo4j:/data"
|
"neo4j:/data"
|
||||||
],
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"query-triples": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"triples-query-neo4j",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-g",
|
||||||
|
"bolt://neo4j:7687",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"store-triples": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"triples-write-neo4j",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-g",
|
||||||
|
"bolt://neo4j:7687",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
38
templates/components/ollama.jsonnet
Normal file
38
templates/components/ollama.jsonnet
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-ollama",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
// "-m",
|
||||||
|
// "llama3.1:8b",
|
||||||
|
"-r",
|
||||||
|
"${OLLAMA_HOST}",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-ollama",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
// "-m",
|
||||||
|
// "llama3.1:8b",
|
||||||
|
"-r",
|
||||||
|
"${OLLAMA_HOST}",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
34
templates/components/openai.jsonnet
Normal file
34
templates/components/openai.jsonnet
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-openai",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${OPENAI_KEY}",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-openai",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"${OPENAI_KEY}",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -5,8 +5,6 @@ local images = import "images.jsonnet";
|
||||||
|
|
||||||
local url = import "url.jsonnet";
|
local url = import "url.jsonnet";
|
||||||
|
|
||||||
local cassandra_hosts = "cassandra";
|
|
||||||
|
|
||||||
{
|
{
|
||||||
services +: {
|
services +: {
|
||||||
|
|
||||||
|
|
@ -88,28 +86,6 @@ local cassandra_hosts = "cassandra";
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
"store-triples": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"triples-write-cassandra",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-g",
|
|
||||||
cassandra_hosts,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"query-triples": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"triples-query-cassandra",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-g",
|
|
||||||
cassandra_hosts,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"graph-rag": base + {
|
"graph-rag": base + {
|
||||||
image: images.trustgraph,
|
image: images.trustgraph,
|
||||||
command: [
|
command: [
|
||||||
|
|
|
||||||
1
templates/components/version.jsonnet
Normal file
1
templates/components/version.jsonnet
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
"0.6.2"
|
||||||
44
templates/components/vertexai.jsonnet
Normal file
44
templates/components/vertexai.jsonnet
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
local base = import "base.jsonnet";
|
||||||
|
local images = import "images.jsonnet";
|
||||||
|
local url = import "url.jsonnet";
|
||||||
|
{
|
||||||
|
services +: {
|
||||||
|
|
||||||
|
"text-completion": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-vertexai",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"/vertexai/private.json",
|
||||||
|
"-r",
|
||||||
|
"us-west1",
|
||||||
|
],
|
||||||
|
volumes: [
|
||||||
|
"./vertexai:/vertexai"
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
"text-completion-rag": base + {
|
||||||
|
image: images.trustgraph,
|
||||||
|
command: [
|
||||||
|
"text-completion-vertexai",
|
||||||
|
"-p",
|
||||||
|
url.pulsar,
|
||||||
|
"-k",
|
||||||
|
"/vertexai/private.json",
|
||||||
|
"-r",
|
||||||
|
"us-west1",
|
||||||
|
"-i",
|
||||||
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
|
"-o",
|
||||||
|
"non-persistent://tg/response/text-completion-rag-response",
|
||||||
|
],
|
||||||
|
volumes: [
|
||||||
|
"./vertexai:/vertexai"
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,49 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local azure = import "components/azure.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + azure;
|
||||||
services +: {
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-azure",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${AZURE_TOKEN}",
|
|
||||||
"-e",
|
|
||||||
"${AZURE_ENDPOINT}",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-azure",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${AZURE_TOKEN}",
|
|
||||||
"-e",
|
|
||||||
"${AZURE_ENDPOINT}",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,68 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local bedrock = import "components/bedrock.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + bedrock;
|
||||||
services +: {
|
|
||||||
|
|
||||||
chunker: base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"chunker-recursive",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"--chunk-size",
|
|
||||||
"2000",
|
|
||||||
"--chunk-overlap",
|
|
||||||
"100",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-bedrock",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-z",
|
|
||||||
"${AWS_ID_KEY}",
|
|
||||||
"-k",
|
|
||||||
"${AWS_SECRET_KEY}",
|
|
||||||
"-r",
|
|
||||||
"us-west-2",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-bedrock",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
// "-m",
|
|
||||||
// "mistral.mistral-large-2407-v1:0",
|
|
||||||
"-z",
|
|
||||||
"${AWS_ID_KEY}",
|
|
||||||
"-k",
|
|
||||||
"${AWS_SECRET_KEY}",
|
|
||||||
"-r",
|
|
||||||
"us-west-2",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,45 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local claude = import "components/claude.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + claude;
|
||||||
services +: {
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-claude",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${CLAUDE_KEY}",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-claude",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${CLAUDE_KEY}",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,58 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local cohere = import "components/cohere.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + cohere;
|
||||||
services +: {
|
|
||||||
|
|
||||||
chunker: base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"chunker-recursive",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"--chunk-size",
|
|
||||||
"1000",
|
|
||||||
"--chunk-overlap",
|
|
||||||
"50",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-cohere",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${COHERE_KEY}",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-cohere",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${COHERE_KEY}",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,49 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local ollama = import "components/ollama.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + ollama;
|
||||||
services +: {
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-ollama",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
// "-m",
|
|
||||||
// "llama3.1:8b",
|
|
||||||
"-r",
|
|
||||||
"${OLLAMA_HOST}",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-ollama",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
// "-m",
|
|
||||||
// "llama3.1:8b",
|
|
||||||
"-r",
|
|
||||||
"${OLLAMA_HOST}",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,68 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local neo4j = import "components/neo4j.jsonnet";
|
local neo4j = import "components/neo4j.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local openai = import "components/openai.jsonnet";
|
||||||
|
|
||||||
local config = neo4j + pulsar + milvus + grafana + trustgraph + {
|
local config = neo4j + pulsar + milvus + grafana + trustgraph + openai;
|
||||||
|
|
||||||
services: std.mergePatch(super.services, {
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-openai",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${OPENAI_KEY}",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-openai",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${OPENAI_KEY}",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"query-triples": {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"triples-query-neo4j",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-g",
|
|
||||||
"bolt://neo4j:7687",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"store-triples": {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"triples-write-neo4j",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-g",
|
|
||||||
"bolt://neo4j:7687",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
|
|
||||||
})
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,45 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local openai = import "components/openai.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + openai;
|
||||||
services +: {
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-openai",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${OPENAI_KEY}",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-openai",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"${OPENAI_KEY}",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,55 +1,12 @@
|
||||||
|
|
||||||
local base = import "components/base.jsonnet";
|
|
||||||
local url = import "components/url.jsonnet";
|
|
||||||
local images = import "components/images.jsonnet";
|
|
||||||
|
|
||||||
local cassandra = import "components/cassandra.jsonnet";
|
local cassandra = import "components/cassandra.jsonnet";
|
||||||
local pulsar = import "components/pulsar.jsonnet";
|
local pulsar = import "components/pulsar.jsonnet";
|
||||||
local milvus = import "components/milvus.jsonnet";
|
local milvus = import "components/milvus.jsonnet";
|
||||||
local grafana = import "components/grafana.jsonnet";
|
local grafana = import "components/grafana.jsonnet";
|
||||||
local trustgraph = import "components/trustgraph.jsonnet";
|
local trustgraph = import "components/trustgraph.jsonnet";
|
||||||
|
local vertexai = import "components/vertexai.jsonnet";
|
||||||
|
|
||||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
local config = cassandra + pulsar + milvus + grafana + trustgraph + vertexai;
|
||||||
services +: {
|
|
||||||
|
|
||||||
"text-completion": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-vertexai",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"/vertexai/private.json",
|
|
||||||
"-r",
|
|
||||||
"us-west1",
|
|
||||||
],
|
|
||||||
volumes: [
|
|
||||||
"./vertexai:/vertexai"
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
"text-completion-rag": base + {
|
|
||||||
image: images.trustgraph,
|
|
||||||
command: [
|
|
||||||
"text-completion-vertexai",
|
|
||||||
"-p",
|
|
||||||
url.pulsar,
|
|
||||||
"-k",
|
|
||||||
"/vertexai/private.json",
|
|
||||||
"-r",
|
|
||||||
"us-west1",
|
|
||||||
"-i",
|
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
|
||||||
"-o",
|
|
||||||
"non-persistent://tg/response/text-completion-rag-response",
|
|
||||||
],
|
|
||||||
volumes: [
|
|
||||||
"./vertexai:/vertexai"
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
std.manifestYamlDoc(config)
|
std.manifestYamlDoc(config)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue