.Net: {Azure}OpenAI add support for Audio Contents in Chat Completion models. #10493
Labels
Build
Features planned for next Build conference
.NET
Issue or Pull requests regarding .NET code
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
2.2.0-beta.1 for both Azure OpenAI SDK and OpenAI SDK now supports Audio Content
This issue tracks this requirement to be added as a new feature on both OpenAI and AzureOpenAI Connectors.
https://github.com/Azure/azure-sdk-for-net/blob/c2aa8d8448bdb7378a5c1b7ba23aa75e39e6b425/sdk/openai/Azure.AI.OpenAI/CHANGELOG.md?plain=1#L9
Audio input for Chat Completions using
gpt-4o-audio-preview
or other compatible models: provide input audio viaChatMessageContentPart.CreateInputAudioPart()
, setAudioOptions
andResponseModalities
onChatCompletionOptions
, retrieve response audio viaOutputAudio
onChatCompletion
, and reference audio history from the assistant by using theAssistantChatMessage(ChatCompletion)
constructor or usingChatMessageContentPart.CreateAudioPart(string)
. For more information, refer to the examples in the OpenAI README.The text was updated successfully, but these errors were encountered: