Catch JSON parse errors in prompt processor

This commit is contained in:
Cyber MacGeddon 2024-08-20 20:51:32 +01:00
parent 20f983eec9
commit ba056b93ed
12 changed files with 151 additions and 145 deletions

View file

@ -11,14 +11,14 @@
- "chunker-recursive"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"embeddings":
"command":
- "embeddings-hf"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"etcd":
"command":
@ -60,7 +60,7 @@
- "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -77,14 +77,14 @@
- "kg-extract-definitions"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
- "kg-extract-relationships"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"milvus":
"command":
@ -122,7 +122,7 @@
- "pdf-decoder"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"prometheus":
"image": "docker.io/prom/prometheus:v2.53.1"
@ -141,7 +141,7 @@
- "non-persistent://tg/request/text-completion"
- "--text-completion-response-queue"
- "non-persistent://tg/response/text-completion-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -156,7 +156,7 @@
- "non-persistent://tg/request/text-completion-rag"
- "--text-completion-response-queue"
- "non-persistent://tg/response/text-completion-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -183,7 +183,7 @@
- "pulsar://pulsar:6650"
- "-t"
- "http://milvus:19530"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"query-triples":
"command":
@ -192,7 +192,7 @@
- "pulsar://pulsar:6650"
- "-g"
- "cassandra"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -201,7 +201,7 @@
- "pulsar://pulsar:6650"
- "-t"
- "http://milvus:19530"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"store-triples":
"command":
@ -210,7 +210,7 @@
- "pulsar://pulsar:6650"
- "-g"
- "cassandra"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"text-completion":
"command":
@ -221,7 +221,7 @@
- "/vertexai/private.json"
- "-r"
- "us-west1"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"volumes":
- "./vertexai:/vertexai"
@ -238,7 +238,7 @@
- "non-persistent://tg/request/text-completion-rag"
- "-o"
- "non-persistent://tg/response/text-completion-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"volumes":
- "./vertexai:/vertexai"
@ -247,7 +247,7 @@
- "embeddings-vectorize"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.4"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.5"
"restart": "on-failure:100"
"volumes":
"cassandra": {}