LangChain - Agents
Given this code snippet, what will be the output when the agent uses the tool?
def greet(name: str) -> str:
return f"Hello, {name}!"
from langchain.agents import Tool
greet_tool = Tool(name='greet', func=greet, description='Greets a person')
result = greet_tool.func('Alice')
print(result)