RealtimeConversationItem Class

Definition

Represents a real-time conversation item.

public ref class RealtimeConversationItem
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class RealtimeConversationItem
public class RealtimeConversationItem
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type RealtimeConversationItem = class
type RealtimeConversationItem = class
Public Class RealtimeConversationItem
Inheritance
RealtimeConversationItem
Attributes

Remarks

This class is used to encapsulate the details of a real-time item that can be inserted into a conversation, or sent as part of a real-time response creation process.

Constructors

Name Description
RealtimeConversationItem(IList<AIContent>, String, Nullable<ChatRole>)

Initializes a new instance of the RealtimeConversationItem class.

Properties

Name Description
Contents

Gets or sets the content of the conversation item.

Id

Gets or sets the ID of the conversation item.

RawRepresentation

Gets or sets the raw representation of the conversation item. This can be used to hold the original data structure received from or sent to the provider.

Role

Gets or sets the role of the conversation item.

Applies to