Interface Tool
-
- All Implemented Interfaces:
-
com.javaaidev.easyllmtools.agenttoolspec.ToolDefinition
public interface Tool<Request, Response> implements ToolDefinition
A tool used by LLM
-
-
Method Summary
Modifier and Type Method Description abstract TypegetRequestType()Type of the request abstract Responsecall(Request request)Call this tool -
Methods inherited from class com.javaaidev.easyllmtools.agenttoolspec.ToolDefinition
getDescription, getExamples, getId, getName, getParametersSchema, getReturnTypeSchema -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRequestType
abstract Type getRequestType()
Type of the request
- Returns:
type
-
-
-
-