Interface IGroupChat
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
intct
CancellationToken
Returns
SendIntroduction(IMessage)
Send an introduction message to the group chat.
void SendIntroduction(IMessage message)
Parameters
message
IMessage