Skip to content

Commit cf31c0b

Browse files
committed
gpt-4o real-time audio playground
1 parent 9d8ad7e commit cf31c0b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

articles/ai-services/openai/how-to/audio-real-time.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use GPT-4o Realtime API for speech and audio with Azur
55
manager: nitinme
66
ms.service: azure-ai-openai
77
ms.topic: how-to
8-
ms.date: 10/1/2024
8+
ms.date: 10/3/2024
99
author: eric-urban
1010
ms.author: eur
1111
ms.custom: references_regions
@@ -57,9 +57,10 @@ You can deploy the model from the [Azure AI Studio model catalog](../../../ai-st
5757

5858
Now that you have a deployment of the `gpt-4o-realtime-preview` model, you can use the AI Studio **Real-time audio** playground or Realtime API to interact with it in real time.
5959

60-
## Use the GPT-4o Realtime API
60+
## Use the GPT-4o real-time audio
6161

62-
Right now, the fastest way to get started with the GPT-4o Realtime API is to download the sample code from the [Azure OpenAI GPT-4o real-time audio repository on GitHub](https://github.com/azure-samples/aoai-realtime-audio-sdk).
62+
> [!TIP]
63+
> Right now, the fastest way to get started development with the GPT-4o Realtime API is to download the sample code from the [Azure OpenAI GPT-4o real-time audio repository on GitHub](https://github.com/azure-samples/aoai-realtime-audio-sdk).
6364
6465
::: zone pivot="programming-language-ai-studio"
6566

@@ -68,12 +69,16 @@ To chat with your deployed `gpt-4o-realtime-preview` model in the [Azure AI Stud
6869
1. Go to your project in [Azure AI Studio](https://ai.azure.com).
6970
1. Select **Playgrounds** > **Real-time audio** from the left pane.
7071
1. Select your deployed `gpt-4o-realtime-preview` model from the **Deployment** dropdown.
72+
1. Select **Enable microphone** to allow the browser to access your microphone. If you already granted permission, you can skip this step.
7173

7274
:::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":::
7375

7476
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.
7577
1. Optionally, change settings such as threshold, prefix padding, and silence duration.
7678
1. Select **Start listening** to start the session. You can speak into the microphone to start a chat.
79+
80+
:::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":::
81+
7782
1. You can interrupt the chat at any time by speaking. You can end the chat by selecting the **Stop listening** button.
7883

7984
::: zone-end
303 KB
Loading
-109 KB
Loading

0 commit comments

Comments
 (0)