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/ai-studio/tutorials/deploy-chat-web-app.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ The steps in this tutorial are:
36
36
- An Azure subscription - <ahref="https://azure.microsoft.com/free/cognitive-services"target="_blank">Create one for free</a>.
37
37
- A [deployed Azure OpenAI](../how-to/deploy-models-openai.md) chat model. Complete the [Azure AI Foundry playground quickstart](../quickstarts/get-started-playground.md) to create this resource if you haven't already.
38
38
39
-
- An Azure AI Search service connection to index the sample product data. If you don't have one, follow the steps to [create](copilot-sdk-create-resources.md#create-search) and [connect](copilot-sdk-create-resources.md#connect) a search service.
39
+
- An Search service connection to index the sample product data. If you don't have one, follow the steps to [create](copilot-sdk-create-resources.md#create-search) and [connect](copilot-sdk-create-resources.md#connect) a search service.
40
40
41
41
- A local copy of product data. The [Azure-Samples/rag-data-openai-python-promptflow repository on GitHub](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/) contains sample retail product information that's relevant for this tutorial scenario. Specifically, the `product_info_11.md` file contains product information about the TrailWalker hiking shoes that's relevant for this tutorial example. [Download the example Contoso Trek retail product data in a ZIP file](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/raw/refs/heads/main/tutorial/data/product-info.zip) to your local machine.
42
42
@@ -49,40 +49,40 @@ The steps in this tutorial are:
49
49
> [!IMPORTANT]
50
50
> You must have the necessary permissions to add role assignments in your Azure subscription. Granting permissions by role assignment is only allowed by the Owner of the specific Azure resources. You might need to ask your Azure subscription owner (who might be your IT admin) to complete this section for you.
51
51
52
-
In order for the resources you're about to deploy to work correctly, you need to configure them with the correct permissions. This work is done in the Azure portal.
52
+
In order for the resources you're about to deploy to work correctly, you need to configure them with the correct permissions. This work is done in the Azure portal. The Azure portal is a place to manage all Azure resources, including Azure AI Foundry resources.
53
53
54
-
To start, find the resources you need to configure in the Azure AI Foundry portal.
54
+
To start, identify the resources you need to configure from the Azure AI Foundry portal.
55
55
56
-
1. Open the [Azure AI Foundry portal](https://ai.azure.com) and select the project where you deployed the Azure OpenAI model.
56
+
1. Open the [Azure AI Foundry portal](https://ai.azure.com) and select the project you used to deploy the Azure OpenAI chat model.
57
57
1. Select **Management center** from the left pane.
58
58
1. Select **Connected resources** under your project.
59
-
1. Identify the three resources you need to configure: the **Azure AI Search service**, the **Azure OpenAI service**, and the **Azure Blob storage**for your workspaceblobstore.
59
+
1. Identify the three resources you need to configure: the **Azure AI Search**, the **Azure OpenAI**, and the **Azure Blob storage**that corresponds to your **workspaceblobstore**.
60
60
61
61
:::image type="content" source="../media/tutorials/deploy-chat-web-app/resources.png" alt-text="Screenshot shows the connected resources that need to be configured.":::
62
62
63
-
If you have multiple **Azure OpenAI service** resources, select the one that has your deployed model in it.
63
+
If you have multiple **Azure OpenAI** resources, select the one that has your deployed chat model in it.
64
64
65
65
1. For each resource, select the link to open the resource details. From the details page, select the resource name to open the resource in the Azure portal. (For the workspaceblobstore, select **View in Azure Portal**).
66
66
1. After the tab opens, go back to the Azure AI Foundry portal and repeat the process for the next resource.
67
-
1. Keep all three new tabs open as you'll go back and forth between them to configure the resources.
67
+
1.When you're done, you should have three new browser tabs open, for **Search service**, **Azure AI services**, and **blobstore Container**. Keep all three new tabs open as you'll go back and forth between them to configure the resources.
68
68
69
69
### Enable managed identity
70
70
71
-
On the tab for the **Azure AI Search service** resource in the Azure portal, enable the managed identity:
71
+
On the tab for the **Search service** resource in the Azure portal, enable the managed identity:
72
72
73
73
1. From the left pane, under **Settings**, select **Identity**.
74
74
1. Switch **Status** to **On**.
75
75
1. Select **Save**.
76
76
77
-
On the tab for the **Azure OpenAI service** resource in the Azure portal, enable the managed identity:
77
+
On the tab for the **Azure AI services** resource in the Azure portal, enable the managed identity:
78
78
79
79
1. From the left pane, under **Resource Management**, select **Identity**.
80
80
1. Switch **Status** to **On**.
81
81
1. Select **Save**.
82
82
83
83
### Set access control for search
84
84
85
-
On the tab for the **Azure AI Search service** resource in the Azure portal, set the API Access policy:
85
+
On the tab for the **Search service** resource in the Azure portal, set the API Access policy:
86
86
87
87
1. From the left pane, under **Settings**, select **Keys**.
88
88
1. Under **API Access control**, select **Both**.
@@ -96,20 +96,20 @@ You'll repeat this pattern multiple times in the bulleted items below.
96
96
97
97
Use these steps to assign roles for the resources you're configuring in this tutorial:
98
98
99
-
* Assign the following roles on the tab for **Azure AI Search service** in the Azure portal:
100
-
***Search Index Data Reader** to the **Azure OpenAI service** managed identity
101
-
***Search Service Contributor** to the **Azure OpenAI service** managed identity
99
+
* Assign the following roles on the tab for **Search service** in the Azure portal:
100
+
***Search Index Data Reader** to the **Azure AI services** managed identity
101
+
***Search Service Contributor** to the **Azure AI services** managed identity
102
102
***Contributor** to yourself (to find **Contributor**, switch to the **Privileged administrator roles** tab at the top. All other roles are in the **Job function roles** tab.)
103
103
104
-
* Assign the following roles on the tab for **Azure OpenAI service** in the Azure portal:
104
+
* Assign the following roles on the tab for **Azure AI services** in the Azure portal:
105
105
106
-
***Cognitive Services OpenAI Contributor** to the **Azure AI Search service** managed identity
106
+
***Cognitive Services OpenAI Contributor** to the **Search service** managed identity
107
107
***Contributor** to yourself.
108
108
109
109
* Assign the following roles on the tab for **Azure Blob storage** in the Azure portal:
110
110
111
-
***Storage Blob Data Contributor** to the **Azure OpenAI service** managed identity
112
-
***Storage Blob Data Reader** to the **Azure AI Search service** managed identity
111
+
***Storage Blob Data Contributor** to the **Azure AI services** managed identity
112
+
***Storage Blob Data Reader** to the **Search service** managed identity
113
113
***Contributor** to yourself
114
114
115
115
You're done configuring resources. You can close the Azure portal tabs now if you wish.
0 commit comments