Class GroupChatManager
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
Messages
public IEnumerable<IMessage>? Messages { get; }
Property Value
Name
public string Name { get; }
Property Value
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
GenerateReplyOptionscompletion option. If provided, it should override existing option if there's any
cancellationToken
CancellationToken