RealtimeConversationItem Constructor
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.
Initializes a new instance of the RealtimeConversationItem class.
public RealtimeConversationItem(System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> contents, string? id = default, Microsoft.Extensions.AI.ChatRole? role = default);
new Microsoft.Extensions.AI.RealtimeConversationItem : System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> * string * Nullable<Microsoft.Extensions.AI.ChatRole> -> Microsoft.Extensions.AI.RealtimeConversationItem
Public Sub New (contents As IList(Of AIContent), Optional id As String = Nothing, Optional role As Nullable(Of ChatRole) = Nothing)
Parameters
- id
- String
The ID of the conversation item.