Package com.hw.langchain.agents.tools
Class InvalidTool
java.lang.Object
com.hw.langchain.tools.base.BaseTool
com.hw.langchain.agents.tools.InvalidTool
Tool that is run when invalid tool name is encountered by agent.
- Author:
- HamaWhite
-
Field Summary
Fields inherited from class com.hw.langchain.tools.base.BaseTool
description, name, returnDirect
-
Constructor Summary
-
Method Summary
Methods inherited from class com.hw.langchain.tools.base.BaseTool
args, isSingleInput, run, toArgsAndKwargs
-
Constructor Details
-
InvalidTool
public InvalidTool()
-
-
Method Details