Skip to content

Commit 094c87f

Browse files
committed
edits
1 parent 7607534 commit 094c87f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,26 +69,28 @@ For passwordless authentication, you need to
6969

7070
To successfully make a call against the Azure OpenAI service, set environment variables. If you intend to use keyless authentication, you shouldn't have the API Key environment variable set.
7171
72-
#### [TypeScript keyless (Recommended)](#tab/typescript)
72+
#### [TypeScript keyless (Recommended)](#tab/typescript-keyless)
7373
7474
[!INCLUDE [assistants-keyless-environment-variables](assistants-env-var-without-key.md)]
7575
[!INCLUDE [environment-variables-deployment](assistants-env-var-additional.md)]
7676
7777
#### [TypeScript with API key](#tab/typescript-key)
7878
79-
[!INCLUDE [assistants-key-environment-variables](assistants-env-var.md)]
79+
[!INCLUDE [assistants-key-environment-variables](assistants-env-var-key.md)]
8080
[!INCLUDE [environment-variables-deployment](assistants-env-var-additional.md)]
8181
82-
#### [JavaScript keyless](#tab/javascript)
82+
#### [JavaScript keyless](#tab/javascript-keyless)
8383
8484
[!INCLUDE [assistants-keyless-environment-variables](assistants-env-var-without-key.md)]
8585
[!INCLUDE [environment-variables-deployment](assistants-env-var-additional.md)]
8686
8787
#### [JavaScript with API key](#tab/javascript-key)
8888
89-
[!INCLUDE [assistants-key-environment-variables](assistants-env-var.md)]
89+
[!INCLUDE [assistants-key-environment-variables](assistants-env-var-key.md)]
9090
[!INCLUDE [environment-variables-deployment](assistants-env-var-additional.md)]
9191
92+
> [!CAUTION]
93+
9294
## Create an assistant
9395
9496
In our code we are going to specify the following values:
@@ -104,7 +106,7 @@ In our code we are going to specify the following values:
104106
105107
An individual assistant can access up to 128 tools including `code interpreter`, as well as any custom tools you create via [functions](../how-to/assistant-functions.md).
106108
107-
#### [TypeScript keyless (Recommended)](#tab/typescript)
109+
#### [TypeScript keyless (Recommended)](#tab/typescript-keyless)
108110
109111
1. Create the `index.ts` file with the following **recommended** passwordless TypeScript module (index.ts):
110112
@@ -353,7 +355,7 @@ An individual assistant can access up to 128 tools including `code interpreter`,
353355
node index.js
354356
```
355357
356-
#### [JavaScript keyless](#tab/javascript)
358+
#### [JavaScript keyless](#tab/javascript-keyless)
357359
358360
1. Create the `index.js` file with the following **recommended** passwordless JavaScript module:
359361

0 commit comments

Comments
 (0)