Add Neo4j support (#9)

- Add triples-write-neo4j and triples-query-neo4j to interact with neo4j
- Add docker-compose-openai-neo4j to demo Neo4j working
This commit is contained in:
cybermaggedon 2024-08-14 09:06:33 +01:00 committed by GitHub
parent 2f72fceaa2
commit d3e213f194
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 1008 additions and 230 deletions

View file

@ -15,14 +15,14 @@
- "1000"
- "--chunk-overlap"
- "50"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"embeddings":
"command":
- "embeddings-hf"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"etcd":
"command":
@ -64,7 +64,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.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -81,14 +81,14 @@
- "kg-extract-definitions"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
- "kg-extract-relationships"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"milvus":
"command":
@ -126,7 +126,7 @@
- "pdf-decoder"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"prometheus":
"image": "docker.io/prom/prometheus:v2.53.1"
@ -145,7 +145,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.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -160,7 +160,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.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -187,7 +187,7 @@
- "pulsar://pulsar:6650"
- "-t"
- "http://milvus:19530"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"query-triples":
"command":
@ -196,7 +196,7 @@
- "pulsar://pulsar:6650"
- "-g"
- "cassandra"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -205,7 +205,7 @@
- "pulsar://pulsar:6650"
- "-t"
- "http://milvus:19530"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"store-triples":
"command":
@ -214,7 +214,7 @@
- "pulsar://pulsar:6650"
- "-g"
- "cassandra"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"text-completion":
"command":
@ -223,7 +223,7 @@
- "pulsar://pulsar:6650"
- "-k"
- "${COHERE_KEY}"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -236,14 +236,14 @@
- "non-persistent://tg/request/text-completion-rag"
- "-o"
- "non-persistent://tg/response/text-completion-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"vectorize":
"command":
- "embeddings-vectorize"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"volumes":
"cassandra": {}