Package com.logicaldoc.via
Class VIARequestProcessor
java.lang.Object
com.logicaldoc.via.VIARequestProcessor
An agent that interprets and answers to natural language questions
- Since:
- 7.8
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.logicaldoc.core.communication.EMail
Interprets the question and prepares the answer.void
setAccountDAO
(EmailAccountDAO accountDAO) void
setConfig
(com.logicaldoc.util.config.ContextProperties config) void
setDocumentDAO
(com.logicaldoc.core.document.DocumentDAO documentDAO) void
setFolderDAO
(com.logicaldoc.core.folder.FolderDAO folderDAO) void
setMessageTemplateDAO
(com.logicaldoc.core.communication.MessageTemplateDAO messageTemplateDAO) void
setStore
(com.logicaldoc.core.store.Store store) void
setTenantDAO
(com.logicaldoc.core.security.TenantDAO tenantDAO)
-
Constructor Details
-
VIARequestProcessor
public VIARequestProcessor()
-
-
Method Details
-
request
public com.logicaldoc.core.communication.EMail request(String question, com.logicaldoc.core.security.user.User user) Interprets the question and prepares the answer.- Parameters:
question
- The question in natural languageuser
- The user that has send the question- Returns:
- The email with the answer
-
setTenantDAO
public void setTenantDAO(com.logicaldoc.core.security.TenantDAO tenantDAO) -
setStore
public void setStore(com.logicaldoc.core.store.Store store) -
setFolderDAO
public void setFolderDAO(com.logicaldoc.core.folder.FolderDAO folderDAO) -
setDocumentDAO
public void setDocumentDAO(com.logicaldoc.core.document.DocumentDAO documentDAO) -
setConfig
public void setConfig(com.logicaldoc.util.config.ContextProperties config) -
setMessageTemplateDAO
public void setMessageTemplateDAO(com.logicaldoc.core.communication.MessageTemplateDAO messageTemplateDAO) -
setAccountDAO
-