You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using GPT-4o audio-preview with Semantic Kernel, the audio response isn't return The code runs without errors, but no sound is returned from the AI response.
To Reproduce
Steps to reproduce the behavior:
Create a new .NET 9 project
Install Microsoft.SemanticKernel v1.47.0
Configure SDK with Azure OpenAI and the gpt-4o-audio-preview model
Set up audio input from microphone using NAudio
Request both text and audio responses with ChatResponseModalities.Text | ChatResponseModalities.Audio
No Audio response and only text.
Expected behavior
The AI should respond both with text (which works) and audio (which doesn't return).
Screenshots
not applicable.
Platform
Language: C#
Source: NuGet package Microsoft.SemanticKernel version 1.47.0
RogerBarreto
changed the title
.Net: Bug: Azure OpenAI GPT-4o audio response not returning
.Net: Bring Support for Azure OpenAI gpt-4o audio responses
Apr 26, 2025
Describe the bug
When using GPT-4o audio-preview with Semantic Kernel, the audio response isn't return The code runs without errors, but no sound is returned from the AI response.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The AI should respond both with text (which works) and audio (which doesn't return).
Screenshots
not applicable.
Platform
Additional context
I followed the example from https://devblogs.microsoft.com/semantic-kernel/using-openais-audio-preview-model-with-semantic-kernel/ and implemented microphone input using NAudio. The text response works correctly.
The text was updated successfully, but these errors were encountered: