Updated templates

This commit is contained in:
Cyber MacGeddon 2024-09-28 11:54:00 +01:00
parent d6cacd3fb7
commit 2c8dd0bd39
34 changed files with 6170 additions and 562 deletions

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -262,6 +277,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -339,7 +365,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -429,6 +455,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -506,7 +543,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -560,7 +597,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -577,7 +614,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -594,7 +631,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -611,7 +648,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -628,7 +665,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -645,7 +682,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -668,7 +705,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -695,7 +732,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -710,7 +747,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -263,6 +278,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -340,7 +366,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -430,6 +456,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -507,7 +544,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -561,7 +598,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -578,7 +615,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -595,7 +632,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -612,7 +649,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -629,7 +666,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -646,7 +683,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -669,7 +706,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -696,7 +733,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -711,7 +748,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -262,6 +277,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -339,7 +365,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -429,6 +455,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -506,7 +543,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -560,7 +597,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -577,7 +614,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -594,7 +631,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -611,7 +648,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -628,7 +665,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -645,7 +682,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -672,7 +709,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -703,7 +740,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -718,7 +755,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -263,6 +278,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -340,7 +366,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -430,6 +456,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -507,7 +544,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -561,7 +598,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -578,7 +615,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -595,7 +632,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -612,7 +649,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -629,7 +666,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -646,7 +683,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -673,7 +710,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -704,7 +741,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -719,7 +756,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -262,6 +277,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -339,7 +365,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -429,6 +455,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -506,7 +543,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -560,7 +597,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -577,7 +614,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -594,7 +631,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -611,7 +648,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -628,7 +665,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -645,7 +682,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -666,7 +703,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -691,7 +728,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -706,7 +743,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -263,6 +278,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -340,7 +366,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -430,6 +456,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -507,7 +544,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -561,7 +598,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -578,7 +615,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -595,7 +632,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -612,7 +649,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -629,7 +666,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -646,7 +683,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -667,7 +704,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -692,7 +729,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -707,7 +744,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -262,6 +277,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -339,7 +365,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -429,6 +455,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -506,7 +543,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -560,7 +597,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -577,7 +614,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -594,7 +631,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -611,7 +648,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -628,7 +665,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -645,7 +682,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -664,7 +701,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -687,7 +724,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -702,7 +739,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -263,6 +278,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -340,7 +366,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -430,6 +456,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -507,7 +544,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -561,7 +598,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -578,7 +615,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -595,7 +632,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -612,7 +649,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -629,7 +666,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -646,7 +683,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -665,7 +702,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -688,7 +725,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -703,7 +740,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -0,0 +1,440 @@
services:
cassandra:
deploy:
resources:
limits:
cpus: '1.0'
memory: 800M
reservations:
cpus: '0.5'
memory: 800M
environment:
JVM_OPTS: -Xms256M -Xmx256M
image: docker.io/cassandra:4.1.6
ports:
- 9042:9042
restart: on-failure:100
volumes:
- cassandra:/var/lib/cassandra
chunker:
command:
- chunker-token
- -p
- pulsar://pulsar:6650
- --chunk-size
- '250'
- --chunk-overlap
- '15'
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
- embeddings-hf
- -p
- pulsar://pulsar:6650
- -m
- all-MiniLM-L6-v2
deploy:
resources:
limits:
cpus: '1.0'
memory: 400M
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
resources:
limits:
cpus: '1.0'
memory: 256M
reservations:
cpus: '0.5'
memory: 256M
environment:
GF_ORG_NAME: trustgraph.ai
image: docker.io/grafana/grafana:11.1.4
ports:
- 3000:3000
restart: on-failure:100
volumes:
- grafana-storage:/var/lib/grafana
- ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/
- ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/
- ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/
graph-rag:
command:
- graph-rag
- -p
- pulsar://pulsar:6650
- --prompt-request-queue
- non-persistent://tg/request/prompt-rag
- --prompt-response-queue
- non-persistent://tg/response/prompt-rag-response
- --entity-limit
- '50'
- --triple-limit
- '30'
- --max-subgraph-size
- '3000'
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
- sh
- -c
- while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg
; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin
--admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url
http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url
http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response;
sleep 20; done
deploy:
resources:
limits:
cpus: '1'
memory: 400M
reservations:
cpus: '0.1'
memory: 400M
image: docker.io/apachepulsar/pulsar:3.3.1
restart: on-failure:100
kg-extract-definitions:
command:
- kg-extract-definitions
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
- kg-extract-relationships
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
- pdf-decoder
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/prom/prometheus:v2.53.2
ports:
- 9090:9090
restart: on-failure:100
volumes:
- ${CONFIGDIR}/prometheus:/etc/prometheus/
- prometheus-data:/prometheus
prompt:
command:
- prompt-generic
- -p
- pulsar://pulsar:6650
- --text-completion-request-queue
- non-persistent://tg/request/text-completion
- --text-completion-response-queue
- non-persistent://tg/response/text-completion-response
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
- prompt-generic
- -p
- pulsar://pulsar:6650
- -i
- non-persistent://tg/request/prompt-rag
- -o
- non-persistent://tg/response/prompt-rag-response
- --text-completion-request-queue
- non-persistent://tg/request/text-completion-rag
- --text-completion-response-queue
- non-persistent://tg/response/text-completion-rag-response
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
- bin/pulsar
- standalone
deploy:
resources:
limits:
cpus: '2.0'
memory: 1500M
reservations:
cpus: '1.0'
memory: 1500M
environment:
PULSAR_MEM: -Xms600M -Xmx600M
image: docker.io/apachepulsar/pulsar:3.3.1
ports:
- 6650:6650
- 8080:8080
restart: on-failure:100
volumes:
- pulsar-data:/pulsar/data
qdrant:
deploy:
resources:
limits:
cpus: '1.0'
memory: 256M
reservations:
cpus: '0.5'
memory: 256M
image: docker.io/qdrant/qdrant:v1.11.1
ports:
- 6333:6333
- 6334:6334
restart: on-failure:100
volumes:
- qdrant:/qdrant/storage
query-doc-embeddings:
command:
- de-query-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
- ge-query-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
- triples-query-cassandra
- -p
- pulsar://pulsar:6650
- -g
- cassandra
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
- de-write-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
- ge-write-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
- triples-write-cassandra
- -p
- pulsar://pulsar:6650
- -g
- cassandra
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
- text-completion-llamafile
- -p
- pulsar://pulsar:6650
- -m
- LLaMA_CPP
- -r
- ${LLAMAFILE_URL}
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
- text-completion-llamafile
- -p
- pulsar://pulsar:6650
- -m
- LLaMA_CPP
- -r
- ${LLAMAFILE_URL}
- -i
- non-persistent://tg/request/text-completion-rag
- -o
- non-persistent://tg/response/text-completion-rag-response
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
- embeddings-vectorize
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}
grafana-storage: {}
prometheus-data: {}
pulsar-data: {}
qdrant: {}

