Class QueryGroupFunction
java.lang.Object
com.jackdaw.chatwithnpc.openaiapi.function.CustomFunction
com.jackdaw.chatwithnpc.openaiapi.function.QueryGroupFunction
-
Field Summary
Fields inherited from class com.jackdaw.chatwithnpc.openaiapi.function.CustomFunction
description, properties, required -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QueryGroupFunction
public QueryGroupFunction()
-
-
Method Details
-
execute
public Map<String,String> execute(@NotNull @NotNull ConversationHandler conversation, @NotNull @NotNull Map<String, Object> args) Description copied from class:CustomFunctionExecute the function. This method will be called by the OpenAI Assistant in a conversation.- Specified by:
executein classCustomFunction- Parameters:
conversation- The conversation handlerargs- The arguments- Returns:
- The result you want to tell the OpenAI assistant
-