Skip to content

Commit 9a00c76

Browse files
authored
Merge pull request #101 from HeidiSteen/main
Updated product name references
2 parents c9c02a1 + 72c1fe6 commit 9a00c76

File tree

10 files changed

+34
-30
lines changed

10 files changed

+34
-30
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Azure Cognitive Search samples
1+
# Contributing to Azure AI Search samples
22

33
This project welcomes contributions and suggestions. Most contributions require you to agree to a
44
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us

Quickstart/REST/azure-search-quickstart.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"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",
1515
"\n",
1616
"\n",
1717
"As a first step, load the libraries used for working with JSON and formulating HTTP requests."
@@ -241,7 +241,7 @@
241241
"cell_type": "markdown",
242242
"metadata": {},
243243
"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."
245245
]
246246
},
247247
{

Quickstart/v11/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ products:
77
- azure
88
- azure-cognitive-search
99
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.
1111
urlFragment: python-quickstart
1212
---
1313

14-
# Python quickstart for Azure Cognitive Search
14+
# Python quickstart for Azure AI Search
1515

1616
![Flask sample MIT license badge](https://img.shields.io/badge/license-MIT-green.svg)
1717

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.
1919

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.
2121

2222
## Prerequisites
2323

@@ -46,4 +46,4 @@ This sample is a Jupyter Python3 .ipynb file to perform the actions against the
4646

4747
## Next steps
4848

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

Quickstart/v11/azure-search-quickstart.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"cell_type": "markdown",
66
"metadata": {},
77
"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"
99
]
1010
},
1111
{
1212
"attachments": {},
1313
"cell_type": "markdown",
1414
"metadata": {},
1515
"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. "
1717
]
1818
},
1919
{

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Python samples for Azure Cognitive Search
1+
# Python samples for Azure AI Search
22

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

55
| Sample | Description |
66
|--------|-------------|
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. |
88
| 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. |
1010
| 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. |
1111

1212
## Archived samples

Tutorial-AI-Enrichment/PythonTutorial-AzureSearch-AIEnrichment.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Enrichment sample in Python for Azure Cognitive Search\n",
7+
"# Enrichment sample in Python for Azure AI Search\n",
88
"\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",
1010
"\n",
1111
"This sample creates the following objects on your search service:\n",
1212
"\n",
@@ -75,7 +75,7 @@
7575
"datasourceConnectionString = \"<YOUR-BLOB-RESOURCE-CONNECTION-STRING>\"\n",
7676
"datasource_payload = {\n",
7777
" \"name\": datasource_name,\n",
78-
" \"description\": \"Demo files to demonstrate cognitive search capabilities.\",\n",
78+
" \"description\": \"Demo files to demonstrate search capabilities.\",\n",
7979
" \"type\": \"azureblob\",\n",
8080
" \"credentials\": {\n",
8181
" \"connectionString\": datasourceConnectionString\n",
@@ -339,7 +339,7 @@
339339
"cell_type": "markdown",
340340
"metadata": {},
341341
"source": [
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 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/)."
343343
]
344344
}
345345
],

Tutorial-AI-Enrichment/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ products:
77
- azure-cognitive-search
88
name: AI enrichment tutorial - Jupyter Notebook
99
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.
1111
urlFragment: python-tutorial-cognitive-search
1212
---
1313

14-
# Get started with skillsets and AI enrichment in Azure Cognitive Search
14+
# Get started with skillsets and AI enrichment in Azure AI Search
1515

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.
1717

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

2020
## Contents
2121

@@ -32,7 +32,7 @@ This Python sample is in a notebook. For an explanation of each step, see [Pytho
3232
- [Anaconda 3.x](https://www.anaconda.com/distribution/#download-section) providing Python 3.x and Jupyter Notebooks
3333
- [Sample file set (mixed content types)](https://github.com/Azure-Samples/azure-search-sample-data/tree/master/mixedContent)
3434
- [Azure Storage account](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account)
35-
- [Azure Cognitive Search service](https://docs.microsoft.com/en-us/azure/search/search-create-service-portal)
35+
- [Azure AI Search service](https://docs.microsoft.com/en-us/azure/search/search-create-service-portal)
3636

3737
## Setup
3838

search-website-functions-v4/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ urlFragment: python-sample-search-web-app
1616

1717
![Flask sample MIT license badge](https://img.shields.io/badge/license-MIT-green.svg)
1818

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.
2020

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.
2222

2323
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.
2424

@@ -49,7 +49,7 @@ You can deploy the sample onto Azure or run it locally by following the steps be
4949
* [Visual Studio Code extension: Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
5050
* [Visual Studio Code extension: Azure Functions](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions&WT.mc_id=shopathome-github-jopapa)
5151
* [Visual Studio Code extension: Azure Static Web Apps](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps)
52-
* [Azure Cognitive Search](https://learn.microsoft.com/azure/search/search-create-service-portal)
52+
* [Azure AI Search](https://learn.microsoft.com/azure/search/search-create-service-portal)
5353

5454
[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.
5555

@@ -140,7 +140,11 @@ The following instructions create and configure the Azure Static Web App resourc
140140

141141
1. Select **Save** to save the settings.
142142

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.
144148

145149
1. Refresh your Static web app to see the Static web app's application settings.
146150

@@ -160,4 +164,4 @@ The following instructions create and configure the Azure Static Web App resourc
160164

161165
## Clean up
162166

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.

search-website-functions-v4/bulk-upload/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Create Cognitive Search Index from CSV file
1+
# Create Azure AI Search Index from CSV file
22

33
1. Change the following values in the `bulk_upload.py` file:
44

search-website-functions-v4/client/src/pages/Home/Home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function Home() {
2020
<main className="main main--home">
2121
<div className="row home-search">
2222
<img className="logo" src={logo} alt="Cognitive Search"></img>
23-
<p className="poweredby lead">Powered by Azure Cognitive Search</p>
23+
<p className="poweredby lead">Powered by Azure AI Search</p>
2424
<SearchBar postSearchHandler={navigateToSearchPage}></SearchBar>
2525
</div>
2626
</main>

0 commit comments

Comments
 (0)