Skip to content

Commit 6dabe42

Browse files
Merge pull request #4197 from mrbullwinkle/mrb_04_17_2025_audio_css
[Azure OpenAI] [CSS/Engineering deflection] audio-preview + stream only supports pcm16
2 parents acbe8d7 + 59fee9b commit 6dabe42

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,18 @@ recommendations: false
4545

4646
::: zone-end
4747

48-
4948
## Clean-up resources
5049

5150
If you want to clean up and remove an Azure OpenAI resource, you can delete the resource. Before deleting the resource, you must first delete any deployed models.
5251

5352
- [Azure portal](../multi-service-resource.md?pivots=azportal#clean-up-resources)
5453
- [Azure CLI](../multi-service-resource.md?pivots=azcli#clean-up-resources)
5554

55+
## Troubleshooting
56+
57+
> [!NOTE]
58+
> When using `gpt-4o-audio-preview` for chat completions with the audio modality and `stream` is set to true the only supported audio format is pcm16.
59+
5660
## Related content
5761

5862
* Learn more about Azure OpenAI [deployment types](./how-to/deployment-types.md).

articles/ai-services/openai/includes/api-versions/latest-inference-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Creates a completion for the chat message
280280
| Name | Type | Description | Required | Default |
281281
|------|------|-------------|----------|---------|
282282
| audio | object | Parameters for audio output. Required when audio output is requested with<br>`modalities: ["audio"]`. <br> | No | |
283-
| └─ format | enum | Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`,<br>`opus`, or `pcm16`. <br><br>Possible values: `wav`, `mp3`, `flac`, `opus`, `pcm16` | No | |
283+
| └─ format | enum | Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`,<br>`opus`, or `pcm16`. <br><br>Possible values: `wav`, `mp3`, `flac`, `opus`, `pcm16`<br> When using `gpt-4o-audio-preview` and `stream` is set to true the only supported audio format is `pcm16`. | No | |
284284
| └─ voice | enum | Specifies the voice type. Supported voices are `alloy`, `echo`, <br>`fable`, `onyx`, `nova`, and `shimmer`.<br><br>Possible values: `alloy`, `echo`, `fable`, `onyx`, `nova`, `shimmer` | No | |
285285
| data_sources | array | The configuration entries for Azure OpenAI chat extensions that use them.<br> This additional specification is only compatible with Azure OpenAI. | No | |
286286
| frequency_penalty | number | Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.<br> | No | 0 |

0 commit comments

Comments
 (0)