Skip to content

Commit b62255b

Browse files
committed
Updates from feedback
1 parent 4fe45f0 commit b62255b

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

quickstart-semantic-ranking-js/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Azure AI Search Semantic Ranking Quickstart - JavaScript
22

3-
This JavaScript sample demonstrates how to use semantic ranking in Azure AI Search to improve search relevance using machine reading comprehension. This is a JavaScript version of the [official Python quickstart](https://learn.microsoft.com/en-us/azure/search/search-get-started-semantic).
3+
This JavaScript sample demonstrates how to use semantic ranking in Azure AI Search to improve search relevance using machine reading comprehension. This is a JavaScript version of the [quickstart](https://learn.microsoft.com/azure/search/search-get-started-semantic).
44

5-
The sample has been refactored into a modular structure, with separate files for different operations.
5+
The sample has been factored into a modular structure, with separate files for different operations.
66

77
## What is Semantic Ranking?
88

@@ -28,8 +28,7 @@ Semantic ranking uses machine reading comprehension from Microsoft to rescore se
2828
- Update the values with your Azure AI Search service details:
2929
```
3030
SEARCH_ENDPOINT=https://your-service-name.search.windows.net
31-
SEARCH_API_KEY=your-admin-api-key
32-
INDEX_NAME=hotels-quickstart
31+
INDEX_NAME=hotels-sample-index
3332
```
3433
3534
4. **Get your search service endpoint and API key**
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Azure AI Search Service Configuration
22
SEARCH_ENDPOINT=PUT-YOUR-SEARCH-SERVICE-ENDPOINT-HERE
3-
INDEX_NAME=hotels-quickstart
3+
INDEX_NAME=hotels-sample-index
4+
SEMANTIC_CONFIGURATION_NAME=semantic-config
5+

quickstart-semantic-ranking-ts/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Azure AI Search Semantic Ranking Quickstart - TypeScript
22

3-
This TypeScript sample demonstrates how to use semantic ranking in Azure AI Search to improve search relevance using machine reading comprehension. This is a TypeScript port of the [official Python quickstart](https://learn.microsoft.com/en-us/azure/search/search-get-started-semantic).
3+
This TypeScript sample demonstrates how to use semantic ranking in Azure AI Search to improve search relevance using machine reading comprehension. This is a TypeScript port of the [quickstart](https://learn.microsoft.com/azure/search/search-get-started-semantic).
44

5-
The sample has been refactored into a modular structure, similar to the vector search quickstart, with separate files for different operations.
5+
The sample has been factored into a modular structure, similar to the vector search quickstart, with separate files for different operations.
66

77
## What is Semantic Ranking?
88

@@ -29,8 +29,7 @@ Semantic ranking uses machine reading comprehension from Microsoft to rescore se
2929
- Update the values with your Azure AI Search service details:
3030
```
3131
SEARCH_ENDPOINT=https://your-service-name.search.windows.net
32-
SEARCH_API_KEY=your-admin-api-key
33-
INDEX_NAME=hotels-quickstart
32+
INDEX_NAME=hotels-sample-index
3433
```
3534
3635
4. **Get your search service endpoint and API key**
@@ -209,10 +208,10 @@ const semanticConfig = {
209208

210209
## Learn More
211210

212-
- [Azure AI Search Semantic Ranking Documentation](https://learn.microsoft.com/en-us/azure/search/semantic-search-overview)
213-
- [Original Python Quickstart](https://learn.microsoft.com/en-us/azure/search/search-get-started-semantic)
214-
- [Azure SDK for JavaScript Documentation](https://docs.microsoft.com/en-us/javascript/api/@azure/search-documents/)
215-
- [Semantic Search Best Practices](https://learn.microsoft.com/en-us/azure/search/semantic-how-to-query-request)
211+
- [Azure AI Search Semantic Ranking Documentation](https://learn.microsoft.com/azure/search/semantic-search-overview)
212+
- [Original Python Quickstart](https://learn.microsoft.com/azure/search/search-get-started-semantic)
213+
- [Azure SDK for JavaScript Documentation](https://docs.microsoft.com/javascript/api/@azure/search-documents/)
214+
- [Semantic Search Best Practices](https://learn.microsoft.com/azure/search/semantic-how-to-query-request)
216215

217216
## Troubleshooting
218217

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Azure AI Search Service Configuration
22
SEARCH_ENDPOINT=PUT-YOUR-SEARCH-SERVICE-ENDPOINT-HERE
3-
INDEX_NAME=hotels-quickstart
3+
INDEX_NAME=hotels-sample-index
4+
SEMANTIC_CONFIGURATION_NAME=semantic-config

0 commit comments

Comments
 (0)