Table of Contents

Class UserProxyAgent

Namespace
AutoGen
Assembly
AutoGen.dll
public class UserProxyAgent : ConversableAgent, IAgent, IAgentMetaInformation
Inheritance
UserProxyAgent
Implements
Inherited Members

Constructors

UserProxyAgent(string, string, ConversableAgentConfig?, Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>?, HumanInputMode, IDictionary<string, Func<string, Task<string>>>?, string?)

public UserProxyAgent(string name, string systemMessage = "You are a helpful AI assistant", ConversableAgentConfig? llmConfig = null, Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>? isTermination = null, HumanInputMode humanInputMode = HumanInputMode.ALWAYS, IDictionary<string, Func<string, Task<string>>>? functionMap = null, string? defaultReply = null)

Parameters

name string
systemMessage string
llmConfig ConversableAgentConfig
isTermination Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>
humanInputMode HumanInputMode
functionMap IDictionary<string, Func<string, Task<string>>>
defaultReply string