Skip to content

Commit 6913c58

Browse files
committed
refresh openai quickstarts
1 parent d92d9c8 commit 6913c58

14 files changed

+39
-32
lines changed

articles/ai-foundry/includes/chat-with-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To complete this section, you need a local copy of product data. The [Azure-Samp
1515
Follow these steps to add your data in the chat playground to help the assistant answer questions about your products. You're not changing the deployed model itself. Your data is stored separately and securely in your Azure subscription.
1616

1717
1. Go to your project in [Azure AI Foundry](https://ai.azure.com).
18-
1. Select **Playgrounds**.
18+
1. Select **Playgrounds** from the left pane.
1919
1. Select **Try the chat playground**.
2020
1. Select your deployed chat model from the **Deployment** dropdown.
2121

articles/ai-services/openai/audio-completions-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Walkthrough on how to get started with audio generation using Azure
55
manager: nitinme
66
ms.service: azure-ai-openai
77
ms.topic: how-to
8-
ms.date: 2/6/2025
8+
ms.date: 5/23/2025
99
author: eric-urban
1010
ms.author: eur
1111
ms.custom: references_regions

articles/ai-services/openai/includes/audio-completions-ai-foundry.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ ms.date: 1/7/2025
1717

1818
To chat with your deployed `gpt-4o-mini-audio-preview` model in the **Chat** playground of [Azure AI Foundry portal](https://ai.azure.com), follow these steps:
1919

20-
1. Go to the [Azure OpenAI in Azure AI Foundry Models page](https://ai.azure.com/resource/overview) in Azure AI Foundry portal. Make sure you're signed in with the Azure subscription that has your Azure OpenAI in Azure AI Foundry Models resource and the deployed `gpt-4o-mini-audio-preview` model.
21-
1. Select the **Chat** playground from under **Resource playground** in the left pane.
20+
1. Go to the [Azure AI Foundry portal](https://ai.azure.com) and select your project that has your deployed `gpt-4o-mini-audio-preview` model.
21+
1. Go to your project in [Azure AI Foundry](https://ai.azure.com).
22+
1. Select **Playgrounds** from the left pane.
23+
1. Select **Audio playground** > **Try the Chat playground**.
24+
25+
> [!NOTE]
26+
> The **Audio playground** doesn't support the `gpt-4o-mini-audio-preview` model. Use the **Chat playground** as described in this section.
27+
2228
1. Select your deployed `gpt-4o-mini-audio-preview` model from the **Deployment** dropdown.
2329
1. Start chatting with the model and listen to the audio responses.
2430

articles/ai-services/openai/includes/audio-completions-deploy-model.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ author: eric-urban
44
ms.author: eur
55
ms.service: azure-ai-openai
66
ms.topic: include
7-
ms.date: 1/21/2025
7+
ms.date: 5/23/2025
88
---
99

1010
To deploy the `gpt-4o-mini-audio-preview` model in the Azure AI Foundry portal:
11-
1. Go to the [Azure OpenAI in Azure AI Foundry Models page](https://ai.azure.com/resource/overview) in Azure AI Foundry portal. Make sure you're signed in with the Azure subscription that has your Azure OpenAI in Azure AI Foundry Models resource and the deployed `gpt-4o-mini-audio-preview` model.
12-
1. Select the **Chat** playground from under **Playgrounds** in the left pane.
13-
1. Select **+ Create new deployment** > **From base models** to open the deployment window.
14-
1. Search for and select the `gpt-4o-mini-audio-preview` model and then select **Deploy to selected resource**.
15-
1. In the deployment wizard, select the `2024-12-17` model version.
11+
1. Go to the [Azure AI Foundry portal](https://ai.azure.com) and create or select your project.
12+
1. Select **Models + endpoints** from under **My assets** in the left pane.
13+
1. Select **+ Deploy model** > **Deploy base model** to open the deployment window.
14+
1. Search for and select the `gpt-4o-mini-audio-preview` model and then select **Confirm**.
15+
1. Review the deployment details and select **Deploy**.
1616
1. Follow the wizard to finish deploying the model.
1717

1818
Now that you have a deployment of the `gpt-4o-mini-audio-preview` model, you can interact with it in the Azure AI Foundry portal **Chat** playground or chat completions API.

articles/ai-services/openai/includes/realtime-deploy-model.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ ms.date: 1/21/2025
88
---
99

1010
To deploy the `gpt-4o-mini-realtime-preview` model in the Azure AI Foundry portal:
11-
1. Go to the [Azure OpenAI in Azure AI Foundry Models page](https://ai.azure.com/resource/overview) in Azure AI Foundry portal. Make sure you're signed in with the Azure subscription that has your Azure OpenAI in Azure AI Foundry Models resource (with or without model deployments.)
12-
1. Select the **Real-time audio** playground from under **Playgrounds** in the left pane.
13-
1. Select **+ Create new deployment** > **From base models** to open the deployment window.
14-
1. Search for and select the `gpt-4o-mini-realtime-preview` model and then select **Deploy to selected resource**.
15-
1. In the deployment wizard, select the `2024-12-17` model version.
11+
1. Go to the [Azure AI Foundry portal](https://ai.azure.com) and create or select your project.
12+
1. Select **Models + endpoints** from under **My assets** in the left pane.
13+
1. Select **+ Deploy model** > **Deploy base model** to open the deployment window.
14+
1. Search for and select the `gpt-4o-mini-realtime-preview` model and then select **Confirm**.
15+
1. Review the deployment details and select **Deploy**.
1616
1. Follow the wizard to finish deploying the model.
1717

18-
Now that you have a deployment of the `gpt-4o-mini-realtime-preview` model, you can interact with it in real time in the Azure AI Foundry portal **Real-time audio** playground or Realtime API.
18+
Now that you have a deployment of the `gpt-4o-mini-realtime-preview` model, you can interact with it in the Azure AI Foundry portal **Audio** playground or Realtime API.

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ ms.date: 3/20/2025
1515

1616
To chat with your deployed `gpt-4o-mini-realtime-preview` model in the [Azure AI Foundry](https://ai.azure.com) **Real-time audio** playground, follow these steps:
1717

18-
1. Go to the [Azure OpenAI in Azure AI Foundry Models page](https://ai.azure.com/resource/overview) in Azure AI Foundry portal. Make sure you're signed in with the Azure subscription that has your Azure OpenAI in Azure AI Foundry Models resource and the deployed `gpt-4o-mini-realtime-preview` model.
19-
1. Select the **Real-time audio** playground from under **Playgrounds** in the left pane.
20-
1. Select your deployed `gpt-4o-mini-realtime-preview` model from the **Deployment** dropdown.
21-
1. Select **Enable microphone** to allow the browser to access your microphone. If you already granted permission, you can skip this step.
18+
1. Go to the [Azure AI Foundry portal](https://ai.azure.com) and select your project that has your deployed `gpt-4o-mini-realtime-preview` model.
19+
1. Select **Playgrounds** from the left pane.
20+
1. Select **Audio playground** > **Try the Audio playground**.
2221

23-
:::image type="content" source="../media/how-to/real-time/real-time-playground.png" alt-text="Screenshot of the real-time audio playground with the deployed model selected." lightbox="../media/how-to/real-time/real-time-playground.png":::
22+
> [!NOTE]
23+
> The **Chat playground** doesn't support the `gpt-4o-mini-realtime-preview` model. Use the **Audio playground** as described in this section.
24+
25+
1. Select your deployed `gpt-4o-mini-realtime-preview` model from the **Deployment** dropdown.
26+
27+
:::image type="content" source="../media/how-to/real-time/real-time-playground.png" alt-text="Screenshot of the audio playground with the deployed model selected." lightbox="../media/how-to/real-time/real-time-playground.png":::
2428

2529
1. Optionally, you can edit contents in the **Give the model instructions and context** text box. Give the model instructions about how it should behave and any context it should reference when generating a response. You can describe the assistant's personality, tell it what it should and shouldn't answer, and tell it how to format responses.
2630
1. Optionally, change settings such as threshold, prefix padding, and silence duration.
2731
1. Select **Start listening** to start the session. You can speak into the microphone to start a chat.
28-
29-
:::image type="content" source="../media/how-to/real-time/real-time-playground-start-listening.png" alt-text="Screenshot of the real-time audio playground with the start listening button and microphone access enabled." lightbox="../media/how-to/real-time/real-time-playground-start-listening.png":::
30-
3132
1. You can interrupt the chat at any time by speaking. You can end the chat by selecting the **Stop listening** button.

articles/ai-services/openai/includes/text-to-speech-rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ echo export AZURE_OPENAI_ENDPOINT="REPLACE_WITH_YOUR_ENDPOINT_HERE" >> /etc/envi
7373
In a bash shell, run the following command. You need to replace `YourDeploymentName` with the deployment name you chose when you deployed the text to speech model. The deployment name isn't necessarily the same as the model name. Entering the model name results in an error unless you chose a deployment name that is identical to the underlying model name.
7474

7575
```bash
76-
curl $AZURE_OPENAI_ENDPOINT/openai/deployments/YourDeploymentName/audio/speech?api-version=2024-02-15-preview \
76+
curl $AZURE_OPENAI_ENDPOINT/openai/deployments/YourDeploymentName/audio/speech?api-version=2025-04-01-preview \
7777
-H "api-key: $AZURE_OPENAI_API_KEY" \
7878
-H "Content-Type: application/json" \
7979
-d '{
@@ -83,7 +83,7 @@ curl $AZURE_OPENAI_ENDPOINT/openai/deployments/YourDeploymentName/audio/speech?a
8383
}' --output speech.mp3
8484
```
8585
86-
The format of your first line of the command with an example endpoint would appear as follows curl `https://aoai-docs.openai.azure.com/openai/deployments/{YourDeploymentName}/audio/speech?api-version=2024-02-15-preview \`.
86+
The format of your first line of the command with an example endpoint would appear as follows curl `https://aoai-docs.openai.azure.com/openai/deployments/{YourDeploymentName}/audio/speech?api-version=2025-04-01-preview \`.
8787
8888
> [!IMPORTANT]
8989
> For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](/azure/key-vault/general/overview). For more information about credential security, see this [security](../../security-features.md) article.

articles/ai-services/openai/includes/text-to-speech-typescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
8686
8787
// Required Azure OpenAI deployment name and API version
8888
const deploymentName = process.env.AZURE_OPENAI_DEPLOYMENT_NAME || "tts";
89-
const apiVersion = process.env.OPENAI_API_VERSION || "2024-08-01-preview";
89+
const apiVersion = process.env.OPENAI_API_VERSION || "2025-04-01-preview";
9090
9191
// keyless authentication
9292
const credential = new DefaultAzureCredential();
@@ -184,7 +184,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
184184
185185
// Required Azure OpenAI deployment name and API version
186186
const deploymentName = process.env.AZURE_OPENAI_DEPLOYMENT_NAME || "tts";
187-
const apiVersion = process.env.OPENAI_API_VERSION || "2024-08-01-preview";
187+
const apiVersion = process.env.OPENAI_API_VERSION || "2025-04-01-preview";
188188
189189
function getClient(): AzureOpenAI {
190190
return new AzureOpenAI({
-325 KB
Loading

0 commit comments

Comments
 (0)