Class AssistantAgent
- Namespace
- AutoGen
- Assembly
- AutoGen.dll
public class AssistantAgent : ConversableAgent, IAgent, IAgentMetaInformation
- Inheritance
-
AssistantAgent
- Implements
- Inherited Members
Constructors
AssistantAgent(string, string, ConversableAgentConfig?, Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>?, HumanInputMode, IDictionary<string, Func<string, Task<string>>>?, string?)
public AssistantAgent(string name, string systemMessage = "You are a helpful AI assistant", ConversableAgentConfig? llmConfig = null, Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>? isTermination = null, HumanInputMode humanInputMode = HumanInputMode.NEVER, 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