Skip to content

Commit 513f0c3

Browse files
committed
Moved intro into an include
1 parent 4797f39 commit 513f0c3

File tree

5 files changed

+41
-20
lines changed

5 files changed

+41
-20
lines changed

articles/search/includes/quickstarts/dotnet-semantic.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ms.topic: include
88
ms.date: 06/13/2025
99
---
1010

11+
[!INCLUDE [Semantic ranker introduction](semantic-ranker-intro.md)]
12+
13+
### CSHARP INCLUDE STARTS HERE
14+
1115
Build a console application by using the [**Azure.Search.Documents**](/dotnet/api/overview/azure/search.documents-readme) client library to add semantic ranking to an existing search index.
1216

1317
Alternatively, you can [download the source code](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/quickstart-semantic-search/SemanticSearchQuickstart) to start with a finished project.

articles/search/includes/quickstarts/python-semantic.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ms.topic: include
88
ms.date: 06/13/2025
99
---
1010

11+
[!INCLUDE [Semantic ranker introduction](semantic-ranker-intro.md)]
12+
13+
### PYTHON INCLUDE STARTS HERE
14+
1115
Use a Jupyter notebook and the [**azure-search-documents**](/python/api/overview/azure/search-documents-readme) library in the Azure SDK for Python to learn about semantic ranking.
1216

1317
Alternatively, you can [download and run a finished notebook](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Semantic-Search).
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
manager: nitinme
3+
author: haileytap
4+
ms.author: haileytapia
5+
ms.service: azure-ai-search
6+
ms.topic: include
7+
ms.date: 06/25/2025
8+
---
9+
10+
In this quickstart, you learn about the index and query modifications that invoke semantic ranker.
11+
12+
In Azure AI Search, [semantic ranking](semantic-search-overview.md) is query-side functionality that uses machine reading comprehension from Microsoft to rescore search results, promoting the most semantically relevant matches to the top of the list. Depending on the content and the query, semantic ranking can [significantly improve search relevance](https://techcommunity.microsoft.com/t5/azure-ai-services-blog/azure-cognitive-search-outperforming-vector-search-with-hybrid/ba-p/3929167) with minimal developer effort. Semantic ranking is also required for [agentic retrieval (preview)](search-agentic-retrieval-concept.md).
13+
14+
You can add a semantic configuration to an existing index with no rebuild requirement. Semantic ranking is effective on content that's informational or descriptive.
15+
16+
## Prerequisites
17+
18+
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
19+
20+
+ An [Azure AI Search service](search-create-service-portal.md), at Basic tier or higher, with [semantic ranker enabled](semantic-how-to-enable-disable.md).
21+
22+
+ A [new or existing index](search-how-to-create-search-index.md) with descriptive or verbose text fields, attributed as retrievable in your index.
23+
24+
## How to add a semantic ranker
25+
26+
To use semantic ranker, add a *semantic configuration* to a search index, and add parameters to a query. If you have an existing index, you can make these changes without having to reindex your content because there's no impact on the structure of your searchable content.
27+
28+
+ A semantic configuration sets a priority order for fields that contribute a title, keywords, and content used in semantic reranking. Field prioritization allows for faster processing.
29+
30+
+ Queries that invoke semantic ranker include parameters for query type and whether captions and answers are returned. You can add these parameters to your existing query logic. There's no conflict with other parameters.

articles/search/includes/quickstarts/semantic-ranker-rest.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ ms.topic: include
77
ms.date: 06/25/2025
88
---
99

10+
[!INCLUDE [Semantic ranker introduction](semantic-ranker-intro.md)]
11+
12+
### REST INCLUDE STARTS HERE
1013

1114
In this quickstart, you use the [Azure AI Search REST APIs](/rest/api/searchservice) to configure and use a semantic ranker.
1215

articles/search/search-get-started-semantic.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,6 @@ zone_pivot_groups: search-get-started-semantic
1717

1818
# Quickstart: Semantic ranking using .NET or Python
1919

20-
In this quickstart, you learn about the index and query modifications that invoke semantic ranker.
21-
22-
In Azure AI Search, [semantic ranking](semantic-search-overview.md) is query-side functionality that uses machine reading comprehension from Microsoft to rescore search results, promoting the most semantically relevant matches to the top of the list. Depending on the content and the query, semantic ranking can [significantly improve search relevance](https://techcommunity.microsoft.com/t5/azure-ai-services-blog/azure-cognitive-search-outperforming-vector-search-with-hybrid/ba-p/3929167) with minimal developer effort. Semantic ranking is also required for [agentic retrieval (preview)](search-agentic-retrieval-concept.md).
23-
24-
## Prerequisites
25-
26-
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
27-
28-
+ An [Azure AI Search service](search-create-service-portal.md), at Basic tier or higher, with [semantic ranker enabled](semantic-how-to-enable-disable.md).
29-
30-
+ A new or existing index with descriptive or verbose text fields, attributed as retrievable in your index. You can add a semantic configuration to an existing index with no rebuild requirement. Semantic ranking is effective on content that's informational or descriptive.
31-
32-
## How to add a semantic ranker
33-
34-
To use semantic ranker, add a *semantic configuration* to a search index, and add parameters to a query. If you have an existing index, you can make these changes without having to reindex your content because there's no impact on the structure of your searchable content.
35-
36-
+ A semantic configuration sets a priority order for fields that contribute a title, keywords, and content used in semantic reranking. Field prioritization allows for faster processing.
37-
38-
+ Queries that invoke semantic ranker include parameters for query type and whether captions and answers are returned. You can add these parameters to your existing query logic. There's no conflict with other parameters.
39-
4020
::: zone pivot="csharp"
4121

4222
[!INCLUDE [C# quickstart](includes/quickstarts/dotnet-semantic.md)]

0 commit comments

Comments
 (0)