Skip to content

Commit 9af3894

Browse files
authored
Merge pull request #312 from deyaaeldeen/patch-1
Update realtime-javascript.md
2 parents 04d3209 + f86f442 commit 9af3894

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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";

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
7474
7575
```typescript
7676
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
77-
import { AzureOpenAI } from "openai/index.mjs";
77+
import { AzureOpenAI } from "openai";
7878
import { DefaultAzureCredential, getBearerTokenProvider } from "@azure/identity";
7979
8080
async function main(): Promise<void> {
@@ -187,7 +187,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
187187
188188
```typescript
189189
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
190-
import { AzureOpenAI } from "openai/index.mjs";
190+
import { AzureOpenAI } from "openai";
191191
192192
async function main(): Promise<void> {
193193

0 commit comments

Comments
 (0)