View this page in the latest version of Appian. Set Up the AI Submission Document Assistant Module Share Share via LinkedIn Reddit Email Copy Link Print On This Page This content applies solely to Connected Underwriting, which must be purchased separately from the Appian base platform. This content was written for Appian 26.2 and may not reflect the interfaces or functionality of other Appian versions. Introduction After installing the AI Submission Document Assistant module you need to set it up before using it with your Connected Underwriting (CU) P&C solution. This guide walks you through the required incorporation steps, including: Adding the AI Summarize Docs subprocess to the Create Submission process Adding the AI Summarize Docs subprocess to the Upload Document process Adding the AI Summarize Docs subprocess to the Create Submission From Email process Adding the AI Summarize Docs subprocess to the Post-Complete Upload Document Task process Enabling AI Document Summary view on the Document Viewer component Adding the AI Document Chat to the Submission Documents record tab Removing Document details from the nested document view Before performing these incorporation steps, ensure that your system meets the required prerequisites. System prerequisites This section details the prerequisites your system must meet to incorporate the AI Submission Document Assistant module with your CU P&C solution. Appian platform running version 25.2 or greater. A supported version of MariaDB as a business data source. Note: Instructions below are for MariaDB databases. For use with other databases, the SQL script must be modified to fit syntax requirements. A supported web browser. Connected Underwriting Base Application v1.7 installed in the target environment. ISU Add-on: Submission Document AI imported and installed in the target environment. Required incorporation This section details the incorporation steps you are required to perform in order to utilize the AI Submission Document Assistant module in your CU P&C solution. Complete each set of steps in the order outlined. Step 1: Add the AI Summarize Docs subprocess to the Create Submission process To set up the AI Submission Document Assistant module with your CU P&C, the first step you need to perform to is to add the AI Summarize Docs subprocess to the Create Submission process. Follow the steps in this section to add the subprocess. Open the ISU Create New Submission process model. In between the Write Submission Documents subprocess node and the Start Document Extraction subprocess node, add a new subprocess node called Summarize Documents. Under the Setup tab, configure the subprocess node as shown: For the Input Variables of the subprocess, pass in pv!submissionDocs[tp!instanceindex] for the document parameter and pv!submissionDocs.submissionDocumentId[tp!instanceindex] for the documentId parameter. Under the Other tab of the subprocess, configure this node to be an MNI node by setting it up as shown: Save and publish the process model. Step 2: Add the AI Summarize Docs subprocess to the Upload Document process Next, you need to add the AI Summarize Docs subprocess to the Upload Document process to enable private AI to analyze and process user-uploaded PDF submission documents. To add the subprocess: Open the ISU Upload Documents process model. Add a new subprocess node named Summarize Document after the Write Submission Documents subprocess node. Under the Setup tab, configure the subprocess node as shown: For the subprocess input variables, pass in pv!submissionDocs[tp!instanceindex] for the document parameter and pv!submissionDocs.submissionDocumentId[tp!instanceindex] for the documentId parameter. Under the Other tab of the subprocess, configure this node to be an MNI node by setting it up as shown: Save and publish the process model. Step 3: Add the AI Summarize Docs subprocess to the Create Submission From Email process Perform the steps in this section to add the AI Summarize Docs subprocess to the Create Submission From Email process. To add the subprocess: Open the ISU Create Submission from Email process model. Add a new subprocess node named Summarize Document after the Classify Documents subprocess node. Under the Setup tab, configure the subprocess node as shown: For the subprocess input variables, pass in pv!submissionDocs[tp!instanceindex] for the document parameter and pv!submissionDocs.submissionDocumentId[tp!instanceindex] for the documentId parameter. Under the Other tab, configure this node to be an MNI node by setting it up as shown: Save and publish the process model. Step 4: Add the AI Summarize Docs subprocess to the Post-Complete Upload Document Task process To enable AI summaries on new doc uploads, you need to add the AI Summarize Docs subprocess to the Post-Complete Upload Document Task process by performing the steps in this section. To add the subprocesss: Open the ISU Post Complete Task Upload Document process model. Add a new subprocess node named Summarize Document after the Start Document Extraction subprocess node. Under the Setup tab, configure the subprocess node as shown: For the subprocess input variables, pass in pv!submissionDocs[tp!instanceindex] for the document parameter and pv!submissionDocs.submissionDocumentId[tp!instanceindex] for the documentId parameter. Under the Other tab of the subprocess, configure this node to be an MNI node by setting it up as shown: Save and publish the process model. Step 5: Enable AI Document Summary view on the Document Viewer component Next, you need to enable the AI Document Summary view on the Document Viewer component by updating the ISU_CO_CP_documentViewerField interface. To update the interface object: Open the ISU_CO_CP_documentViewerField interface. After the Document Name header display, insert a call to the ISU_SDAI_SubmissionDocument_DisplaySummary rule by passing in a call to the ISU_UTILG_LoadBrandingMap rule for the brandingMap input and ri!subDocId the selectedDocument input, as shown below: Save the interface. Step 6: Add the AI Document Chat to the Submission Documents record tab Next, in order to engage with the AI chatbot for documents uploaded to the Submission record, you need to add the AI Document Chat to the Submission Documents record tab. To update the interface object: Open the ISU_submissionRecordViewDocuments interface. Within the paneLayout, add a new a!pane() to the end of the panes array containing a call to the ISU_SDAI_SubmissionDocument_DisplayChatAndDetails rule, as shown below: Note: Alternatively, you can copy and paste the code shown: sail /*Add On: Submission Document AI - Chat Feature*/ a!pane( accessibilityText: 'translation!{907ed3ea-3967-448e-b0ce-0b8db94ee49f}ISU_SDAI_Translations.{bbec74f5-6450-4fa3-b4c0-02e0be74b6dc}AI Document Chat', contents: rule!ISU_SDAI_SubmissionDocument_DisplayChatAndDetails( brandingMap: local!brandingMap, submissionDocument: local!selectedSubmissionDoc ), width: "MEDIUM_PLUS", backgroundColor: local!brandingMap.Blue0Color, padding: "EVEN_LESS", /*only show if document selected*/ showWhen: a!isNotNullOrEmpty(local!selectedSubmissionDoc) ) Save the interface. Step 7: Remove Document details from the nested document view Finally, you need to update the ISU_viewDocumentDetails interface to remove document details from the document view. Open the ISU_viewDocumentDetails interface. Remove the entire a!columnLayout() containing the call to the ISU_viewDocumentDetails_metadataCard rule, as shown: Save the interface. Next steps Now that you have set up the AI Submission Document Assistant module you can use it in your CU P&C solution to to quickly find the context they need. Feedback Was this page helpful? SHARE FEEDBACK Loading...