Table of Contents

Class GroupChatManager

Namespace
AutoGen.Core
Assembly
AutoGen.Core.dll
public class GroupChatManager : IAgent, IAgentMetaInformation
Inheritance
GroupChatManager
Implements
Inherited Members
Extension Methods

Constructors

GroupChatManager(IGroupChat)

public GroupChatManager(IGroupChat groupChat)

Parameters

groupChat IGroupChat

Properties

GroupChat

public IGroupChat GroupChat { get; }

Property Value

IGroupChat

Messages

public IEnumerable<IMessage>? Messages { get; }

Property Value

IEnumerable<IMessage>

Name

public string Name { get; }

Property Value

string

Methods

GenerateReplyAsync(IEnumerable<IMessage>, GenerateReplyOptions?, CancellationToken)

Generate reply

public Task<IMessage> GenerateReplyAsync(IEnumerable<IMessage> messages, GenerateReplyOptions? options, CancellationToken cancellationToken = default)

Parameters

messages IEnumerable<IMessage>

conversation history

options GenerateReplyOptions

completion option. If provided, it should override existing option if there's any

cancellationToken CancellationToken

Returns

Task<IMessage>