mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 16:51:02 +02:00
Add prompt terms
This commit is contained in:
parent
2942c4dcf0
commit
bc527237d2
1 changed files with 7 additions and 0 deletions
|
|
@ -48,6 +48,13 @@ local default_prompts = import "prompts/default-prompts.jsonnet";
|
||||||
)
|
)
|
||||||
for p in std.objectKeysValuesAll($.prompts.templates)
|
for p in std.objectKeysValuesAll($.prompts.templates)
|
||||||
if std.objectHas(p.value, "schema")
|
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_limits("0.5", "128M")
|
||||||
.with_reservations("0.1", "128M");
|
.with_reservations("0.1", "128M");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue