mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 00:46:22 +02:00
* document-rag / graph-rag refactor of templates * Tweaking the docs and categories * Clarify triple store vs RAG * Tweak knowledge graph linkage * Doc embedding for Qdrant * Fix document RAG on Qdrant * Fix templates * Bump version * Updated templates
40 lines
619 B
Jsonnet
40 lines
619 B
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";
|
|
|
|
{
|
|
|
|
"embeddings-model":: "all-MiniLM-L6-v2",
|
|
|
|
services +: {
|
|
|
|
embeddings: base + {
|
|
image: images.trustgraph,
|
|
command: [
|
|
"embeddings-hf",
|
|
"-p",
|
|
url.pulsar,
|
|
"-m",
|
|
$["embeddings-model"],
|
|
],
|
|
deploy: {
|
|
resources: {
|
|
limits: {
|
|
cpus: '1.0',
|
|
memory: '256M'
|
|
},
|
|
reservations: {
|
|
cpus: '0.5',
|
|
memory: '256M'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
}
|
|
|
|
} + prompts
|
|
|
|
|
|
|