VoiceLiveModelFactory.OpenAIVoice(OAIVoice) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 static Azure.AI.VoiceLive.OpenAIVoice OpenAIVoice(Azure.AI.VoiceLive.OAIVoice name = default);
static member OpenAIVoice : Azure.AI.VoiceLive.OAIVoice -> Azure.AI.VoiceLive.OpenAIVoice
Public Shared Function OpenAIVoice (Optional name As OAIVoice = Nothing) As OpenAIVoice
Parameters
- name
- OAIVoice
The name of the OpenAI voice.
Returns
A new OpenAIVoice instance for mocking.