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: Quickstart/REST/azure-search-quickstart.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
"cell_type": "markdown",
12
12
"metadata": {},
13
13
"source": [
14
-
"This Jupyter Notebook demonstrates index creation, data ingestion, and queries of an Azure Cognitive Search index by calling the REST APIs from Python code. This notebook is a companion document to this [Python quickstart](https://docs.microsoft.com/azure/search/search-get-started-python). \n",
14
+
"This Jupyter Notebook demonstrates index creation, data ingestion, and queries of an Azure AI Search index by calling the REST APIs from Python code. This notebook is a companion document to this [Python quickstart](https://docs.microsoft.com/azure/search/search-get-started-python). \n",
15
15
"\n",
16
16
"\n",
17
17
"As a first step, load the libraries used for working with JSON and formulating HTTP requests."
@@ -241,7 +241,7 @@
241
241
"cell_type": "markdown",
242
242
"metadata": {},
243
243
"source": [
244
-
"You are now ready to run some queries. The next cell contains a query expression that executes an empty search (search=*), returning an unranked list (search score = 1.0) of arbitrary documents. By default, Azure Cognitive Search returns 50 matches at a time. As structured, this query returns an entire document structure and values. Add $count=true to get a count of all documents (4) in the results."
244
+
"You are now ready to run some queries. The next cell contains a query expression that executes an empty search (search=*), returning an unranked list (search score = 1.0) of arbitrary documents. By default, Azure AI Search returns 50 matches at a time. As structured, this query returns an entire document structure and values. Add $count=true to get a count of all documents (4) in the results."
Copy file name to clipboardExpand all lines: Quickstart/v11/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,17 @@ products:
7
7
- azure
8
8
- azure-cognitive-search
9
9
description: |
10
-
Learn how to create, load, and query an Azure Cognitive Search index using Python.
10
+
Learn how to create, load, and query an Azure AI Search index using Python.
11
11
urlFragment: python-quickstart
12
12
---
13
13
14
-
# Python quickstart for Azure Cognitive Search
14
+
# Python quickstart for Azure AI Search
15
15
16
16

17
17
18
-
Demonstrates using Python and the Azure SDK for Python to create an Azure Cognitive Search index, load it with documents, and execute a few queries. The index is modeled on a subset of the Hotels dataset, reduced for readability and comprehension. Index definition and documents are included in the code.
18
+
Demonstrates using Python and the Azure SDK for Python to create an Azure AI Search index, load it with documents, and execute a few queries. The index is modeled on a subset of the Hotels dataset, reduced for readability and comprehension. Index definition and documents are included in the code.
19
19
20
-
This sample is a Jupyter Python3 .ipynb file to perform the actions against the Cognitive Search service.
20
+
This sample is a Jupyter Python3 .ipynb file to perform the actions against the Azure AI Search service.
21
21
22
22
## Prerequisites
23
23
@@ -46,4 +46,4 @@ This sample is a Jupyter Python3 .ipynb file to perform the actions against the
46
46
47
47
## Next steps
48
48
49
-
You can learn more about Azure Cognitive Search on the [official documentation site](https://docs.microsoft.com/azure/search).
49
+
You can learn more about Azure AI Search on the [official documentation site](https://docs.microsoft.com/azure/search).
Copy file name to clipboardExpand all lines: Quickstart/v11/azure-search-quickstart.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,15 @@
5
5
"cell_type": "markdown",
6
6
"metadata": {},
7
7
"source": [
8
-
"# Create a search index in Azure Cognitive Search using the Azure SDK for Python"
8
+
"# Create a search index in Azure AI Search using the Azure SDK for Python"
9
9
]
10
10
},
11
11
{
12
12
"attachments": {},
13
13
"cell_type": "markdown",
14
14
"metadata": {},
15
15
"source": [
16
-
"This Jupyter Notebook steps through creating, loading, and querying an index in Azure Cognitive Search index by calling the azure-search-documents library in the Azure SDK for Python. "
16
+
"This Jupyter Notebook steps through creating, loading, and querying an index in Azure AI Search index by calling the azure-search-documents library in the Azure SDK for Python. "
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# Python samples for Azure Cognitive Search
1
+
# Python samples for Azure AI Search
2
2
3
-
This repository contains Python code samples used in Azure Cognitive Search documentation. Unless noted otherwise, all samples run on the shared (free) pricing tier of an [Azure Cognitive Search service](https://learn.microsoft.com/azure/search/search-create-service-portal).
3
+
This repository contains Python code samples used in Azure AI Search documentation. Unless noted otherwise, all samples run on the shared (free) pricing tier of an [Azure AI Search service](https://learn.microsoft.com/azure/search/search-create-service-portal).
4
4
5
5
| Sample | Description |
6
6
|--------|-------------|
7
-
| quickstart | "Day One" introduction to the fundamental tasks of working with a search index: create, load, and query. This sample is a Jupyter Python3 .ipynb file. The index is modeled on a subset of the Hotels dataset, widely used in Cognitive Search samples, but reduced here for readability and comprehension. |
7
+
| quickstart | "Day One" introduction to the fundamental tasks of working with a search index: create, load, and query. This sample is a Jupyter Python3 .ipynb file. The index is modeled on a subset of the Hotels dataset, widely used in Azure AI Search samples, but reduced here for readability and comprehension. |
8
8
| quickstart-semantic-search | Extends the quickstart through modifications that invoke semantic search. This notebook adds a semantic configuration to the index and semantic query options that formulate the query and response. |
9
-
| tutorial-ai-enrichment | This sample is a Jupyter Python3 .ipynb file used in the [Python Tutorial: Call Cognitive Services APIs in an Azure Cognitive Search indexing pipeline](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python). This sample demonstrates cognitive search functionality, adding AI enrichments from Cognitive Services to extract, detect, and analyze information from image files or large unstructured document files. |
9
+
| tutorial-ai-enrichment | This sample is a Jupyter Python3 .ipynb file used in the [Python Tutorial: Call Azure AI Services APIs in an Azure AI Search indexing pipeline](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python). This sample demonstrates Azure AI functionality, adding AI enrichments from Azure AI services to extract, detect, and analyze information from image files or large unstructured document files. |
10
10
| search-website-functions-v4 | Shows how to create, load, and query a search index in Python using the Azure.Search.Documents library in the Azure SDK for Python. It also includes application code and sample data so that you can see search integration in the context of a full app. The data is from [https://github.com/zygmuntz/goodbooks-10k](https://github.com/zygmuntz/goodbooks-10k). The app is an Azure Static Web app, using the React library for user interaction, and Azure Function to handle the query requests and responses in the application layer. |
Copy file name to clipboardExpand all lines: Tutorial-AI-Enrichment/PythonTutorial-AzureSearch-AIEnrichment.ipynb
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
"cell_type": "markdown",
5
5
"metadata": {},
6
6
"source": [
7
-
"# Enrichment sample in Python for Azure Cognitive Search\n",
7
+
"# Enrichment sample in Python for Azure AI Search\n",
8
8
"\n",
9
-
"In this Jupyter Notebook, create and run enrichment steps to unlock searchable content in Azure blobs. It performs operations over mixed content in Azure Storage, such as images and application files, using a skillset that analyzes and extracts text information that becomes searchable in Azure Cognitive Search. The full documentation for this sample can be found at [Tutorial: Use Python and AI to generate searchable content from Azure blobs](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python).\n",
9
+
"In this Jupyter Notebook, create and run enrichment steps to unlock searchable content in Azure blobs. It performs operations over mixed content in Azure Storage, such as images and application files, using a skillset that analyzes and extracts text information that becomes searchable in Azure AI Search. The full documentation for this sample can be found at [Tutorial: Use Python and AI to generate searchable content from Azure blobs](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python).\n",
10
10
"\n",
11
11
"This sample creates the following objects on your search service:\n",
"This step concludes the walkthrough, showing you how to invoke skills that extract searchable content and information from image and application files in Azure Storage. The processes run on Azure Cognitive Search, and the resulting index can be used in client apps to provide a search experience. For more information, visit the [official docs](https://docs.microsoft.com/azure/search/)."
342
+
"This step concludes the walkthrough, showing you how to invoke skills that extract searchable content and information from image and application files in Azure Storage. The processes run on Azure AI Search, and the resulting index can be used in client apps to provide a search experience. For more information, visit the [official docs](https://docs.microsoft.com/azure/search/)."
Copy file name to clipboardExpand all lines: Tutorial-AI-Enrichment/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ products:
7
7
- azure-cognitive-search
8
8
name: AI enrichment tutorial - Jupyter Notebook
9
9
description: |
10
-
Create an AI enrichment pipeline in Azure Cognitive Search to extract text, structure, and information from raw content, including images and unstructured text.
10
+
Create an AI enrichment pipeline in Azure AI Search to extract text, structure, and information from raw content, including images and unstructured text.
11
11
urlFragment: python-tutorial-cognitive-search
12
12
---
13
13
14
-
# Get started with skillsets and AI enrichment in Azure Cognitive Search
14
+
# Get started with skillsets and AI enrichment in Azure AI Search
15
15
16
-
Demonstrates AI enrichment by building a [skillset](https://docs.microsoft.com/azure/search/cognitive-search-working-with-skillsets) that detects and extracts text and text representations of images and scanned documents stored as blobs in Azure Blob storage. This sample leverages cognitive skills that are based on he Cognitive Services APIs, such as entity recognition and language detection. It uses the REST APIs to make calls to Azure Cognitive Search, including index definition, data ingestion and AI enrichment, and query execution.
16
+
Demonstrates AI enrichment by building a [skillset](https://docs.microsoft.com/azure/search/cognitive-search-working-with-skillsets) that detects and extracts text and text representations of images and scanned documents stored as blobs in Azure Blob storage. This sample leverages cognitive skills that are based on the Azure AI Services APIs, such as entity recognition and language detection. It uses the REST APIs to make calls to Azure AI Search, including index definition, data ingestion and AI enrichment, and query execution.
17
17
18
-
This Python sample is in a notebook. For an explanation of each step, see [Python Tutorial: Call Cognitive Services APIs in an enrichment pipeline](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python).
18
+
This Python sample is in a notebook. For an explanation of each step, see [Python Tutorial: Call Azure AI Services APIs in an enrichment pipeline](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python).
19
19
20
20
## Contents
21
21
@@ -32,7 +32,7 @@ This Python sample is in a notebook. For an explanation of each step, see [Pytho
32
32
-[Anaconda 3.x](https://www.anaconda.com/distribution/#download-section) providing Python 3.x and Jupyter Notebooks
33
33
-[Sample file set (mixed content types)](https://github.com/Azure-Samples/azure-search-sample-data/tree/master/mixedContent)

18
18
19
-
This Python sample shows you how to add document search to a web app using Azure Cognitive Search.
19
+
This Python sample shows you how to add document search to a web app using Azure AI Search.
20
20
21
-
For this sample, you will use the [**azure-search-documents**](https://pypi.org/project/azure-search-documents/) library in the Azure SDK for Python to create, load, and query a search index containing the goodbooks-10k dataset, publicly available at [https://github.com/zygmuntz/goodbooks-10k](https://github.com/zygmuntz/goodbooks-10k). The search index runs on an [Azure Cognitive Search](https://docs.microsoft.com/azure/search/search-what-is-azure-search) service that you create. You can use the free tier for this sample.
21
+
For this sample, you will use the [**azure-search-documents**](https://pypi.org/project/azure-search-documents/) library in the Azure SDK for Python to create, load, and query a search index containing the goodbooks-10k dataset, publicly available at [https://github.com/zygmuntz/goodbooks-10k](https://github.com/zygmuntz/goodbooks-10k). The search index runs on an [Azure AI Search](https://docs.microsoft.com/azure/search/search-what-is-azure-search) service that you create. You can use the free tier for this sample.
22
22
23
23
Optionally, this sample includes a devcontainer.json file so that you can run the code locally, as a developer, with the assurance that the environment is correctly configured and your local system doesn't need anything beyond docker. You'll need the [Docker extension](https://code.visualstudio.com/docs/containers/overview) to do this. If you don't want to us Docker, you can run your code in a virtual environment instead.
24
24
@@ -49,7 +49,7 @@ You can deploy the sample onto Azure or run it locally by following the steps be
49
49
*[Visual Studio Code extension: Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
50
50
*[Visual Studio Code extension: Azure Functions](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions&WT.mc_id=shopathome-github-jopapa)
51
51
*[Visual Studio Code extension: Azure Static Web Apps](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps)
*[Azure AI Search](https://learn.microsoft.com/azure/search/search-create-service-portal)
53
53
54
54
[Visual Studio Code extension: Docker](https://code.visualstudio.com/docs/containers/overview) is optional, but necessary if you want to run the Python code in a container.
55
55
@@ -140,7 +140,11 @@ The following instructions create and configure the Azure Static Web App resourc
140
140
141
141
1. Select **Save** to save the settings.
142
142
143
-
1. Return to Visual Studio Code.
143
+
1. Return to Visual Studio Code.
144
+
145
+
1. Select **Terminal** > **New Terminal** to get a command line.
146
+
147
+
1. Type `git pull origin main` to pull down the changes from your forked main branch.
144
148
145
149
1. Refresh your Static web app to see the Static web app's application settings.
146
150
@@ -160,4 +164,4 @@ The following instructions create and configure the Azure Static Web App resourc
160
164
161
165
## Clean up
162
166
163
-
If you no longer need Azure Cognitive Search or Azure Static Web Apps, remember to delete both resources in your subscription.
167
+
If you no longer need Azure AI Search or Azure Static Web Apps, remember to delete both resources in your subscription.
0 commit comments