Hi guys,
I just reviewed that example https://github.com/microsoft/autogen/blob/main/notebook/agentchat_langchain.ipynb
My question, why functions map is defined for user_proxy not for assistant? How to split the tools which should be used by different agent? Lets say agent1 has access to func1, func2. Agent2 - func3, func4 etc. Same with knowledge base.
Register the tool and start the conversation
user_proxy.register_function(
function_map={
custom_tool.name: custom_tool._run,
read_file_tool.name: read_file_tool._run,
}
)
chatbot = autogen.AssistantAgent(
name="chatbot",
system_message="For coding tasks, only use the functions you have been provided with. Reply TERMINATE when the task is done.",
llm_config=llm_config,
)
Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ - microsoft/autogen