Skip to content

Commit 560c25e

Browse files
authored
Update realtime-javascript.md
1 parent 34ecec7 commit 560c25e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
6666
6767
```javascript
6868
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
69-
import { AzureOpenAI } from "openai/index.mjs";
69+
import { AzureOpenAI } from "openai";
7070
import { DefaultAzureCredential, getBearerTokenProvider } from "@azure/identity";
7171
async function main() {
7272
// You will need to set these environment variables or edit the following values
@@ -149,7 +149,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
149149
150150
```javascript
151151
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
152-
import { AzureOpenAI } from "openai/index.mjs";
152+
import { AzureOpenAI } from "openai";
153153
async function main() {
154154
// You will need to set these environment variables or edit the following values
155155
const endpoint = process.env.AZURE_OPENAI_ENDPOINT || "AZURE_OPENAI_ENDPOINT";

0 commit comments

Comments
 (0)