Freigeben über


AggregatorAgent Class

Definition

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

public sealed class AggregatorAgent : Microsoft.SemanticKernel.Agents.Agent
type AggregatorAgent = class
    inherit Agent
Public NotInheritable Class AggregatorAgent
Inherits Agent
Inheritance
AggregatorAgent

Constructors

AggregatorAgent(Func<AgentChat>)

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

Properties

Description

The description of the agent (optional)

(Inherited from Agent)
Id

The identifier of the agent (optional).

(Inherited from Agent)
Logger

The ILogger associated with this Agent.

(Inherited from Agent)
LoggerFactory

A ILoggerFactory for this Agent.

(Inherited from Agent)
Mode

Defines the relationship between the internal aggregated chat and the chat with which AggregatorAgent is participating. Default: Flat.

Name

The name of the agent (optional)

(Inherited from Agent)

Methods

CreateChannelAsync(CancellationToken)

Produce the an AgentChannel appropriate for the agent type.

(Inherited from Agent)
GetChannelKeys()

Set of keys to establish channel affinity. Minimum expected key-set: yield return typeof(YourAgentChannel).FullName;

(Inherited from Agent)

Applies to