Table of Contents

Interface IGroupChat

Namespace
AutoGen.Core
Assembly
AutoGen.Core.dll
public interface IGroupChat
Extension Methods

Methods

AddInitializeMessage(IMessage)

[Obsolete("please use SendIntroduction")]
void AddInitializeMessage(IMessage message)

Parameters

message IMessage

CallAsync(IEnumerable<IMessage>?, int, CancellationToken)

Task<IEnumerable<IMessage>> CallAsync(IEnumerable<IMessage>? conversation = null, int maxRound = 10, CancellationToken ct = default)

Parameters

conversation IEnumerable<IMessage>
maxRound int
ct CancellationToken

Returns

Task<IEnumerable<IMessage>>

SendIntroduction(IMessage)

Send an introduction message to the group chat.

void SendIntroduction(IMessage message)

Parameters

message IMessage