Class QueryGroupFunction

java.lang.Object
com.jackdaw.chatwithnpc.openaiapi.function.CustomFunction
com.jackdaw.chatwithnpc.openaiapi.function.QueryGroupFunction

public class QueryGroupFunction extends CustomFunction
  • 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: CustomFunction
      Execute the function. This method will be called by the OpenAI Assistant in a conversation.
      Specified by:
      execute in class CustomFunction
      Parameters:
      conversation - The conversation handler
      args - The arguments
      Returns:
      The result you want to tell the OpenAI assistant