Skip to content

Commit

Permalink
Add deployment parameters to re-use OpenAI Deployments
Browse files Browse the repository at this point in the history
If you want to re-use an existing OpenAI deployment, and it has a different name from the default, the azd env variables have no effect on the deployment. This PR passes the azd env variables referenced in the README through the bicep deployment.
  • Loading branch information
mattgotteiner authored May 4, 2023
1 parent b843c02 commit 25dfdc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infra/main.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
"formRecognizerSkuName": {
"value": "S0"
},
"chatGptDeploymentName": {
"value": "${AZURE_OPENAI_CHATGPT_DEPLOYMENT}"
},
"gptDeploymentName": {
"value": "${AZURE_OPENAI_GPT_DEPLOYMENT}"
},
"searchServiceName": {
"value": "${AZURE_SEARCH_SERVICE}"
},
Expand Down

0 comments on commit 25dfdc1

Please sign in to comment.