Class GetArrayMemory
java.lang.Object
me.neurodock.llm.tools.FunctionTool
me.neurodock.core.memory.array.GetArrayMemory
- All Implemented Interfaces:
Tool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ToolResponsefunction(ToolArguments args) Invokes the tool.@NotNull Stringname()The name of the tool.@NotNull ToolParametersThe parameters this tool accepts.Methods inherited from class FunctionTool
descriptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Tool
renderCalling
-
Constructor Details
-
GetArrayMemory
public GetArrayMemory()
-
-
Method Details
-
name
Description copied from class:FunctionToolThe name of the tool. Used by the model to identify what it's calling.- Specified by:
namein interfaceTool- Specified by:
namein classFunctionTool- Returns:
- the tool's name
-
parameters
Description copied from class:FunctionToolThe parameters this tool accepts.- Specified by:
parametersin classFunctionTool- Returns:
- the tool's parameter schema
-
function
Description copied from class:FunctionToolInvokes the tool.- Specified by:
functionin classFunctionTool- Parameters:
args- the arguments passed by the model- Returns:
- the tool's response
-