Skip to content

Commit

Permalink
gpt4 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rag2111 committed Mar 6, 2024
1 parent 024cfec commit 8d6447e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions infra/modules/openai/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ resource "azurerm_cognitive_deployment" "embedding" {
}
}

resource "azurerm_cognitive_deployment" "gpt_4_32k" {
name = "gpt-4-32k"
resource "azurerm_cognitive_deployment" "gpt_4" {
name = "gpt-4"
cognitive_account_id = azurerm_cognitive_account.openai.id
rai_policy_name = "Microsoft.Default"
model {
format = "OpenAI"
name = "gpt-4-32k"
version = "0613"
name = "gpt-4"
version = "1106-preview"
}

scale {
Expand Down
4 changes: 2 additions & 2 deletions infra/modules/openai/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ output "gpt4_vision_deployment_model_name" {
}

output "gpt4_deployment_name" {
value = azurerm_cognitive_deployment.gpt_4_32k.name
value = azurerm_cognitive_deployment.gpt_4.name
}

output "gpt4_deployment_model_name" {
value = azurerm_cognitive_deployment.gpt_4_32k.model[0].name
value = azurerm_cognitive_deployment.gpt_4.model[0].name
}

output "embedding_deployment_name" {
Expand Down

0 comments on commit 8d6447e

Please sign in to comment.