Information processing device, document review system, information processing method, and program
Patent Information
- Application Number
- PCT/JP2025/026394
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-21
- Filing Date
- 2025-07-25
- Publication Date
- 2026-08-27
Smart Images

Figure JP2025026394_27082026_PF_FP_ABST
Abstract
Description
Information Processing Apparatus, Document Review System, Information Processing Method, and Program
[0001] The present disclosure relates to an information processing apparatus, a document review system, an information processing method, and a program. This application claims priority based on Japanese Patent Application No. 2025-026434 filed in Japan on February 21, 2025, and incorporates the content herein by reference.
[0002] Since the official Q&A document of the Ministry of Economy, Trade and Industry on the Electronic Signature Law regarding the legal validity of electronic contracts (Q&A on Electronic Contract Services, which encrypts etc. using the signature key of the service provider itself based on the user's instructions) has been published, the promotion of the spread of electronic contracts has been progressing.
[0003] Electronic contracts are efficient because all procedures can be completed on the system, but the user needs to create the contract document itself, and there is a demand for improving the efficiency of document creation. By using general contract document creation support tools or contract document templates, the time for document creation can be reduced, but for example, the scrutiny of content that may render the contract invalid, such as violating public order and good customs or mandatory laws, needs to be carried out by the user himself.
[0004] Patent Document 1 discloses a contract system that enables secure contract conclusion with legal backing by introducing a contract document creation server program that stores contract terms subject to legal supervision.
[0005] Japanese Patent Application Laid-Open No. 2024-032450
[0006] However, in the contract system described in Patent Document 1, although a contract document consisting of contract terms subject to legal supervision can be created, there is a problem that a legal review cannot be performed on an arbitrary document such as a contract document presented by the other party.
[0007] In view of such circumstances, the present disclosure provides an information processing apparatus, a document review system, an information processing method, and a program that can perform a legal review on an arbitrary document
[0008] This disclosure is made to solve the above-mentioned problems, and one aspect of this disclosure is an information processing device comprising: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a prompt generation unit that generates a first prompt to instruct whether the document input by the user interface unit conforms to the one or more laws or regulations; and an AI control unit that inputs the first prompt to an AI (Artificial Intelligence) and obtains the AI's response to the first prompt.
[0009] Another aspect of the present disclosure is the information processing apparatus described above, wherein the prompt generation unit generates the first prompt for each of the one or more laws or regulations.
[0010] Another aspect of the present disclosure is the information processing apparatus described above, wherein the prompt generation unit collects the responses to each of the first prompts and generates a second prompt for instructing the collection of responses to be combined, and the AI control unit inputs the second prompt to the AI and obtains the AI's response to the second prompt.
[0011] Another aspect of the present disclosure is the information processing apparatus described above, wherein the AI control unit inputs to the AI one or more examples of violations of laws or regulations before inputting the first prompt to the AI.
[0012] Another aspect of the present disclosure is the information processing apparatus described above, wherein the prompt generation unit extracts a portion of the one or more laws or regulations relating to the document and includes the relevant portion in the first prompt.
[0013] Another aspect of this disclosure is a document review system comprising: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a prompt generation unit that generates a first prompt to instruct whether the document input by the user interface unit conforms to the one or more laws or regulations; an artificial intelligence unit that outputs an AI (Artificial Intelligence) response to the first prompt when the first prompt is input; and an AI control unit that inputs the first prompt to the artificial intelligence unit and obtains the response.
[0014] Another aspect of this disclosure is an information processing method comprising: a first step of inputting a document to be reviewed and inputting a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a second step of generating a first prompt to instruct whether the document input in the first step complies with the one or more laws or regulations; and a third step of inputting the first prompt to AI (Artificial Intelligence) and obtaining the AI's response to the first prompt.
[0015] Another aspect of this disclosure is a program for causing a computer to function as: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a prompt generation unit that generates a first prompt to instruct whether the document input by the user interface unit conforms to the one or more laws or regulations; and an AI control unit that inputs the first prompt to an AI (Artificial Intelligence) and obtains the AI's response to the first prompt.
[0016] According to this disclosure, information processing devices, document review systems, information processing methods, and programs can perform legal reviews on any document.
[0017] This is a schematic block diagram showing the configuration of the document review system 100 according to the first embodiment of this disclosure. This is a table showing an example of information stored by the storage device 20 in the same embodiment. This is a diagram showing an example of the first display screen by the user I / F unit 11 in the same embodiment. This is a diagram showing an example of the second display screen by the user I / F unit 11 in the same embodiment. This is a diagram showing an example of the third display screen by the user I / F unit 11 in the same embodiment. This is a flowchart explaining an example of the operation of the information processing device 10 in the same embodiment. This is a diagram showing an example of the first display screen by the user I / F unit 11 in the second embodiment of this disclosure. This is a table showing an example of information stored by the storage device 20 in the same embodiment. This is a flowchart explaining an example of the operation of the information processing device 10 in the third embodiment of this disclosure. This is a flowchart explaining the operation of the information processing device 10 in the fourth embodiment of this disclosure. This is a flowchart explaining the operation of the information processing device 10 in the fifth embodiment of this disclosure. This is an explanatory diagram explaining the hardware configuration of each device according to each embodiment.
[0018] <First Embodiment> The first embodiment of this disclosure will be described below with reference to the drawings. Figure 1 is a schematic block diagram showing the configuration of a document review system 100 according to the first embodiment of this disclosure. The document review system 100 takes a document to be reviewed, such as a contract, as input, and inputs a law or regulation, or a law and regulation, and uses an artificial intelligence (AI) unit 30, which has the function of artificial intelligence, to check (review) any descriptions in the document that violate the specified law or regulation, or law and regulation (hereinafter abbreviated as "law or regulation"), and displays the review results. The document review system 100 comprises an information processing device 10, a storage device 20, and an artificial intelligence unit 30 (AI). The information processing device 10 is connected to the storage device 20 and the artificial intelligence unit 30 so as to be able to communicate via a communication line such as an IP (Internet Protocol) network. The communication line to which the information processing device 10 is connected to the storage device 20 and the communication line to which the information processing device 10 is connected to the artificial intelligence unit 30 may be different or the same. The storage device 20 and the artificial intelligence unit 30 may each be located on a so-called cloud, or they may be implemented by one or more computers reading and executing programs. Furthermore, the artificial intelligence unit 30 may use an NPU (Neural Network Processing Unit) to accelerate part of its program, or it may execute the entire program. An NPU is a processor that performs tensor processing with low power consumption.
[0019] The information processing device 10 receives input from the storage device 20 for a document to be reviewed, such as a contract, and inputs the designation of laws or regulations. The information processing device 10 then reads information from the storage device 20 to generate a prompt (first prompt) for the artificial intelligence to check for any descriptions in the document that violate the designated laws or regulations, and generates the first prompt. The information for generating the first prompt may include, for example, the articles of the designated laws or regulations, or it may refer to the articles of the designated laws or regulations on the internet. The internet reference may be information on laws or regulations on the external internet, or information on laws or regulations pre-stored on the cloud. The information processing device 10 inputs the first prompt to the artificial intelligence unit 30 and obtains the response of the artificial intelligence unit 30 to the first prompt from the artificial intelligence unit 30. Furthermore, the information processing device 10 displays the obtained response. The first prompt includes at least the document to be reviewed, the articles of the designated laws or regulations or the internet reference of the articles of the designated laws or regulations, and instructions to the artificial intelligence unit 30. Furthermore, the first prompt may include information indicating the role of the artificial intelligence unit 30 and information indicating the output format of the response from the artificial intelligence unit 30. The information processing device 10 may be implemented by a computer such as a desktop personal computer, a notebook personal computer, a tablet terminal, or a smartphone, which reads and executes a program. Furthermore, the artificial intelligence unit 30 may use an NPU (Neural Network Processing Unit) to accelerate part of the program of the artificial intelligence unit 30, or it may execute the entire program.
[0020] The information processing device 10 includes a user interface unit 11, a prompt generation unit 12, and an AI control unit 13.
[0021] The user interface unit 11 inputs the document to be reviewed and inputs a designation indicating one or more laws or regulations from among several laws or regulations. The user interface unit 11 also displays the review result by the artificial intelligence unit 30, indicating whether the document to be reviewed complies with the said one or more laws or regulations. The document to be reviewed may be input as an electronic file such as a text file, Word file, or PDF (Portable Document Format) file, or it may be input by the user using input means such as a keyboard, touch panel, or mouse, or it may be input by receiving it from another device. The designation indicating one or more laws or regulations may also be input by the user using input means such as a keyboard, touch panel, or mouse, or it may be input by receiving it from another device. Furthermore, the user interface unit 11 may input a designation indicating one or more laws or regulations that it has stored in association with an organization, such as a company or department, based on the designation of that organization.
[0022] The prompt generation unit 12 generates a first prompt to instruct the user to confirm whether the document entered by the user interface unit 11 complies with one or more laws or regulations indicated by the specifications entered by the user interface unit 11. The prompt generation unit 12 generates a first prompt for each of the one or more laws or regulations indicated by the specifications entered by the user interface unit 11.
[0023] The AI control unit 13 is an interface that can exchange information with an external system. The AI control unit 13 receives a first prompt from the prompt generation unit 12. The AI control unit 13 inputs the acquired first prompt to the artificial intelligence unit 30 and obtains the response of the artificial intelligence unit 30 to the first prompt from the artificial intelligence unit 30. The AI control unit 13 outputs the acquired response to the user interface unit 11.
[0024] The storage device 20 stores information indicating the role of the artificial intelligence unit 30, the relevant article of a law or regulation, or a reference to the relevant article of a law or regulation, information indicating instructions for the artificial intelligence unit 30, and information indicating the output format of the response from the artificial intelligence unit 30, as information for generating the first prompt.
[0025] The artificial intelligence unit 30 refers to artificial intelligence and its operating environment equipped with intelligent functions such as reasoning and judgment. The artificial intelligence unit 30 is a model and its operating environment configured to output a review result corresponding to a first prompt as a response when a first prompt is input. When the artificial intelligence unit 30 receives a first prompt from the information processing device 10, it outputs a review result as a response based on the first prompt and the trained model described later. For example, if ChatGPT (registered trademark) is the artificial intelligence unit 30, the model control unit is application software or a website, and the application software or website inputs to the trained model (e.g., GPT-4) via the internet and outputs a review result as a response based on the trained model. Alternatively, if Local LLM (LargeLanguageModel) is the artificial intelligence unit 30, the model control unit is similarly application software, etc., and the application software inputs to Local LLM, i.e., the trained model on a local PC or on-premise, without going through the internet, and outputs a review result as a response based on the trained model. Note that the local LLM may use a GPU or NPU in addition to the CPU.
[0026] The trained model storage unit 32 stores the trained model. The trained model includes model information, which will be described later. The trained model may also include model parameters, which are information that defines the behavior of the model, such as constraints, weighting variables, and evaluation functions.
[0027] Examples of models include NN (Neural Network), CNN (Convolutional Neural Network), RNN (Recurrent Neural Network), VAE (Variational Autoencoder), GAN (Generative Adversarial Networks), Diffusion model, Transformer, LLM (Large Language Model), VLM (Visual Language Model), and BERT (Bidirectional Encoder Representations from... The models may also be called Transformers, GPT (Generative Pre-trained Transformer), or CLIP (Contrastive Language Image Pre-training). Note that the above models are not mutually exclusive; for example, LLM, VLM, BERT, and GPT are included in Transformers. Also, for example, Transformers are included in NNs. Furthermore, the learning algorithm and model may be a combination of multiple types. Models also include what are called multimodal models, which are trained by combining multiple different types of data.
[0028] When the model control unit 31 receives a first prompt, it outputs a review result corresponding to the first prompt as a response, based on the first prompt and the trained model. In other words, when the model control unit 31 receives a first prompt, it generates and outputs a review result corresponding to the first prompt using the model indicated by the trained model.
[0029] The trained model and other information used by the artificial intelligence unit 30 may be prepared in advance, or they may be acquired via the network as needed.
[0030] Furthermore, Figure 1 shows the case where the artificial intelligence unit 30 is located outside the information processing device 10. However, the system is not limited to this configuration, and part or all of the artificial intelligence unit 30 may be located inside the information processing device 10. If part of the artificial intelligence unit 30 is located inside the information processing device 10, the information processing device 10 may include a model control unit 31 instead of an AI control unit 13. If all of the artificial intelligence unit 30 is located inside the information processing device 10, the information processing device 10 may include the artificial intelligence unit 30 instead of an AI control unit 13.
[0031] Furthermore, the trained model storage unit 32 may consist of multiple databases connected via a network.
[0032] Figure 2 is a table showing an example of information stored by the storage device 20 in this embodiment. In the example in Figure 2, the storage device 20 stores Role, System, Instruction, and Output as information for generating the first prompt. The prompt generation unit 12 includes this information in the first prompt. Role is information indicating the role of the artificial intelligence unit 30. System is a legal or regulatory article. Instruction is information indicating instructions for the artificial intelligence unit 30. Output is information indicating the output format of the response by the artificial intelligence unit 30.
[0033] In the example in Figure 2, the storage device 20 stores the string "You are an excellent lawyer." as Role. The storage device 20 also stores the articles of laws and regulations converted to, for example, XML, HTML, or RTF (Rich Text Format) format as System. The storage device 20 may store the latest articles of laws and regulations by periodically obtaining them from a site that publishes the articles of laws and regulations (for example, https: / / laws.e-gov.go.jp / ), or it may simply store the reference source on the internet. The storage device 20 also stores the string "Indicate whether the clauses of the contract comply with the law. If not, indicate the basis." as Instruction. The storage device 20 also stores the string "Follow the output format" as Output. The storage device 20 may further store strings that define the output format, such as the specification of output items.
[0034] Figure 3 shows an example of a first display screen provided by the user interface unit 11 in this embodiment. Figure 3 is an example of a display screen for the user interface unit 11 to input a document to be reviewed and to input a designation indicating one or more laws or regulations. The display screen example in Figure 3 includes an area for inputting the document to be reviewed, labeled "input text, word, pdf file," an area for inputting a designation indicating one or more laws or regulations, labeled "Choose Laws and Regulations," and a button labeled "Review click" to instruct the review of the document. In the example in Figure 3, the checkboxes for the Worker Dispatch Law of Japan (JP) and the Basic Law on Intellectual Property are checked and selected as the designation of one or more laws or regulations.
[0035] Figures 4 and 5 show examples of the second and third display screens provided by the user interface unit 11 in this embodiment. Figures 4 and 5 are examples of display screens used by the user interface unit 11 to display review results. In the display screen example in Figure 4, the file name "Contract.txt" is displayed in the area labeled "input file(s):" which indicates the document to be reviewed, and "1. JP Worker Dispatch Law" and "2. JP Basic Law on Intellectual Property" are displayed in the area labeled "Chosen Laws and Regulations:" which indicates one or more specified laws or regulations.
[0036] Furthermore, in the area for displaying review results, labeled "Review Results as below;", "1. JP Worker Dispatch Law…" is displayed. In the example screen in Figure 5, the area for displaying review results in the example screen in Figure 4 is scrolled down, and the section below Figure 5, "(2) Basis for the problem…2. JP Intellectual Property Basic Law…", is displayed. In other words, in the example screens in Figures 4 and 5, the review results for the JP Worker Dispatch Law and the review results for the JP Intellectual Property Basic Law are displayed linked together.
[0037] Figure 6 is a flowchart illustrating an example of the operation of the information processing device 10 in this embodiment. First, the user interface unit 11 of the information processing device 10 inputs the contract, which is the document to be reviewed (step S1). Next, the user interface unit 11 inputs the designation of laws and regulations (step S2). Then, the information processing device 10 processes steps S4 to S7 for each law and regulation input in step S2 (steps S3, S8). The information processing device 10 may create a separate thread for each law and regulation input in step S2 and process steps S4 to S7 in parallel.
[0038] In step S4, the prompt generation unit 12 of the information processing device 10 generates a first prompt for one of the laws and regulations entered in step S2. Next, in step S5, the AI control unit 13 of the information processing device 10 inputs the first prompt generated by the prompt generation unit 12 to the model control unit 31. Next, in step S6, the AI control unit 13 obtains the check result (review result) corresponding to the first prompt entered in step S5 from the model control unit 31. Next, in step S7, the user I / F unit 11 displays the check result obtained in step S6.
[0039] Furthermore, if the processing of steps S4 to S7 for each law / regulation is performed in parallel between laws / regulations, the review results can be obtained faster than if they were processed serially. For example, if the artificial intelligence unit 30 is located on the cloud and can process multiple prompts in parallel, the processing of the first prompt corresponding to each law / regulation by the artificial intelligence unit 30 is performed in parallel, so the review results can be obtained faster than if the first prompt corresponding to each law / regulation were processed serially. Similarly, if the artificial intelligence unit 30 is a local LLM, the review results can be obtained faster by performing multiple processes in parallel using NPUs that divide the neural network into multiple parts.
[0040] <Second Embodiment> In the first embodiment, the information processing device 10 has artificial intelligence check the document to be reviewed for any statements that violate specified laws or regulations, and displays the results of the check as the review result. In the second embodiment, the information processing device 10 has artificial intelligence propose revisions to the statements that violate laws or regulations, and displays these revisions in addition to the check results as the review result. This allows the user to easily revise the document to be reviewed even if it contains statements that violate laws or regulations.
[0041] Hereinafter, a second embodiment of the present disclosure will be described with reference to the drawings. The document review system 100 in the second embodiment is basically the same as that in FIG. 1, but is partially different. Therefore, only the different parts will be described, and the description of the same parts as those in the first embodiment will be omitted.
[0042] FIG. 7 is a diagram showing an example of a first display screen by the user I / F unit 11 in the second embodiment of the present disclosure. Similar to FIG. 3, FIG. 7 is an example of a display screen for the user I / F unit 11 to input a document to be reviewed and an input of a designation indicating one or more laws or regulations. FIG. 7 is different from FIG. 3 in that it has a check box described as "Propose an amendment". By checking this check box, the user can instruct the information processing apparatus 10 to include an amendment in the review result.
[0043] FIG. 8 is a table showing an example of information stored in the storage device 20 in the present embodiment. When the user I / F unit 11 inputs an instruction to include an amendment in the review result, the prompt generation unit 12 generates a first prompt using the information example in FIG. 8. In addition, when the user I / F unit 11 does not input an instruction to include an amendment in the review result, the prompt generation unit 12 may generate a first prompt using the information example in FIG. 2. The information example in FIG. 8 is different from the information example in FIG. 2 in Instruction. In FIG. 8, Instruction is the character string "Indicate whether the terms of the contract comply with the law. If not, indicate the basis and the amendment." Since this Instruction is included in the first prompt, the AI control unit 13 can instruct the artificial intelligence unit 30 to include an amendment in the review result.
[0044] <Third Embodiment> In the third embodiment, the information processing apparatus 10 performs one-shot learning or few-shot learning on the artificial intelligence unit 30. For this purpose, before inputting the first prompt to the artificial intelligence unit 30, the AI control unit 13 inputs examples that conflict with one or more designated laws or regulations to the artificial intelligence unit 30. Thereby, the document review system 100 can improve the accuracy of document review.
[0045] Hereinafter, referring to the drawings, a third embodiment of the present disclosure will be described. The document review system 100 in the third embodiment is basically the same as that in FIG. 1, but is partially different. Therefore, only the different parts will be described, and the parts that are the same as those in the first embodiment will be omitted from the description.
[0046] FIG. 9 is a flowchart for explaining an operation example of the information processing apparatus 10 in the third embodiment of the present disclosure. FIG. 9 is different from FIG. 6 only in that step Sa3 is provided between step S3 and step S4. In step Sa3, the AI control unit 13 of the information processing apparatus 10 inputs an example that conflicts with the laws and regulations corresponding to the thread to the model control unit 31. This example that conflicts with the laws and regulations corresponding to the thread may be a description that conflicts with the laws and regulations and a sentence explaining that the description conflicts with the laws and regulations, or may be an example of a review result explaining that it conflicts with the laws and regulations.
[0047] The prompt generation unit 12 reads out an example corresponding to the thread from the examples that conflict with the laws and regulations stored in the storage device 20, and includes the read example in the prompt for one-shot or few-shot learning. By the AI control unit 13 inputting this prompt to the model control unit 31, the artificial intelligence unit 30 performs one-shot or few-shot learning.
[0048] <Fourth Embodiment> In the fourth embodiment, the information processing apparatus 10 uses the laws and regulations included in the first prompt as parts related to the document to be reviewed. Thereby, even when the amount of information on the laws and regulations is large and the entire text cannot be included in the first prompt, the document review system 100 can review the document.
[0049] Hereinafter, referring to the drawings, a fourth embodiment of the present disclosure will be described. The document review system 100 in the fourth embodiment is basically the same as that in FIG. 1, but is partially different. Therefore, only the different parts will be described, and the parts that are the same as those in the first embodiment will be omitted from the description.
[0050] Figure 10 is a flowchart illustrating the operation of the information processing device 10 in a fourth embodiment of the present disclosure. Figure 10 differs from Figure 6 only in that, after step S3, steps Sb3 and Sb4 are included instead of step S4. In step Sb3, the prompt generation unit 12 of the information processing device 10 extracts the portion related to the contract (document to be reviewed) from the laws and regulations corresponding to the thread. Next, in step Sb4, the prompt generation unit 12 includes the portion extracted in step Sb3, rather than the entire text of the laws and regulations corresponding to the thread, in the first prompt.
[0051] <Fifth Embodiment> In the fifth embodiment, the document review system 100 has the artificial intelligence unit 30 consolidate the check results corresponding to each of the multiple laws or regulations, and displays the consolidated check results. To this end, the prompt generation unit 12 collects responses to each of the first prompts and generates a second prompt to instruct the collected responses to be consolidated. The AI control unit 13 inputs the second prompt to the artificial intelligence unit 30 and obtains the artificial intelligence unit 30's response to the second prompt. As a result, even when checks are performed for each of the multiple laws or regulations, the user can obtain a single consolidated check result.
[0052] A fifth embodiment of this disclosure will be described below with reference to the drawings. The document review system 100 in the fifth embodiment is basically the same as in Figure 1, but there are some differences, so only the differences will be described, and the parts that are the same as in the first embodiment will not be described.
[0053] Figure 11 is a flowchart illustrating the operation of the information processing device 10 in a fifth embodiment of the present disclosure. Figure 11 differs from Figure 6 only in that it does not have step S7, and has steps Sc8 and Sc9 after step S8. In step Sc8, the prompt generation unit 12 of the information processing device 10 generates a prompt (second prompt) to summarize the check results acquired in step S6, and the AI control unit 13 inputs the second prompt generated by the prompt generation unit 12 to the model control unit 31. In step Sc9, the AI control unit 13 acquires the summarized check results, which are the response to the second prompt, from the model control unit 31, and the user I / F unit 11 displays the summarized check results.
[0054] In addition, in the third to fifth embodiments described above, as in the second embodiment, suggested modifications may be made to the check results.
[0055] Figure 12 is an explanatory diagram illustrating the hardware configuration of each device according to each embodiment. Each device refers to an information processing device 10 and a storage device 20. Each device is comprised of an input / output module I, a memory module M, and a control module P. The input / output module I is implemented by including some or all of a communication module H11, a connection module H12, a pointing device H21, a keyboard H22, a display H23, buttons H3, a microphone H41, a speaker H42, a camera H51, or a sensor H52. The memory module M is implemented by including a drive H7. The memory module M may further comprise some or all of a memory H8. The control module P is implemented by including a memory H8 and a processor H9. These hardware components are connected to each other via a bus so as to be able to communicate with each other, and are powered by a power supply H6.
[0056] The connection module H12 is a digital input / output port such as USB (Universal Serial Bus). The pointing device H21, keyboard H22, and display H23 may be touch panels. The sensor H52 is an accelerometer, gyroscope, GPS receiver module, proximity sensor, etc. The power supply H6 is a power supply unit that supplies the electricity necessary to operate each device. The power supply H6 may be a battery. The drive H7 is an auxiliary storage medium such as a hard disk drive or solid state drive. The drive H7 may be a non-volatile memory such as EEPROM or flash memory, or a magneto-optical disk drive or flexible disk drive. Furthermore, the drive H7 is not limited to one built into each device, for example, but may also be an external storage device connected to the connector of the connection module H12. The memory H8 is a main storage medium such as random access memory. Note that the memory H8 may be cache memory. The memory H8 stores instructions when they are executed by one or more processors H9. Processor H9 is a CPU (Central Processing Unit). Processor H9 may also be an MPU (Microprocessing Unit) or a GPU (Graphics Processing Unit). Processor H9 executes instructions stored in one or more memories H8 by reading programs and various data from drive H7 via memory H8 and performing calculations. Alternatively, a control module P may be used to perform AI inference processing at high speed by directly connecting the GPU or NPU (Neural Network Processing Unit) and HBM (High Band with Memory) without using a bus, or a semiconductor device that integrates the NPU and HBM may be used.
[0057] Input / output module I is used in the information processing device 10, storage device 20, etc. Control module P is used for the implementation of each part of the information processing device 10 and storage device 20. In this specification, the descriptions of information processing device 10 and storage device 20 may be replaced with the description of control module P.
[0058] The present disclosure may also be in the following embodiments: (1) One embodiment of the present disclosure is an information processing device comprising: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a prompt generation unit that generates a first prompt for instructing confirmation that the document input by the user interface unit conforms to the one or more laws or regulations; and an AI control unit that inputs the first prompt to an AI (Artificial Intelligence) and obtains the AI's response to the first prompt.
[0059] This allows the information processing device to perform a legal review on any document.
[0060] (2) Another embodiment of the present disclosure is an information processing device as described in (1), wherein the prompt generation unit generates the first prompt for each of the one or more laws or regulations.
[0061] This allows the information processing device to process multiple laws and regulations in parallel.
[0062] (3) Another embodiment of the present disclosure is an information processing apparatus as described in (2), wherein the prompt generation unit collects the responses to each of the first prompts and generates a second prompt for instructing the collection of responses to be combined, and the AI control unit inputs the second prompt to the AI and obtains the AI's response to the second prompt.
[0063] This allows the information processing device to consolidate the review results of multiple laws and regulations into a single document.
[0064] (4) Another embodiment of the present disclosure is an information processing device according to any one of (1) to (3), wherein the AI control unit inputs to the AI one or more examples of laws or regulations that violate the law or regulation before inputting the first prompt to the AI.
[0065] This allows information processing devices to improve the accuracy of document review.
[0066] (5) Another embodiment of the present disclosure is an information processing device according to any one of (1) to (4), wherein the prompt generation unit extracts a portion of the one or more laws or regulations relating to the document and includes the relevant portion in the first prompt.
[0067] This allows the information processing device to review documents even when the amount of information in laws and regulations is so large that the entire text cannot be included in the first prompt.
[0068] (6) Another embodiment of the present disclosure is a document review system comprising: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a prompt generation unit that generates a first prompt to instruct whether the document input by the user interface unit conforms to the one or more laws or regulations; an artificial intelligence unit that outputs an AI (Artificial Intelligence) response to the first prompt when the first prompt is input; and an AI control unit that inputs the first prompt to the artificial intelligence unit and obtains the response.
[0069] This allows the document review system to perform a legal review on any document.
[0070] (7) Another embodiment of the present disclosure is an information processing method comprising: a first step of inputting a document to be reviewed and inputting a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a second step of generating a first prompt to instruct whether the document input in the first step complies with the one or more laws or regulations; and a third step of inputting the first prompt to an AI (Artificial Intelligence) and obtaining the AI's response to the first prompt.
[0071] This allows information processing methods to conduct legal reviews on any document.
[0072] (8) Another embodiment of the present disclosure is a program for causing a computer to function as: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a prompt generation unit that generates a first prompt to instruct whether the document input by the user interface unit conforms to the one or more laws or regulations; and an AI control unit that inputs the first prompt to an AI (Artificial Intelligence) and obtains the AI's response to the first prompt.
[0073] This allows a computer that loads and runs the program to perform a legal review on any document.
[0074] Alternatively, the information processing device 10 and storage device 20 may be realized by recording a program for realizing the functions of the information processing device 10 and storage device 20 in Figure 1 onto a computer-readable recording medium, and then loading and executing the program recorded on this recording medium into a computer system. The term "computer system" here includes hardware such as the operating system and peripheral devices.
[0075] Furthermore, "computer-readable recording media" refers to portable media such as flexible disks, magneto-optical disks, ROMs, and CD-ROMs, as well as storage devices such as hard disks built into computer systems. Moreover, "computer-readable recording media" also includes devices that dynamically hold programs for a short period of time, such as communication lines used when transmitting programs over networks such as the Internet or communication lines such as telephone lines, and devices that hold programs for a certain period of time, such as volatile memory inside computer systems that act as servers or clients in such cases. In addition, the above-mentioned programs may be for the purpose of realizing some of the functions described above, and may also be able to realize the above-mentioned functions in combination with programs already recorded in the computer system.
[0076] While embodiments of this disclosure have been described in detail above with reference to the drawings, the specific configuration is not limited to these embodiments and may include design changes and the like that do not depart from the gist of this disclosure.
[0077] 10 Information processing device 11 User I / F unit 12 Prompt generation unit 13 AI control unit 20 Storage device 30 Artificial intelligence unit 31 Model control unit 32 Trained model storage unit 100 Document review system
Claims
1. An information processing device comprising: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among multiple laws or regulations; a prompt generation unit that generates a first prompt to instruct whether the document input by the user interface unit conforms to the one or more laws or regulations; and an AI control unit that inputs the first prompt to an AI (Artificial Intelligence) and obtains the AI's response to the first prompt.
2. The information processing apparatus according to claim 1, wherein the AI comprises an NPU (Neural Network Processing Unit).
3. The information processing apparatus according to claim 1, wherein the AI comprises an NPU that performs multiple processes in parallel.
4. The information processing apparatus according to claim 1, wherein the prompt generation unit generates the first prompt for each of the one or more laws or regulations.
5. The information processing apparatus according to claim 4, wherein the prompt generation unit collects the responses to each of the first prompts and generates a second prompt for instructing the collection of responses to be combined, and the AI control unit inputs the second prompt to the AI and obtains the AI's response to the second prompt.
6. The information processing apparatus according to claim 1, wherein the AI control unit inputs to the AI an example of one or more laws or regulations that violate the law or regulation before inputting the first prompt to the AI.
7. The information processing apparatus according to claim 1, wherein the prompt generation unit extracts a portion related to the document from one or more laws or regulations and includes the related portion in the first prompt.
8. A document review system comprising: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among several laws or regulations; a prompt generation unit that generates a first prompt to instruct the user interface unit to confirm whether the document input by the user interface unit complies with the one or more laws or regulations; an artificial intelligence unit that outputs an AI (Artificial Intelligence) response to the first prompt when the first prompt is input; and an AI control unit that inputs the first prompt to the artificial intelligence unit and obtains the response.
9. An information processing method comprising: a first step of inputting a document to be reviewed and inputting a designation indicating one or more laws or regulations from among a plurality of laws or regulations; a second step of generating a first prompt to instruct whether the document input in the first step complies with the one or more laws or regulations; and a third step of inputting the first prompt to AI (Artificial Intelligence) and obtaining the AI's response to the first prompt.
10. A program to cause a computer to function as: a user interface unit that inputs a document to be reviewed and inputs a designation indicating one or more laws or regulations from among several laws or regulations; a prompt generation unit that generates a first prompt to instruct the user interface unit to confirm whether the document input by the user interface unit complies with the one or more laws or regulations; and an AI control unit that inputs the first prompt to an AI (Artificial Intelligence) and obtains the AI's response to the first prompt.