Share via


AgentRunResponseUpdate Constructors

Definition

Overloads

AgentRunResponseUpdate()

Initializes a new instance of the AgentRunResponseUpdate class.

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

Applies to

AgentRunResponseUpdate(ChatResponseUpdate)

Initializes a new instance of the AgentRunResponseUpdate class.

public AgentRunResponseUpdate(Microsoft.Extensions.AI.ChatResponseUpdate chatResponseUpdate);
new Microsoft.Agents.AI.AgentRunResponseUpdate : Microsoft.Extensions.AI.ChatResponseUpdate -> Microsoft.Agents.AI.AgentRunResponseUpdate
Public Sub New (chatResponseUpdate As ChatResponseUpdate)

Parameters

chatResponseUpdate
ChatResponseUpdate

The ChatResponseUpdate from which to seed this AgentRunResponseUpdate.

Applies to

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

Initializes a new instance of the AgentRunResponseUpdate class.

public AgentRunResponseUpdate(Microsoft.Extensions.AI.ChatRole? role, System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent>? contents);
new Microsoft.Agents.AI.AgentRunResponseUpdate : Nullable<Microsoft.Extensions.AI.ChatRole> * System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> -> Microsoft.Agents.AI.AgentRunResponseUpdate
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

AgentRunResponseUpdate(Nullable<ChatRole>, String)

Initializes a new instance of the AgentRunResponseUpdate class.

public AgentRunResponseUpdate(Microsoft.Extensions.AI.ChatRole? role, string? content);
new Microsoft.Agents.AI.AgentRunResponseUpdate : Nullable<Microsoft.Extensions.AI.ChatRole> * string -> Microsoft.Agents.AI.AgentRunResponseUpdate
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