Skip to content

Commit 12822f3

Browse files
committed
small fixes
1 parent adb0064 commit 12822f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/ai-services/openai/includes/use-your-data-javascript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: glharper
55
ms.author: glharper
66
ms.service: azure-ai-openai
77
ms.topic: include
8-
ms.date: 10/22/2024
8+
ms.date: 01/10/2025
99
---
1010

1111
[!INCLUDE [Set up required variables](./use-your-data-common-variables.md)]
@@ -24,7 +24,7 @@ npm init
2424
Install the Azure OpenAI client and Azure Identity libraries for JavaScript with npm:
2525

2626
```console
27-
npm install @azure/openai @azure/identity
27+
npm install openai @azure/identity
2828
```
2929

3030
Your app's _package.json_ file will be updated with the dependencies.
@@ -51,7 +51,7 @@ Your app's _package.json_ file will be updated with the dependencies.
5151

5252
// Required Azure OpenAI deployment name and API version
5353
const deploymentName = "gpt-4";
54-
const apiVersion = "2024-07-01-preview";
54+
const apiVersion = "2024-10-21";
5555

5656
function getClient() {
5757
return new AzureOpenAI({
@@ -139,7 +139,7 @@ Your app's _package.json_ file will be updated with the dependencies.
139139

140140
// Required Azure OpenAI deployment name and API version
141141
const deploymentName = "gpt-4";
142-
const apiVersion = "2024-07-01-preview";
142+
const apiVersion = "2024-10-21";
143143

144144
function getClient() {
145145
return new AzureOpenAI({

0 commit comments

Comments
 (0)