terraform-azurerm-openai-private-chatgpt
terraform-azurerm-openai-private-chatgpt copied to clipboard
Deploying the example fails
I copied the example and tried to deploy it.
Error: Invalid value for input variable │ │ on main.tf line 62, in module "private-chatgpt-openai": │ 62: oai_model_deployment = var.oai_model_deployment │ │ The given value is not suitable for module.private-chatgpt-openai.var.oai_model_deployment declared at .terraform/modules/private-chatgpt-openai/variables.tf:221,1-32: incorrect list element type: attribute "scale_type" is required.
I think the deployment config of the openai models should be more looking like this:
"gpt-35-turbo" = { name = "gpt-35-turbo" rai_policy_name = "Microsoft.Default" model_name = "gpt-35-turbo" model_format = "OpenAI" model_version = "0613" scale_type = "Standard" }