VoiceLiveModelFactory.AssistantMessageItem 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.
An assistant message item within a conversation.
public static Azure.AI.VoiceLive.AssistantMessageItem AssistantMessageItem(string id = default, System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.MessageContentPart> content = default, Azure.AI.VoiceLive.ItemParamStatus? status = default);
static member AssistantMessageItem : string * seq<Azure.AI.VoiceLive.MessageContentPart> * Nullable<Azure.AI.VoiceLive.ItemParamStatus> -> Azure.AI.VoiceLive.AssistantMessageItem
Public Shared Function AssistantMessageItem (Optional id As String = Nothing, Optional content As IEnumerable(Of MessageContentPart) = Nothing, Optional status As Nullable(Of ItemParamStatus) = Nothing) As AssistantMessageItem
Parameters
- id
- String
- content
- IEnumerable<MessageContentPart>
The content parts of the message.
- status
- Nullable<ItemParamStatus>
Processing status of the message item.
Returns
A new AssistantMessageItem instance for mocking.