mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-06 21:35:13 +02:00
Make templating work more flexibly (#44)
* Restructure directory * Config loading * Variable override points in JSONNET templates, separate pulsar-manager template * Bump version * Tidy chunking * Simplified prompt overrides * Update config loader * Fix recursive chunker template
This commit is contained in:
parent
f10c2822f4
commit
f7a30006ad
84 changed files with 1140 additions and 1164 deletions
17
Makefile
17
Makefile
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
# VERSION=$(shell git describe | sed 's/^v//')
|
||||
VERSION=0.8.0
|
||||
VERSION=0.8.1
|
||||
|
||||
DOCKER=podman
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ clean:
|
|||
rm -rf wheels/
|
||||
|
||||
set-version:
|
||||
echo '"${VERSION}"' > templates/components/version.jsonnet
|
||||
echo '"${VERSION}"' > templates/values/version.jsonnet
|
||||
|
||||
TEMPLATES=azure bedrock claude cohere mix ollama openai vertexai \
|
||||
openai-neo4j storage
|
||||
|
|
@ -40,19 +40,23 @@ DCS=$(foreach template,${TEMPLATES},${template:%=tg-launch-%.yaml})
|
|||
MODELS=azure bedrock claude cohere ollama openai vertexai
|
||||
GRAPHS=cassandra neo4j
|
||||
|
||||
tg-launch-%.yaml: templates/%.jsonnet templates/components/version.jsonnet
|
||||
jsonnet -S ${@:tg-launch-%.yaml=templates/%.jsonnet} > $@
|
||||
# tg-launch-%.yaml: templates/%.jsonnet templates/components/version.jsonnet
|
||||
# jsonnet -Jtemplates \
|
||||
# -S ${@:tg-launch-%.yaml=templates/%.jsonnet} > $@
|
||||
|
||||
# VECTORDB=milvus
|
||||
VECTORDB=qdrant
|
||||
|
||||
JSONNET_FLAGS=-J templates -J .
|
||||
|
||||
update-templates: set-version
|
||||
for graph in ${GRAPHS}; do \
|
||||
cm=$${graph},pulsar,${VECTORDB},grafana; \
|
||||
input=templates/main.jsonnet; \
|
||||
output=tg-storage-$${graph}.yaml; \
|
||||
echo $${graph} '->' $${output}; \
|
||||
jsonnet --ext-str options=$${cm} -S $${input} > $${output}; \
|
||||
jsonnet ${JSONNET_FLAGS} \
|
||||
--ext-str options=$${cm} -S $${input} > $${output}; \
|
||||
done
|
||||
for model in ${MODELS}; do \
|
||||
for graph in ${GRAPHS}; do \
|
||||
|
|
@ -60,6 +64,7 @@ update-templates: set-version
|
|||
input=templates/main.jsonnet; \
|
||||
output=tg-launch-$${model}-$${graph}.yaml; \
|
||||
echo $${model} + $${graph} '->' $${output}; \
|
||||
jsonnet --ext-str options=$${cm} -S $${input} > $${output}; \
|
||||
jsonnet ${JSONNET_FLAGS} \
|
||||
--ext-str options=$${cm} -S $${input} > $${output}; \
|
||||
done; \
|
||||
done
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -4,7 +4,7 @@ import os
|
|||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
version = "0.8.0"
|
||||
version = "0.8.1"
|
||||
|
||||
setuptools.setup(
|
||||
name="trustgraph",
|
||||
|
|
|
|||
23
templates/all-patterns.jsonnet
Normal file
23
templates/all-patterns.jsonnet
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
import "patterns/pulsar.jsonnet",
|
||||
import "patterns/pulsar-manager.jsonnet",
|
||||
import "patterns/trustgraph-base.jsonnet",
|
||||
import "patterns/graph-rag-cassandra.jsonnet",
|
||||
import "patterns/graph-rag-neo4j.jsonnet",
|
||||
import "patterns/prompt-template-kg-query.jsonnet",
|
||||
import "patterns/prompt-template-definitions.jsonnet",
|
||||
import "patterns/prompt-template-relationships.jsonnet",
|
||||
import "patterns/prompt-template-document-query.jsonnet",
|
||||
import "patterns/prompt-template-rows-template.jsonnet",
|
||||
import "patterns/override-recursive-chunker.jsonnet",
|
||||
import "patterns/llm-azure.jsonnet",
|
||||
import "patterns/llm-bedrock.jsonnet",
|
||||
import "patterns/llm-claude.jsonnet",
|
||||
import "patterns/llm-cohere.jsonnet",
|
||||
import "patterns/llm-ollama.jsonnet",
|
||||
import "patterns/llm-openai.jsonnet",
|
||||
import "patterns/llm-vertexai.jsonnet",
|
||||
import "patterns/vector-store-milvus.jsonnet",
|
||||
import "patterns/vector-store-qdrant.jsonnet",
|
||||
import "patterns/grafana.jsonnet",
|
||||
]
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local azure = import "components/azure.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + azure;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local bedrock = import "components/bedrock.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + bedrock;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local claude = import "components/claude.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + claude;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local cohere = import "components/cohere.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + cohere;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -1,8 +1,14 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/mixtral.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/mixtral.jsonnet";
|
||||
{
|
||||
|
||||
"azure-token":: "${AZURE_TOKEN}",
|
||||
"azure-endpoint":: "${AZURE_ENDPOINT}",
|
||||
"azure-max-output":: 4096,
|
||||
"azure-temperature":: 0.0,
|
||||
|
||||
services +: {
|
||||
|
||||
"text-completion": base + {
|
||||
|
|
@ -12,13 +18,13 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${AZURE_TOKEN}",
|
||||
$["azure-token"],
|
||||
"-e",
|
||||
"${AZURE_ENDPOINT}",
|
||||
$["azure-endpoint"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["azure-max-output"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["azure-temperature"]),
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -41,14 +47,14 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${AZURE_TOKEN}",
|
||||
$["azure-token"],
|
||||
"-e",
|
||||
"${AZURE_ENDPOINT}",
|
||||
$["azure-endpoint"],
|
||||
"-i",
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["azure-max-output"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["azure-temperature"]),
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
|
|
@ -70,4 +76,3 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
},
|
||||
} + prompts
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,17 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/mixtral.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/mixtral.jsonnet";
|
||||
local chunker = import "chunker-recursive.jsonnet";
|
||||
{
|
||||
services +: {
|
||||
"aws-id-key":: "${AWS_ID_KEY}",
|
||||
"aws-secret-key":: "${AWS_SECRET_KEY}",
|
||||
"aws-region":: "us-west-2",
|
||||
"bedrock-max-output-tokens":: 4096,
|
||||
"bedrock-temperature":: 0.0,
|
||||
"bedrock-model":: "mistral.mixtral-8x7b-instruct-v0:1",
|
||||
|
||||
chunker: base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"chunker-recursive",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--chunk-size",
|
||||
"2000",
|
||||
"--chunk-overlap",
|
||||
"100",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
services +: {
|
||||
|
||||
"text-completion": base + {
|
||||
image: images.trustgraph,
|
||||
|
|
@ -37,17 +20,17 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-z",
|
||||
"${AWS_ID_KEY}",
|
||||
$["aws-id-key"],
|
||||
"-k",
|
||||
"${AWS_SECRET_KEY}",
|
||||
$["aws-secret-key"],
|
||||
"-r",
|
||||
"us-west-2",
|
||||
$["aws-region"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["bedrock-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["bedrock-temperature"]),
|
||||
"-m",
|
||||
"mistral.mixtral-8x7b-instruct-v0:1",
|
||||
$["bedrock-model"],
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -69,20 +52,18 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"text-completion-bedrock",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
// "-m",
|
||||
// "mistral.mistral-large-2407-v1:0",
|
||||
"-z",
|
||||
"${AWS_ID_KEY}",
|
||||
$["aws-id-key"],
|
||||
"-k",
|
||||
"${AWS_SECRET_KEY}",
|
||||
$["aws-secret-key"],
|
||||
"-r",
|
||||
"us-west-2",
|
||||
$["aws-region"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["bedrock-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["bedrock-temperature"]),
|
||||
"-m",
|
||||
"mistral.mixtral-8x7b-instruct-v0:1",
|
||||
$["bedrock-model"],
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
@ -103,6 +84,5 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
},
|
||||
|
||||
},
|
||||
} + prompts
|
||||
|
||||
} + prompts + chunker
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local cassandra_hosts = "cassandra";
|
||||
local cassandra = import "stores/cassandra.jsonnet";
|
||||
|
||||
|
|
|
|||
39
templates/components/chunker-recursive.jsonnet
Normal file
39
templates/components/chunker-recursive.jsonnet
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/mixtral.jsonnet";
|
||||
{
|
||||
|
||||
"chunk-size":: 2000,
|
||||
"chunk-overlap":: 100,
|
||||
|
||||
services +: {
|
||||
|
||||
chunker: base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"chunker-recursive",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--chunk-size",
|
||||
std.toString($["chunk-size"]),
|
||||
"--chunk-overlap",
|
||||
std.toString($["chunk-overlap"]),
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
} + prompts
|
||||
|
||||
|
|
@ -1,8 +1,13 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/mixtral.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/mixtral.jsonnet";
|
||||
{
|
||||
|
||||
"claude-key":: "${CLAUDE_KEY}",
|
||||
"claude-max-output-tokens":: 4096,
|
||||
"claude-temperature":: 0.0,
|
||||
|
||||
services +: {
|
||||
|
||||
"text-completion": base + {
|
||||
|
|
@ -12,11 +17,11 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${CLAUDE_KEY}",
|
||||
$["claude-key"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["claude-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["claude-temperature"]),
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -39,11 +44,11 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${CLAUDE_KEY}",
|
||||
$["claude-key"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["claude-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["claude-temperature"]),
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
|
|||
|
|
@ -1,34 +1,17 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/mixtral.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/cohere.jsonnet";
|
||||
{
|
||||
services +: {
|
||||
|
||||
chunker: base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"${CHUNKER:-chunker-token}",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--chunk-size",
|
||||
"150",
|
||||
"--chunk-overlap",
|
||||
"10",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// Override chunking
|
||||
"chunk-size":: 150,
|
||||
"chunk-overlap":: 10,
|
||||
|
||||
"cohere-key":: "${COHERE_KEY}",
|
||||
"cohere-temperature":: 0.0,
|
||||
|
||||
services +: {
|
||||
|
||||
"text-completion": base + {
|
||||
image: images.trustgraph,
|
||||
|
|
@ -37,9 +20,9 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${COHERE_KEY}",
|
||||
$["cohere-key"],
|
||||
"-t",
|
||||
"0.0",
|
||||
$["cohere-temperature"],
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -62,9 +45,9 @@ local prompts = import "../prompts/mixtral.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${COHERE_KEY}",
|
||||
$["cohere-key"],
|
||||
"-t",
|
||||
"0.0",
|
||||
$["cohere-temperature"],
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
{
|
||||
volumes +: {
|
||||
"prometheus-data": {},
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local milvus = import "stores/milvus.jsonnet";
|
||||
|
||||
milvus + {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local neo4j = import "stores/neo4j.jsonnet";
|
||||
|
||||
neo4j + {
|
||||
|
|
|
|||
2
templates/components/null.jsonnet
Normal file
2
templates/components/null.jsonnet
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/slm.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/slm.jsonnet";
|
||||
{
|
||||
services +: {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/openai.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/openai.jsonnet";
|
||||
{
|
||||
|
||||
"openai-key":: "${OPENAI_KEY}",
|
||||
"openai-max-output-tokens":: 4096,
|
||||
"openai-temperature":: 0.0,
|
||||
|
||||
services +: {
|
||||
|
||||
"text-completion": base + {
|
||||
|
|
@ -12,11 +17,11 @@ local prompts = import "../prompts/openai.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${OPENAI_KEY}",
|
||||
$["openai-key"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["openai-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["openai-temperature"]),
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -39,11 +44,11 @@ local prompts = import "../prompts/openai.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${OPENAI_KEY}",
|
||||
$["openai-key"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["openai-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["openai-temperature"]),
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
|
|||
67
templates/components/prompt-generic.jsonnet
Normal file
67
templates/components/prompt-generic.jsonnet
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
|
||||
{
|
||||
|
||||
services +: {
|
||||
|
||||
"prompt": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-generic",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-response",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"prompt-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-generic",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-i",
|
||||
"non-persistent://tg/request/prompt-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
89
templates/components/prompt-template.jsonnet
Normal file
89
templates/components/prompt-template.jsonnet
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
|
||||
// For VertexAI Gemini
|
||||
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local default_prompts = import "prompts/default-prompts.jsonnet";
|
||||
|
||||
default_prompts + {
|
||||
|
||||
services +: {
|
||||
|
||||
"prompt": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-response",
|
||||
"--definition-template",
|
||||
$["prompt-definition-template"],
|
||||
"--relationship-template",
|
||||
$["prompt-relationship-template"],
|
||||
"--knowledge-query-template",
|
||||
$["prompt-knowledge-query-template"],
|
||||
"--document-query-template",
|
||||
$["prompt-document-query-template"],
|
||||
"--rows-template",
|
||||
$["prompt-rows-template"],
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"prompt-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-i",
|
||||
"non-persistent://tg/request/prompt-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
"--definition-template",
|
||||
$["prompt-definition-template"],
|
||||
"--relationship-template",
|
||||
$["prompt-relationship-template"],
|
||||
"--knowledge-query-template",
|
||||
$["prompt-knowledge-query-template"],
|
||||
"--document-query-template",
|
||||
$["prompt-document-query-template"],
|
||||
"--rows-template",
|
||||
$["prompt-rows-template"],
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
33
templates/components/pulsar-manager.jsonnet
Normal file
33
templates/components/pulsar-manager.jsonnet
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
{
|
||||
|
||||
// FIXME: Should persist *something*
|
||||
volumes +: {
|
||||
},
|
||||
|
||||
services +: {
|
||||
"pulsar-manager": base + {
|
||||
image: images.pulsar_manager,
|
||||
ports: [
|
||||
"9527:9527",
|
||||
"7750:7750",
|
||||
],
|
||||
environment: {
|
||||
SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties",
|
||||
},
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '1.4G'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '1.4G'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
{
|
||||
volumes +: {
|
||||
"pulsar-conf": {},
|
||||
|
|
@ -58,27 +58,5 @@ local images = import "images.jsonnet";
|
|||
}
|
||||
},
|
||||
},
|
||||
"pulsar-manager": base + {
|
||||
image: images.pulsar_manager,
|
||||
ports: [
|
||||
"9527:9527",
|
||||
"7750:7750",
|
||||
],
|
||||
environment: {
|
||||
SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties",
|
||||
},
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '1.4G'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '1.4G'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local qdrant = import "stores/qdrant.jsonnet";
|
||||
|
||||
qdrant + {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,17 @@
|
|||
|
||||
local base = import "base.jsonnet";
|
||||
|
||||
local images = import "images.jsonnet";
|
||||
|
||||
local url = import "url.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompt-template.jsonnet";
|
||||
|
||||
{
|
||||
|
||||
"chunk-size":: 250,
|
||||
"chunk-overlap":: 15,
|
||||
"embeddings-model":: "all-MiniLM-L6-v2",
|
||||
"graph-rag-entity-limit":: 50,
|
||||
"graph-rag-triple-limit":: 30,
|
||||
"graph-rag-max-subgraph-size":: 3000,
|
||||
|
||||
services +: {
|
||||
|
||||
"pdf-decoder": base + {
|
||||
|
|
@ -32,13 +38,13 @@ local url = import "url.jsonnet";
|
|||
chunker: base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"${CHUNKER:-chunker-token}",
|
||||
"chunker-token",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--chunk-size",
|
||||
"250",
|
||||
std.toString($["chunk-size"]),
|
||||
"--chunk-overlap",
|
||||
"15",
|
||||
std.toString($["chunk-overlap"]),
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -82,7 +88,7 @@ local url = import "url.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-m",
|
||||
"all-MiniLM-L6-v2",
|
||||
$["embeddings-model"],
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -151,11 +157,11 @@ local url = import "url.jsonnet";
|
|||
"--prompt-response-queue",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--entity-limit",
|
||||
"50",
|
||||
std.toString($["graph-rag-entity-limit"]),
|
||||
"--triple-limit",
|
||||
"30",
|
||||
std.toString($["graph-rag-triple-limit"]),
|
||||
"--max-subgraph-size",
|
||||
"3000",
|
||||
std.toString($["graph-rag-max-subgraph-size"]),
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
|
|
@ -173,5 +179,7 @@ local url = import "url.jsonnet";
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
} + prompts
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,15 @@
|
|||
local base = import "base.jsonnet";
|
||||
local images = import "images.jsonnet";
|
||||
local url = import "url.jsonnet";
|
||||
local prompts = import "../prompts/gemini.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
local prompts = import "prompts/gemini.jsonnet";
|
||||
{
|
||||
|
||||
"vertexai-model":: "gemini-1.0-pro-001",
|
||||
"vertexai-private-key":: "/vertexai/private.json",
|
||||
"vertexai-region":: "us-central1",
|
||||
"vertexai-max-output-tokens":: 4096,
|
||||
"vertexai-temperature":: 0.0,
|
||||
|
||||
services +: {
|
||||
|
||||
"text-completion": base + {
|
||||
|
|
@ -12,13 +19,15 @@ local prompts = import "../prompts/gemini.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"/vertexai/private.json",
|
||||
$["vertexai-private-key"],
|
||||
"-r",
|
||||
"us-central1",
|
||||
$["vertexai-region"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["vertexai-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["vertexai-temperature"]),
|
||||
"-m",
|
||||
$["vertexai-model"],
|
||||
],
|
||||
volumes: [
|
||||
"./vertexai:/vertexai"
|
||||
|
|
@ -44,13 +53,15 @@ local prompts = import "../prompts/gemini.jsonnet";
|
|||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"/vertexai/private.json",
|
||||
$["vertexai-private-key"],
|
||||
"-r",
|
||||
"us-central1",
|
||||
$["vertexai-region"],
|
||||
"-x",
|
||||
"4096",
|
||||
std.toString($["vertexai-max-output-tokens"]),
|
||||
"-t",
|
||||
"0.0",
|
||||
std.toString($["vertexai-temperature"]),
|
||||
"-m",
|
||||
$["vertexai-model"],
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
@ -76,4 +87,3 @@ local prompts = import "../prompts/gemini.jsonnet";
|
|||
},
|
||||
} + prompts
|
||||
|
||||
|
||||
|
|
|
|||
50
templates/config-loader.jsonnet
Normal file
50
templates/config-loader.jsonnet
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
local components = {
|
||||
"azure": import "components/azure.jsonnet",
|
||||
"bedrock": import "components/bedrock.jsonnet",
|
||||
"claude": import "components/claude.jsonnet",
|
||||
"cohere": import "components/cohere.jsonnet",
|
||||
"grafana": import "components/grafana.jsonnet",
|
||||
"graph-rag-cassandra": import "components/cassandra.jsonnet",
|
||||
"graph-rag-neo4j": import "components/neo4j.jsonnet",
|
||||
"ollama": import "components/ollama.jsonnet",
|
||||
"openai": import "components/openai.jsonnet",
|
||||
"override-recursive-chunker": import "components/chunker-recursive.jsonnet",
|
||||
"prompt-template-definitions": import "components/null.jsonnet",
|
||||
"prompt-template-document-query": import "components/null.jsonnet",
|
||||
"prompt-template-kq-query": import "components/null.jsonnet",
|
||||
"prompt-template-relationships": import "components/null.jsonnet",
|
||||
"prompt-template-rows-template": import "components/null.jsonnet",
|
||||
"pulsar": import "components/pulsar.jsonnet",
|
||||
"pulsar-manager": import "components/pulsar.jsonnet",
|
||||
"trustgraph-base": import "components/trustgraph.jsonnet",
|
||||
"vector-store-milvus": import "components/milvus.jsonnet",
|
||||
"vector-store-qdrant": import "components/qdrant.jsonnet",
|
||||
"vertexai": import "components/vertexai.jsonnet"
|
||||
};
|
||||
|
||||
local config = function(p)
|
||||
(components[p.name] + {
|
||||
|
||||
with:: function(k, v) self + {
|
||||
[k]:: v
|
||||
},
|
||||
|
||||
with_params:: function(pars)
|
||||
self + std.foldl(
|
||||
function(obj, par) obj.with(par.key, par.value),
|
||||
std.objectKeysValues(pars),
|
||||
self
|
||||
),
|
||||
|
||||
}).with_params(p.parameters);
|
||||
|
||||
local options = import "config.json";
|
||||
|
||||
local add = function(state, p) state + config(p);
|
||||
|
||||
local output = std.foldl(add, options, {});
|
||||
|
||||
//std.manifestYamlDoc(config)
|
||||
|
||||
output
|
||||
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
|
||||
local base = import "components/base.jsonnet";
|
||||
local url = import "components/url.jsonnet";
|
||||
local images = import "components/images.jsonnet";
|
||||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + {
|
||||
services +: {
|
||||
|
||||
chunker: base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"chunker-recursive",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--chunk-size",
|
||||
"4000",
|
||||
"--chunk-overlap",
|
||||
"120",
|
||||
],
|
||||
},
|
||||
|
||||
"text-completion": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"text-completion-cohere",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${COHERE_KEY}",
|
||||
"-m",
|
||||
"c4ai-aya-23-35b",
|
||||
],
|
||||
},
|
||||
|
||||
"text-completion-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"text-completion-cohere",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-k",
|
||||
"${COHERE_KEY}",
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
"-m",
|
||||
"c4ai-aya-23-8b",
|
||||
],
|
||||
},
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
9
templates/module-list.jsonnet
Normal file
9
templates/module-list.jsonnet
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
local all = import "all-patterns.jsonnet";
|
||||
|
||||
std.foldl(
|
||||
function(m, p) m + { [p.pattern.name]: p.module},
|
||||
all,
|
||||
{}
|
||||
)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local ollama = import "components/ollama.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + ollama;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local neo4j = import "components/neo4j.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local openai = import "components/openai.jsonnet";
|
||||
|
||||
local config = neo4j + pulsar + milvus + grafana + trustgraph + openai;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local openai = import "components/openai.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + openai;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
13
templates/patterns/grafana.jsonnet
Normal file
13
templates/patterns/grafana.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "grafana",
|
||||
icon: "📈🧯",
|
||||
title: "Add Prometheus and Grafana for monitoring and dashboards",
|
||||
description: "System monitoring and dashboarding using Grafana and Prometheus",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["prometheus", "grafana"],
|
||||
args: [
|
||||
],
|
||||
},
|
||||
module: "components/grafana.jsonnet",
|
||||
}
|
||||
12
templates/patterns/graph-rag-cassandra.jsonnet
Normal file
12
templates/patterns/graph-rag-cassandra.jsonnet
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "graph-rag-cassandra",
|
||||
icon: "🖇️🙋♀️",
|
||||
title: "Add GraphRAG indexing and querying using Cassandra",
|
||||
description: "The core Trustgraph deployment does not include a GraphRag store; this pattern adds the Cassandra store, and adds GraphRAG adapters so that Cassandra is integrated with GraphRag indexing and querying.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["cassandra", "rag"],
|
||||
args: [],
|
||||
},
|
||||
module: "components/cassandra.jsonnet",
|
||||
}
|
||||
12
templates/patterns/graph-rag-neo4j.jsonnet
Normal file
12
templates/patterns/graph-rag-neo4j.jsonnet
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "graph-rag-neo4j",
|
||||
icon: "🖇️🙋♀️",
|
||||
title: "Deploys GraphRAG indexing and querying using a Neo4j community edition store",
|
||||
description: "The core Trustgraph deployment does not include a GraphRag store; this pattern adds the Neo4j store, and adds GraphRAG adapters so that Neo4j is integrated with GraphRag indexing and querying.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["neo4j", "rag"],
|
||||
args: [],
|
||||
},
|
||||
module: "components/neo4j.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-azure.jsonnet
Normal file
13
templates/patterns/llm-azure.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "azure",
|
||||
icon: "🤖💬",
|
||||
title: "Add Azure LLM endpoint for text completion",
|
||||
description: "This pattern integrates an Azure LLM endpoint hosted in the Azure cloud for text completion operations. You need an Azure subscription and to have an endpoint deployed to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/azure.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-bedrock.jsonnet
Normal file
13
templates/patterns/llm-bedrock.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "bedrock",
|
||||
icon: "🤖💬",
|
||||
title: "Add AWS Bedrock for text completion",
|
||||
description: "This pattern integrates an AWS Bedrock LLM service hosted in the AWS cloud for text completion operations. You need an AWS cloud subscription and to have Bedrock configured to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/bedrock.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-claude.jsonnet
Normal file
13
templates/patterns/llm-claude.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "claude",
|
||||
icon: "🤖💬",
|
||||
title: "Add Anthropic Claude for text completion",
|
||||
description: "This pattern integrates an Anthropic Claude LLM service for text completion operations. You need a Claude subscription to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/claude.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-cohere.jsonnet
Normal file
13
templates/patterns/llm-cohere.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "cohere",
|
||||
icon: "🤖💬",
|
||||
title: "Add Cohere LLM endpoint for text completion",
|
||||
description: "This pattern integrates the Cohere LLM service for text completion operations. You need a Cohere subscription and API keys to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/cohere.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-ollama.jsonnet
Normal file
13
templates/patterns/llm-ollama.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "ollama",
|
||||
icon: "🤖💬",
|
||||
title: "Add Ollama LLM for text completion",
|
||||
description: "This pattern integrates an Ollama service for text completion operations. You need to have a running Ollama service with the necessary models added in order to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/ollama.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-openai.jsonnet
Normal file
13
templates/patterns/llm-openai.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "openai",
|
||||
icon: "🤖💬",
|
||||
title: "Add OpenAI LLM endpoint for text completion",
|
||||
description: "This pattern integrates an OpenAI LLM service for text completion operations. You need an OpenAI subscription and have an API key to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/openai.jsonnet",
|
||||
}
|
||||
13
templates/patterns/llm-vertexai.jsonnet
Normal file
13
templates/patterns/llm-vertexai.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "vertexai",
|
||||
icon: "🤖💬",
|
||||
title: "Add Google Cloud VertexAI LLM for text completion",
|
||||
description: "This pattern integrates a VertexAI endpoint hosted in Google Cloud for text completion operations. You need a GCP subscription and to have VertexAI enabled to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/vertexai.jsonnet",
|
||||
}
|
||||
27
templates/patterns/override-recursive-chunker.jsonnet
Normal file
27
templates/patterns/override-recursive-chunker.jsonnet
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "override-recursive-chunker",
|
||||
icon: "✂️🪚",
|
||||
title: "Replace default chunker with recursive chunker",
|
||||
description: "The default chunker used in Trustgraph core is a token-based chunker. This pattern replaces that with a recursive chunker, and allows ou to configure the chunking parameters.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: [],
|
||||
args: [
|
||||
{
|
||||
name: "chunk-size",
|
||||
type: "int",
|
||||
description: "Chunk size value",
|
||||
default: 2000,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "chunk-overlap",
|
||||
type: "int",
|
||||
description: "Overlap size value",
|
||||
default: 100,
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/cassandra.jsonnet",
|
||||
}
|
||||
21
templates/patterns/prompt-template-definitions.jsonnet
Normal file
21
templates/patterns/prompt-template-definitions.jsonnet
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "prompt-template-definitions",
|
||||
icon: "📜️️💬",
|
||||
title: "Override definition extraction prompt",
|
||||
description: "This pattern overrides the default definition extraction LLM prompt allowing you to provide your own prompt.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["extract-definition-prompt"],
|
||||
args: [
|
||||
{
|
||||
name: "prompt-definition-template",
|
||||
type: "string",
|
||||
width: 2000,
|
||||
description: "Definition extraction prompt",
|
||||
default: "<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>",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/null.jsonnet",
|
||||
}
|
||||
21
templates/patterns/prompt-template-document-query.jsonnet
Normal file
21
templates/patterns/prompt-template-document-query.jsonnet
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "prompt-template-document-query",
|
||||
icon: "📜️️💬",
|
||||
title: "Override document query prompt",
|
||||
description: "This pattern overrides the default document query prompt used for DocumentRAG allowing you to specify your own prompt.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["document-query-prompt"],
|
||||
args: [
|
||||
{
|
||||
name: "prompt-document-query-template",
|
||||
type: "string",
|
||||
width: 2000,
|
||||
description: "Document query prompt",
|
||||
default: "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",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/null.jsonnet",
|
||||
}
|
||||
21
templates/patterns/prompt-template-kg-query.jsonnet
Normal file
21
templates/patterns/prompt-template-kg-query.jsonnet
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "prompt-template-kq-query",
|
||||
icon: "📜️️💬",
|
||||
title: "Override knowledge query prompt",
|
||||
description: "This pattern overrides the default knowledge query LLM prompt allowing you to provide your own prompt.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["kg-query-prompt"],
|
||||
args: [
|
||||
{
|
||||
name: "prompt-knowledge-query-template",
|
||||
type: "string",
|
||||
width: 2000,
|
||||
description: "Knowledge graph extraction prompt",
|
||||
default: "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",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/null.jsonnet",
|
||||
}
|
||||
21
templates/patterns/prompt-template-relationships.jsonnet
Normal file
21
templates/patterns/prompt-template-relationships.jsonnet
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "prompt-template-relationships",
|
||||
icon: "📜️️💬",
|
||||
title: "Override relationship extraction prompt",
|
||||
description: "This pattern overrides the default relationship extraction LLM prompt allowing you to provide your own prompt.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["extract-relationship-prompt"],
|
||||
args: [
|
||||
{
|
||||
name: "prompt-relationship-template",
|
||||
type: "string",
|
||||
width: 2000,
|
||||
description: "Relationship extraction prompt",
|
||||
default: "<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>",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/null.jsonnet",
|
||||
}
|
||||
21
templates/patterns/prompt-template-rows-template.jsonnet
Normal file
21
templates/patterns/prompt-template-rows-template.jsonnet
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "prompt-template-rows-template",
|
||||
icon: "📜️️💬",
|
||||
title: "Override table/row extraction prompt",
|
||||
description: "This pattern overrides the default table/row extraction prompt to be changed. This is used for DatabaseRAG pipelines.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["extract-rows-prompt"],
|
||||
args: [
|
||||
{
|
||||
name: "prompt-rows-template",
|
||||
type: "string",
|
||||
width: 2000,
|
||||
description: "Row data extraction prompt",
|
||||
default: "<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/null.jsonnet",
|
||||
}
|
||||
21
templates/patterns/pulsar-manager.jsonnet
Normal file
21
templates/patterns/pulsar-manager.jsonnet
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "pulsar-manager",
|
||||
icon: "🏻🛃",
|
||||
title: "Add Pulsar Manager",
|
||||
description: "Adds Pulsar Manager which provides a web interface to manage Pulsar. Pulsar Manager is a large container and deployment requiring over 1GB of RAM, so is not deployed by default. This is not a required component, it may be useful to help manage a large operational deployment.",
|
||||
requires: ["pulsar"],
|
||||
features: ["pulsar-manager"],
|
||||
args: [
|
||||
{
|
||||
name: "default-admin-password",
|
||||
type: "string",
|
||||
width: 20,
|
||||
description: "Admin password to apply",
|
||||
default: "pulsaradmin",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
module: "components/pulsar.jsonnet",
|
||||
}
|
||||
13
templates/patterns/pulsar.jsonnet
Normal file
13
templates/patterns/pulsar.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "pulsar",
|
||||
icon: "🌟☄️",
|
||||
title: "Deploy foundation messaging fabric",
|
||||
description: "Deploy Pulsar as the inter-process messaging fabric. Pulsar is a Cloud-native, distributed messaging and Streaming. Apache Pulsar is an open-source, distributed messaging and streaming platform built for the cloud. Trustgraph uses Pulsar to manage the message flow between all components.",
|
||||
requires: [],
|
||||
features: ["pulsar"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/pulsar.jsonnet",
|
||||
}
|
||||
13
templates/patterns/trustgraph-base.jsonnet
Normal file
13
templates/patterns/trustgraph-base.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "trustgraph-base",
|
||||
icon: "🤝😂",
|
||||
title: "Add Trustgraph base processing flows",
|
||||
description: "This pattern adds a core set of Trustgraph flows, including PDF ingest, chunking, embeddings, and knowledge graph extraction. You should also consider adding an LLM and at least one RAG processing flow.",
|
||||
requires: ["pulsar"],
|
||||
features: ["trustgraph"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/trustgraph.jsonnet",
|
||||
}
|
||||
13
templates/patterns/vector-store-milvus.jsonnet
Normal file
13
templates/patterns/vector-store-milvus.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "vector-store-milvus",
|
||||
icon: "❓🌐",
|
||||
title: "Add Milvus, a vector embeddings store",
|
||||
description: "The Trustgraph core does not include a vector store by default. This configuration pattern adds a simple Milvus store and integrates with embeddings handling.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["milvus", "vectordb"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/milvus.jsonnet",
|
||||
}
|
||||
13
templates/patterns/vector-store-qdrant.jsonnet
Normal file
13
templates/patterns/vector-store-qdrant.jsonnet
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "vector-store-qdrant",
|
||||
icon: "❓🌐",
|
||||
title: "Adds Qdrant, a vector embeddings store",
|
||||
description: "The Trustgraph core does not include a vector store by default. This configuration pattern adds a simple Qdrant store and integrates with embeddings handling.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["qdrant", "vectordb"],
|
||||
args: [
|
||||
]
|
||||
},
|
||||
module: "components/qdrant.jsonnet",
|
||||
}
|
||||
16
templates/prompts/cohere.jsonnet
Normal file
16
templates/prompts/cohere.jsonnet
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
// For Cohere. Not currently overriding prompts
|
||||
|
||||
{
|
||||
|
||||
// "prompt-definition-template": "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-relationship-template":: "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-document-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-rows-template":: "PROMPT GOES HERE",
|
||||
|
||||
}
|
||||
17
templates/prompts/default-prompts.jsonnet
Normal file
17
templates/prompts/default-prompts.jsonnet
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
// Prompt templates. For tidy JSONNET use, don't change these templates
|
||||
// here, but use over-rides in the prompt directory
|
||||
|
||||
{
|
||||
|
||||
"prompt-definition-template":: "<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>",
|
||||
|
||||
"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-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",
|
||||
|
||||
"prompt-rows-template":: "<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
|
||||
}
|
||||
|
|
@ -1,88 +1,15 @@
|
|||
|
||||
// For VertexAI Gemini
|
||||
|
||||
local base = import "../components/base.jsonnet";
|
||||
local images = import "../components/images.jsonnet";
|
||||
local url = import "../components/url.jsonnet";
|
||||
|
||||
// For VertexAI Gemini. Not currently overriding prompts
|
||||
{
|
||||
|
||||
services +: {
|
||||
// "prompt-definition-template": "PROMPT GOES HERE",
|
||||
|
||||
"prompt": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-response",
|
||||
"--definition-template",
|
||||
"<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>",
|
||||
"--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",
|
||||
"--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",
|
||||
"--rows-template",
|
||||
"<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// "prompt-relationship-template":: "PROMPT GOES HERE",
|
||||
|
||||
"prompt-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-i",
|
||||
"non-persistent://tg/request/prompt-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
"--definition-template",
|
||||
"<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>",
|
||||
"--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",
|
||||
"--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",
|
||||
"--rows-template",
|
||||
"<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
},
|
||||
// "prompt-document-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-rows-template":: "PROMPT GOES HERE",
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,88 +1,16 @@
|
|||
|
||||
// For Mixtral
|
||||
|
||||
local base = import "../components/base.jsonnet";
|
||||
local images = import "../components/images.jsonnet";
|
||||
local url = import "../components/url.jsonnet";
|
||||
// For Mixtral. Not currently overriding prompts
|
||||
|
||||
{
|
||||
|
||||
services +: {
|
||||
// "prompt-definition-template": "PROMPT GOES HERE",
|
||||
|
||||
"prompt": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-response",
|
||||
"--definition-template",
|
||||
"<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>",
|
||||
"--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",
|
||||
"--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",
|
||||
"--rows-template",
|
||||
"<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// "prompt-relationship-template":: "PROMPT GOES HERE",
|
||||
|
||||
"prompt-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-i",
|
||||
"non-persistent://tg/request/prompt-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
"--definition-template",
|
||||
"<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>",
|
||||
"--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",
|
||||
"--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",
|
||||
"--rows-template",
|
||||
"<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
},
|
||||
// "prompt-document-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-rows-template":: "PROMPT GOES HERE",
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,88 +1,21 @@
|
|||
|
||||
// For OpenAI LLMs
|
||||
|
||||
local base = import "../components/base.jsonnet";
|
||||
local images = import "../components/images.jsonnet";
|
||||
local url = import "../components/url.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
|
||||
{
|
||||
|
||||
services +: {
|
||||
// "prompt-definition-template": "PROMPT GOES HERE",
|
||||
|
||||
"prompt": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-response",
|
||||
"--definition-template",
|
||||
"<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>",
|
||||
"--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",
|
||||
"--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",
|
||||
"--rows-template",
|
||||
"<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// "prompt-relationship-template":: "PROMPT GOES HERE",
|
||||
|
||||
"prompt-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-template",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-i",
|
||||
"non-persistent://tg/request/prompt-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
"--definition-template",
|
||||
"<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>",
|
||||
"--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",
|
||||
"--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",
|
||||
"--rows-template",
|
||||
"<instructions>\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n</instructions>\n\n<schema>\n{schema}\n</schema>\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 add markdown formatting or headers or prefixes.\n</requirements>",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
},
|
||||
// "prompt-document-query-template":: "PROMPT GOES HERE",
|
||||
|
||||
// "prompt-rows-template":: "PROMPT GOES HERE",
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,69 +1,7 @@
|
|||
|
||||
// For basic SLMs, use prompt-generic
|
||||
|
||||
local base = import "../components/base.jsonnet";
|
||||
local images = import "../components/images.jsonnet";
|
||||
local url = import "../components/url.jsonnet";
|
||||
local prompts = import "components/prompt-generic.jsonnet";
|
||||
|
||||
{
|
||||
prompts
|
||||
|
||||
services +: {
|
||||
|
||||
"prompt": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-generic",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-response",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"prompt-rag": base + {
|
||||
image: images.trustgraph,
|
||||
command: [
|
||||
"prompt-generic",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-i",
|
||||
"non-persistent://tg/request/prompt-rag",
|
||||
"-o",
|
||||
"non-persistent://tg/response/prompt-rag-response",
|
||||
"--text-completion-request-queue",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"--text-completion-response-queue",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.5',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
local base = import "../base.jsonnet";
|
||||
local images = import "../images.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
{
|
||||
volumes +: {
|
||||
cassandra: {},
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
local base = import "../base.jsonnet";
|
||||
local images = import "../images.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
local base = import "../base.jsonnet";
|
||||
local images = import "../images.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
{
|
||||
|
||||
volumes +: {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
local base = import "../base.jsonnet";
|
||||
local images = import "../images.jsonnet";
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
std.extVar("asd")
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
local cassandra = import "components/cassandra.jsonnet";
|
||||
local pulsar = import "components/pulsar.jsonnet";
|
||||
local milvus = import "components/milvus.jsonnet";
|
||||
local grafana = import "components/grafana.jsonnet";
|
||||
local trustgraph = import "components/trustgraph.jsonnet";
|
||||
local vertexai = import "components/vertexai.jsonnet";
|
||||
|
||||
local config = cassandra + pulsar + milvus + grafana + trustgraph + vertexai;
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
- "cassandra:/var/lib/cassandra"
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -286,22 +286,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -333,7 +317,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -350,7 +334,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -367,7 +351,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -384,7 +368,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -398,7 +382,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -407,7 +391,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -422,7 +406,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
- "non-persistent://tg/response/text-completion-rag-response"
|
||||
|
|
@ -434,7 +418,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -449,7 +433,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"services":
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -287,22 +287,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -334,7 +318,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -351,7 +335,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -368,7 +352,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -385,7 +369,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -399,7 +383,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -408,7 +392,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -423,7 +407,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
- "non-persistent://tg/response/text-completion-rag-response"
|
||||
|
|
@ -435,7 +419,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -450,7 +434,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -286,22 +286,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -333,7 +317,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -350,7 +334,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -367,7 +351,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -384,7 +368,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -400,7 +384,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "mistral.mixtral-8x7b-instruct-v0:1"
|
||||
"deploy":
|
||||
|
|
@ -411,7 +395,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -427,7 +411,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "mistral.mixtral-8x7b-instruct-v0:1"
|
||||
- "-i"
|
||||
|
|
@ -442,7 +426,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -457,7 +441,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -287,22 +287,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -334,7 +318,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -351,7 +335,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -368,7 +352,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -385,7 +369,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -401,7 +385,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "mistral.mixtral-8x7b-instruct-v0:1"
|
||||
"deploy":
|
||||
|
|
@ -412,7 +396,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -428,7 +412,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "mistral.mixtral-8x7b-instruct-v0:1"
|
||||
- "-i"
|
||||
|
|
@ -443,7 +427,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -458,7 +442,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
- "cassandra:/var/lib/cassandra"
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -286,22 +286,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -333,7 +317,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -350,7 +334,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -367,7 +351,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -384,7 +368,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -396,7 +380,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -405,7 +389,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -417,7 +401,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -430,7 +414,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -445,7 +429,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"services":
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -287,22 +287,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -334,7 +318,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -351,7 +335,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -368,7 +352,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -385,7 +369,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -397,7 +381,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -406,7 +390,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -418,7 +402,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -431,7 +415,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -446,7 +430,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
- "cassandra:/var/lib/cassandra"
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -286,22 +286,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -333,7 +317,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -350,7 +334,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -367,7 +351,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -384,7 +368,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -394,7 +378,7 @@
|
|||
- "-k"
|
||||
- "${COHERE_KEY}"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- 0
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -403,7 +387,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -413,7 +397,7 @@
|
|||
- "-k"
|
||||
- "${COHERE_KEY}"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- 0
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -426,7 +410,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -441,7 +425,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"services":
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -287,22 +287,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -334,7 +318,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -351,7 +335,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -368,7 +352,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -385,7 +369,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -395,7 +379,7 @@
|
|||
- "-k"
|
||||
- "${COHERE_KEY}"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- 0
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -404,7 +388,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -414,7 +398,7 @@
|
|||
- "-k"
|
||||
- "${COHERE_KEY}"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- 0
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -427,7 +411,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -442,7 +426,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
- "cassandra:/var/lib/cassandra"
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -193,7 +193,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -216,7 +216,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -238,22 +238,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -285,7 +269,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -302,7 +286,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -319,7 +303,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -336,7 +320,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -355,7 +339,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -378,7 +362,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -393,7 +377,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"services":
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -239,22 +239,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -286,7 +270,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -303,7 +287,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -320,7 +304,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -337,7 +321,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -356,7 +340,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -379,7 +363,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -394,7 +378,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
- "cassandra:/var/lib/cassandra"
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -286,22 +286,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -333,7 +317,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -350,7 +334,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -367,7 +351,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -384,7 +368,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -396,7 +380,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -405,7 +389,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -417,7 +401,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -430,7 +414,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -445,7 +429,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"services":
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -287,22 +287,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -334,7 +318,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -351,7 +335,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -368,7 +352,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -385,7 +369,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -397,7 +381,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -406,7 +390,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion-rag":
|
||||
"command":
|
||||
|
|
@ -418,7 +402,7 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -431,7 +415,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"vectorize":
|
||||
"command":
|
||||
|
|
@ -446,7 +430,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
- "cassandra:/var/lib/cassandra"
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pdf-decoder":
|
||||
"command":
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -286,22 +286,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -333,7 +317,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -350,7 +334,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -367,7 +351,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -384,7 +368,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -398,7 +382,9 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "gemini-1.0-pro-001"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -407,7 +393,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
- "./vertexai:/vertexai"
|
||||
|
|
@ -423,7 +409,9 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "gemini-1.0-pro-001"
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -436,7 +424,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
- "./vertexai:/vertexai"
|
||||
|
|
@ -453,7 +441,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"services":
|
||||
"chunker":
|
||||
"command":
|
||||
- "${CHUNKER:-chunker-token}"
|
||||
- "chunker-token"
|
||||
- "-p"
|
||||
- "pulsar://pulsar:6650"
|
||||
- "--chunk-size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"embeddings":
|
||||
"command":
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "256M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"grafana":
|
||||
"deploy":
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"init-pulsar":
|
||||
"command":
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"kg-extract-relationships":
|
||||
"command":
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"neo4j":
|
||||
"deploy":
|
||||
|
|
@ -159,7 +159,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prometheus":
|
||||
"deploy":
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"prompt-rag":
|
||||
"command":
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"pulsar":
|
||||
"command": "bin/pulsar standalone"
|
||||
|
|
@ -287,22 +287,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -334,7 +318,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -351,7 +335,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -368,7 +352,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -385,7 +369,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"text-completion":
|
||||
"command":
|
||||
|
|
@ -399,7 +383,9 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "gemini-1.0-pro-001"
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
|
|
@ -408,7 +394,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
- "./vertexai:/vertexai"
|
||||
|
|
@ -424,7 +410,9 @@
|
|||
- "-x"
|
||||
- "4096"
|
||||
- "-t"
|
||||
- "0.0"
|
||||
- "0"
|
||||
- "-m"
|
||||
- "gemini-1.0-pro-001"
|
||||
- "-i"
|
||||
- "non-persistent://tg/request/text-completion-rag"
|
||||
- "-o"
|
||||
|
|
@ -437,7 +425,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
- "./vertexai:/vertexai"
|
||||
|
|
@ -454,7 +442,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.5"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
|
|
@ -90,22 +90,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -137,7 +121,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -154,7 +138,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "512M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -171,7 +155,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -188,7 +172,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"cassandra": {}
|
||||
|
|
|
|||
|
|
@ -91,22 +91,6 @@
|
|||
"volumes":
|
||||
- "pulsar-conf:/pulsar/conf"
|
||||
- "pulsar-data:/pulsar/data"
|
||||
"pulsar-manager":
|
||||
"deploy":
|
||||
"resources":
|
||||
"limits":
|
||||
"cpus": "0.5"
|
||||
"memory": "1.4G"
|
||||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "1.4G"
|
||||
"environment":
|
||||
"SPRING_CONFIGURATION_FILE": "/pulsar-manager/pulsar-manager/application.properties"
|
||||
"image": "docker.io/apachepulsar/pulsar-manager:v0.4.0"
|
||||
"ports":
|
||||
- "9527:9527"
|
||||
- "7750:7750"
|
||||
"restart": "on-failure:100"
|
||||
"qdrant":
|
||||
"deploy":
|
||||
"resources":
|
||||
|
|
@ -138,7 +122,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"query-triples":
|
||||
"command":
|
||||
|
|
@ -155,7 +139,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-graph-embeddings":
|
||||
"command":
|
||||
|
|
@ -172,7 +156,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"store-triples":
|
||||
"command":
|
||||
|
|
@ -189,7 +173,7 @@
|
|||
"reservations":
|
||||
"cpus": "0.1"
|
||||
"memory": "128M"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.0"
|
||||
"image": "docker.io/trustgraph/trustgraph-flow:0.8.1"
|
||||
"restart": "on-failure:100"
|
||||
"volumes":
|
||||
"grafana-storage": {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue