AgentRunResponseUpdate Constructors
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.
Overloads
| AgentRunResponseUpdate() |
Initializes a new instance of the AgentRunResponseUpdate class. |
| AgentRunResponseUpdate(ChatResponseUpdate) |
Initializes a new instance of the AgentRunResponseUpdate class. |
| AgentRunResponseUpdate(Nullable<ChatRole>, IList<AIContent>) |
Initializes a new instance of the AgentRunResponseUpdate class. |
| AgentRunResponseUpdate(Nullable<ChatRole>, String) |
Initializes a new instance of the AgentRunResponseUpdate class. |
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
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
- content
- String
The text content of the update.