你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OpenAIVoice Class

Definition

OpenAI voice configuration with explicit type field.

This provides a unified interface for OpenAI voices, complementing the existing string-based OAIVoice for backward compatibility.

public class OpenAIVoice : Azure.AI.VoiceLive.VoiceProvider, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.OpenAIVoice>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.OpenAIVoice>
type OpenAIVoice = class
    inherit VoiceProvider
    interface IJsonModel<OpenAIVoice>
    interface IPersistableModel<OpenAIVoice>
Public Class OpenAIVoice
Inherits VoiceProvider
Implements IJsonModel(Of OpenAIVoice), IPersistableModel(Of OpenAIVoice)
Inheritance
OpenAIVoice
Implements

Applies to