Table of Contents

Class DefaultReplyAgent

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

Constructors

DefaultReplyAgent(string, string?)

public DefaultReplyAgent(string name, string? defaultReply)

Parameters

name string
defaultReply string

Properties

DefaultReply

public string DefaultReply { get; }

Property Value

string

Name

public string Name { get; }

Property Value

string

Methods

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

Generate reply

public Task<IMessage> GenerateReplyAsync(IEnumerable<IMessage> _, GenerateReplyOptions? __ = null, CancellationToken ___ = default)

Parameters

_ IEnumerable<IMessage>
__ GenerateReplyOptions
___ CancellationToken

Returns

Task<IMessage>