View file

@ -0,0 +1,441 @@
services:
chunker:
command:
- chunker-token
- -p
- pulsar://pulsar:6650
- --chunk-size
- '250'
- --chunk-overlap
- '15'
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
- embeddings-hf
- -p
- pulsar://pulsar:6650
- -m
- all-MiniLM-L6-v2
deploy:
resources:
limits:
cpus: '1.0'
memory: 400M
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
resources:
limits:
cpus: '1.0'
memory: 256M
reservations:
cpus: '0.5'
memory: 256M
environment:
GF_ORG_NAME: trustgraph.ai
image: docker.io/grafana/grafana:11.1.4
ports:
- 3000:3000
restart: on-failure:100
volumes:
- grafana-storage:/var/lib/grafana
- ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/dashboards/
- ${CONFIGDIR}/grafana/provisioning/:/etc/grafana/provisioning/datasources/
- ${CONFIGDIR}/grafana/dashboards/:/var/lib/grafana/dashboards/
graph-rag:
command:
- graph-rag
- -p
- pulsar://pulsar:6650
- --prompt-request-queue
- non-persistent://tg/request/prompt-rag
- --prompt-response-queue
- non-persistent://tg/response/prompt-rag-response
- --entity-limit
- '50'
- --triple-limit
- '30'
- --max-subgraph-size
- '3000'
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
- sh
- -c
- while true; do pulsar-admin --admin-url http://pulsar:8080 tenants create tg
; pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow ; pulsar-admin
--admin-url http://pulsar:8080 namespaces create tg/request ; pulsar-admin --admin-url
http://pulsar:8080 namespaces create tg/response ; pulsar-admin --admin-url
http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response;
sleep 20; done
deploy:
resources:
limits:
cpus: '1'
memory: 400M
reservations:
cpus: '0.1'
memory: 400M
image: docker.io/apachepulsar/pulsar:3.3.1
restart: on-failure:100
kg-extract-definitions:
command:
- kg-extract-definitions
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
- kg-extract-relationships
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
resources:
limits:
cpus: '1.0'
memory: 768M
reservations:
cpus: '0.5'
memory: 768M
environment:
NEO4J_AUTH: neo4j/password
image: docker.io/neo4j:5.22.0-community-bullseye
ports:
- 7474:7474
- 7687:7687
restart: on-failure:100
volumes:
- neo4j:/data
pdf-decoder:
command:
- pdf-decoder
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/prom/prometheus:v2.53.2
ports:
- 9090:9090
restart: on-failure:100
volumes:
- ${CONFIGDIR}/prometheus:/etc/prometheus/
- prometheus-data:/prometheus
prompt:
command:
- prompt-generic
- -p
- pulsar://pulsar:6650
- --text-completion-request-queue
- non-persistent://tg/request/text-completion
- --text-completion-response-queue
- non-persistent://tg/response/text-completion-response
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
- prompt-generic
- -p
- pulsar://pulsar:6650
- -i
- non-persistent://tg/request/prompt-rag
- -o
- non-persistent://tg/response/prompt-rag-response
- --text-completion-request-queue
- non-persistent://tg/request/text-completion-rag
- --text-completion-response-queue
- non-persistent://tg/response/text-completion-rag-response
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
- bin/pulsar
- standalone
deploy:
resources:
limits:
cpus: '2.0'
memory: 1500M
reservations:
cpus: '1.0'
memory: 1500M
environment:
PULSAR_MEM: -Xms600M -Xmx600M
image: docker.io/apachepulsar/pulsar:3.3.1
ports:
- 6650:6650
- 8080:8080
restart: on-failure:100
volumes:
- pulsar-data:/pulsar/data
qdrant:
deploy:
resources:
limits:
cpus: '1.0'
memory: 256M
reservations:
cpus: '0.5'
memory: 256M
image: docker.io/qdrant/qdrant:v1.11.1
ports:
- 6333:6333
- 6334:6334
restart: on-failure:100
volumes:
- qdrant:/qdrant/storage
query-doc-embeddings:
command:
- de-query-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
- ge-query-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
- triples-query-neo4j
- -p
- pulsar://pulsar:6650
- -g
- bolt://neo4j:7687
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
- de-write-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
- ge-write-qdrant
- -p
- pulsar://pulsar:6650
- -t
- http://qdrant:6333
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
- triples-write-neo4j
- -p
- pulsar://pulsar:6650
- -g
- bolt://neo4j:7687
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
- text-completion-llamafile
- -p
- pulsar://pulsar:6650
- -m
- LLaMA_CPP
- -r
- ${LLAMAFILE_URL}
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
- text-completion-llamafile
- -p
- pulsar://pulsar:6650
- -m
- LLaMA_CPP
- -r
- ${LLAMAFILE_URL}
- -i
- non-persistent://tg/request/text-completion-rag
- -o
- non-persistent://tg/response/text-completion-rag-response
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
- embeddings-vectorize
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}
neo4j: {}
prometheus-data: {}
pulsar-data: {}
qdrant: {}

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -195,7 +210,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -218,7 +233,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -272,7 +287,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -289,7 +304,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -306,7 +321,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -323,7 +338,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -340,7 +355,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -357,7 +372,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -376,7 +391,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -399,7 +414,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -414,7 +429,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -196,7 +211,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -219,7 +234,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -273,7 +288,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -290,7 +305,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -307,7 +322,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -324,7 +339,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -341,7 +356,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -358,7 +373,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -377,7 +392,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -400,7 +415,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -415,7 +430,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -262,6 +277,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -339,7 +365,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -429,6 +455,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -506,7 +543,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -560,7 +597,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -577,7 +614,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -594,7 +631,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -611,7 +648,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -628,7 +665,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -645,7 +682,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -668,7 +705,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -695,7 +732,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -710,7 +747,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -263,6 +278,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -340,7 +366,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -430,6 +456,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -507,7 +544,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -561,7 +598,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -578,7 +615,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -595,7 +632,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -612,7 +649,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -629,7 +666,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -646,7 +683,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -669,7 +706,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion-rag:
command:
@ -696,7 +733,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
vectorize:
command:
@ -711,7 +748,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -50,7 +50,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -95,7 +95,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -130,7 +130,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -145,7 +145,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pdf-decoder:
command:
@ -160,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -262,6 +277,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -339,7 +365,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -429,6 +455,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -506,7 +543,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -560,7 +597,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -577,7 +614,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -594,7 +631,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -611,7 +648,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -628,7 +665,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -645,7 +682,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -670,7 +707,7 @@ services:
reservations:
cpus: '0.1'
memory: 256M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
- ${CONFIGDIR}/./vertexai:/vertexai
@ -701,7 +738,7 @@ services:
reservations:
cpus: '0.1'
memory: 256M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
- ${CONFIGDIR}/./vertexai:/vertexai
@ -718,7 +755,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -16,7 +16,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
embeddings:
command:
@ -33,7 +33,7 @@ services:
reservations:
cpus: '0.5'
memory: 400M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
grafana:
deploy:
@ -78,7 +78,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
init-pulsar:
command:
@ -113,7 +113,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-relationships:
command:
@ -128,7 +128,22 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
kg-extract-topics:
command:
- kg-extract-topics
- -p
- pulsar://pulsar:6650
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
neo4j:
deploy:
@ -161,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prometheus:
deploy:
@ -263,6 +278,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -340,7 +366,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
prompt-rag:
command:
@ -430,6 +456,17 @@ services:
or headers or prefixes.
</requirements>'
- --topic-template
- "You are a helpful assistant that performs information extraction tasks for\
\ a provided text.\nRead the provided text. You will identify topics and their\
\ definitions in JSON.\n\nReading Instructions:\n- Ignore document formatting\
\ in the provided text.\n- Study the provided text carefully.\n\nHere is the\
\ text:\n{text}\n\nResponse Instructions: \n- Do not respond with special characters.\n\
- Return only topics that are concepts and unique to the provided text.\n- Respond\
\ only with well-formed JSON.\n- The JSON response shall be an array of objects\
\ with keys \"topic\" and \"definition\". \n- The JSON response shall use the\
\ following structure:\n\n```json\n[{{\"topic\": string, \"definition\": string}}]\n\
```\n\n- Do not write any additional text or explanations."
- --knowledge-query-template
- 'Study the following set of knowledge statements. The statements are written
in Cypher format that has been extracted from a knowledge graph. Use only the
@ -507,7 +544,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
pulsar:
command:
@ -561,7 +598,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -578,7 +615,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -595,7 +632,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -612,7 +649,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -629,7 +666,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -646,7 +683,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
text-completion:
command:
@ -671,7 +708,7 @@ services:
reservations:
cpus: '0.1'
memory: 256M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
- ${CONFIGDIR}/./vertexai:/vertexai
@ -702,7 +739,7 @@ services:
reservations:
cpus: '0.1'
memory: 256M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
- ${CONFIGDIR}/./vertexai:/vertexai
@ -719,7 +756,7 @@ services:
reservations:
cpus: '0.5'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}

View file

@ -124,7 +124,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -141,7 +141,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -158,7 +158,7 @@ services:
reservations:
cpus: '0.1'
memory: 512M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -175,7 +175,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -192,7 +192,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -209,7 +209,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
cassandra: {}

View file

@ -125,7 +125,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-graph-embeddings:
command:
@ -142,7 +142,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
query-triples:
command:
@ -159,7 +159,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-doc-embeddings:
command:
@ -176,7 +176,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-graph-embeddings:
command:
@ -193,7 +193,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
store-triples:
command:
@ -210,7 +210,7 @@ services:
reservations:
cpus: '0.1'
memory: 128M
image: docker.io/trustgraph/trustgraph-flow:0.10.0
image: docker.io/trustgraph/trustgraph-flow:0.10.1
restart: on-failure:100
volumes:
grafana-storage: {}