Skip to content

Commit b492648

Browse files
committed
edit
1 parent 9781d0f commit b492648

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,14 @@ In our code we are going to specify the following values:
7979

8080
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).
8181

82-
Create and run an assistant with the following:
82+
8383

8484
#### [TypeScript](#tab/typescript)
8585

86+
Create and run an assistant with the following TypeScript module:
87+
8688
```typescript
89+
// index.ts
8790
import {
8891
AssistantsClient,
8992
AssistantCreationOptions,
@@ -180,7 +183,10 @@ for (const runMessageDatum of runMessages.data) {
180183

181184
#### [JavaScript](#tab/javascript)
182185

186+
Create and run an assistant with the following ECMAScript module:
187+
183188
```javascript
189+
// index.mjs
184190
import {
185191
AssistantsClient
186192
} from "@azure/openai-assistants";

0 commit comments

Comments
 (0)