Share via


VoiceLiveModelFactory.OpenAIVoice(OAIVoice) Method

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 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.

Applies to