Partager via


AggregatorAgent(Func<AgentChat>) Constructor

Definition

Allows an AgentChat to participate in another AgentChat as an Agent.

public AggregatorAgent (Func<Microsoft.SemanticKernel.Agents.AgentChat> chatProvider);
new Microsoft.SemanticKernel.Agents.AggregatorAgent : Func<Microsoft.SemanticKernel.Agents.AgentChat> -> Microsoft.SemanticKernel.Agents.AggregatorAgent
Public Sub New (chatProvider As Func(Of AgentChat))

Parameters

chatProvider
Func<AgentChat>

A factory method that produces a new AgentChat instance.

Applies to