Class ExecuteOpenAIToolCallAction

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    public class ExecuteOpenAIToolCallAction
    extends AbstractPluginAction
    Executes an OpenAI tool call coming in as JSON - for usage outside ChatGPT.
    See Also:
    Serialized Form
    • Method Detail

      • openApiDescription

        public String openApiDescription()
        This is not registered in the yaml description since it's not a normal action, but rather distributes to actions.
        Specified by:
        openApiDescription in class AbstractPluginAction
      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest req,
                              jakarta.servlet.http.HttpServletResponse resp)
                       throws jakarta.servlet.ServletException,
                              IOException
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException