Skip to content

Commit 6be9837

Browse files
committed
fixed permission instruction
1 parent fc555db commit 6be9837

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

articles/search/search-get-started-rag.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: HeidiSteen
66
ms.author: heidist
77
ms.service: cognitive-search
88
ms.topic: quickstart
9-
ms.date: 08/16/2024
9+
ms.date: 08/18/2024
1010
---
1111

1212
# 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
3333

3434
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.
3535

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+
3642
1. Sign in to the [Azure portal](https://portal.azure.com).
3743

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:
3945

4046
1. In the Azure portal, [find your search service](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Search%2FsearchServices).
4147

@@ -69,7 +75,7 @@ It can take several minutes for permissions to take effect.
6975

7076
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.
7177

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).
7379

7480
1. On the **Overview** home page, select [**Import data**](search-get-started-portal.md) to start the wizard.
7581

@@ -272,4 +278,4 @@ You can find and manage resources in the portal by using the **All resources** o
272278

273279
## Next steps
274280

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

Comments
 (0)