Skip to content

Commit a5fd55c

Browse files
committed
js ts quickstart run and then explain
1 parent f55a86d commit a5fd55c

File tree

7 files changed

+938
-675
lines changed

7 files changed

+938
-675
lines changed

articles/ai-services/openai/includes/assistants-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
2929
- Assign the `Cognitive Services User` role to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**.
3030

3131
## Set up
32-
32+
3333
1. Create a new folder `assistants-quickstart` to contain the application and open Visual Studio Code in that folder with the following command:
3434

3535
```shell

articles/search/includes/quickstarts/full-text-csharp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
3232
1. Create a new folder `full-text-quickstart` to contain the application and open Visual Studio Code in that folder with the following command:
3333

3434
```shell
35-
mkdir full-text-quickstart && cd full-text-quickstart
35+
mkdir full-text-quickstart && code full-text-quickstart
3636
```
3737

3838
1. Create a new console application with the following command:
@@ -65,7 +65,7 @@ In the prior [set up](#set-up) section, you created a new console application an
6565

6666
In this section, you add code to create a search index, load it with documents, and run queries. You run the program to see the results in the console. For a detailed explanation of the code, see the [explaining the code](#explaining-the-code) section.
6767

68-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
68+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
6969

7070
#### [Microsoft Entra ID](#tab/keyless)
7171

@@ -623,7 +623,7 @@ In *Program.cs*, you created two clients:
623623
624624
Both clients need the search service endpoint and credentials described previously in the [resource information](#retrieve-resource-information) section.
625625
626-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
626+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
627627
628628
#### [Microsoft Entra ID](#tab/keyless)
629629

articles/search/includes/quickstarts/full-text-java.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ The sample in this quickstart works with the Java Runtime. Install a Java Develo
9393

9494
## Create, load, and query a search index
9595

96-
In the prior [set up](#set-up) section, you created a new console application and installed the Azure AI Search client library.
96+
In the prior [set up](#set-up) section, you installed the Azure AI Search client library and other dependencies.
9797

9898
In this section, you add code to create a search index, load it with documents, and run queries. You run the program to see the results in the console. For a detailed explanation of the code, see the [explaining the code](#explaining-the-code) section.
9999

100-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
100+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
101101

102102
#### [Microsoft Entra ID](#tab/keyless)
103103

@@ -540,7 +540,7 @@ In *App.java* you created two clients:
540540
541541
Both clients need the search service endpoint and credentials described previously in the resource information section.
542542
543-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
543+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
544544
545545
#### [Microsoft Entra ID](#tab/keyless)
546546

0 commit comments

Comments
 (0)