Skip to content

Commit

Permalink
adding gpt 4 32k (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
krnese authored Sep 29, 2023
1 parent 06b696e commit 31634f8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions fsi/solutions/generativeAi/modelDeployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"defaultValue": "gpt-35-turbo",
"allowedValues": [
"gpt-4",
"gpt-4-32k",
"gpt-35-turbo",
"gpt-35-turbo-16k"
]
Expand All @@ -28,6 +29,25 @@
"name-compliant-azureOpenAi": "[concat(parameters('prefix'), '-', parameters('location'), '-AzOpenAI')]"
},
"resources": [
{
"condition": "[equals(parameters('aiModelVersion'), 'gpt-4-32k')]",
"type": "Microsoft.CognitiveServices/accounts/deployments",
"apiVersion": "2023-05-01",
"name": "[concat(variables('name-compliant-azureOpenAi'), '/', parameters('aiModelDeploymentName'), '-', 'gpt4-32k')]",
"sku": {
"name": "Standard",
"capacity": 1
},
"properties": {
"model": {
"format": "OpenAI",
"name": "gpt-4-32k",
"version": "0613"
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
"raiPolicyName": "Microsoft.Default"
}
},
{
"condition": "[equals(parameters('aiModelVersion'), 'gpt-4')]",
"type": "Microsoft.CognitiveServices/accounts/deployments",
Expand Down

0 comments on commit 31634f8

Please sign in to comment.