mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-05 05:12:36 +02:00
Fix argument usage not overriding defaults in Google AI Studio & VertexAI templates (#268)
This commit is contained in:
parent
1280af3eff
commit
acdd3efe51
2 changed files with 10 additions and 0 deletions
|
|
@ -5,6 +5,11 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
with:: function(key, value)
|
||||||
|
self + {
|
||||||
|
["googleaistudio-" + key]:: value,
|
||||||
|
},
|
||||||
|
|
||||||
"googleaistudio-max-output-tokens":: 4096,
|
"googleaistudio-max-output-tokens":: 4096,
|
||||||
"googleaistudio-temperature":: 0.0,
|
"googleaistudio-temperature":: 0.0,
|
||||||
"googleaistudio-model":: "gemini-1.5-flash-002",
|
"googleaistudio-model":: "gemini-1.5-flash-002",
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,11 @@ local prompts = import "prompts/mixtral.jsonnet";
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
with:: function(key, value)
|
||||||
|
self + {
|
||||||
|
["vertexai-" + key]:: value,
|
||||||
|
},
|
||||||
|
|
||||||
"vertexai-model":: "gemini-1.0-pro-001",
|
"vertexai-model":: "gemini-1.0-pro-001",
|
||||||
"vertexai-private-key":: "/vertexai/private.json",
|
"vertexai-private-key":: "/vertexai/private.json",
|
||||||
"vertexai-region":: "us-central1",
|
"vertexai-region":: "us-central1",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue