File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
articles/ai-services/openai/includes Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ Select an image from the [azure-samples/cognitive-services-sample-data-files](ht
62
62
1 . Replace the contents of _ quickstart.js_ with the following code.
63
63
64
64
``` javascript
65
- require (' dotenv/config' );
66
65
const AzureOpenAI = require (' openai' ).AzureOpenAI ;
67
66
const {
68
67
DefaultAzureCredential,
@@ -151,7 +150,6 @@ Select an image from the [azure-samples/cognitive-services-sample-data-files](ht
151
150
1. Replace the contents of _quickstart .js_ with the following code.
152
151
153
152
` ` ` javascript
154
- require("dotenv/config");
155
153
const { AzureOpenAI } = require("openai");
156
154
157
155
// You will need to set these environment variables or edit the following values
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ Select an image from the [azure-samples/cognitive-services-sample-data-files](ht
61
61
1 . Create a _ quickstart.ts_ and paste in the following code.
62
62
63
63
``` typescript
64
- import " dotenv/config" ;
65
64
import { AzureOpenAI } from " openai" ;
66
65
import {
67
66
DefaultAzureCredential ,
@@ -160,7 +159,6 @@ Select an image from the [azure-samples/cognitive-services-sample-data-files](ht
160
159
1. Create a _quickstart .ts_ and paste in the following code .
161
160
162
161
` ` ` typescript
163
- import "dotenv/config";
164
162
import { AzureOpenAI } from "openai";
165
163
import type {
166
164
ChatCompletion,
You can’t perform that action at this time.
0 commit comments