Share via


VoiceLiveModelFactory.VoiceLiveContentPart(String) Method

Definition

Base for any content part; discriminated by type. Please note this is the abstract base class. The derived classes available for instantiation are: RequestTextContentPart, RequestAudioContentPart, ResponseTextContentPart, and ResponseAudioContentPart.

public static Azure.AI.VoiceLive.VoiceLiveContentPart VoiceLiveContentPart(string type = default);
static member VoiceLiveContentPart : string -> Azure.AI.VoiceLive.VoiceLiveContentPart
Public Shared Function VoiceLiveContentPart (Optional type As String = Nothing) As VoiceLiveContentPart

Parameters

type
String

Returns

A new VoiceLiveContentPart instance for mocking.

Applies to