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
stringsystemMessage
stringllmConfig
ConversableAgentConfigisTermination
Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>humanInputMode
HumanInputModefunctionMap
IDictionary<string, Func<string, Task<string>>>defaultReply
string