File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,42 @@ If you've changed the infrastructure files (`infra` folder or `azure.yaml`), the
141
141
142
142
``` azd up ```
143
143
144
+ ### Examples of an azd deployment
145
+
146
+ #### Example creating new OpenAI and Azure Cognitive Search resources
147
+
148
+ ``` shell
149
+ azd auth login
150
+ azd init
151
+
152
+ azd env set AZURE_RESOURCE_GROUP " openai-test-resource-group" # Target resource group for the new resources
153
+ azd env set AZURE_LOCATION " eastus" # Target region for the new resources
154
+
155
+ azd up
156
+ ```
157
+
158
+ #### Example reusing an existing OpenAI and Azure Cognitive Search resources
159
+
160
+ ``` shell
161
+ azd auth login
162
+ azd init
163
+
164
+ azd env set AZURE_RESOURCE_GROUP " openai-test-resource-group" # Target resource group for the new resources
165
+ azd env set AZURE_LOCATION " eastus" # Target region for the new resources
166
+
167
+ azd env set AZURE_OPENAI_SERVICE " my-openai-test-service" # Name of the OpenAI service
168
+ azd env set AZURE_OPENAI_RESOURCE_GROUP " my-openai-test-resource-group" # Resource group where the OpenAI service is deployed
169
+ azd env set AZURE_OPENAI_SERVICE_LOCATION " eastus2" # Region of the OpenAI service
170
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT " gpt-35-turbo" # The "Deployment name" of the deployed model, deployed in the Azure OpenAI studio
171
+ azd env set AZURE_OPENAI_EMB_DEPLOYMENT " text-embedding-ada-002" # The "Deployment name" of the deployed model, deployed in the Azure OpenAI studio
172
+
173
+ azd env set AZURE_SEARCH_SERVICE " my-acs-test-service" # Name of the ACS service
174
+ azd env set AZURE_SEARCH_SERVICE_RESOURCE_GROUP " my-acs-test-resource-group" # Resource group where the ACS service is deployed
175
+ azd env set AZURE_SEARCH_SERVICE_LOCATION " eastus2" # Region of the ACS service
176
+
177
+ azd up
178
+ ```
179
+
144
180
### Running locally
145
181
146
182
1 . Run ` az login `
You can’t perform that action at this time.
0 commit comments