Skip to content

Commit 692acf9

Browse files
committed
checkpoint
1 parent a8e042b commit 692acf9

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ We recommend [Visual Studio](https://visualstudio.microsoft.com/vs/community/) f
7070

7171
In this section, you update a search index and send a query that invokes semantic ranking. Visual Studio Code displays the response after you run each cell. For more information about each step, see [Explaining the code](#explaining-the-code).
7272

73+
<!-- ```csharp
7374

75+
``` -->
7476

7577
### Run the program
7678

@@ -85,11 +87,11 @@ Add `SemanticConfiguration` to a search index definition. If you're updating an
8587
+ [Update an index with a semantic configuration](#add-a-semantic-configuration-to-the-index)
8688
+ [Query the index using semantic parameters](#add-semantic-ranking-to-queries)
8789

88-
### Add a semantic configuration to the index
90+
### Update an index with a semantic configuration
8991

9092
TBD
9193

92-
### Add semantic ranking to queries
94+
### Query the index using semantic parameters
9395

9496
Here's a query that invokes semantic ranker, with search options for specifying parameters:
9597

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 06/27/2025
99

1010
[!INCLUDE [Semantic ranker introduction](semantic-ranker-intro.md)]
1111

12-
> [!TIP]
12+
> [!TIP]
1313
> You can [download the source code](https://github.com/Azure-Samples/azure-search-rest-samples/tree/main/Quickstart-semantic-search) to start with a finished project or follow these steps to create your own.
1414
1515
## Set up the client
@@ -20,15 +20,15 @@ We recommend [Visual Studio Code](https://code.visualstudio.com/download) with a
2020

2121
1. Start Visual Studio Code and create a new .http or .rest file.
2222

23-
1. At the top, specify environment variables for your search service, authorization, and index name.
23+
1. At the top, set environment variables for your search service, authorization, and index name.
2424

2525
+ For @baseURL, sign in to the Azure portal and copy the URL from the search service **Overview** page.
2626

27-
+ For @token, follow the instruction in [Connect without keys](../../search-get-started-rbac.md) to get your personal identity token.
27+
+ For @token, follow the instructions in [Connect without keys](../../search-get-started-rbac.md) to get your personal identity token.
2828

2929
+ For @index-name, provide a unique name or use the default, *hotel-semantic-quickstart*.
3030

31-
1. Paste in your first request and then select **Send**. This request returns a list of existing indexes. You should get an HTTP 200 Success status code and a list of indexes, including hotels-sample-index. This step confirms access to the search service.
31+
1. To test the connection, send your first request. This GET request returns a list of existing indexes. You should get an HTTP 200 Success status code and a list of indexes, including hotels-sample-index used in this quickstart.
3232

3333
```http
3434
### List existing indexes by name (verify the connection)
@@ -39,7 +39,11 @@ We recommend [Visual Studio Code](https://code.visualstudio.com/download) with a
3939

4040
## Update and query the index
4141

42-
In this section, you make REST API calls to update a search index and send a query that invokes semantic ranking. Visual Studio Code displays the response to each request in an adjacent pane. For more information about each step, see [Explaining the code](#explaining-the-code).
42+
In this section, you make REST API calls to update a search index to include a semantic configuration, and then send a query that invokes semantic ranking. Visual Studio Code displays the response to each request in an adjacent pane. For more information about each step, see [Explaining the code](#explaining-the-code).
43+
44+
```json
45+
TBD
46+
```
4347

4448
## Explaining the code
4549

@@ -48,10 +52,10 @@ This section explains the REST API calls that you made to:
4852
+ [Update an index with a semantic configuration](#add-a-semantic-configuration-to-the-index)
4953
+ [Query the index using semantic parameters](#add-semantic-ranking-to-queries)
5054

51-
### Add a semantic configuration to the index
55+
### Update an index with a semantic configuration
5256

5357
TBD
5458

55-
### Add semantic ranking to queries
59+
### Query the index using semantic parameters
5660

5761
TBD

0 commit comments

Comments
 (0)