Skip to content

Commit 3a31494

Browse files
committed
edits
1 parent 7a14a72 commit 3a31494

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

articles/ai-services/openai/includes/dall-e-javascript.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ Create a new file named _ImageGeneration.js_ and open it in your preferred code
6767
#### [TypeScript (Microsoft Entra ID)](#tab/typescript-keyless)
6868

6969
```typescript
70-
import "dotenv/config";
7170
import { AzureOpenAI } from "openai";
7271
import {
7372
DefaultAzureCredential,
@@ -133,7 +132,6 @@ main().catch((err) => {
133132
#### [JavaScript (Microsoft Entra ID)](#tab/javascript-keyless)
134133

135134
```javascript
136-
require("dotenv/config");
137135
const { AzureOpenAI } = require("openai");
138136
const {
139137
DefaultAzureCredential,
@@ -197,7 +195,6 @@ node ImageGeneration.js
197195
#### [TypeScript (API key)](#tab/typescript-key)
198196

199197
```typescript
200-
import "dotenv/config";
201198
import { AzureOpenAI } from "openai";
202199

203200
// You will need to set these environment variables or edit the following values
@@ -259,7 +256,6 @@ main().catch((err) => {
259256
#### [JavaScript (API key)](#tab/javascript-key)
260257

261258
```javascript
262-
require("dotenv/config");
263259
const { AzureOpenAI } = require("openai");
264260

265261
// You will need to set these environment variables or edit the following values

0 commit comments

Comments
 (0)