mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 01:16:22 +02:00
* 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
39 lines
679 B
Jsonnet
39 lines
679 B
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";
|
|
{
|
|
|
|
"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
|
|
|