Skip to content

Commit 9fafe7c

Browse files
committed
edit
1 parent a9bcabf commit 9fafe7c

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ The quickstart assumes the following is available on your computer:
4343
npm install @azure/identity @azure/search-documents dotenv
4444
```
4545

46-
47-
1. Create a `src` directory in your project directory.
48-
49-
```bash
50-
mkdir src
51-
```
52-
5346
1. Rename `sample.env` to `.env`, and provide your search service endpoint. You can get the endpoint from the Azure portal on the search service **Overview** page.
5447

5548
```ini
@@ -58,6 +51,14 @@ The quickstart assumes the following is available on your computer:
5851
SEMANTIC_CONFIGURATION_NAME=semantic-config
5952
```
6053

54+
55+
1. Create a `src` directory in your project directory.
56+
57+
```bash
58+
mkdir src
59+
```
60+
61+
6162
### Sign in to Azure
6263

6364
If you signed in to the [Azure portal](https://portal.azure.com), you're signed into Azure. If you aren't sure, use the Azure CLI or Azure PowerShell to log in: `az login` or `az connect`. If you have multiple tenants and subscriptions, see [Quickstart: Connect without keys](../../search-get-started-rbac.md) for help on how to connect.

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,20 @@ The quickstart assumes the following is available on your computer:
8181
"build": "tsc"
8282
```
8383

84+
1. Create `.env`, and provide your search service endpoint. You can get the endpoint from the Azure portal on the search service **Overview** page.
85+
86+
```ini
87+
AZURE_SEARCH_ENDPOINT=https://<>.search.windows.net
88+
AZURE_SEARCH_INDEX_NAME=hotels-sample-index
89+
SEMANTIC_CONFIGURATION_NAME=semantic-config
90+
```
91+
8492
1. Create a `src` directory in your project directory.
8593

8694
```bash
8795
mkdir src
8896
```
8997

90-
1. Rename `sample.env` to `.env`, and provide your search service endpoint. You can get the endpoint from the Azure portal on the search service **Overview** page.
91-
92-
```ini
93-
AZURE_SEARCH_ENDPOINT=https://ai-search-dib-2.search.windows.net
94-
AZURE_SEARCH_INDEX_NAME=hotels-sample-index
95-
SEMANTIC_CONFIGURATION_NAME=semantic-config
96-
```
9798

9899
### Sign in to Azure
99100

0 commit comments

Comments
 (0)