Skip to content

Commit

Permalink
Improve zero-to-production lab (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkurtz-MSFT authored Feb 12, 2025
1 parent 8eebe1c commit 1d205b7
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 342 deletions.
4 changes: 1 addition & 3 deletions labs/zero-to-production/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ param openAIModelName string
param openAIModelVersion string
param openAIDeploymentName string
param openAIModelSKU string
param openAIModelCapacity int
param openAIAPIVersion string = '2024-02-01'
param policyXml string

Expand Down Expand Up @@ -59,15 +58,14 @@ module apimModule '../../modules/apim/v1/apim.bicep' = {
}

// 4. Cognitive Services
module openAIModule '../../modules/cognitive-services/v1/openai.bicep' = {
module openAIModule '../../modules/cognitive-services/v2/openai.bicep' = {
name: 'openAIModule'
params: {
openAIConfig: openAIConfig
openAIDeploymentName: openAIDeploymentName
openAIModelName: openAIModelName
openAIModelVersion: openAIModelVersion
openAIModelSKU: openAIModelSKU
openAIModelCapacity: openAIModelCapacity
apimPrincipalId: apimModule.outputs.principalId
lawId: lawId
}
Expand Down
Loading

0 comments on commit 1d205b7

Please sign in to comment.