mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
28 lines
734 B
Jsonnet
28 lines
734 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";
|
|
local default_prompts = import "prompts/default-prompts.jsonnet";
|
|
|
|
{
|
|
|
|
with:: function(key, value)
|
|
if (key == "system-template") then
|
|
self + {
|
|
prompts +:: {
|
|
"system-template": value,
|
|
}
|
|
}
|
|
else
|
|
self + {
|
|
prompts +:: {
|
|
templates +:: {
|
|
[key] +:: {
|
|
prompt: value
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
} + default_prompts
|
|
|