Updated Azure template

This commit is contained in:
Cyber MacGeddon 2024-10-14 19:49:02 +01:00
parent 56cfe31e88
commit 735c8f16e7

View file

@ -13,8 +13,8 @@ local prompts = import "prompts/mixtral.jsonnet";
create:: function(engine)
local envSecrets = engine.envSecrets("azure-credentials")
.with_env_var("AZURE_TOKEN")
.with_env_var("AZURE_ENDPOINT");
.with_env_var("AZURE_TOKEN", "azure-token")
.with_env_var("AZURE_ENDPOINT", "azure-endpoint");
local container =
engine.container("text-completion")
@ -53,8 +53,8 @@ local prompts = import "prompts/mixtral.jsonnet";
create:: function(engine)
local envSecrets = engine.envSecrets("azure-credentials-rag")
.with_env_var("AZURE_TOKEN")
.with_env_var("AZURE_ENDPOINT");
.with_env_var("AZURE_TOKEN", "azure-token")
.with_env_var("AZURE_ENDPOINT", "azure-endpoint");
local container =
engine.container("text-completion-rag")