Skip to content

Commit

Permalink
added additional directions sharepoint_RAG_bot.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
zbyosufzai authored Apr 4, 2024
1 parent e1946ab commit 5961728
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions notebooks/GenAI/notebooks/sharepoint_RAG_bot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"id": "126cbc99-42be-4411-ae1c-23a976670dcd",
"metadata": {},
"source": [
"### Download Articles"
"### Download articles"
]
},
{
Expand Down Expand Up @@ -162,7 +162,7 @@
"id": "bef9e5b8-b2d3-4d8f-b7da-6bb9363834bc",
"metadata": {},
"source": [
"### Setting up a SharePoint Site"
"### Setting up a SharePoint site"
]
},
{
Expand All @@ -185,7 +185,7 @@
"id": "83190db0-d378-41f1-84b2-97a26ab5b1a7",
"metadata": {},
"source": [
"#### Optional: Requesting a SharePoint Site (for NIH users only)"
"#### Optional: Requesting a SharePoint site (for NIH users only)"
]
},
{
Expand All @@ -201,7 +201,7 @@
"id": "4913c739-e9d7-433e-891c-7799ef033abb",
"metadata": {},
"source": [
"### Create Azure AI Search Service"
"### Create Azure AI Search service"
]
},
{
Expand Down Expand Up @@ -296,7 +296,7 @@
"id": "094b0ee4-bee6-4087-9cbf-004075bd9f52",
"metadata": {},
"source": [
"### Setting up Permissions\n",
"### Setting up permissions\n",
"\n",
"If you are a non-NIH user follow steps 1-3 listed [here](https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online). NIH user should follow the instructions listed below."
]
Expand Down Expand Up @@ -340,7 +340,7 @@
"id": "e9ff3b5d-3ded-4f3a-aa49-60a0945a1e8d",
"metadata": {},
"source": [
"### Create Azure AI Data Store, Index, and Indexer"
"### Create a Azure AI Search data store, index, and indexer"
]
},
{
Expand All @@ -363,15 +363,16 @@
"indexer_name = \"<Your Indexer Name>\"\n",
"app_id = \"<Your Application ID>\"\n",
"tenant_id = \"<Your Account Tenant ID>\" #You can find this by navigating to Microsoft Entra ID via the Azure console\n",
"sharepoint_endpoint = \"<Your SharePoint Site URL>\" #This is the home site URL"
"sharepoint_endpoint = \"<Your SharePoint Site URL>\" #This is your SharePoint home site URL\n",
"library = \"<URL of Your Document Library>\" #Copy the SharePoints sites document library"
]
},
{
"cell_type": "markdown",
"id": "0a200707-63df-4a2f-9872-0fd79c786bac",
"metadata": {},
"source": [
"First we will create our **datastore** which will connect our SharePoint site to Azure AI Search. Notice that within the payload variable the **container** key holds values for a query this is because we want to query all documents within our **document library site**. For other types of queries see the Query section within the [Azure SharePoint Index documentation](https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online#query)."
"First we will create our **datastore** which will connect our SharePoint site to Azure AI Search. Notice that within the payload variable the **container** key holds values for a query this is because we want to extract all documents within our **document library site**. For other types of queries see the Query section within the [Azure SharePoint Index documentation](https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online#query)."
]
},
{
Expand Down

0 comments on commit 5961728

Please sign in to comment.