Package com.logicaldoc.chatgpt
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.ChatGPTService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
ask
- Specified by:
ask
in interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.ChatGPTService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-