VoiceLiveModelFactory.VoiceLiveContentPart(String) 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.
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.