Skip to content

Commit cefea9c

Browse files
authored
Merge pull request #125 from HeidiSteen/main
Refreshed tutorial steps
2 parents eaa4e42 + 0f3faed commit cefea9c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

Tutorial-RAG/Tutorial-rag.ipynb

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@
185185
"source": [
186186
"## Set endpoints\n",
187187
"\n",
188-
"Provide the endpoints you collected in a previous step. You can leave the API keys empty if you enabled role-based authentication. Otherwise, if you can't use roles, provide API keys for each resource."
188+
"Provide the endpoints you collected in a previous step. You can leave the API keys empty if you enabled role-based authentication. Otherwise, if you can't use roles, provide API keys for each resource.\n",
189+
"\n",
190+
"The Azure AI multiservce key must be provided even if you're using roles. The key isn't used on the connection, but it's currently used for billing purposes."
189191
]
190192
},
191193
{
@@ -196,9 +198,9 @@
196198
"source": [
197199
"# Set endpoints and API keys for Azure services\n",
198200
"AZURE_SEARCH_SERVICE: str = \"PUT YOUR SEARCH SERVICE URL HERE\"\n",
199-
"AZURE_SEARCH_KEY: str = \"DELETE IF USING ROLES, OTHERWISE PUT YOUR SEARCH SERVICE ADMIN KEY HERE\"\n",
201+
"# AZURE_SEARCH_KEY: str = \"DELETE IF USING ROLES, OTHERWISE PUT YOUR SEARCH SERVICE ADMIN KEY HERE\"\n",
200202
"AZURE_OPENAI_ACCOUNT: str = \"PUT YOUR AZURE OPENAI ACCOUNT URL HERE\"\n",
201-
"AZURE_OPENAI_KEY: str = \"DELETE IF USING ROLES, OTHERWISE PUT YOUR AZURE OPENAI KEY HERE\"\n",
203+
"# AZURE_OPENAI_KEY: str = \"DELETE IF USING ROLES, OTHERWISE PUT YOUR AZURE OPENAI KEY HERE\"\n",
202204
"AZURE_AI_MULTISERVICE_ACCOUNT: str = \"PUT YOUR AZURE AI MULTISERVICE ACCOUNT URL HERE\"\n",
203205
"AZURE_AI_MULTISERVICE_KEY: str = \"PUT YOUR AZURE AI MULTISERVICE KEY HERE. ROLES ARE USED TO CONNECT. KEY IS USED FOR BILLING.\"\n",
204206
"AZURE_STORAGE_CONNECTION: str = \"PUT YOUR AZURE STORAGE CONNECTION STRING HERE (see example below for syntax)\"\n",
@@ -513,7 +515,9 @@
513515
"source": [
514516
"## Search using a chat model\n",
515517
"\n",
516-
"This script sends a query, the query response, and a prompt to an LLM for chat completion. This time, the response is created using generative AI."
518+
"This script sends a query, the query response, and a prompt to an LLM for chat completion. This time, the response is created using generative AI.\n",
519+
"\n",
520+
"For more information about this step, its behaviors, and changing the settings, revisit [Search and generate answers](https://learn.microsoft.com/azure/search/tutorial-rag-build-solution-query) in the tutorial."
517521
]
518522
},
519523
{
@@ -578,6 +582,11 @@
578582
"\n",
579583
"print(response.choices[0].message.content)"
580584
]
585+
},
586+
{
587+
"cell_type": "markdown",
588+
"metadata": {},
589+
"source": []
581590
}
582591
],
583592
"metadata": {

0 commit comments

Comments
 (0)