mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-26 15:55:16 +02:00
Fix/cohere temperature not string (#73)
* Temperature should be a string in the templates * Fix YAMLs for Cohere
This commit is contained in:
parent
24b80f4789
commit
56b3b50e94
3 changed files with 6 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
|||
"-k",
|
||||
$["cohere-key"],
|
||||
"-t",
|
||||
$["cohere-temperature"],
|
||||
std.toString($["cohere-temperature"]),
|
||||
])
|
||||
.with_limits("0.5", "128M")
|
||||
.with_reservations("0.1", "128M");
|
||||
|
|
@ -60,7 +60,7 @@ local prompts = import "prompts/mixtral.jsonnet";
|
|||
"-k",
|
||||
$["cohere-key"],
|
||||
"-t",
|
||||
$["cohere-temperature"],
|
||||
std.toString($["cohere-temperature"]),
|
||||
"-i",
|
||||
"non-persistent://tg/request/text-completion-rag",
|
||||
"-o",
|
||||
|
|
|
|||
|
|
@ -692,7 +692,7 @@ services:
|
|||
- -k
|
||||
- ${COHERE_KEY}
|
||||
- -t
|
||||
- 0
|
||||
- '0'
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
|
@ -711,7 +711,7 @@ services:
|
|||
- -k
|
||||
- ${COHERE_KEY}
|
||||
- -t
|
||||
- 0
|
||||
- '0'
|
||||
- -i
|
||||
- non-persistent://tg/request/text-completion-rag
|
||||
- -o
|
||||
|
|
|
|||
|
|
@ -693,7 +693,7 @@ services:
|
|||
- -k
|
||||
- ${COHERE_KEY}
|
||||
- -t
|
||||
- 0
|
||||
- '0'
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
|
@ -712,7 +712,7 @@ services:
|
|||
- -k
|
||||
- ${COHERE_KEY}
|
||||
- -t
|
||||
- 0
|
||||
- '0'
|
||||
- -i
|
||||
- non-persistent://tg/request/text-completion-rag
|
||||
- -o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue