Class VIARequestProcessor


  • public class VIARequestProcessor
    extends Object
    An agent that interprets and answers to natural language questions
    Since:
    7.8
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • VIARequestProcessor

        public VIARequestProcessor()
    • Method Detail

      • request

        public com.logicaldoc.core.communication.EMail request​(String question,
                                                               com.logicaldoc.core.security.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.dao.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.dao.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)