Intelligent document creation and review generated by a large language model
The systems, methods, and non-transitory computer-readable media relates to the intelligent generation and completion of digital documents. For example, the disclosed systems provide a document creation interface for entering inputs to generate and modify digital documents. In some instances, the disclosed systems receive a document generation prompt, generate a digital document (e.g., using a large language model), and provide an indication of the generated digital document within the document creation interface. Moreover, the disclosed systems can further generate a document summary of the digital document and provide the document summary for a recipient device via a document review interface. Additionally, the disclosed systems can further generate a suggested document modification element and modify the digital document in response to a user interaction with the suggested document modification element using the large language model.
1 . A computer-implemented method comprising:
providing, for display on a requestor device associated with a user account, a document creation interface comprising an input field to generate and modify digital documents;
receiving, from the requestor device via the document creation interface, a document generation prompt defining document parameters;
in response to the document generation prompt, generating a digital document using a large language model to process the document parameters based on content items stored for the user account within a content management system;
generating, for the digital document, a score that indicates a likelihood of a recipient device providing a digital signature for the digital document, wherein the score comprises an indication of whether the recipient device previously provided a digital signature related to a different digital document; or
generating, for the digital document, an additional score that indicates an additional likelihood of the recipient device providing the digital signature for the digital document, wherein the additional score comprises an additional indication of digital signature rates for additional digital documents within the content management system that satisfy a similarity threshold with the digital document; and
providing, within the document creation interface on the requestor device, a selectable file element that represents the digital document and the score for the digital document or the additional score for the digital document, wherein a selection of the selectable file element transitions the document creation interface to a file view that displays contents of the digital document.
2 . The computer-implemented method of claim 1 , further comprising:
receiving, from the requestor device, a document modification prompt for the digital document, the document modification prompt defining at least one additional document parameter;
in response to the document modification prompt, generating a modified digital document using the large language model; and
providing an additional indication of the modified digital document for display on the requestor device within the document creation interface.
3 . The computer-implemented method of claim 1 , further comprising:
receiving, via the input field in the document creation interface, a document information prompt related to one or more digital document properties; and
based on the document information prompt, receiving a document information response from the large language model, the document information response comprising at least one digital document property.
4 . The computer-implemented method of claim 1 , further comprising generating, for the digital document, a score that indicates a likelihood of the recipient device completing a task related to the digital document.
5 . The computer-implemented method of claim 1 , wherein generating the score or the additional score comprises:
identifying an additional recipient device and whether the additional recipient device previously provided an additional digital signature related to another digital document; or
comparing embeddings of the digital document with additional embeddings within the content management system to generate measures of similarity between the digital document and the additional digital documents within the content management system; and
identifying a subset of the additional digital documents from the additional digital documents within the content management system based on the additional digital documents satisfying a similarity threshold with the digital document.
6 . The computer-implemented method of claim 1 , further comprising generating a time prediction for the recipient device completing a task related to the digital document, wherein generating the time prediction comprises:
identifying at least one account that satisfies an additional similarity threshold with a recipient account associated with the recipient device;
determining a task completion metric associated with the at least one account; and
generating the time prediction based on the task completion metric.
7 . The computer-implemented method of claim 1 , further comprising:
generating a time prediction for the recipient device to provide the digital signature for the digital document; and
generating a suggestion to modify the digital document to reduce the time prediction for the recipient device to provide the digital signature for the digital document.
8 . The computer-implemented method of claim 1 , wherein receiving, from the requestor device via the document creation interface, the document generation prompt defining document parameters further comprises receiving an indication of a first content item and a second content item from the content management system to provide to the large language model as part of the document generation prompt.
9 . The computer-implemented method of claim 1 , further comprising:
generating a summary of the digital document to send to the recipient device along with a signature request of the digital document; and
providing, for display on the requestor device, and editable version of the summary of the digital document.
10 . The computer-implemented method of claim 1 , further comprising:
providing the digital document as a PDF file; and
receiving a request from the requestor device to send the digital document as the PDF file to the recipient device to obtain a digital signature from the recipient device.
11 . A system comprising:
at least one processor; and
a non-transitory computer-readable medium storing instructions which, when executed by the at least one processor, cause the system to:
provide, for display on a requestor device associated with a user account, a document creation interface comprising an input field to generate and modify digital documents;
receive, from the requestor device via the document creation interface, a document generation prompt defining document parameters;
in response to the document generation prompt, generate a digital document using a large language model to process the document parameters based on content items stored for the user account within a content management system;
in response to a modification prompt defining modified document parameters for the digital document, generate a modified digital document using the large language model;
generate, for the digital document, a score that indicates a likelihood of a recipient device providing a digital signature for the modified digital document, wherein the score comprises an indication of whether the recipient device previously provided a digital signature related to a different digital document; or
generate, for the digital document, an additional score that indicates an additional likelihood of the recipient device providing the digital signature for the modified digital document, wherein the additional score comprises an additional indication of digital signature rates for additional digital documents within the content management system that satisfy a similarity threshold with the modified digital document; and
provide, within the document creation interface, a selectable file element that represents the modified digital document and the score for the modified digital document or the additional score for the modified digital document, wherein a selection of the selectable file element transitions the document creation interface to a file view that displays contents of the modified digital document.
12 . The system of claim 11 , further storing instructions which, when executed by the at least one processor, cause the system to:
provide an indication of the digital document for display on the requestor device within the document creation interface as a selectable content item; and
receive, from the requestor device, the modification prompt for the digital document, the modification prompt comprising an indication to modify a portion of the digital document.
13 . The system of claim 11 , further storing instructions which, when executed by the at least one processor, cause the system to:
receive an additional modification prompt for the modified digital document; and
generate an additional modified digital document based on the additional modification prompt.
14 . The system of claim 11 , further storing instructions, which when executed by the at least one processor cause the system to:
receive, via the input field in the document creation interface, a document information prompt related to one or more modified digital document properties; and
based on the document information prompt, receiving a document information response from the large language model, the document information response comprising at least one modified digital document property.
15 . The system of claim 11 , further storing instructions, which when executed by the at least one processor cause the system to receive, from the requestor device via the document creation interface, the modification prompt defining document modification parameters by receiving an indication of a first content item and a second content item from the content management system to provide to the large language model as part of the modification prompt.
16 . A non-transitory computer-readable medium storing executable instructions which, when executed by at least one processor, cause the at least one processor to:
provide, for display on a requestor device associated with a user account, a document creation interface comprising an input field for entering text prompts to generate and modify digital documents;
receive, from the requestor device via the document creation interface, a document generation prompt defining document parameters, the document parameters comprising an indication of a first content item and a second content item associated with the user account within a content management system;
in response to the document generation prompt, generate a digital document using a large language model to process the document parameters;
generate, for the digital document, a score that indicates a likelihood of a recipient device providing a digital signature for the digital document, wherein the score comprises an indication of whether the recipient device previously provided a digital signature related to a different digital document; or
generate, for the digital document, an additional score that indicates an additional likelihood of the recipient device providing the digital signature for the digital document, wherein the additional score comprises an additional indication of digital signature rates for additional digital documents within the content management system that satisfy a similarity threshold with the digital document; and
provide, within the document creation interface on the requestor device, a selectable file element that represents the digital document and the score for the digital document or the additional score for the digital document, wherein a selection of the selectable file element transitions the document creation interface to a file view that displays contents of the digital document.
17 . The non-transitory computer-readable medium of claim 16 , further storing instructions which, when executed by the at least one processor, cause the at least one processor to generate, for the digital document, a legitimacy score that indicates the digital document satisfying a similarity threshold for additional digital documents that previously received digital signatures.
18 . The non-transitory computer-readable medium of claim 16 , further storing instructions which, when executed by the at least one processor, cause the at least one processor to:
identify at least one account that satisfies an additional similarity threshold with a recipient account associated with the recipient device;
determine a task completion metric associated with the at least one account; and
generate a time prediction for the recipient device completing a task related to the digital document based on the task completion metric.
19 . The non-transitory computer-readable medium of claim 16 , further storing instructions which, when executed by the at least one processor, cause the at least one processor to receive, from the requestor device, a modification prompt for the digital document, the modification prompt comprising an indication to replace the digital document with a different digital document.
20 . The non-transitory computer-readable medium of claim 16 , further storing instructions which, when executed by the at least one processor, cause the at least one processor to receive a request from the requestor device to send the digital document in a target language to the recipient device to obtain a digital signature from the recipient device.