Skip to content

Commit 5195a71

Browse files
committed
Updates to prerequisites
1 parent 38e6ec6 commit 5195a71

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

Quickstart-RAG/Quickstart-rag.ipynb

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,33 @@
2525
"source": [
2626
"## Prerequisites\n",
2727
"\n",
28-
"- Azure AI Search, Basic tier or higher is recommended. Enable semantic ranking and role-based access control.\n",
28+
"- [Azure OpenAI](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource)\n",
2929
"\n",
30-
"- Azure OpenAI, in the same region as Azure AI Search. Configure Azure OpenAI to use a system managed identity.\n",
30+
" - Configure Azure OpenAI to use a system managed identity.\n",
31+
" - Deploy a chat model (GPT-3.5-Turbo, GPT-4, or equivalent LLM).\n",
3132
"\n",
32-
"- Deployment GPT-3.5-Turbo, GPT-4, or equivalent LLM.\n",
33+
"- [Azure AI Search](https://learn.microsoft.com/azure/search/search-create-service-portal)\n",
3334
"\n",
34-
"- Create the hotels-sample-index using [this quickstart](https://learn.microsoft.com/azure/search/search-get-started-portal), and then modify it to use this semantic configuration:\n",
35+
" - Basic tier or higher is recommended.\n",
36+
" - Choose the same region as Azure OpenAI.\n",
37+
" - Enable semantic ranking.\n",
38+
" - Enable role-based access control.\n",
39+
"\n",
40+
"## Configure access\n",
41+
"\n",
42+
"This quickstart assumes authentication and authorization using Microsoft Entra ID and role assignments. It also assumes that you run this code from your local device.\n",
43+
"\n",
44+
"- On Azure AI Search, create a role assignment for the Azure OpenAI system managed identity. Required roles: **Search Index Data Reader**, **Search Service Contributor**.\n",
45+
"\n",
46+
"- Make sure you also have a role assignment that gives you permissions to create and query objects: Required roles: **Search Index Data Reader**, **Search Index Data Contributor**, **Search Service Contributor**.\n",
47+
"\n",
48+
"- On Azure OpenAI, create a role assigment for yourself to send requests from your local device: Required role: **Cognitive Services OpenAI User**.\n",
49+
"\n",
50+
"## Create the sample index\n",
51+
"\n",
52+
"This quickstart assumes the hotels-sample-index, which you can create in minutes using [this quickstart](https://learn.microsoft.com/azure/search/search-get-started-portal).\n",
53+
"\n",
54+
"Once the index exists, modify it in the Azure portal to use this semantic configuration:\n",
3555
" \n",
3656
" ```json\n",
3757
" \"semantic\": {\n",
@@ -49,9 +69,7 @@
4969
" }]},\n",
5070
" ```\n",
5171
"\n",
52-
"- On Azure AI Search, create a role assignment for the Azure OpenAI managed identity. Required roles: **Search Index Data Reader**, **Search Service Contributor**.\n",
53-
"\n",
54-
"- On Azure OpenAI, create a role assigment for the user running the code: Required role: **Cognitive Services OpenAI User**."
72+
"Now that you have your Azure resources, an index, and model in place, you can run the script to chat with the index."
5573
]
5674
},
5775
{

0 commit comments

Comments
 (0)