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/search/search-get-started-rag.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,21 @@ You can also start a new file on your local system and create requests manually
34
34
Requests to the search endpoint must be authenticated and authorized. You can use API keys or roles for this task. Keys are easier to start with, but roles are more secure. This quickstart assumes roles.
35
35
36
36
1. Configure Azure OpenAI to use a system-assigned managed identity:
37
+
37
38
1. In the Azure portal, find your Azure OpenAI resource.
39
+
38
40
1. On the left menu, select **Resource management** > **Identity**.
41
+
39
42
1. On the System assigned tab, set status to **On**.
40
43
41
44
1. Configure Azure AI Search for role-based access and assign roles:
45
+
42
46
1. In the Azure portal, find your Azure AI Search service.
47
+
43
48
1. On the left menu, select **Settings** > **Keys**, and then select either **Role-based access control** or **Both**.
49
+
44
50
1. On the left menu, select **Access control (IAM)**.
51
+
45
52
1. Add the following role assignments for the Azure OpenAI managed identity: **Search Index Data Reader**, **Search Service Contributor**.
46
53
47
54
1. Assign yourself to the **Cognitive Services OpenAI User** role on Azure OpenAI. This is the only role you need for query workloads.
@@ -276,12 +283,12 @@ This section uses Visual Studio Code and Python to call the chat APIs on Azure O
276
283
277
284
Output might look similar to the following example:
278
285
279
-
```bash
286
+
```
280
287
Based on your request, here are a few hotel recommendations with beach access and good views:
281
288
282
289
1. Ocean Air Motel - oceanfront hotel with a private balcony and indoor and outdoor pools
283
290
2. Marquis Plaza & Suites - offers a view, free Wi-Fi, and a pool
284
-
3. Pull'r Inn Motel - offers a view, a pool, and free Wi-Fi
291
+
3. Pullr Inn Motel - offers a view, a pool, and free Wi-Fi
285
292
286
293
I hope this helps! Let me know if you need any further assistance.
0 commit comments