Table of Contents

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 string
systemMessage string
llmConfig ConversableAgentConfig
isTermination Func<IEnumerable<IMessage>, CancellationToken, Task<bool>>
humanInputMode HumanInputMode
functionMap IDictionary<string, Func<string, Task<string>>>
defaultReply string