Package com.hw.openai.function
Class FunctionExecutor
java.lang.Object
com.hw.openai.function.FunctionExecutor
- Author:
- HamaWhite
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FunctionExecutor
public FunctionExecutor()
-
-
Method Details
-
register
-
execute
public static <T,R> R execute(String functionName, Class<T> clazz, String arguments) throws ClassCastException - Throws:
ClassCastException
-