Method, device, computer readable medium and electronic device for generating legal-related information
By directly selecting and adding legal document node information to the intelligent dialogue area in the document list area of the target page, and generating response information using a predefined model, the problem of cumbersome operation and low efficiency in the existing technology is solved, and efficient legal document analysis is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN DIBO ENTERPRISE RISK MANAGEMENT TECH CO LTD
- Filing Date
- 2026-05-27
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, analyzing files using AI models requires opening a local disk directory and selecting the file, which is cumbersome and inefficient.
By selecting the node information of the target legal document in the document list area of the target page, and adding it to the intelligent dialogue area after receiving the trigger instruction, the system generates a response message using a pre-defined model, achieving an operation without having to open an additional interface or upload files.
It simplifies the document analysis process, improves the efficiency of legal document analysis, and lowers the barrier to entry and understanding cost.
Smart Images

Figure CN122263809A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technology, and more specifically, to a method, apparatus, computer-readable medium, and electronic device for generating legal information. Background Technology
[0002] Currently, the typical way to analyze files using AI models is as follows: the user clicks the upload file icon on the AI model's access page, selects the file to be uploaded in the local disk directory, uploads the file after the user confirms, and then instructs the AI model to analyze the file by entering a prompt.
[0003] However, this method has drawbacks: it requires opening an access page to the local disk directory and spending a lot of time searching for the file to be uploaded in a complex directory, making the operation cumbersome and the analysis efficiency low. Summary of the Invention
[0004] The embodiments of this application provide a method, apparatus, computer-readable medium, and electronic device for generating legal information, which can at least to some extent help users to analyze documents efficiently, quickly, and intuitively, thereby improving analysis efficiency.
[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0006] According to one aspect of the embodiments of this application, a method for generating legal information is provided. The method includes: after node information of a target legal document in a first document list displayed in a document list area of a target page is selected, upon receiving a trigger instruction for a first target control in the target page, adding the node information of the selected target legal document to a smart dialogue area of the target page to display the node information of the target legal document in the smart dialogue area; the target page includes the document list area and the smart dialogue area; upon receiving a dialogue instruction input through the smart dialogue area, generating response information based on the target legal document corresponding to the node information of the target legal document in the smart dialogue area by calling a predetermined model; and displaying the response information through the smart dialogue area.
[0007] According to one aspect of the embodiments of this application, a legal information generation apparatus is provided. The apparatus includes: a node information adding unit, configured to add the node information of the selected target legal document to a smart dialogue area of the target page after a node information of the target legal document in a first document list displayed in a document list area of a target page is selected, so as to display the node information of the target legal document in the smart dialogue area upon receiving a trigger instruction for a first target control in the target page; the target page includes the document list area and the smart dialogue area; a model invocation unit, configured to, upon receiving a dialogue instruction input through the smart dialogue area, invoke a predetermined model to generate response information based on the target legal document corresponding to the node information of the target legal document in the smart dialogue area; and a response information display unit, configured to display the response information through the smart dialogue area.
[0008] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area includes a document sub-area to be processed; the node information adding unit is configured to add the node information of the selected target legal document to the document sub-area to be processed in the intelligent dialogue area, so as to display the node information of the target legal document in the document sub-area to be processed; the model invocation unit is configured to, after the node information of the target legal document is selected in the second document list displayed in the document sub-area to be processed, when a dialogue instruction input through the intelligent dialogue area is received, invoke a predetermined model to generate response information based on the target legal document corresponding to the node information of the selected target legal document.
[0009] In some embodiments of this application, based on the foregoing scheme, the device further includes a document content display unit; before receiving a trigger instruction for the first target control in the target page, the document content display unit is configured to: after the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, display the document content of the target legal document corresponding to the node information of the target legal document through the document preview window of the document list area.
[0010] In some embodiments of this application, based on the foregoing scheme, the target page further includes an extraction preview area adjacent to and located to the right of the document list area; the device further includes an extraction and display unit and a content input unit; after the document content of the target legal document corresponding to the node information of the target legal document is displayed through the document preview window of the document list area, the extraction and display unit is used to: after the extraction page configuration entry in the document list area is configured, extract the target legal document according to the extraction page configuration information configured through the extraction page configuration entry, generate the extracted target legal document, and display the document content of the extracted target legal document in the extraction preview area; the content input unit is used to: when a trigger instruction is received for the second target control in the extraction preview area, input the document content of the extracted target legal document into the text input window of the intelligent dialogue area of the target page.
[0011] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area includes a knowledge base selection sub-area, which includes at least one knowledge base; the model invocation unit is configured to: after the node information of the target legal document and the target knowledge base in the knowledge base selection sub-area are selected in the second document list displayed in the document to be processed sub-area, when a dialogue instruction input through the intelligent dialogue area is received, based on the target legal document corresponding to the node information of the selected target legal document and the target knowledge base, invoke a predetermined model to generate response information.
[0012] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area includes at least one control corresponding to a task; the model invocation unit is configured to: when a dialogue instruction for executing the target task is generated when the control corresponding to the target task in the intelligent dialogue area is triggered, and based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area, invoke a predetermined model to generate reply information.
[0013] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area further includes a task control customization entry; the device further includes a control generation unit; the control generation unit is used to: when obtaining the customization information of the control corresponding to the predetermined task configured through the task control customization entry, generate the control corresponding to the predetermined task in the intelligent dialogue area.
[0014] According to one aspect of the embodiments of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for generating legally related information as described in the above embodiments.
[0015] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method for generating legally related information as described in the above embodiments.
[0016] According to one aspect of the embodiments of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium, a processor of a computer device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, causing the computer device to perform the legal information generation method as described in the above embodiments.
[0017] In some embodiments of this application, the user can first select the node information corresponding to the target legal document to be analyzed from the first document list displayed in the document list area of the target page. Then, when the first target control on the target page is triggered, a trigger command is received for the first target control, and the node information of the selected target legal document is automatically added to the smart dialogue area of the target page. The smart dialogue area can display the node information of the target legal document. Finally, when a dialogue command is received through the smart dialogue area, a predetermined model is called to generate response information based on the target legal document corresponding to the node information of the target legal document in the smart dialogue area, and the response information is displayed in the smart dialogue area. Therefore, in the embodiments of this application, the entire process of analyzing documents using a model can be completed through a single target page. There is no need to open other interfaces, perform file upload operations, or spend a lot of time searching for the files to be analyzed in a local disk directory with a large number of files. This greatly simplifies and reduces the operations required for analyzing files, effectively improving the efficiency of legal document analysis. Moreover, the entire process is conducted in a visual page format, greatly reducing the threshold for use and the cost of understanding.
[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0020] Figure 1 A flowchart illustrating a method for generating legally relevant information according to an embodiment of this application is shown.
[0021] Figure 2 An embodiment according to this application is shown. Figure 1 A flowchart of the steps preceding step 120 in the embodiment.
[0022] Figure 3 A schematic diagram of the document list area and the extraction preview area of the target page according to an embodiment of this application is shown.
[0023] Figure 4 A schematic diagram of a target page according to an embodiment of this application is shown.
[0024] Figure 5 A schematic diagram of the smart dialogue area of a target page according to an embodiment of this application is shown.
[0025] Figure 6 An embodiment according to this application is shown. Figure 1 A flowchart detailing steps 120 and 130 in the embodiment.
[0026] Figure 7 A schematic diagram of the smart dialogue area after clicking the summary control is shown according to an embodiment of this application.
[0027] Figure 8 A block diagram of an apparatus for generating legally relevant information according to one embodiment of this application is shown.
[0028] Figure 9 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0029] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0030] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0031] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0032] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0033] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0034] This application first provides a method for generating legally relevant information. This method can provide services to users such as judges.
[0035] Therefore, the solutions in this application can be applied to terminals or servers. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited herein.
[0036] The implementation details of the technical solutions in the embodiments of this application are described in detail below:
[0037] Figure 1A flowchart illustrating a method for generating legally relevant information according to an embodiment of this application is shown. This method for generating legally relevant information can be executed by various devices with processing and computing capabilities. Specifically, it can be executed by a target device, such as a user terminal or a cloud server. User terminals include, but are not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, smartwatches, etc. Please refer to... Figure 1 As shown, the method for generating this legally relevant information may include at least the following steps: Step 120: After the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, when a trigger instruction is received for the first target control in the target page, the node information of the selected target legal document is added to the smart dialogue area of the target page so as to display the node information of the target legal document in the smart dialogue area; the target page includes the document list area and the smart dialogue area.
[0038] Before going into detail about step 120, let’s first go into the steps that precede step 120. Figure 2 An embodiment according to this application is shown. Figure 1 A flowchart of the steps preceding step 120 in this embodiment. Please refer to [link / reference]. Figure 2 As shown, before receiving a trigger instruction for the first target control on the target page, the method for generating the legal information may include: In step 110, after the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, the document content of the target legal document corresponding to the node information of the target legal document is displayed through the document preview window in the document list area.
[0039] After opening the target page, the user can first select the node information of the target legal document in the first document list displayed in the document list area of the target page, and then perform the operation in step 110.
[0040] The target page may include a document list area on the left. The document list area can be rectangular in shape.
[0041] The first document list may include one or more node information entries, each corresponding to any of the following: a legal document, or the folder to which the legal document belongs; that is, the first document list may include node information for one or more legal documents. The first document list can be a hierarchical, expandable or collapsible tree view control that displays the file directory in a hierarchical structure. The node information for the target legal document can be node information for any legal document in the first document list. The node information for the target legal document may include node information for one or more legal documents.
[0042] Legal documents are documents related to legal cases. Users can maintain and update the first document list; for example, they can upload legal documents to the system, thereby adding node information for that legal document to the first document list.
[0043] Figure 3 A schematic diagram illustrating the document list area and the extraction preview area of a target page according to an embodiment of this application is shown. Figure 3 As shown, the document list area 1 of the target page may include a document list display window 11 on the left and a document preview window 12 on the right. The top of the document list display window 11 may include a search bar, allowing users to search for node information in the first document list. The document list display window 11 also includes a collapse control, which users can trigger to collapse the document list display window 11 in the display screen.
[0044] In the first document list, each node information has a corresponding checkbox. Users can select one or more legal document node information by clicking the checkbox; when the node information corresponding to a folder is selected, the node information of all legal documents included in that folder will be selected. Of course, users can also select the node information of a legal document by double-clicking or single-clicking it.
[0045] like Figure 3 As shown, the document preview window 12 displays the document content of the legal document corresponding to the selected node information in the document list display window 11. Users can preview the legal document corresponding to the selected node information through the document preview window 12.
[0046] Of course, users can also preview the content of a legal document in the document preview window by double-clicking or clicking on the node information of a legal document in the first document list.
[0047] In one embodiment of this application, the target page further includes an extraction preview area adjacent to and located to the right of the document list area.
[0048] Please continue reading Figure 3 As shown, to the right of the document list area 1, the target page also includes an extraction preview area 2 adjacent to the document list area 1.
[0049] In one embodiment of this application, after displaying the document content of the target legal document corresponding to the node information of the target legal document through the document preview window of the document list area, the method for generating the legal information further includes: after the extraction page configuration entry in the document list area is configured, extracting the target legal document according to the extraction page configuration information configured through the extraction page configuration entry, generating the extracted target legal document, and displaying the document content of the extracted target legal document in the extraction preview area; when a trigger instruction is received for the second target control in the extraction preview area, inputting the document content of the extracted target legal document into the text input window of the intelligent dialogue area of the target page.
[0050] The page extraction configuration entry can include at least one extraction configuration option for defining the scope of pages to be extracted, and a configuration text box corresponding to the at least one extraction configuration option. For example, please see Figure 3 As shown, the document list area 1 of the target page may also include an extraction configuration window 13 located below the document list display window 11 and the document preview window 12. The extraction configuration window 13 includes the following three extraction configuration options: Extract All, Extract Current Page, and Extract Specified Page. Users can only select one of these three extraction configuration options. Extracting Specified Page also has a corresponding configuration text box. When a user selects the Extracting Specified Page option, the user can also enter specific page number information in the corresponding configuration text box for Extracting Specified Page.
[0051] In one embodiment of this application, displaying the document content of the extracted target legal document in the extraction preview area includes: converting the extracted target legal document into text information and using the text information as the document content of the extracted target legal document; and displaying the document content of the extracted target legal document in the extraction preview area.
[0052] Specifically, the preview area 2 can display the text information corresponding to the extracted target legal document, that is, the text information in the extracted target legal document.
[0053] Since both the target legal document and the extracted target legal document are merely files, they may contain non-text data such as images and tables. Large models typically can only process text information with relatively high accuracy. Therefore, converting the extracted target legal document into text information ensures the accuracy of document analysis and prevents information from being missed. Furthermore, displaying the extracted text information in the preview area allows users to pre-check and verify the correctness of the text input into the model and the accuracy of the extracted pages.
[0054] The extraction preview area 2 also provides text editing functionality, allowing users to edit the content of the extracted target legal document. For example, if a user discovers errors in the extracted target legal document, they can directly modify them.
[0055] The second target control can be a button or other types of controls. If the second target control is a button, a corresponding trigger command will be generated when the button is clicked.
[0056] Specifically, please see Figure 3 As shown, the second target control can be a "Send to Model Dialog Box" button. This button can be located in the control window 21 of the extraction preview area 2. The control window 21 can also include a "Copy Full Text" button for one-click copying of the extracted target legal document's corresponding text information and an "Add to Memo" button for one-click addition of the extracted target legal document's corresponding text information to the memo. When the "Send to Model Dialog Box" button is clicked, the extracted target legal document's corresponding text information can be entered into the text input window of the intelligent dialogue area with one click, allowing AI question answering to be performed directly in the intelligent dialogue area based on the extracted target legal document's corresponding text information.
[0057] Please continue reading Figure 1 and Figure 2 In step 120, after the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, when a trigger instruction is received for the first target control in the target page, the node information of the selected target legal document is added to the smart dialogue area of the target page so as to display the node information of the target legal document in the smart dialogue area; the target page includes the document list area and the smart dialogue area.
[0058] The target page may also include a smart chat area located to the right of the document list area. The smart chat area can be rectangular. Other areas may exist between the document list area and the smart chat area.
[0059] In one embodiment of this application, the step of adding the node information of the selected target legal document to the smart dialogue area of the target page when a trigger instruction for the first target control in the target page is received, so as to display the node information of the target legal document in the smart dialogue area, includes: after the extraction page configuration entry in the document list area is configured, when a trigger instruction for the first target control in the target page is received, the target legal document is extracted according to the extraction page configuration information configured through the extraction page configuration entry, the extracted target legal document is generated, and the node information corresponding to the extracted target legal document is added to the smart dialogue area of the target page, so as to display the node information corresponding to the extracted target legal document in the smart dialogue area.
[0060] The primary target control can be located in any area of the target page. The primary target control can be a button or other types of controls. If the primary target control is a button, a corresponding trigger command will be generated when the button is clicked.
[0061] Specifically, please see Figure 3 As shown, the first target control can be the "Send to Documents to be Processed" button, which can be located in the extraction configuration window 13 of the document list area 1.
[0062] When a user clicks the "Send to pending documents" button, the system can automatically add the node information of the selected target legal document in the first document list to the smart dialogue area of the target page.
[0063] Of course, after the user configures the page range to be extracted, when the user clicks the "Send to Documents to be Processed" button, the extracted target legal documents corresponding to the page range can be automatically extracted, and the node information corresponding to the extracted target legal documents can be automatically added to the smart dialogue area of the target page.
[0064] In one embodiment of this application, the step of adding the node information of the selected target legal document to the smart dialogue area of the target page when a trigger instruction for the first target control in the target page is received includes: when a trigger instruction for the first target control in the extraction preview area is received, adding the node information corresponding to the extracted target legal document to the smart dialogue area of the target page.
[0065] Figure 4 A schematic diagram of a target page according to an embodiment of this application is shown. Figure 5 A schematic diagram of the intelligent dialogue area of a target page according to an embodiment of this application is shown. Please see [link to relevant documentation]. Figure 4 and Figure 5 As shown, an intelligent dialogue area 3 can be set on the right side of the preview area 2. The intelligent dialogue area 3 can include a knowledge base selection sub-area 31, a document to be processed sub-area 32, a text input window 33, and a message display window 34.
[0066] Figure 6 An embodiment according to this application is shown. Figure 1 A flowchart detailing steps 120 and 130 in the embodiment is provided. Please refer to [link / reference]. Figure 6 As shown, adding the node information of the selected target legal document to the smart dialogue area of the target page to display the node information of the target legal document in the smart dialogue area may include the following steps: In step 120', the node information of the selected target legal document is added to the unprocessed document sub-region of the smart dialogue area so as to display the node information of the target legal document in the unprocessed document sub-region.
[0067] The node information of the selected target legal document can be displayed in the pending document sub-area 32. When the node information of the selected target legal document is added to the pending document sub-area of the smart dialogue area, a migration animation of the node information can also be displayed on the target page to provide users with intuitive and visual operation feedback.
[0068] In step 130, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area.
[0069] Dialogue commands are either questions or prompts. The predefined model can be a large language model or a multimodal model.
[0070] Based on the dialogue instructions and the target legal document, prompts can be constructed and input into a predefined model to obtain response information generated by the predefined model.
[0071] Dialogue commands can be entered manually by the user, or they can be entered by the user by triggering certain controls.
[0072] The system can generate response information by calling a predefined model based on the legal documents corresponding to the node information added to the sub-region of the document to be processed.
[0073] Please continue reading Figure 6 As shown, when a dialogue command is received through the intelligent dialogue area, based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area, a predetermined model is invoked to generate response information, which may specifically include the following steps: In step 120', after the node information of the target legal document in the second document list displayed in the document sub-area to be processed is selected, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the selected target legal document.
[0074] The document to be processed sub-area can also provide checkboxes corresponding to the node information of each legal document, and the node information of the target legal document can be selected by checking the checkboxes.
[0075] Please see Figure 4 and Figure 5 As shown, users can delete the node information corresponding to each legal document that has been added with one click in the document sub-area 32 to be processed, or select the node information of all legal documents in the document sub-area 32 to be processed by selecting all the corresponding checkboxes.
[0076] In one embodiment of this application, the knowledge base selection sub-region includes at least one knowledge base. See also... Figure 4 and Figure 5 As shown, the knowledge base selection area can include three knowledge bases: a legal provisions base, a public base, and a personal base. The knowledge in the personal base can be defined by the user. Users can search and select knowledge in the knowledge base selection area and use only the selected knowledge for AI question answering. Of course, Figure 4 and Figure 5 The legal provisions library, public library, and personal library shown can also be groups of three knowledge bases, and each group can include one or more knowledge bases.
[0077] In one embodiment of this application, after the node information of the target legal document in the second document list displayed in the document sub-area to be processed is selected, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the selected target legal document. This may include: after the node information corresponding to the extracted target legal document in the second document list displayed in the document sub-area to be processed is selected, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the extracted target legal document corresponding to the node information of the selected extracted target legal document.
[0078] In one embodiment of this application, after the node information of the target legal document in the second document list displayed in the document-to-be-processed sub-area is selected, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the selected target legal document. This includes: after the node information of the target legal document in the second document list displayed in the document-to-be-processed sub-area and the target knowledge base in the knowledge base selection sub-area are selected, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the selected target legal document and the target knowledge base.
[0079] AI question answering can be performed by simultaneously combining the target knowledge base defined by selecting sub-regions through the knowledge base and the target legal document corresponding to the node information of the target legal document.
[0080] The intelligent dialogue area includes at least one control corresponding to a task.
[0081] In one embodiment of this application, the intelligent dialogue area includes at least one control corresponding to a task.
[0082] Figure 7 A schematic diagram of the smart dialogue area after clicking the summary control is shown according to an embodiment of this application. Please see below. Figure 7 As shown, the intelligent dialogue area can include controls corresponding to tasks such as summarizing, polishing, expanding, and deduplication. When the control corresponding to a task is activated, the intelligent dialogue area can display the task information that the control can perform.
[0083] In one embodiment of this application, the step of receiving a dialogue instruction input through the intelligent dialogue area and generating response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area by calling a predetermined model includes: when receiving a dialogue instruction for executing the target task generated according to the control corresponding to the activated target task in the intelligent dialogue area, generating response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area by calling a predetermined model.
[0084] When a control is activated, clicking the send button in the text input window 33 will directly send the dialogue command for executing the corresponding task of that control to the predefined model, thus achieving one-click task execution. Alternatively, if the text input window 33 contains content, clicking the send button in the text input window 33 will also allow the model to execute the task based on the content in the text input window 33 and the dialogue command for the corresponding task of that control.
[0085] In one embodiment of this application, the intelligent dialogue area further includes a task control customization entry; the method further includes: when obtaining the customization information of the control corresponding to the predetermined task configured through the task control customization entry, generating the control corresponding to the predetermined task in the intelligent dialogue area.
[0086] Please see Figure 7 As shown, the intelligent dialogue area can also include custom controls. When the user clicks on the custom control, a task control definition window can be displayed. The user can enter a dialogue command for a task through the task control definition window, thereby enabling customization of the control corresponding to the task that can be executed with one click.
[0087] In step 140, the response information is displayed through the intelligent dialogue area.
[0088] The message display window 34 in the intelligent dialogue area 3 can display the model-generated reply messages in the form of bubbles.
[0089] The following describes an apparatus embodiment of this application, which can be used to execute the method for generating legally relevant information in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method for generating legally relevant information described above.
[0090] Figure 8 A block diagram of an apparatus for generating legally relevant information according to one embodiment of this application is shown. (Refer to...) Figure 8 As shown, a legal information generation apparatus 800 according to an embodiment of this application includes: a node information adding unit 810, a model invocation unit 820, and a response information display unit 830. The node information adding unit 810, upon receiving a trigger instruction for a first target control on the target page after node information of a target legal document in a first document list displayed in the document list area of the target page is selected, adds the node information of the selected target legal document to the smart dialogue area of the target page, thereby displaying the node information of the target legal document in the smart dialogue area; the target page includes the document list area and the smart dialogue area; the model invocation unit 820, upon receiving a dialogue instruction input through the smart dialogue area, invokes a predetermined model to generate response information based on the target legal document corresponding to the node information of the target legal document in the smart dialogue area; the response information display unit 830 displays the response information through the smart dialogue area.
[0091] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area includes a document sub-area to be processed; the node information adding unit 810 is configured to add the node information of the selected target legal document to the document sub-area to be processed in the intelligent dialogue area, so as to display the node information of the target legal document in the document sub-area to be processed; the model calling unit 820 is configured to, after the node information of the target legal document is selected in the second document list displayed in the document sub-area to be processed, when a dialogue instruction input through the intelligent dialogue area is received, call a predetermined model to generate reply information based on the target legal document corresponding to the node information of the selected target legal document.
[0092] In some embodiments of this application, based on the foregoing scheme, the device further includes a document content display unit; before receiving a trigger instruction for the first target control in the target page, the document content display unit is configured to: after the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, display the document content of the target legal document corresponding to the node information of the target legal document through the document preview window of the document list area.
[0093] In some embodiments of this application, based on the foregoing scheme, the target page further includes an extraction preview area adjacent to and located to the right of the document list area; the device further includes an extraction and display unit and a content input unit; after the document content of the target legal document corresponding to the node information of the target legal document is displayed through the document preview window of the document list area, the extraction and display unit is used to: after the extraction page configuration entry in the document list area is configured, extract the target legal document according to the extraction page configuration information configured through the extraction page configuration entry, generate the extracted target legal document, and display the document content of the extracted target legal document in the extraction preview area; the content input unit is used to: when a trigger instruction is received for the second target control in the extraction preview area, input the document content of the extracted target legal document into the text input window of the intelligent dialogue area of the target page.
[0094] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area includes a knowledge base selection sub-area, which includes at least one knowledge base; the model invocation unit 820 is configured to: after the node information of the target legal document and the target knowledge base in the knowledge base selection sub-area are selected in the second document list displayed in the document to be processed sub-area, when a dialogue instruction input through the intelligent dialogue area is received, based on the target legal document corresponding to the node information of the selected target legal document and the target knowledge base, invoke a predetermined model to generate response information.
[0095] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area includes at least one control corresponding to a task; the model invocation unit 820 is configured to: when a dialogue instruction for executing the target task is generated when the control corresponding to the target task in the intelligent dialogue area is triggered, and based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area, invoke a predetermined model to generate reply information.
[0096] In some embodiments of this application, based on the foregoing scheme, the intelligent dialogue area further includes a task control customization entry; the device further includes a control generation unit; the control generation unit is used to: when obtaining the customization information of the control corresponding to the predetermined task configured through the task control customization entry, generate the control corresponding to the predetermined task in the intelligent dialogue area.
[0097] Figure 9 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.
[0098] It should be noted that, Figure 9 The computer system 900 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0099] like Figure 9 As shown, the computer system 900 includes a CPU 901, which can perform various appropriate actions and processes according to a program stored in ROM 902 or a program loaded into RAM 903 from storage section 908, such as performing the methods described in the above embodiments. The RAM 903 also stores various programs and data required for system operation. The CPU 901, ROM 902, and RAM 903 are interconnected via bus 904. An I / O interface 905 is also connected to bus 904.
[0100] The following components are connected to I / O interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to I / O interface 905 as needed. Removable media 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 910 as needed so that computer programs read from them can be installed into storage section 908 as needed.
[0101] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 909, and / or installed from removable medium 911. When the computer program is executed by CPU 901, it performs various functions defined in the system of this application.
[0102] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0103] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0104] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0105] In one aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.
[0106] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0107] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the methods according to the embodiments of this application.
[0108] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0109] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for generating legally relevant information, characterized in that, The method includes: After the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, when a trigger instruction is received on the first target control in the target page, the node information of the selected target legal document is added to the smart dialog area of the target page so as to display the node information of the target legal document in the smart dialog area; the target page includes the document list area and the smart dialog area; the first target control is a dedicated control for adding the selected node information to the smart dialog area; When a dialogue command is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area. The response information is displayed through the intelligent dialogue area.
2. The method for generating legally relevant information according to claim 1, characterized in that, The intelligent dialogue area includes a sub-area of documents to be processed. Adding the node information of the selected target legal document to the smart dialogue area of the target page, so as to display the node information of the target legal document in the smart dialogue area, includes: The node information of the selected target legal document is added to the pending document sub-area of the intelligent dialogue area, so as to display the node information of the target legal document in the pending document sub-area; When a dialogue instruction is received through the intelligent dialogue area, the system calls a predetermined model to generate response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area, including: After the node information of the target legal document is selected in the second document list displayed in the document sub-area to be processed, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the selected target legal document.
3. The method for generating legally relevant information according to claim 1, characterized in that, Before receiving a trigger instruction for the first target control on the target page, the method further includes: Once the node information of the target legal document in the first document list displayed in the document list area of the target page is selected, the document content of the target legal document corresponding to the node information is displayed in the document preview window of the document list area.
4. The method for generating legally relevant information according to claim 3, characterized in that, The target page also includes an extraction preview area that is adjacent to and located to the right of the document list area; After displaying the document content of the target legal document corresponding to the node information of the target legal document in the document preview window of the document list area, the method further includes: After the extraction page configuration entry in the document list area is configured, the target legal document is extracted according to the extraction page configuration information configured through the extraction page configuration entry, the extracted target legal document is generated, and the document content of the extracted target legal document is displayed in the extraction preview area; When a trigger command is received for the second target control in the extraction preview area, the document content of the extracted target legal document is input into the text input window of the smart dialogue area of the target page.
5. The method for generating legally relevant information according to claim 2, characterized in that, The intelligent dialogue area includes a knowledge base selection sub-area, and the knowledge base selection sub-area includes at least one knowledge base; After the node information of the target legal document in the second document list displayed in the document sub-area to be processed is selected, when a dialogue instruction is received through the intelligent dialogue area, based on the target legal document corresponding to the node information of the selected target legal document, a predetermined model is invoked to generate response information, including: After the node information of the target legal document and the target knowledge base in the knowledge base selection sub-area are selected in the second document list displayed in the document to be processed sub-area, when a dialogue instruction is received through the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the selected target legal document and the target knowledge base.
6. The method for generating legally relevant information according to claim 1, characterized in that, The intelligent dialogue area includes at least one control corresponding to a task; when a dialogue instruction is received through the intelligent dialogue area, based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area, a predetermined model is invoked to generate response information, including: When a dialogue instruction for executing the target task is received, generated based on the control corresponding to the target task activated in the intelligent dialogue area, a predetermined model is invoked to generate response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area.
7. The method for generating legally relevant information according to claim 6, characterized in that, The intelligent dialogue area also includes a customizable task control entry point; the method further includes: When the custom information for the control corresponding to the predetermined task is obtained through the custom entry of the task control, the control corresponding to the predetermined task is generated in the intelligent dialogue area.
8. A device for generating legally related information, characterized in that, The device includes: A node information adding unit is configured to, upon receiving a trigger instruction to a first target control on the target page, add the node information of a target legal document selected in the first document list displayed in the document list area of the target page to the smart dialog area of the target page, so as to display the node information of the target legal document in the smart dialog area; the target page includes the document list area and the smart dialog area; the first target control is a dedicated control for adding the selected node information to the smart dialog area; The model invocation unit is used to, upon receiving a dialogue instruction input through the intelligent dialogue area, invoke a predetermined model to generate response information based on the target legal document corresponding to the node information of the target legal document in the intelligent dialogue area. A reply information display unit is used to display the reply information through the intelligent dialogue area.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for generating legally relevant information as described in any one of claims 1 to 7.
10. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method for generating legally relevant information as described in any one of claims 1 to 7.