ChatResponseUpdate Constructors

Definition

Overloads

ChatResponseUpdate()

Initializes a new instance of the ChatResponseUpdate class.

ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>)

Initializes a new instance of the ChatResponseUpdate class.

ChatResponseUpdate(Nullable<ChatRole>, String)

Initializes a new instance of the ChatResponseUpdate class.

ChatResponseUpdate()

Source:
ChatResponseUpdate.cs

Initializes a new instance of the ChatResponseUpdate class.

public:
 ChatResponseUpdate();
[System.Text.Json.Serialization.JsonConstructor]
public ChatResponseUpdate();
Public Sub New ()
Attributes

Applies to

ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>)

Source:
ChatResponseUpdate.cs

Initializes a new instance of the ChatResponseUpdate class.

public:
 ChatResponseUpdate(Nullable<Microsoft::Extensions::AI::ChatRole> role, System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ contents);
public ChatResponseUpdate(Microsoft.Extensions.AI.ChatRole? role, System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent>? contents);
new Microsoft.Extensions.AI.ChatResponseUpdate : Nullable<Microsoft.Extensions.AI.ChatRole> * System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> -> Microsoft.Extensions.AI.ChatResponseUpdate
Public Sub New (role As Nullable(Of ChatRole), contents As IList(Of AIContent))

Parameters

role
Nullable<ChatRole>

The role of the author of the update.

contents
IList<AIContent>

The contents of the update.

Applies to

ChatResponseUpdate(Nullable<ChatRole>, String)

Source:
ChatResponseUpdate.cs

Initializes a new instance of the ChatResponseUpdate class.

public:
 ChatResponseUpdate(Nullable<Microsoft::Extensions::AI::ChatRole> role, System::String ^ content);
public ChatResponseUpdate(Microsoft.Extensions.AI.ChatRole? role, string? content);
new Microsoft.Extensions.AI.ChatResponseUpdate : Nullable<Microsoft.Extensions.AI.ChatRole> * string -> Microsoft.Extensions.AI.ChatResponseUpdate
Public Sub New (role As Nullable(Of ChatRole), content As String)

Parameters

role
Nullable<ChatRole>

The role of the author of the update.

content
String

The text content of the update.

Applies to