Skip to content

Commit

Permalink
Merge pull request #31 from AzureCosmosDB/openai-deployment-fixes
Browse files Browse the repository at this point in the history
Fixed OpenAI deployment issue
  • Loading branch information
joelhulen authored Aug 30, 2023
2 parents f75acf0 + fd6b1c7 commit 16a97b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/powershell/Deploy-OpenAi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (-not $deployment) {
$deployment='completions'
$openAiDeployment=$(az cognitiveservices account deployment show -g $resourceGroup -n $name --deployment-name $deployment)
if (-not $openAiDeployment) {
$openAiDeployment=$(az cognitiveservices account deployment create -g $resourceGroup -n $name --deployment-name completions --model-name 'gpt-35-turbo' --model-version '1' --model-format OpenAI)
$openAiDeployment=$(az cognitiveservices account deployment create -g $resourceGroup -n $name --deployment-name completions --model-name 'gpt-35-turbo' --model-version '0301' --model-format OpenAI --scale-settings-scale-type 'Standard')
}
}

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module openAi 'openai.bicep' = {
{
name: openAiDeployment
model: 'gpt-35-turbo'
version: '2'
version: '0301'
sku: {
name: 'Standard'
capacity: 60
Expand Down

0 comments on commit 16a97b6

Please sign in to comment.