mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Updated templates
This commit is contained in:
parent
d6cacd3fb7
commit
2c8dd0bd39
34 changed files with 6170 additions and 562 deletions
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue