You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/includes/deploy-intelligent-apps/deploy-intelligent-apps-linux-python-pivot.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ You can use Azure App Service to work with popular AI frameworks like LangChain
19
19
20
20
For this Flask web application, we are building off the [quickstart](../../quickstart-python.md?tabs=flask%2Cwindows%2Cazure-cli%2Cvscode-deploy%2Cdeploy-instructions-azportal%2Cterminal-bash%2Cdeploy-instructions-zip-azcli#1---sample-application) app and updating the *app.py* file to send and receive requests to an Azure OpenAI OR OpenAI service using LangChain.
21
21
22
-
First, copy and replace the *index.html* file with the following code:
22
+
First, copy, and replace the *index.html* file with the following code:
23
23
24
24
```html
25
25
<!doctype html>
@@ -54,7 +54,7 @@ First, copy and replace the *index.html* file with the following code:
54
54
</html>
55
55
```
56
56
57
-
Next, copy and replace the *hello.html* file with the following code:
57
+
Next, copy, and replace the *hello.html* file with the following code:
58
58
59
59
```html
60
60
<!doctype html>
@@ -285,7 +285,7 @@ client = AzureOpenAI(
285
285
Once the credentials are added to the application, youll then need to enable managed identity in your application and grant access to the resource.
286
286
287
287
1. In your web app resource, navigate to the **Identity** blade and turn on **System assigned** and click **Save**
288
-
2. Once System assigned identity is turned on, it will register the web app with Microsoft Entra ID and the web app can be granted permissions to access protected resources.
288
+
2. Once System assigned identity is turned on, it registers the web app with Microsoft Entra ID and the web app can be granted permissions to access protected resources.
289
289
3. Go to your Azure OpenAI resource and navigate to the **Access control (IAM)** blade on the left pane.
290
290
4. Find the Grant access to this resource card and click on **Add role assignment**
291
291
5. Search for the **Cognitive Services OpenAI User** role and click **Next**
0 commit comments