mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-23 06:15:13 +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",
|
"-x",
|
||||||
std.toString($["azure-openai-max-output-tokens"]),
|
std.toString($["azure-openai-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["azure-openai-temperature"]),
|
"%0.3f" % $["azure-openai-temperature"],
|
||||||
])
|
])
|
||||||
.with_env_var_secrets(envSecrets)
|
.with_env_var_secrets(envSecrets)
|
||||||
.with_limits("0.5", "128M")
|
.with_limits("0.5", "128M")
|
||||||
|
|
@ -44,7 +44,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["azure-openai-max-output-tokens"]),
|
std.toString($["azure-openai-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["azure-openai-temperature"]),
|
"%0.3f" % $["azure-openai-temperature"],
|
||||||
"-i",
|
"-i",
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
"-o",
|
"-o",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["azure-max-output-tokens"]),
|
std.toString($["azure-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["azure-temperature"]),
|
"%0.3f" % $["azure-temperature"],
|
||||||
])
|
])
|
||||||
.with_env_var_secrets(envSecrets)
|
.with_env_var_secrets(envSecrets)
|
||||||
.with_limits("0.5", "128M")
|
.with_limits("0.5", "128M")
|
||||||
|
|
@ -42,7 +42,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["azure-max-output-tokens"]),
|
std.toString($["azure-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["azure-temperature"]),
|
"%0.3f" % $["azure-temperature"],
|
||||||
"-i",
|
"-i",
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
"-o",
|
"-o",
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ local chunker = import "chunker-recursive.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["bedrock-max-output-tokens"]),
|
std.toString($["bedrock-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["bedrock-temperature"]),
|
"%0.3f" % $["bedrock-temperature"],
|
||||||
"-m",
|
"-m",
|
||||||
$["bedrock-model"],
|
$["bedrock-model"],
|
||||||
])
|
])
|
||||||
|
|
@ -47,7 +47,7 @@ local chunker = import "chunker-recursive.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["bedrock-max-output-tokens"]),
|
std.toString($["bedrock-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["bedrock-temperature"]),
|
"%0.3f" % $["bedrock-temperature"],
|
||||||
"-m",
|
"-m",
|
||||||
$["bedrock-model"],
|
$["bedrock-model"],
|
||||||
"-i",
|
"-i",
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["claude-max-output-tokens"]),
|
std.toString($["claude-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["claude-temperature"]),
|
"%0.3f" % $["claude-temperature"],
|
||||||
])
|
])
|
||||||
.with_env_var_secrets(envSecrets)
|
.with_env_var_secrets(envSecrets)
|
||||||
.with_limits("0.5", "128M")
|
.with_limits("0.5", "128M")
|
||||||
|
|
@ -41,7 +41,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["claude-max-output-tokens"]),
|
std.toString($["claude-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["claude-temperature"]),
|
"%0.3f" % $["claude-temperature"],
|
||||||
"-i",
|
"-i",
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
"-o",
|
"-o",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-p",
|
"-p",
|
||||||
url.pulsar,
|
url.pulsar,
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["cohere-temperature"]),
|
"%0.3f" % $["cohere-temperature"],
|
||||||
])
|
])
|
||||||
.with_limits("0.5", "128M")
|
.with_limits("0.5", "128M")
|
||||||
.with_reservations("0.1", "128M");
|
.with_reservations("0.1", "128M");
|
||||||
|
|
@ -39,7 +39,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-p",
|
"-p",
|
||||||
url.pulsar,
|
url.pulsar,
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["cohere-temperature"]),
|
"%0.3f" % $["cohere-temperature"],
|
||||||
"-i",
|
"-i",
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
"-o",
|
"-o",
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["googleaistudio-max-output-tokens"]),
|
std.toString($["googleaistudio-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["googleaistudio-temperature"]),
|
"%0.3f" % $["googleaistudio-temperature"],
|
||||||
])
|
])
|
||||||
.with_env_var_secrets(envSecrets)
|
.with_env_var_secrets(envSecrets)
|
||||||
.with_limits("0.5", "128M")
|
.with_limits("0.5", "128M")
|
||||||
|
|
@ -41,7 +41,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["googleaistudio-max-output-tokens"]),
|
std.toString($["googleaistudio-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["googleaistudio-temperature"]),
|
"%0.3f" % $["googleaistudio-temperature"],
|
||||||
"-i",
|
"-i",
|
||||||
"non-persistent://tg/request/text-completion-rag",
|
"non-persistent://tg/request/text-completion-rag",
|
||||||
"-o",
|
"-o",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["openai-max-output-tokens"]),
|
std.toString($["openai-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["openai-temperature"]),
|
"%0.3f" % $["openai-temperature"],
|
||||||
"-m",
|
"-m",
|
||||||
$["openai-model"],
|
$["openai-model"],
|
||||||
])
|
])
|
||||||
|
|
@ -44,7 +44,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["openai-max-output-tokens"]),
|
std.toString($["openai-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["openai-temperature"]),
|
"%0.3f" % $["openai-temperature"],
|
||||||
"-m",
|
"-m",
|
||||||
$["openai-model"],
|
$["openai-model"],
|
||||||
"-i",
|
"-i",
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["vertexai-max-output-tokens"]),
|
std.toString($["vertexai-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["vertexai-temperature"]),
|
"%0.3f" % $["vertexai-temperature"],
|
||||||
"-m",
|
"-m",
|
||||||
$["vertexai-model"],
|
$["vertexai-model"],
|
||||||
])
|
])
|
||||||
|
|
@ -87,7 +87,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
"-x",
|
"-x",
|
||||||
std.toString($["vertexai-max-output-tokens"]),
|
std.toString($["vertexai-max-output-tokens"]),
|
||||||
"-t",
|
"-t",
|
||||||
std.toString($["vertexai-temperature"]),
|
"%0.3f" % $["vertexai-temperature"],
|
||||||
"-m",
|
"-m",
|
||||||
$["vertexai-model"],
|
$["vertexai-model"],
|
||||||
"-i",
|
"-i",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue