Topic templates for extractor (#62)

* Add topic prompt to templates
* Bump version
* Updated templates
This commit is contained in:
cybermaggedon 2024-09-15 23:40:37 +01:00 committed by GitHub
parent 728ff7542a
commit 6af86fa09f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 549 additions and 252 deletions

View file

@ -1,6 +1,6 @@
# VERSION=$(shell git describe | sed 's/^v//')
VERSION=0.9.3
VERSION=0.9.4
DOCKER=podman

View file

@ -4,7 +4,7 @@ import os
with open("README.md", "r") as fh:
long_description = fh.read()
version = "0.9.3"
version = "0.9.4"
setuptools.setup(
name="trustgraph",

View file

@ -58,6 +58,31 @@ local url = import "values/url.jsonnet";
},
"kg-extract-topics" +: {
create:: function(engine)
local container =
engine.container("kg-extract-topics")
.with_image(images.trustgraph)
.with_command([
"kg-extract-topics",
"-p",
url.pulsar,
])
.with_limits("0.5", "128M")
.with_reservations("0.1", "128M");
local containerSet = engine.containers(
"kg-extract-topics", [ container ]
);
engine.resources([
containerSet,
])
},
"graph-rag" +: {
create:: function(engine)

View file

@ -25,6 +25,8 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
$["prompt-definition-template"],
"--relationship-template",
$["prompt-relationship-template"],
"--topic-template",
$["prompt-topic-template"],
"--knowledge-query-template",
$["prompt-knowledge-query-template"],
"--document-query-template",
@ -68,6 +70,8 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
$["prompt-definition-template"],
"--relationship-template",
$["prompt-relationship-template"],
"--topic-template",
$["prompt-topic-template"],
"--knowledge-query-template",
$["prompt-knowledge-query-template"],
"--document-query-template",

View file

@ -7,6 +7,8 @@
// "prompt-relationship-template":: "PROMPT GOES HERE",
// "prompt-topic-template":: "PROMPT GOES HERE",
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
// "prompt-document-query-template":: "PROMPT GOES HERE",

View file

@ -8,6 +8,8 @@
"prompt-relationship-template":: "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</requirements>",
"prompt-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.",
"prompt-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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.\n\nHere's the knowledge statements:\n{graph}\n\nUse only the provided knowledge statements to respond to the following:\n{query}\n",
"prompt-document-query-template":: "Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.\n\nHere is the context:\n{documents}\n\nUse only the provided knowledge statements to respond to the following:\n{query}\n",

View file

@ -6,6 +6,8 @@
// "prompt-relationship-template":: "PROMPT GOES HERE",
// "prompt-topic-template":: "PROMPT GOES HERE",
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
// "prompt-document-query-template":: "PROMPT GOES HERE",

View file

@ -7,6 +7,8 @@
// "prompt-relationship-template":: "PROMPT GOES HERE",
// "prompt-topic-template":: "PROMPT GOES HERE",
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
// "prompt-document-query-template":: "PROMPT GOES HERE",

View file

@ -11,6 +11,8 @@ local url = import "values/url.jsonnet";
// "prompt-relationship-template":: "PROMPT GOES HERE",
// "prompt-topic-template":: "PROMPT GOES HERE",
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
// "prompt-document-query-template":: "PROMPT GOES HERE",

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -186,6 +201,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -214,7 +231,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -233,6 +250,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -261,7 +280,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -314,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -331,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -348,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -365,7 +384,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -382,7 +401,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -399,7 +418,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -422,7 +441,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -449,7 +468,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -464,7 +483,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -187,6 +202,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -215,7 +232,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -234,6 +251,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -262,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -315,7 +334,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -332,7 +351,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -349,7 +368,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -366,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -383,7 +402,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -400,7 +419,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -423,7 +442,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -450,7 +469,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -465,7 +484,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -186,6 +201,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -214,7 +231,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -233,6 +250,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -261,7 +280,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -314,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -331,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -348,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -365,7 +384,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -382,7 +401,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -399,7 +418,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -426,7 +445,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -457,7 +476,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -472,7 +491,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -187,6 +202,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -215,7 +232,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -234,6 +251,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -262,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -315,7 +334,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -332,7 +351,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -349,7 +368,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -366,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -383,7 +402,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -400,7 +419,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -427,7 +446,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -458,7 +477,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -473,7 +492,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -186,6 +201,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -214,7 +231,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -233,6 +250,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -261,7 +280,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -314,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -331,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -348,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -365,7 +384,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -382,7 +401,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -399,7 +418,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -420,7 +439,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -445,7 +464,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -460,7 +479,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -187,6 +202,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -215,7 +232,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -234,6 +251,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -262,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -315,7 +334,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -332,7 +351,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -349,7 +368,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -366,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -383,7 +402,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -400,7 +419,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -421,7 +440,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -446,7 +465,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -461,7 +480,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -186,6 +201,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -214,7 +231,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -233,6 +250,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -261,7 +280,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -314,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -331,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -348,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -365,7 +384,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -382,7 +401,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -399,7 +418,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -418,7 +437,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -441,7 +460,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -456,7 +475,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -187,6 +202,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -215,7 +232,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -234,6 +251,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -262,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -315,7 +334,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -332,7 +351,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -349,7 +368,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -366,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -383,7 +402,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -400,7 +419,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -419,7 +438,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -442,7 +461,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -457,7 +476,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -190,7 +205,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -213,7 +228,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -266,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -283,7 +298,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -300,7 +315,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -317,7 +332,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -334,7 +349,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -351,7 +366,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -370,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -393,7 +408,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -408,7 +423,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -191,7 +206,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -214,7 +229,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -267,7 +282,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -284,7 +299,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -301,7 +316,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -318,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -335,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -352,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -371,7 +386,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -394,7 +409,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -409,7 +424,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -186,6 +201,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -214,7 +231,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -233,6 +250,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -261,7 +280,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -314,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -331,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -348,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -365,7 +384,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -382,7 +401,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -399,7 +418,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -422,7 +441,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -449,7 +468,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -464,7 +483,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -187,6 +202,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -215,7 +232,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -234,6 +251,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -262,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -315,7 +334,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -332,7 +351,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -349,7 +368,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -366,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -383,7 +402,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -400,7 +419,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -423,7 +442,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -450,7 +469,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"vectorize":
"command":
@ -465,7 +484,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -33,7 +33,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -50,7 +50,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -95,7 +95,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -125,7 +125,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -140,7 +140,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"pdf-decoder":
"command":
@ -155,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -186,6 +201,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -214,7 +231,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -233,6 +250,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -261,7 +280,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -314,7 +333,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -331,7 +350,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -348,7 +367,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -365,7 +384,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -382,7 +401,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -399,7 +418,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -424,7 +443,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
- "./vertexai:/vertexai"
@ -455,7 +474,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
- "./vertexai:/vertexai"
@ -472,7 +491,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -16,7 +16,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"embeddings":
"command":
@ -33,7 +33,7 @@
"reservations":
"cpus": "0.5"
"memory": "256M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"grafana":
"deploy":
@ -78,7 +78,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -108,7 +108,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
@ -123,7 +123,22 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"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.9.4"
"restart": "on-failure:100"
"neo4j":
"deploy":
@ -156,7 +171,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prometheus":
"deploy":
@ -187,6 +202,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -215,7 +232,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -234,6 +251,8 @@
- "<instructions>\nStudy the following text and derive definitions for any discovered entities.\nDo not provide definitions for entities whose definitions are incomplete\nor unknown.\nOutput relationships in JSON format as an arary of objects with fields:\n- entity: the name of the entity\n- definition: English text which defines the entity\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract will be written as plain text. Do not add markdown formatting\nor headers or prefixes. Do not include null or unknown definitions.\n</requirements>"
- "--relationship-template"
- "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</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 provided set of knowledge statements in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.
@ -262,7 +281,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -315,7 +334,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -332,7 +351,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -349,7 +368,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -366,7 +385,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -383,7 +402,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -400,7 +419,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"text-completion":
"command":
@ -425,7 +444,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
- "./vertexai:/vertexai"
@ -456,7 +475,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
- "./vertexai:/vertexai"
@ -473,7 +492,7 @@
"reservations":
"cpus": "0.5"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}

View file

@ -118,7 +118,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -135,7 +135,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -152,7 +152,7 @@
"reservations":
"cpus": "0.1"
"memory": "512M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -169,7 +169,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -186,7 +186,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -203,7 +203,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"cassandra": {}

View file

@ -119,7 +119,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-graph-embeddings":
"command":
@ -136,7 +136,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"query-triples":
"command":
@ -153,7 +153,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-doc-embeddings":
"command":
@ -170,7 +170,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -187,7 +187,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"store-triples":
"command":
@ -204,7 +204,7 @@
"reservations":
"cpus": "0.1"
"memory": "128M"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.3"
"image": "docker.io/trustgraph/trustgraph-flow:0.9.4"
"restart": "on-failure:100"
"volumes":
"grafana-storage": {}