mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Make temperature round to 3 dec places (#138)
This commit is contained in:
parent
65cda7b276
commit
ee9373d55e
8 changed files with 16 additions and 16 deletions
|
|
@ -28,7 +28,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
|||
"-x",
|
||||
std.toString($["azure-openai-max-output-tokens"]),
|
||||
"-t",
|
||||
std.toString($["azure-openai-temperature"]),
|
||||
"%0.3f" % $["azure-openai-temperature"],
|
||||
])
|
||||
.with_env_var_secrets(envSecrets)
|
||||
.with_limits("0.5", "128M")
|
||||
|
|
@ -44,7 +44,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
|||
"-x",
|
||||
std.toString($["azure-openai-max-output-tokens"]),
|
||||
"-t",
|
||||
std.toString($["azure-openai-temperature"]),
|
||||
"%0.3f" % $["azure-openai-temperature"],
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue