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