Class VIARequestProcessor

java.lang.Object
com.logicaldoc.via.VIARequestProcessor

public class VIARequestProcessor extends Object
An agent that interprets and answers to natural language questions
Since:
7.8
Author:
Marco Meschieri - LogicalDOC
  • 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 language
      user - The user that has send the question
      Returns:
      The email with the answer
    • setTenantDAO

      public void setTenantDAO(com.logicaldoc.core.security.TenantDAO tenantDAO)
    • setStorer

      public void setStorer(com.logicaldoc.core.store.Storer storer)
    • 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

      public void setAccountDAO(EmailAccountDAO accountDAO)