File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/ai-services/openai/includes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ author: glharper
5
5
ms.author : glharper
6
6
ms.service : azure-ai-openai
7
7
ms.topic : include
8
- ms.date : 10/22/2024
8
+ ms.date : 01/ 10/2025
9
9
---
10
10
11
11
[ !INCLUDE [ Set up required variables] ( ./use-your-data-common-variables.md )]
@@ -24,7 +24,7 @@ npm init
24
24
Install the Azure OpenAI client and Azure Identity libraries for JavaScript with npm:
25
25
26
26
``` console
27
- npm install @azure/ openai @azure/identity
27
+ npm install openai @azure/identity
28
28
```
29
29
30
30
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.
51
51
52
52
// Required Azure OpenAI deployment name and API version
53
53
const deploymentName = " gpt-4" ;
54
- const apiVersion = " 2024-07-01-preview " ;
54
+ const apiVersion = " 2024-10-21 " ;
55
55
56
56
function getClient () {
57
57
return new AzureOpenAI ({
@@ -139,7 +139,7 @@ Your app's _package.json_ file will be updated with the dependencies.
139
139
140
140
// Required Azure OpenAI deployment name and API version
141
141
const deploymentName = " gpt-4" ;
142
- const apiVersion = " 2024-07-01-preview " ;
142
+ const apiVersion = " 2024-10-21 " ;
143
143
144
144
function getClient () {
145
145
return new AzureOpenAI ({
You can’t perform that action at this time.
0 commit comments