Skip to content

Commit 248f3e1

Browse files
committed
update
1 parent 54e7dcf commit 248f3e1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,11 @@ ms.date: 05/20/2024
3232

3333
## Create a Node application
3434

35-
In a console window (such as cmd, PowerShell, or Bash), create a new directory for your app, and navigate to it. Then run the `npm init` command to create a node application with a _package.json_ file.
36-
37-
```console
38-
npm init
39-
```
35+
In a console window (such as cmd, PowerShell, or Bash), create a new directory for your app, and navigate to it.
4036

4137
## Install the client library
4238

43-
Install the Azure OpenAI client library for JavaScript with npm:
39+
Install the required client libraries for JavaScript with npm from within the context of your new directory:
4440

4541
```console
4642
npm install openai @azure/openai dotenv

0 commit comments

Comments
 (0)