Add prompt terms

This commit is contained in:
Cyber MacGeddon 2024-10-27 14:51:25 +00:00
parent 2942c4dcf0
commit bc527237d2

View file

@ -48,6 +48,13 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
)
for p in std.objectKeysValuesAll($.prompts.templates)
if std.objectHas(p.value, "schema")
] + [
"--prompt-term"
] + [
p.key + "=" + t.key + ":" + t.value
for p in std.objectKeysValuesAll($.prompts.templates)
if std.objectHas(p.value, "terms")
for t in std.objectKeysValuesAll(p.value.terms)
])
.with_limits("0.5", "128M")
.with_reservations("0.1", "128M");