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
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: HeidiSteen
6
6
ms.author: heidist
7
7
ms.service: cognitive-search
8
8
ms.topic: quickstart
9
-
ms.date: 08/16/2024
9
+
ms.date: 08/18/2024
10
10
---
11
11
12
12
# Quickstart: Generative search (RAG) with grounding data from Azure AI Search
@@ -33,9 +33,15 @@ You can also start a new file on your local system and create requests manually
33
33
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
+
You're calling two clients, so you need permissions on both.
37
+
38
+
Azure AI Search is receiving the query request from your local system. Assign yourself the **Search Index Data Reader** role assignment for that task. If you're also creating and loading the hotel sample index, add **Search Service Contributor** and **Search Index Data Contributor** roles as well.
39
+
40
+
Azure OpenAI is receiving the (query) "Can you recommend a few hotels" from your local system, plus its receiving the response (source) from the search service. Assign yourself and the search service the **Cognitive Services OpenAI User** role.
41
+
36
42
1. Sign in to the [Azure portal](https://portal.azure.com).
37
43
38
-
1. Configure Azure AI Search to use a system-assigned managed identity:
44
+
1. Configure Azure AI Search to use a system-assigned managed identity so that you can you give it role assignments:
39
45
40
46
1. In the Azure portal, [find your search service](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Search%2FsearchServices).
41
47
@@ -69,7 +75,7 @@ It can take several minutes for permissions to take effect.
69
75
70
76
We recommend the hotels-sample-index, which can be created in minutes and runs on any search service tier. This index is created using built-in sample data.
71
77
72
-
1. In the Azure portal, find your search service.
78
+
1. In the Azure portal, [find your search service](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Search%2FsearchServices).
73
79
74
80
1. On the **Overview** home page, select [**Import data**](search-get-started-portal.md) to start the wizard.
75
81
@@ -272,4 +278,4 @@ You can find and manage resources in the portal by using the **All resources** o
272
278
273
279
## Next steps
274
280
275
-
As a next step, we recommend that you review the demo code for [Python](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python), [C#](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet), or [JavaScript](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-javascript).
281
+
As a next step, we recommend that you review the demo code for [Python](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python), [C#](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet), or [JavaScript](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-javascript) on the azure-search-vector-samples repository.
0 commit comments