Class ChatGPTServiceImpl

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.chatgpt.ChatGPTServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.ChatGPTService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ChatGPTServiceImpl extends com.logicaldoc.web.service.AbstractRemoteService implements com.logicaldoc.gui.frontend.client.services.ChatGPTService
Implementation of the ChatGPT service
Since:
8.9.4
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.ChatGPTService

    com.logicaldoc.gui.frontend.client.services.ChatGPTService.Instance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    ask(String question)
     
    com.logicaldoc.gui.common.client.beans.GUIValue
     
    List<com.logicaldoc.gui.common.client.beans.GUIValue>
     
    void
    saveSettings(List<com.logicaldoc.gui.common.client.beans.GUIValue> settings)
     
    void
    startThread(String question, List<com.logicaldoc.gui.common.client.beans.GUIDocument> documents)
     

    Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

    getSerializationPolicy, init, processCall, processCall, processPost

    Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

    doPost

    Methods inherited from class javax.servlet.http.HttpServlet

    service

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChatGPTServiceImpl

      public ChatGPTServiceImpl()
  • Method Details

    • loadSettings

      public List<com.logicaldoc.gui.common.client.beans.GUIValue> loadSettings() throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      loadSettings in interface com.logicaldoc.gui.frontend.client.services.ChatGPTService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • saveSettings

      public void saveSettings(List<com.logicaldoc.gui.common.client.beans.GUIValue> settings) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      saveSettings in interface com.logicaldoc.gui.frontend.client.services.ChatGPTService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • startThread

      public void startThread(String question, List<com.logicaldoc.gui.common.client.beans.GUIDocument> documents) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      startThread in interface com.logicaldoc.gui.frontend.client.services.ChatGPTService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • ask

      public void ask(String question) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      ask in interface com.logicaldoc.gui.frontend.client.services.ChatGPTService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • getAnswer

      public com.logicaldoc.gui.common.client.beans.GUIValue getAnswer() throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      getAnswer in interface com.logicaldoc.gui.frontend.client.services.ChatGPTService
      Throws:
      com.logicaldoc.gui.common.client.ServerException