system

The system facilitates easy understanding and quick resolution of contract document complexities using a user interface and generative AI for analysis and response.

JP2026037480APending Publication Date: 2026-03-06SOFTBANK GROUP CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024140505
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

Conventional contracts are difficult for users to understand due to lengthy terms and conditions, and specialized knowledge is required to respond to questions or problems, leading to increased labor hours and time delays.

Method used

A system that includes a user interface for uploading contract documents, a generative AI for analyzing and explaining the contents, and providing solutions to user questions, enabling easy understanding and quick resolution of issues.

Benefits of technology

Enables users to easily comprehend complex contract documents and quickly address questions or problems through automated analysis and explanation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026037480000001_ABST
    Figure 2026037480000001_ABST
Patent Text Reader

Abstract

Provide a system. A method for uploading contract documents via a user interface; A means for reading the uploaded contract documents into a generative artificial intelligence and analyzing their contents; A means of explaining the analyzed content in an easy-to-understand manner, and A means for generative AI to provide solutions to users' questions and problems, A system including:
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The technology of the present disclosure relates to a system. [Background technology]

[0002] Patent document 1 discloses a persona chatbot control method performed by at least one processor, the method including the steps of receiving a user utterance, adding the user utterance to a prompt including an instruction sentence related to a description of the chatbot character, encoding the prompt, and inputting the encoded prompt into a language model to generate a chatbot utterance in response to the user utterance. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Publication No. 2022-180282 Summary of the Invention [Problem to be solved by the invention]

[0004] Conventional contracts have the problem of being difficult for users to understand due to lengthy terms and conditions and explanations of important matters. Furthermore, when users have questions or problems regarding these documents, it is difficult to respond quickly because specialized knowledge is required to resolve the issue. The resulting increase in labor hours and space required for writing is also problematic. There is a need for a system that can solve these issues, enable users to easily understand contract documents, and provide prompt answers to their questions. [Means for solving the problem]

[0005] To solve these problems, the present invention provides the following means. A system is provided that includes a means for uploading contract documents via a user interface, a means for loading the uploaded contract documents into a generative artificial intelligence (AI) and analyzing their contents, a means for explaining the analyzed contents in an easy-to-understand manner, and a means for the generative AI to provide solutions to the user's questions and problems. This system allows users to easily understand contract documents and quickly resolve problems. Furthermore, by including a means for converting uploaded contract documents into an appropriate format and a means for the generative AI to extract important points and points of note from the contract documents, more effective analysis and explanation are possible.

[0006] A "user interface" is an interface through which a user interacts with and operates a system.

[0007] "Contract documents" are documents that state the contents and conditions of a contract, and specifically include terms and conditions and important information explanation documents.

[0008] "Generative AI" is AI that has the ability to analyze input information using natural language processing and generate the necessary information.

[0009] "Upload" refers to the operation of sending a file from a user's terminal to a server.

[0010] "Analysis" is the process of breaking down input data and understanding its content and meaning.

[0011] "Explaining" refers to conveying the analyzed information to the user in an easy-to-understand manner.

[0012] "Questions and problems" refer to any unclear points or problems that users have regarding contract documents or that they would like to resolve.

[0013] "Solution" refers to a method or means for solving a user's question or problem.

[0014] "Converting to a format" refers to the operation of converting input data into a different format, including, for example, converting image data into text data.

[0015] "Important points and points to note" refer to information in the contract documents that is considered particularly important to the user and points that require attention. [Brief explanation of the drawings]

[0016] [Figure 1] 1 is a conceptual diagram showing an example of the configuration of a data processing system according to a first embodiment. [Figure 2] 1 is a conceptual diagram showing an example of main functions of a data processing device and a smart device according to a first embodiment. [Figure 3] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a second embodiment. [Figure 4] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and smart glasses according to a second embodiment. [Figure 5] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a third embodiment. [Figure 6] FIG. 11 is a conceptual diagram showing an example of main functions of a data processing device and a headset-type terminal according to a third embodiment. [Figure 7] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a fourth embodiment. [Figure 8] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and a robot according to a fourth embodiment. [Figure 9] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 10] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 11] FIG. 3 is a sequence diagram showing a processing flow of the data processing system according to the first embodiment. [Figure 12] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1. [Figure 13]FIG. 10 is a sequence diagram showing the flow of processing in the data processing system according to the second embodiment when an emotion engine is combined. [Figure 14] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 when an emotion engine is combined. DETAILED DESCRIPTION OF THE INVENTION

[0017] An example of an embodiment of a system according to the technology of the present disclosure will be described below with reference to the accompanying drawings.

[0018] First, the terms used in the following description will be explained.

[0019] In the following embodiments, a coded processor (hereinafter simply referred to as a "processor") may be a single arithmetic device or a combination of multiple arithmetic devices. Furthermore, a processor may be a single type of arithmetic device or a combination of multiple types of arithmetic devices. Examples of arithmetic devices include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose computing on Graphics Processing Units), and an APU (Accelerated Processing Unit).

[0020] In the following embodiments, a coded RAM (Random Access Memory) is a memory in which information is temporarily stored and is used as a working memory by a processor.

[0021] In the following embodiments, the coded storage is one or more non-volatile storage devices that store various programs, various parameters, etc. Examples of non-volatile storage devices include flash memory (SSD (Solid State Drive)), magnetic disks (e.g., hard disks), and magnetic tapes.

[0022] In the following embodiments, a communication I / F (Interface) with a symbol is an interface including a communication processor, an antenna, etc. The communication I / F controls communication between multiple computers. Examples of communication standards applied to the communication I / F include wireless communication standards including 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.

[0023] In the following embodiments, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" is also applied when three or more things are expressed connected by "and / or."

[0024] [First embodiment]

[0025] FIG. 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.

[0026] 1, a data processing system 10 includes a data processing device 12 and a smart device 14. An example of the data processing device 12 is a server.

[0027] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[0028] The smart device 14 includes a computer 36, a reception device 38, an output device 40, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The reception device 38, the output device 40, and the camera 42 are also connected to the bus 52.

[0029] The reception device 38 includes a touch panel 38A, a microphone 38B, and the like, and receives user input. The touch panel 38A detects contact with an indicator (for example, a pen or a finger) to receive user input by the touch of the indicator. The microphone 38B detects the user's voice to receive user input by voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the data indicating the user input.

[0030] The output device 40 includes a display 40A and a speaker 40B, and presents data to the user 20 by outputting the data in a form of expression that the user 20 can perceive (for example, audio and / or text). The display 40A displays visible information such as text and images in accordance with instructions from the processor 46. The speaker 40B outputs audio in accordance with instructions from the processor 46. The camera 42 is a compact digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor.

[0031] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 control the exchange of various information between the processor 46 and the processor 28 via the network 54.

[0032] FIG. 2 shows an example of the main functions of the data processing device 12 and the smart device 14.

[0033] 2, in the data processing device 12, a specific process is performed by the processor 28. A specific processing program 56 is stored in the storage 32. The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific process is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

[0034] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[0035] In the smart device 14, the processor 46 performs the reception output process. The storage 50 stores a reception output program 60. The reception output program 60 is used in conjunction with the specific processing program 56 by the data processing system 10. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[0036] Next, a description will be given of the specific processing performed by the specific processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0037] The system of the present invention allows users to easily understand lengthy contract terms and conditions and important information documents when signing a contract, and also provides quick solutions to any questions or problems they may have. This system is realized through the collaboration of the user's device, a server, and generative artificial intelligence (AI).

[0038] Program processing

[0039] 1. Upload the contract documents

[0040] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[0041] 2. Contract document analysis

[0042] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[0043] 3. Description of contents

[0044] Based on the analysis results, the generative AI generates an explanation in a format that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[0045] 4. Resolving questions and problems

[0046] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[0047] Specific examples

[0048] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[0049] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0050] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[0051] In this way, the system of the present invention is a system that supports users in easily understanding contract documents and quickly resolving any questions they may have.

[0052] The processing flow will be explained below.

[0053] Step 1:

[0054] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file such as "Lease Agreement.pdf" and preparing it for transmission.

[0055] Step 2:

[0056] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[0057] Step 3:

[0058] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[0059] Step 4:

[0060] The server provides the contract document as input to the generative AI, which then begins to analyze the contents of the contract document.

[0061] Step 5:

[0062] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[0063] Step 6:

[0064] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[0065] Step 7:

[0066] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[0067] Step 8:

[0068] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[0069] Step 9:

[0070] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[0071] Step 10:

[0072] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[0073] Step 11:

[0074] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[0075] Step 12:

[0076] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[0077] Step 13:

[0078] The server generates a response and sends it to the device, again in JSON or XML format.

[0079] Step 14:

[0080] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[0081] Example 1

[0082] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0083] The problem that this invention aims to solve is to provide a means for users to easily understand long and complex contract documents and to quickly resolve questions and problems related to the contract documents. With conventional systems, it takes time to understand the contract documents and responses to questions and problems are often delayed. This allows users to understand the contents of the contract documents with confidence and quickly resolve problems.

[0084] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[0085] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for reading the uploaded electronic documents into an automatic analysis function to analyze their contents, and a means for describing the analyzed contents in an easy-to-understand format, thereby enabling the contents of the electronic documents to be quickly understood and providing appropriate solutions to users' questions and problems.

[0086] "User interface" refers to the means by which users interact with the system, including the screens and operating areas where they upload electronic documents and enter questions.

[0087] "Electronic documents" refer to contracts and other documents stored in digital form and equivalent to traditional paper documents.

[0088] "Automatic analysis function" refers to the function that uses generative artificial intelligence to analyze the contents of electronic documents using machine learning and natural language processing technology and extract important information.

[0089] "Upload" refers to the act of a user transferring an electronic document to a server via a terminal, which is the process of sending data to the system.

[0090] "Generative AI" refers to AI technology that performs detailed contextual analysis and information extraction to provide information in an easy-to-understand format.

[0091] "Analysis results" refers to information such as important points and points of note extracted from electronic documents by the automatic analysis function.

[0092] "Describing" refers to the act of generative artificial intelligence generating text in a format that is easy for users to understand based on the results of analysis.

[0093] A "question" refers to a question or uncertainty a user has about an electronic document, and is a text query entered into the system.

[0094] "Problems" refer to specific difficulties or challenges users face with electronic documents.

[0095] "Solutions" refer to appropriate answers or suggestions to users' questions or problems that are provided based on information analyzed by generative artificial intelligence.

[0096] "Server" refers to a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[0097] "Terminal" refers to a device used by a user, such as a computer or smartphone, that communicates with a server to upload electronic documents and display information.

[0098] The system of the present invention is a support system that enables users to easily understand long and complex contract documents when entering into a contract, and also quickly resolves questions and problems regarding the contract documents. This system is realized through the cooperation of the user's terminal, a server, and generative artificial intelligence (AI).

[0099] Hardware and software used

[0100] The hardware used includes devices such as computers and smartphones used by users, and a server that communicates with these devices. The server includes a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[0101] The software used includes automated analysis capabilities, including generative artificial intelligence (AI), and natural language processing technology. This AI utilizes deep learning models to analyze input digital documents and convert them into user-friendly content. The user interface allows users to easily upload digital documents and view analysis results and answers to their questions.

[0102] Explaining program processing in natural language

[0103] Uploading contract documents

[0104] The user uses their device to select the contract documents and upload them to the server via the device's file selection and submit buttons. During this process, the device sends the files to the server using an HTTP request.

[0105] Contract document analysis

[0106] The server receives the contract documents sent from the device and passes them to an automated analysis function, which uses generative AI to analyze the documents and extract important information such as the contract period, rent, and payment method.

[0107] Description

[0108] Based on the results of the analysis, the generative AI generates an explanation in a format that is easy for the user to understand. The server then sends the generated explanation to the device and displays it to the user through the user interface. For example, information is provided in a specific and easy-to-understand format, such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[0109] Resolving questions and problems

[0110] The user enters questions or problems about the contract in text format and sends the content from the device to the server. The server then passes the questions to a generative AI system, which generates an appropriate answer to the question. The generated answer is then sent to the device and displayed to the user. For example, a specific answer such as "In the event of contract termination, you must give one month's notice in accordance with Article 10 of the contract" is provided.

[0111] Examples and prompts

[0112] For example, when a user selects "Lease Agreement.pdf" on a device and presses the upload button, the device sends the contract to the server. The server receives this file and instructs the generative AI to analyze it, which then extracts important information and sends it to the device.

[0113] Prompt Sentence Examples

[0114] Please tell me how to cancel this contract.

[0115] I'd like to know more about how the security deposit is handled.

[0116] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions they may have.

[0117] The flow of the identification process in the first embodiment will be described with reference to FIG.

[0118] A detailed explanation of the program's processing flow, broken down into steps

[0119] Step 1: Select and upload contract documents

[0120] The user uses their device to click the file selection button, select an electronic document (e.g., lease agreement.pdf), and then presses the send button, causing the device to send the selected file to the server.

[0121] Input: User-selected electronic document

[0122] Output: The file is sent to the server

[0123] Specific operation: The terminal uses an HTTP request to send an electronic document to the server, and the server temporarily stores the received file.

[0124] Step 2: Receiving and storing contract documents

[0125] The server receives the contract documents sent from the terminal and stores them in a dedicated temporary storage area.

[0126] Input: Electronic document sent from the terminal

[0127] Output: Electronic document stored in the server's temporary storage area

[0128] Specific operation: When the server receives an HTTP request, it stores the electronic document in the server's storage.

[0129] Step 3: Requesting analysis from generative AI

[0130] The server passes the received electronic document to an automatic analysis function (generative artificial intelligence) and instructs it to analyze it.

[0131] Input: Temporarily saved electronic document

[0132] Output: Documents are passed to the automated analysis function

[0133] Specific operation: The server sends a document to the generative AI via an API and requests analysis.

[0134] Step 4: Contract analysis

[0135] The automated analysis function analyzes the contents of electronic documents and extracts important information such as contract period, rent, and payment method.

[0136] Input: Electronic document sent from the server

[0137] Output: Extracted information (contract period, rent, payment method, etc.)

[0138] How it works: Generative AI uses natural language processing techniques to analyze documents and identify key points and areas of concern.

[0139] Step 5: Generate descriptions

[0140] Based on the analysis results, generative artificial intelligence generates explanatory text in a form that is easy for users to understand.

[0141] Input: Key information from the parsed contract

[0142] Output: User-friendly instructions

[0143] Specific operation: Generative AI puts the analysis results into words and generates a specific explanation.

[0144] Step 6: Send and display your description

[0145] The server sends the generated explanation to the terminal, which displays it.

[0146] Input: Generated description

[0147] Output: Description displayed on the terminal

[0148] Specific operation: The server sends the description to the terminal via an HTTP response, and the terminal's user interface displays the description.

[0149] Step 7: Enter your question or problem

[0150] The user enters questions or problems about the contract in text format and sends the contents from the terminal to the server.

[0151] Input: The text of the user's question or problem

[0152] Output: The text of the question or problem sent to the server.

[0153] Specific behavior: The device sends the entered text to the server using an HTTP request.

[0154] Step 8: Analyze the question or problem and generate an answer

[0155] The server passes the received questions and problems to the automatic analysis function, requesting analysis and generation of an answer.

[0156] Input: The text of the question or problem sent to the server

[0157] Output: The generated answer

[0158] What it does: The automated analysis function analyzes the text of the question or problem and generates an answer based on the clause information of the relevant contract.

[0159] Step 9: Submit and view your responses

[0160] The server transmits the generated response text to the terminal and displays it to the user through the user interface.

[0161] Input: Generated answer text

[0162] Output: Answer displayed on the terminal

[0163] Specific operation: The server sends the answer to the terminal using an HTTP response, and the terminal displays the answer through its user interface.

[0164] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions through multiple processing steps.

[0165] (Application example 1)

[0166] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0167] Being able to easily understand contract documents and quickly resolve questions and problems is important, especially in brick-and-mortar stores. However, current systems have problems in that the content of contracts is complex, so many users take time to understand the content and require additional resources to resolve questions. To solve these problems, the present invention provides a system that supports understanding of contract documents through a user interface and quickly resolves questions in brick-and-mortar stores.

[0168] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[0169] In this invention, the server includes a means for uploading contract documents via a user interface, a means for reading the uploaded contract documents into a generative artificial intelligence and analyzing the contents, and a means for explaining the analyzed contents in an easy-to-understand manner, thereby enabling users in physical stores to easily understand the contract contents and quickly resolve any questions they may have.

[0170] A "user interface" is the visual and operational interface through which a user interacts with a system.

[0171] A "contract" is a document that sets out the details of an agreement regarding legal or commercial transactions.

[0172] "Upload" is the act of sending files or data from a local terminal to a server.

[0173] "Generative AI" refers to AI that has the ability to analyze input data and generate new information or answers based on that data.

[0174] "Content analysis" refers to the act of examining the contents of contract documents or data in detail and extracting meaning and important points.

[0175] "Explaining" is the act of conveying analyzed information in a way that is easy for the user to understand.

[0176] A "physical store" is a place of sale or service that exists in a physical location.

[0177] "Questions and problems" refer to points of uncertainty that users have about the contents of contract documents or business transactions, or matters that require resolution.

[0178] "Providing a solution" means presenting a specific answer or method to a user's question or problem.

[0179] A "system" is a collection of multiple components and means that work together to achieve a set of functions.

[0180] "Converting to a format" is the act of adapting given data or documents to a specified format.

[0181] "Important points and points to note" refer to the parts of contract documents and data that are particularly important and require attention.

[0182] The system for implementing this invention is mainly composed of a server, a user terminal, and a generative artificial intelligence (AI). A specific embodiment of this system will be described below.

[0183] System configuration and functions

[0184] 1. User Interface

[0185] The server provides a user interface for users to upload contract documents, which is displayed on the user's terminal and includes a file selection function and a question input field.

[0186] 2. Upload the contract documents

[0187] The user selects the contract document and presses the upload button to send the file from the device to the server. For example, this could be an image of the contract taken with a smartphone or a PDF file.

[0188] 3. Contract document analysis

[0189] The server sends the uploaded contract documents to a generative AI system, which analyzes their contents. The generative AI system reads the contract documents, analyzes their contents, and extracts important points and important points to note. The results of this analysis are presented in a format that is easy for users to understand.

[0190] 4. Presentation of analysis results

[0191] The server sends the analysis results obtained from the generative AI to the user's device. The user interface displays the contract details in an easy-to-understand format. For example, it might say, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0192] 5. Resolving questions and problems

[0193] The user enters any questions or concerns they have about the contract documents into a text input field and sends it to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the user's device via the server and displayed on the screen. For example, in response to the question, "How do I cancel the contract in this case?", the answer provided might be, "In the case of cancellation, you must give one month's notice in accordance with Article 10 of the contract."

[0194] Hardware and software used

[0195] Hardware: User devices (smartphones, tablets, PCs), servers

[0196] Software: Flask (server-side framework), OpenAI (registered trademark) API (generative artificial intelligence), user interface

[0197] Specific examples

[0198] For example, if a user purchases a new appliance at a store and has questions about the warranty, they can take a photo of the contract with their smartphone and upload it to the application. The following is an example of a prompt sent to the generative AI model:

[0199] Parsing prompt after agreement upload:

[0200] Please explain the key points from the following contract:

[0201] Contract details: The purchaser is covered by a one-year product warranty from the date of purchase. The manufacturer, not the purchaser, determines whether repairs are possible.

[0202] Prompts the user when they enter a question:

[0203] Q: What about repairs after the warranty period has expired?

[0204] A: After the warranty period has expired, repairs will be carried out at the expense of the purchaser. Details will follow the repair regulations of each manufacturer.

[0205] This allows users to accurately understand the contract details even when they are in a physical store and quickly resolve any questions they may have.

[0206] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[0207] Step 1:

[0208] The user selects the contract document using the terminal and presses the upload button. This sends the contract document from the terminal to the server. The input is the contract document file, and the output is the file uploaded to the server.

[0209] Step 2:

[0210] The server receives the uploaded contract documents and loads them into the generative AI. The input is the received contract documents, and the output is the data loaded into the generative AI. The server then starts the process of having the AI ​​analyze the contents of the contract documents.

[0211] Step 3:

[0212] Generative AI analyzes the contents of contract documents and extracts important points and points to note. The input is the contents of the contract document, and the output is the analyzed summary information. In this process, the AI ​​breaks down each clause of the contract and generates information in a form that is easy for the user to understand.

[0213] Step 4:

[0214] The server sends the analysis results obtained from the generative AI to the user's device. The input is the analysis results, and the output is the display on the user's device. Here, the user can check the explanation of the contract details on the screen.

[0215] Step 5:

[0216] The user enters any questions or problems they have about the contract documents into the text input field and sends it to the server. The input is the user's questions or problems, and the output is the transmission of the questions to the server.

[0217] Step 6:

[0218] The server passes the user's question to the generative AI, which analyzes it and generates an answer. The input is the user's question, and the output is the answer from the generative AI. The server then has the generative AI re-analyze the relevant part of the contract.

[0219] Step 7:

[0220] The server sends the generated answer to the user's terminal and displays it on the screen. The input is the generated answer, and the output is the sending of the answer to the user's terminal. This allows the user to resolve any questions about the contract.

[0221] Furthermore, an emotion engine that estimates the user's emotion may be combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.

[0222] The system of the present invention allows users to easily understand lengthy contract terms and important information documents when entering into a contract, and also provides quick solutions to any questions or problems they may have. Furthermore, by combining this system with an emotion engine that recognizes the user's emotions, the system also has the ability to provide advice and support based on the user's emotional state.

[0223] Program processing

[0224] 1. Upload the contract documents

[0225] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[0226] 2. Contract document analysis

[0227] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[0228] 3. Description of contents

[0229] Based on the analysis results, the generative AI generates an explanation in a form that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[0230] 4. Emotion Recognition by Emotion Engine

[0231] The user interface is equipped with an emotion engine that recognizes the user's emotional state from their facial expressions and voice, and this information is constantly monitored while the user is reading the contract documents.

[0232] 5. Emotional advice and support

[0233] If the emotion engine detects that the user is stressed or confused, the system will provide additional explanations and supplemental information based on the user's emotional state, and will also modify the interface and guide the user accordingly.

[0234] 6. Resolving questions and problems

[0235] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[0236] Specific examples

[0237] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[0238] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0239] During this time, the emotion engine analyzes the user's facial expressions and voice, and if the user appears confused, the system provides additional explanations such as, "Please also see: Conditions for shortening the contract period."

[0240] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[0241] In this way, the system of the present invention allows the user to easily understand contract documents and quickly resolve problems, while at the same time providing appropriate support based on the user's emotional state using the emotion engine.

[0242] The processing flow will be explained below.

[0243] Step 1:

[0244] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file, such as "Lease Agreement.pdf," and preparing it for transmission.

[0245] Step 2:

[0246] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[0247] Step 3:

[0248] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[0249] Step 4:

[0250] The server loads the contract documents into a generative AI for analysis. The generative AI begins analyzing the contents of the contract documents.

[0251] Step 5:

[0252] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[0253] Step 6:

[0254] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[0255] Step 7:

[0256] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[0257] Step 8:

[0258] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[0259] Step 9:

[0260] The device uses a built-in emotion engine to analyze the user's facial expressions and voice and recognize emotions in real time, detecting stress or confusion.

[0261] Step 10:

[0262] The emotion engine recognizes the user's emotional state and provides appropriate advice and support. For example, if the user is confused, the system displays additional information such as "Please also read the following: Conditions for shortening the contract period."

[0263] Step 11:

[0264] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[0265] Step 12:

[0266] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[0267] Step 13:

[0268] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[0269] Step 14:

[0270] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[0271] Step 15:

[0272] The server generates a response and sends it to the device, again in JSON or XML format.

[0273] Step 16:

[0274] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[0275] In this way, users can better understand the content of contract documents and receive additional information and support through real-time emotion recognition.

[0276] Example 2

[0277] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0278] Long documents such as contracts and important information explanation documents are difficult for the average user to understand, and it takes a lot of time and effort to understand their contents. Users often have questions or problems regarding the contract contents, and a means to quickly resolve these issues is needed. Furthermore, since support tailored to the user's emotional state is not provided while reading the contract documents, users may feel anxious or stressed. It is necessary to solve these problems.

[0279] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[0280] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for loading the uploaded electronic documents into a generative artificial intelligence (AI) and analyzing their contents, a means for explaining the analyzed contents in an easy-to-understand manner, a means for the AI ​​to provide solutions to the user's questions and problems, and a means for recognizing the user's emotions and providing advice and support based on those emotions. This allows the user to easily understand the contract documents and quickly resolve their questions and problems. Furthermore, providing appropriate support according to the user's emotional state can reduce the user's anxiety and stress.

[0281] "User interface" refers to the screen and input means that allow a user to access a system and perform operations or give instructions.

[0282] "Electronic documents" refer to documents stored in digital format, including PDF, Word, and text files.

[0283] "Generative AI" refers to an AI system that uses natural language processing technology to analyze given data and generate appropriate information and answers.

[0284] "Means of analysis" refers to the processes and algorithms used to analyze the content of electronic documents and extract important information and key points.

[0285] "Means for explaining in an easy-to-understand manner" refers to methods and techniques for presenting analyzed information in a format that is easy for users to understand.

[0286] "Means of providing solutions" refers to the process by which generative artificial intelligence provides appropriate answers or solutions to questions or doubts posed by users.

[0287] "Means of recognizing emotions and providing advice and support based on those emotions" refers to technology that analyzes the user's emotional state from facial expressions, voice, etc., and provides appropriate support and advice based on the results.

[0288] The system of this invention allows users to easily understand contract documents and important information explanations, and quickly resolve any questions or problems they may have. It also has the ability to recognize the user's emotions and provide appropriate support according to their emotional state.

[0289] The system works as follows:

[0290] 1. Upload the contract documents

[0291] - The user selects an electronic document using his / her terminal and presses the upload button. The upload is performed via the terminal's file browser and the selected electronic document is sent to the server.

[0292] 2. Receiving and analyzing contract documents

[0293] - The server loads the uploaded electronic document into a generative AI model. The generative AI used here is a model with advanced natural language processing technology, such as GPT-4 (registered trademark). The server loads the electronic document and sends the necessary prompts to the generative AI model. A prompt such as "Please extract the important clauses of this contract" is used.

[0294] 3. Generating and displaying explanatory text

[0295] - The generative AI model analyzes the contents of the electronic document and extracts important points and clauses. The server then generates an easy-to-understand explanation based on the analysis results and displays it to the user through the user interface. For example, the explanation is output in a specific format such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[0296] 4. Emotion Recognition by Emotion Engine

[0297] - The user interface is equipped with an emotion engine (e.g., Microsoft® Azure® Emotion API) that recognizes the user's emotional state from their facial expressions and voice. This information is constantly monitored while the user is reading the contract document and sent to the server.

[0298] 5. Providing emotionally-based advice and support

[0299] - The server receives information from the emotion engine and provides appropriate advice and support according to the user's emotions. For example, if the user shows a confused expression, additional explanations or supplementary information will be provided. Information will be added in the form of "Please also see: Conditions for shortening the contract period."

[0300] 6. Resolving questions and problems

[0301] - The user enters any questions or concerns about the contract documents in text format into the input field on the device and presses the "Send" button. The entered information is sent from the device to the server. The server passes the information to a generative AI model, which generates an answer based on the contents of the contract. For example, in response to the question, "How do I terminate the contract in this case?", the answer returned is, "In the case of termination, you must give one month's notice in accordance with Article 10 of the contract."

[0302] Prompt Sentence Examples

[0303] 1. Example of prompt when analyzing a contract

[0304] Please briefly explain the contents of the following lease agreement. Please extract the important clauses and key points. "Lease Agreement.pdf"

[0305] 2. Example prompts for providing emotion-based advice

[0306] "The user is confused while reading the lease agreement. Please provide more details regarding the terms of the agreement."

[0307] 3. Example of prompts when generating answers to user questions

[0308] Please generate an answer to the following question based on the contents of the contract: 'How do I terminate the contract in this case?' You must follow Article 10 of the contract.

[0309] In this way, the system of the present invention allows users to easily understand contract documents and quickly resolve any questions or problems they may have, and also utilizes an emotion engine to provide support that is tailored to the user's emotional state.

[0310] The flow of the identification process in the second embodiment will be described with reference to FIG.

[0311] Step 1:

[0312] User uploads contract documents

[0313] Input: The user uses the terminal to select "Lease Agreement.pdf" and presses the upload button.

[0314] Action: The device's file browser is launched and the selected file is sent to the server.

[0315] Output: The uploaded contract documents are saved on the server.

[0316] Step 2:

[0317] The server receives the contract document and begins parsing it.

[0318] Input: Contract document sent from the device (e.g. PDF format)

[0319] How it works: The server stores the received contract document and calls the generative AI model. The server then sends a prompt to the generative AI model, such as "Please extract the important clauses of this contract."

[0320] Output: An instruction to start parsing the contract document and a prompt are passed to the generative AI model.

[0321] Step 3:

[0322] The server sends the analysis results of the contract document to the generative AI model.

[0323] Input: Contract documents and analysis instruction prompts

[0324] How it works: A generative AI model (e.g., GPT-4) reads the contents of a contract and extracts key points and clauses. The server receives the generated analysis results.

[0325] Output: The analysis results from the generative AI model are sent back to the server.

[0326] Step 4:

[0327] The generative AI model generates explanatory text based on the analysis results.

[0328] Input: Analysis results returned from the generative AI model to the server

[0329] How it works: Based on the analysis results, the server sends a prompt to the generative AI model saying, "Please convert the analysis results into an easy-to-understand explanation." The generative AI model then generates an easy-to-understand explanation and returns it to the server.

[0330] Output: A friendly description is generated to display to the user.

[0331] Step 5:

[0332] The emotion engine recognizes and analyzes the user's emotions

[0333] Input: User facial and voice data

[0334] How it works: The emotion engine built into the user interface monitors the user's facial expressions and voice in real time, analyzes their emotional state, and sends the emotional data to the server.

[0335] Output: The user's emotional state data is passed to the server.

[0336] Step 6:

[0337] The server provides emotionally informed advice and support

[0338] Input: User emotion data sent from the emotion engine

[0339] How it works: The server analyzes the emotion data and sends a prompt to the generative AI model saying, "The user is confused, please provide additional information." The generative AI model generates additional explanations and supporting information and sends it back to the server.

[0340] Output: Additional explanatory or supporting information is generated and displayed in the user interface.

[0341] Step 7:

[0342] Users enter their questions or concerns and send them to the server.

[0343] Input: The user enters their question or problem in text format into the device's input field.

[0344] What happens: The user presses the "Send" button, and the entered text is sent from the device to the server.

[0345] Output: Questions and problems entered in the text form are sent to the server.

[0346] Step 8:

[0347] The server passes the question or problem to the generative AI model, which generates an answer.

[0348] Input: Text data of questions or problems sent by users

[0349] How it works: The server sends the received question or problem to the generative AI model, and sends a prompt saying, "Please generate an answer based on the contents of the contract." The generative AI model analyzes the contents of the relevant contract and generates an appropriate answer.

[0350] Output: Answer data from the generative AI model is returned to the server.

[0351] Step 9:

[0352] The server generates a response and sends it to the user's device.

[0353] Input: Answer data returned from the generative AI model to the server

[0354] Operation: The server sends the answer data to the user's device and displays it in the user interface.

[0355] Output: The answer is output and displayed on the user's terminal.

[0356] This allows users to easily understand contract documents and quickly resolve any questions or problems they may have. It also provides appropriate support according to the user's emotional state, reducing anxiety and stress.

[0357] (Application example 2)

[0358] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0359] When users try to understand contract documents or terms of use, it is extremely difficult for them to accurately grasp the vast amount of information in a short amount of time. Furthermore, the extensive use of legal and technical terms increases the risk of users misunderstanding the content. Furthermore, conventional methods do not provide support tailored to the user's emotional state, often leaving users feeling anxious or confused. A system that can quickly and accurately resolve these issues is needed.

[0360] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.

[0361] In this invention, the server includes means for uploading contract documents via a user interface, means for loading the uploaded contract documents into a generative artificial intelligence and analyzing their contents, means for explaining the analyzed contents in an easy-to-understand manner, means for the generative artificial intelligence to provide solutions to the user's questions and problems, means for analyzing the user's facial expressions and voice to recognize their emotional state, and means for providing additional explanations and advice based on the recognized emotional state. This enables the user to accurately understand the contract documents and terms of use in a short amount of time and grasp the contract contents without feeling anxious or confused.

[0362] "User interface" refers to the screen and operating means that allow a user to interact with a system.

[0363] "Contract Documents" refers to documents that describe the contents of the contract, including those uploaded by the user to the system.

[0364] "Generative AI" refers to AI that analyzes the contents of contract documents and generates important information.

[0365] "Means of analysis" refers to a method of using generative artificial intelligence to analyze and parse the contents of contract documents and extract important information.

[0366] "Means for explanation" refers to a method for displaying the contents of the analyzed contract document in a form that is easy for the user to understand.

[0367] "Means of providing solutions" refers to the way in which generative artificial intelligence presents appropriate solutions to users' questions and problems.

[0368] "Means for analyzing facial expressions and voice" refers to a method for detecting a user's facial expressions and voice and analyzing their emotional state.

[0369] "Means for recognizing emotional states" refers to a method for identifying a user's emotions based on analyzed facial expressions and voice data.

[0370] "Means for providing additional explanations or advice" refers to a method for providing additional information or advice to a user based on the emotional state.

[0371] A system for specifically implementing this invention combines contract document analysis with user emotion recognition to help users understand contracts. The system uploads contract documents via a user interface, analyzes them using generative artificial intelligence, and generates easy-to-understand explanations. It also uses an emotion engine that analyzes the user's facial expressions and voice to provide advice and additional information based on the user's emotional state.

[0372] Hardware and software used

[0373] Smartphone: Used by users to upload contract documents and view analysis results and additional explanations.

[0374] Camera and microphone: Used to capture the user's facial expressions and voice and recognize their emotional state.

[0375] Server: Receives contract documents and analyzes them using generative AI. It also uses an emotion engine to recognize the user's emotional state and provide appropriate advice.

[0376] Generative AI (Transformers by Hugging Face): Analyzes the contents of contract documents and extracts important information.

[0377] Emotion engine: Software that analyzes the user's facial expressions and voice to recognize their emotional state (examples of libraries used: OpenCV, SpeechRecognition).

[0378] System operation explanation

[0379] The user uploads the contract document via the smartphone's user interface. For example, they select "Lease Agreement.pdf" and press the upload button. The device then sends the contract to the server. The server then loads this PDF into a generative AI system, which analyzes the document. The generative AI system then extracts key points such as the contract period, rent, and payment method, generates an explanatory text, and sends it to the device. The explanatory text might be displayed as, for example, "The contract period is one year, and the monthly rent is 100,000 yen. Payment is due by the end of each month via bank transfer."

[0380] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time to recognize their emotional state. If the user shows confusion or stress, the server will provide additional explanations or advice based on the emotion engine's analysis results, such as "Please also see the conditions for shortening the contract period."

[0381] If a user types "How do I cancel the contract in this case?", the device sends the question to the server. The server passes the question to a generative AI, analyzes the clauses regarding contract cancellation, and generates an answer. For example, it could generate an answer such as "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and provide it to the user's device.

[0382] As a concrete example, consider the case where a user uses this system to understand the "Terms of Use" when using an electronic payment service. When the user uploads "Terms of Use.pdf," the generative AI analyzes the content, extracts important points, and provides an explanatory text. If the user asks verbally, "What should I do in this case?" and the emotion engine detects the user's confusion, the system will provide additional explanation. For example, it will provide additional support such as, "Please also see here: What to do if the Terms of Use are violated."

[0383] Example prompt sentence:

[0384] The user uploads a "Terms of Use.pdf" file. The system analyzes each clause in the contract and provides easy-to-understand explanations of key points. When the user asks aloud, "What should I do in this case?", the emotion engine detects confusion and provides additional explanations.

[0385] How do I cancel my contract?

[0386] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[0387] Step 1:

[0388] The user uploads the contract document via the smartphone's user interface. The user selects "Lease Agreement.pdf" and presses the upload button. This action uploads the contract document.

[0389] Input: Contract documents (PDF format)

[0390] Output: Uploaded contract document

[0391] Step 2:

[0392] The terminal sends the uploaded contract document to the server, where it converts the contract document file into an appropriate format and transfers the data to the server.

[0393] Input: Uploaded contract documents

[0394] Output: Contract document sent to the server (after format conversion)

[0395] Step 3:

[0396] The server receives the contract documents and loads them into generative AI (Transformers by Hugging Face), which analyzes the contents of the contract and extracts key points.

[0397] Input: Contract document sent to the server

[0398] Output: Analysis results with important points extracted

[0399] Step 4:

[0400] The server generates an easy-to-understand explanation based on the analysis results, formats the analysis content in a form that can be explained to the user, and sends it to the device.

[0401] Input: Analysis results

[0402] Output:Description

[0403] Step 5:

[0404] The terminal displays the received explanation to the user via the user interface, and the user reads the explanation to understand the contract details.

[0405] Input:Description

[0406] Output: Description displayed to the user

[0407] Step 6:

[0408] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time, performing facial recognition processing and voice analysis to identify the user's emotional state.

[0409] Input: User's facial expression data and voice data

[0410] Output: Emotional state recognition result

[0411] Step 7:

[0412] If the server detects that the user is confused or stressed based on the results of the emotion engine's recognition, it will provide additional explanations and advice. Specifically, it will generate information such as "Please also see the following: Conditions for shortening the contract period" and send it to the device.

[0413] Input: Emotional state recognition results

[0414] Output: Additional explanation or advice

[0415] Step 8:

[0416] The user enters a question in text form, and the terminal sends the question to the server.

[0417] Input: User's question (text format)

[0418] Output: Question sent to server

[0419] Step 9:

[0420] The server passes the received question to a generative artificial intelligence, which analyzes the relevant section of the contract document and generates an answer.

[0421] Input: The question sent to the server

[0422] Output: The generated answer

[0423] Step 10:

[0424] The server generates an answer, which is sent to the terminal and displayed to the user, who can then confirm the answer and resolve their question.

[0425] Input: Generated Answer

[0426] Output: The answer displayed to the user

[0427] The specific processing unit 290 transmits the result of the specific processing to the smart device 14. In the smart device 14, the control unit 46A causes the output device 40 to output the result of the specific processing. The microphone 38B acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

[0428] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (registered trademark) (Internet search engine).<URL: https: / / openai.com / blog / chatgpt> ), Gemini (registered trademark) (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[0429] In the above embodiment, an example in which the specific process is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific process may be performed by the smart device 14.

[0430] [Second embodiment]

[0431] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.

[0432] 3, the data processing system 210 includes the data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server.

[0433] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[0434] The smart glasses 214 include a computer 36, a microphone 238, a speaker 240, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, and the camera 42 are also connected to the bus 52.

[0435] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

[0436] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

[0437] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.

[0438] Fig. 4 shows an example of the main functions of the data processing device 12 and the smart glasses 214. As shown in Fig. 4, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.

[0439] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

[0440] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[0441] In the smart glasses 214, the reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[0442] Next, a description will be given of the identification process performed by the identification processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

[0443] The system of the present invention allows users to easily understand lengthy contract terms and conditions and important information documents when signing a contract, and also provides quick solutions to any questions or problems they may have. This system is realized through the collaboration of the user's device, a server, and generative artificial intelligence (AI).

[0444] Program processing

[0445] 1. Upload the contract documents

[0446] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[0447] 2. Contract document analysis

[0448] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[0449] 3. Description of contents

[0450] Based on the analysis results, the generative AI generates an explanation in a format that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[0451] 4. Resolving questions and problems

[0452] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[0453] Specific examples

[0454] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[0455] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0456] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[0457] In this way, the system of the present invention is a system that supports users in easily understanding contract documents and quickly resolving any questions they may have.

[0458] The processing flow will be explained below.

[0459] Step 1:

[0460] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file such as "Lease Agreement.pdf" and preparing it for transmission.

[0461] Step 2:

[0462] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[0463] Step 3:

[0464] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[0465] Step 4:

[0466] The server provides the contract document as input to the generative AI, which then begins to analyze the contents of the contract document.

[0467] Step 5:

[0468] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[0469] Step 6:

[0470] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[0471] Step 7:

[0472] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[0473] Step 8:

[0474] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[0475] Step 9:

[0476] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[0477] Step 10:

[0478] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[0479] Step 11:

[0480] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[0481] Step 12:

[0482] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[0483] Step 13:

[0484] The server generates a response and sends it to the device, again in JSON or XML format.

[0485] Step 14:

[0486] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[0487] Example 1

[0488] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0489] The problem that this invention aims to solve is to provide a means for users to easily understand long and complex contract documents and to quickly resolve questions and problems related to the contract documents. With conventional systems, it takes time to understand the contract documents and responses to questions and problems are often delayed. This allows users to understand the contents of the contract documents with confidence and quickly resolve problems.

[0490] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[0491] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for reading the uploaded electronic documents into an automatic analysis function to analyze their contents, and a means for describing the analyzed contents in an easy-to-understand format, thereby enabling the contents of the electronic documents to be quickly understood and providing appropriate solutions to users' questions and problems.

[0492] "User interface" refers to the means by which users interact with the system, including the screens and operating areas where they upload electronic documents and enter questions.

[0493] "Electronic documents" refer to contracts and other documents stored in digital form and equivalent to traditional paper documents.

[0494] "Automatic analysis function" refers to the function that uses generative artificial intelligence to analyze the contents of electronic documents using machine learning and natural language processing technology and extract important information.

[0495] "Upload" refers to the act of a user transferring an electronic document to a server via a terminal, which is the process of sending data to the system.

[0496] "Generative AI" refers to AI technology that performs detailed contextual analysis and information extraction to provide information in an easy-to-understand format.

[0497] "Analysis results" refers to information such as important points and points of note extracted from electronic documents by the automatic analysis function.

[0498] "Describing" refers to the act of generative artificial intelligence generating text in a format that is easy for users to understand based on the results of analysis.

[0499] A "question" refers to a question or uncertainty a user has about an electronic document, and is a text query entered into the system.

[0500] "Problems" refer to specific difficulties or challenges users face with electronic documents.

[0501] "Solutions" refer to appropriate answers or suggestions to users' questions or problems that are provided based on information analyzed by generative artificial intelligence.

[0502] "Server" refers to a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[0503] "Terminal" refers to a device used by a user, such as a computer or smartphone, that communicates with a server to upload electronic documents and display information.

[0504] The system of the present invention is a support system that enables users to easily understand long and complex contract documents when entering into a contract, and also quickly resolves questions and problems regarding the contract documents. This system is realized through the cooperation of the user's terminal, a server, and generative artificial intelligence (AI).

[0505] Hardware and software used

[0506] The hardware used includes devices such as computers and smartphones used by users, and a server that communicates with these devices. The server includes a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[0507] The software used includes automated analysis capabilities, including generative artificial intelligence (AI), and natural language processing technology. This AI utilizes deep learning models to analyze input digital documents and convert them into user-friendly content. The user interface allows users to easily upload digital documents and view analysis results and answers to their questions.

[0508] Explaining program processing in natural language

[0509] Uploading contract documents

[0510] The user uses their device to select the contract documents and upload them to the server via the device's file selection and submit buttons. During this process, the device sends the files to the server using an HTTP request.

[0511] Contract document analysis

[0512] The server receives the contract documents sent from the device and passes them to an automated analysis function, which uses generative AI to analyze the documents and extract important information such as the contract period, rent, and payment method.

[0513] Description

[0514] Based on the results of the analysis, the generative AI generates an explanation in a format that is easy for the user to understand. The server then sends the generated explanation to the device and displays it to the user through the user interface. For example, information is provided in a specific and easy-to-understand format, such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[0515] Resolving questions and problems

[0516] The user enters questions or problems about the contract in text format and sends the content from the device to the server. The server then passes the questions to a generative AI system, which generates an appropriate answer to the question. The generated answer is then sent to the device and displayed to the user. For example, a specific answer such as "In the event of contract termination, you must give one month's notice in accordance with Article 10 of the contract" is provided.

[0517] Examples and prompts

[0518] For example, when a user selects "Lease Agreement.pdf" on a device and presses the upload button, the device sends the contract to the server. The server receives this file and instructs the generative AI to analyze it, which then extracts important information and sends it to the device.

[0519] Prompt Sentence Examples

[0520] Please tell me how to cancel this contract.

[0521] I'd like to know more about how the security deposit is handled.

[0522] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions they may have.

[0523] The flow of the identification process in the first embodiment will be described with reference to FIG.

[0524] A detailed explanation of the program's processing flow, broken down into steps

[0525] Step 1: Select and upload contract documents

[0526] The user uses their device to click the file selection button, select an electronic document (e.g., lease agreement.pdf), and then presses the send button, causing the device to send the selected file to the server.

[0527] Input: User-selected electronic document

[0528] Output: The file is sent to the server

[0529] Specific operation: The terminal uses an HTTP request to send an electronic document to the server, and the server temporarily stores the received file.

[0530] Step 2: Receiving and storing contract documents

[0531] The server receives the contract documents sent from the terminal and stores them in a dedicated temporary storage area.

[0532] Input: Electronic document sent from the terminal

[0533] Output: Electronic document stored in the server's temporary storage area

[0534] Specific operation: When the server receives an HTTP request, it stores the electronic document in the server's storage.

[0535] Step 3: Requesting analysis from generative AI

[0536] The server passes the received electronic document to an automatic analysis function (generative artificial intelligence) and instructs it to analyze it.

[0537] Input: Temporarily saved electronic document

[0538] Output: Documents are passed to the automated analysis function

[0539] Specific operation: The server sends a document to the generative AI via an API and requests analysis.

[0540] Step 4: Contract analysis

[0541] The automated analysis function analyzes the contents of electronic documents and extracts important information such as contract period, rent, and payment method.

[0542] Input: Electronic document sent from the server

[0543] Output: Extracted information (contract period, rent, payment method, etc.)

[0544] How it works: Generative AI uses natural language processing techniques to analyze documents and identify key points and areas of concern.

[0545] Step 5: Generate descriptions

[0546] Based on the analysis results, generative artificial intelligence generates explanatory text in a form that is easy for users to understand.

[0547] Input: Key information from the parsed contract

[0548] Output: User-friendly instructions

[0549] Specific operation: Generative AI puts the analysis results into words and generates a specific explanation.

[0550] Step 6: Send and display your description

[0551] The server sends the generated explanation to the terminal, which displays it.

[0552] Input: Generated description

[0553] Output: Description displayed on the terminal

[0554] Specific operation: The server sends the description to the terminal via an HTTP response, and the terminal's user interface displays the description.

[0555] Step 7: Enter your question or problem

[0556] The user enters questions or problems about the contract in text format and sends the contents from the terminal to the server.

[0557] Input: The text of the user's question or problem

[0558] Output: The text of the question or problem sent to the server.

[0559] Specific behavior: The device sends the entered text to the server using an HTTP request.

[0560] Step 8: Analyze the question or problem and generate an answer

[0561] The server passes the received questions and problems to the automatic analysis function, requesting analysis and generation of an answer.

[0562] Input: The text of the question or problem sent to the server

[0563] Output: The generated answer

[0564] What it does: The automated analysis function analyzes the text of the question or problem and generates an answer based on the clause information of the relevant contract.

[0565] Step 9: Submit and view your responses

[0566] The server transmits the generated response text to the terminal and displays it to the user through the user interface.

[0567] Input: Generated answer text

[0568] Output: Answer displayed on the terminal

[0569] Specific operation: The server sends the answer to the terminal using an HTTP response, and the terminal displays the answer through its user interface.

[0570] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions through multiple processing steps.

[0571] (Application example 1)

[0572] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0573] Being able to easily understand contract documents and quickly resolve questions and problems is important, especially in brick-and-mortar stores. However, current systems have problems in that the content of contracts is complex, so many users take time to understand the content and require additional resources to resolve questions. To solve these problems, the present invention provides a system that supports understanding of contract documents through a user interface and quickly resolves questions in brick-and-mortar stores.

[0574] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[0575] In this invention, the server includes a means for uploading contract documents via a user interface, a means for reading the uploaded contract documents into a generative artificial intelligence and analyzing the contents, and a means for explaining the analyzed contents in an easy-to-understand manner, thereby enabling users in physical stores to easily understand the contract contents and quickly resolve any questions they may have.

[0576] A "user interface" is the visual and operational interface through which a user interacts with a system.

[0577] A "contract" is a document that sets out the details of an agreement regarding legal or commercial transactions.

[0578] "Upload" is the act of sending files or data from a local terminal to a server.

[0579] "Generative AI" refers to AI that has the ability to analyze input data and generate new information or answers based on that data.

[0580] "Content analysis" refers to the act of examining the contents of contract documents or data in detail and extracting meaning and important points.

[0581] "Explaining" is the act of conveying analyzed information in a way that is easy for the user to understand.

[0582] A "physical store" is a place of sale or service that exists in a physical location.

[0583] "Questions and problems" refer to points of uncertainty that users have about the contents of contract documents or business transactions, or matters that require resolution.

[0584] "Providing a solution" means presenting a specific answer or method to a user's question or problem.

[0585] A "system" is a collection of multiple components and means that work together to achieve a set of functions.

[0586] "Converting to a format" is the act of adapting given data or documents to a specified format.

[0587] "Important points and points to note" refer to the parts of contract documents and data that are particularly important and require attention.

[0588] The system for implementing this invention is mainly composed of a server, a user terminal, and a generative artificial intelligence (AI). A specific embodiment of this system will be described below.

[0589] System configuration and functions

[0590] 1. User Interface

[0591] The server provides a user interface for users to upload contract documents, which is displayed on the user's terminal and includes a file selection function and a question input field.

[0592] 2. Upload the contract documents

[0593] The user selects the contract document and presses the upload button to send the file from the device to the server. For example, this could be an image of the contract taken with a smartphone or a PDF file.

[0594] 3. Contract document analysis

[0595] The server sends the uploaded contract documents to a generative AI system, which analyzes their contents. The generative AI system reads the contract documents, analyzes their contents, and extracts important points and important points to note. The results of this analysis are presented in a format that is easy for users to understand.

[0596] 4. Presentation of analysis results

[0597] The server sends the analysis results obtained from the generative AI to the user's device. The user interface displays the contract details in an easy-to-understand format. For example, it might say, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0598] 5. Resolving questions and problems

[0599] The user enters any questions or concerns they have about the contract documents into a text input field and sends it to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the user's device via the server and displayed on the screen. For example, in response to the question, "How do I cancel the contract in this case?", the answer provided might be, "In the case of cancellation, you must give one month's notice in accordance with Article 10 of the contract."

[0600] Hardware and software used

[0601] Hardware: User devices (smartphones, tablets, PCs), servers

[0602] Software: Flask (server-side framework), OpenAI API (generative artificial intelligence), user interface

[0603] Specific examples

[0604] For example, if a user purchases a new appliance at a store and has questions about the warranty, they can take a photo of the contract with their smartphone and upload it to the application. The following is an example of a prompt sent to the generative AI model:

[0605] Parsing prompt after agreement upload:

[0606] Please explain the key points from the following contract:

[0607] Contract details: The purchaser is covered by a one-year product warranty from the date of purchase. The manufacturer, not the purchaser, determines whether repairs are possible.

[0608] Prompts the user when they enter a question:

[0609] Q: What about repairs after the warranty period has expired?

[0610] A: After the warranty period has expired, repairs will be carried out at the expense of the purchaser. Details will follow the repair regulations of each manufacturer.

[0611] This allows users to accurately understand the contract details even when they are in a physical store and quickly resolve any questions they may have.

[0612] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[0613] Step 1:

[0614] The user selects the contract document using the terminal and presses the upload button. This sends the contract document from the terminal to the server. The input is the contract document file, and the output is the file uploaded to the server.

[0615] Step 2:

[0616] The server receives the uploaded contract documents and loads them into the generative AI. The input is the received contract documents, and the output is the data loaded into the generative AI. The server then starts the process of having the AI ​​analyze the contents of the contract documents.

[0617] Step 3:

[0618] Generative AI analyzes the contents of contract documents and extracts important points and points to note. The input is the contents of the contract document, and the output is the analyzed summary information. In this process, the AI ​​breaks down each clause of the contract and generates information in a form that is easy for the user to understand.

[0619] Step 4:

[0620] The server sends the analysis results obtained from the generative AI to the user's device. The input is the analysis results, and the output is the display on the user's device. Here, the user can check the explanation of the contract details on the screen.

[0621] Step 5:

[0622] The user enters any questions or problems they have about the contract documents into the text input field and sends it to the server. The input is the user's questions or problems, and the output is the transmission of the questions to the server.

[0623] Step 6:

[0624] The server passes the user's question to the generative AI, which analyzes it and generates an answer. The input is the user's question, and the output is the answer from the generative AI. The server then has the generative AI re-analyze the relevant part of the contract.

[0625] Step 7:

[0626] The server sends the generated answer to the user's terminal and displays it on the screen. The input is the generated answer, and the output is the sending of the answer to the user's terminal. This allows the user to resolve any questions about the contract.

[0627] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.

[0628] The system of the present invention allows users to easily understand lengthy contract terms and important information documents when entering into a contract, and also provides quick solutions to any questions or problems they may have. Furthermore, by combining this system with an emotion engine that recognizes the user's emotions, the system also has the ability to provide advice and support based on the user's emotional state.

[0629] Program processing

[0630] 1. Upload the contract documents

[0631] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[0632] 2. Contract document analysis

[0633] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[0634] 3. Description of contents

[0635] Based on the analysis results, the generative AI generates an explanation in a form that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[0636] 4. Emotion Recognition by Emotion Engine

[0637] The user interface is equipped with an emotion engine that recognizes the user's emotional state from their facial expressions and voice, and this information is constantly monitored while the user is reading the contract documents.

[0638] 5. Emotional advice and support

[0639] If the emotion engine detects that the user is stressed or confused, the system will provide additional explanations and supplemental information based on the user's emotional state, and will also modify the interface and guide the user accordingly.

[0640] 6. Resolving questions and problems

[0641] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[0642] Specific examples

[0643] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[0644] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0645] During this time, the emotion engine analyzes the user's facial expressions and voice, and if the user appears confused, the system provides additional explanations such as, "Please also see: Conditions for shortening the contract period."

[0646] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[0647] In this way, the system of the present invention allows the user to easily understand contract documents and quickly resolve problems, while at the same time providing appropriate support based on the user's emotional state using the emotion engine.

[0648] The processing flow will be explained below.

[0649] Step 1:

[0650] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file, such as "Lease Agreement.pdf," and preparing it for transmission.

[0651] Step 2:

[0652] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[0653] Step 3:

[0654] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[0655] Step 4:

[0656] The server loads the contract documents into a generative AI for analysis. The generative AI begins analyzing the contents of the contract documents.

[0657] Step 5:

[0658] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[0659] Step 6:

[0660] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[0661] Step 7:

[0662] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[0663] Step 8:

[0664] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[0665] Step 9:

[0666] The device uses a built-in emotion engine to analyze the user's facial expressions and voice and recognize emotions in real time, detecting stress or confusion.

[0667] Step 10:

[0668] The emotion engine recognizes the user's emotional state and provides appropriate advice and support. For example, if the user is confused, the system displays additional information such as "Please also read the following: Conditions for shortening the contract period."

[0669] Step 11:

[0670] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[0671] Step 12:

[0672] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[0673] Step 13:

[0674] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[0675] Step 14:

[0676] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[0677] Step 15:

[0678] The server generates a response and sends it to the device, again in JSON or XML format.

[0679] Step 16:

[0680] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[0681] In this way, users can better understand the content of contract documents and receive additional information and support through real-time emotion recognition.

[0682] Example 2

[0683] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0684] Long documents such as contracts and important information explanation documents are difficult for the average user to understand, and it takes a lot of time and effort to understand their contents. Users often have questions or problems regarding the contract contents, and a means to quickly resolve these issues is needed. Furthermore, since support tailored to the user's emotional state is not provided while reading the contract documents, users may feel anxious or stressed. It is necessary to solve these problems.

[0685] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[0686] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for loading the uploaded electronic documents into a generative artificial intelligence (AI) and analyzing their contents, a means for explaining the analyzed contents in an easy-to-understand manner, a means for the AI ​​to provide solutions to the user's questions and problems, and a means for recognizing the user's emotions and providing advice and support based on those emotions. This allows the user to easily understand the contract documents and quickly resolve their questions and problems. Furthermore, providing appropriate support according to the user's emotional state can reduce the user's anxiety and stress.

[0687] "User interface" refers to the screen and input means that allow a user to access a system and perform operations or give instructions.

[0688] "Electronic documents" refer to documents stored in digital format, including PDF, Word, and text files.

[0689] "Generative AI" refers to an AI system that uses natural language processing technology to analyze given data and generate appropriate information and answers.

[0690] "Means of analysis" refers to the processes and algorithms used to analyze the content of electronic documents and extract important information and key points.

[0691] "Means for explaining in an easy-to-understand manner" refers to methods and techniques for presenting analyzed information in a format that is easy for users to understand.

[0692] "Means of providing solutions" refers to the process by which generative artificial intelligence provides appropriate answers or solutions to questions or doubts posed by users.

[0693] "Means of recognizing emotions and providing advice and support based on those emotions" refers to technology that analyzes the user's emotional state from facial expressions, voice, etc., and provides appropriate support and advice based on the results.

[0694] The system of this invention allows users to easily understand contract documents and important information explanations, and quickly resolve any questions or problems they may have. It also has the ability to recognize the user's emotions and provide appropriate support according to their emotional state.

[0695] The system works as follows:

[0696] 1. Upload the contract documents

[0697] - The user selects an electronic document using his / her terminal and presses the upload button. The upload is performed via the terminal's file browser and the selected electronic document is sent to the server.

[0698] 2. Receiving and analyzing contract documents

[0699] - The server loads the uploaded electronic document into a generative AI model. The generative AI used here is a model with advanced natural language processing technology, such as GPT-4. The server loads the electronic document and sends the necessary prompts to the generative AI model. A prompt such as "Please extract the important clauses of this contract" is used.

[0700] 3. Generating and displaying explanatory text

[0701] - The generative AI model analyzes the contents of the electronic document and extracts important points and clauses. The server then generates an easy-to-understand explanation based on the analysis results and displays it to the user through the user interface. For example, the explanation is output in a specific format such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[0702] 4. Emotion Recognition by Emotion Engine

[0703] - The user interface is equipped with an emotion engine (e.g., Microsoft Azure Emotion API) that recognizes the user's emotional state from their facial expressions and voice. This information is constantly monitored while the user is reading the contract document and sent to the server.

[0704] 5. Providing emotionally-based advice and support

[0705] - The server receives information from the emotion engine and provides appropriate advice and support according to the user's emotions. For example, if the user shows a confused expression, additional explanations or supplementary information will be provided. Information will be added in the form of "Please also see: Conditions for shortening the contract period."

[0706] 6. Resolving questions and problems

[0707] - The user enters any questions or concerns about the contract documents in text format into the input field on the device and presses the "Send" button. The entered information is sent from the device to the server. The server passes the information to a generative AI model, which generates an answer based on the contents of the contract. For example, in response to the question, "How do I terminate the contract in this case?", the answer returned is, "In the case of termination, you must give one month's notice in accordance with Article 10 of the contract."

[0708] Prompt Sentence Examples

[0709] 1. Example of prompt when analyzing a contract

[0710] Please briefly explain the contents of the following lease agreement. Please extract the important clauses and key points. "Lease Agreement.pdf"

[0711] 2. Example prompts for providing emotion-based advice

[0712] "The user is confused while reading the lease agreement. Please provide more details regarding the terms of the agreement."

[0713] 3. Example of prompts when generating answers to user questions

[0714] Please generate an answer to the following question based on the contents of the contract: 'How do I terminate the contract in this case?' You must follow Article 10 of the contract.

[0715] In this way, the system of the present invention allows users to easily understand contract documents and quickly resolve any questions or problems they may have, and also utilizes an emotion engine to provide support that is tailored to the user's emotional state.

[0716] The flow of the identification process in the second embodiment will be described with reference to FIG.

[0717] Step 1:

[0718] User uploads contract documents

[0719] Input: The user uses the terminal to select "Lease Agreement.pdf" and presses the upload button.

[0720] Action: The device's file browser is launched and the selected file is sent to the server.

[0721] Output: The uploaded contract documents are saved on the server.

[0722] Step 2:

[0723] The server receives the contract document and begins parsing it.

[0724] Input: Contract document sent from the device (e.g. PDF format)

[0725] How it works: The server stores the received contract document and calls the generative AI model. The server then sends a prompt to the generative AI model, such as "Please extract the important clauses of this contract."

[0726] Output: An instruction to start parsing the contract document and a prompt are passed to the generative AI model.

[0727] Step 3:

[0728] The server sends the analysis results of the contract document to the generative AI model.

[0729] Input: Contract documents and analysis instruction prompts

[0730] How it works: A generative AI model (e.g., GPT-4) reads the contents of a contract and extracts key points and clauses. The server receives the generated analysis results.

[0731] Output: The analysis results from the generative AI model are sent back to the server.

[0732] Step 4:

[0733] The generative AI model generates explanatory text based on the analysis results.

[0734] Input: Analysis results returned from the generative AI model to the server

[0735] How it works: Based on the analysis results, the server sends a prompt to the generative AI model saying, "Please convert the analysis results into an easy-to-understand explanation." The generative AI model then generates an easy-to-understand explanation and returns it to the server.

[0736] Output: A friendly description is generated to display to the user.

[0737] Step 5:

[0738] The emotion engine recognizes and analyzes the user's emotions

[0739] Input: User facial and voice data

[0740] How it works: The emotion engine built into the user interface monitors the user's facial expressions and voice in real time, analyzes their emotional state, and sends the emotional data to the server.

[0741] Output: The user's emotional state data is passed to the server.

[0742] Step 6:

[0743] The server provides emotionally informed advice and support

[0744] Input: User emotion data sent from the emotion engine

[0745] How it works: The server analyzes the emotion data and sends a prompt to the generative AI model saying, "The user is confused, please provide additional information." The generative AI model generates additional explanations and supporting information and sends it back to the server.

[0746] Output: Additional explanatory or supporting information is generated and displayed in the user interface.

[0747] Step 7:

[0748] Users enter their questions or concerns and send them to the server.

[0749] Input: The user enters their question or problem in text format into the device's input field.

[0750] What happens: The user presses the "Send" button, and the entered text is sent from the device to the server.

[0751] Output: Questions and problems entered in the text form are sent to the server.

[0752] Step 8:

[0753] The server passes the question or problem to the generative AI model, which generates an answer.

[0754] Input: Text data of questions or problems sent by users

[0755] How it works: The server sends the received question or problem to the generative AI model, and sends a prompt saying, "Please generate an answer based on the contents of the contract." The generative AI model analyzes the contents of the relevant contract and generates an appropriate answer.

[0756] Output: Answer data from the generative AI model is returned to the server.

[0757] Step 9:

[0758] The server generates a response and sends it to the user's device.

[0759] Input: Answer data returned from the generative AI model to the server

[0760] Operation: The server sends the answer data to the user's device and displays it in the user interface.

[0761] Output: The answer is output and displayed on the user's terminal.

[0762] This allows users to easily understand contract documents and quickly resolve any questions or problems they may have. It also provides appropriate support according to the user's emotional state, reducing anxiety and stress.

[0763] (Application example 2)

[0764] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0765] When users try to understand contract documents or terms of use, it is extremely difficult for them to accurately grasp the vast amount of information in a short amount of time. Furthermore, the extensive use of legal and technical terms increases the risk of users misunderstanding the content. Furthermore, conventional methods do not provide support tailored to the user's emotional state, often leaving users feeling anxious or confused. A system that can quickly and accurately resolve these issues is needed.

[0766] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.

[0767] In this invention, the server includes means for uploading contract documents via a user interface, means for loading the uploaded contract documents into a generative artificial intelligence and analyzing their contents, means for explaining the analyzed contents in an easy-to-understand manner, means for the generative artificial intelligence to provide solutions to the user's questions and problems, means for analyzing the user's facial expressions and voice to recognize their emotional state, and means for providing additional explanations and advice based on the recognized emotional state. This enables the user to accurately understand the contract documents and terms of use in a short amount of time and grasp the contract contents without feeling anxious or confused.

[0768] "User interface" refers to the screen and operating means that allow a user to interact with a system.

[0769] "Contract Documents" refers to documents that describe the contents of the contract, including those uploaded by the user to the system.

[0770] "Generative AI" refers to AI that analyzes the contents of contract documents and generates important information.

[0771] "Means of analysis" refers to a method of using generative artificial intelligence to analyze and parse the contents of contract documents and extract important information.

[0772] "Means for explanation" refers to a method for displaying the contents of the analyzed contract document in a form that is easy for the user to understand.

[0773] "Means of providing solutions" refers to the way in which generative artificial intelligence presents appropriate solutions to users' questions and problems.

[0774] "Means for analyzing facial expressions and voice" refers to a method for detecting a user's facial expressions and voice and analyzing their emotional state.

[0775] "Means for recognizing emotional states" refers to a method for identifying a user's emotions based on analyzed facial expressions and voice data.

[0776] "Means for providing additional explanations or advice" refers to a method for providing additional information or advice to a user based on the emotional state.

[0777] A system for specifically implementing this invention combines contract document analysis with user emotion recognition to help users understand contracts. The system uploads contract documents via a user interface, analyzes them using generative artificial intelligence, and generates easy-to-understand explanations. It also uses an emotion engine that analyzes the user's facial expressions and voice to provide advice and additional information based on the user's emotional state.

[0778] Hardware and software used

[0779] Smartphone: Used by users to upload contract documents and view analysis results and additional explanations.

[0780] Camera and microphone: Used to capture the user's facial expressions and voice and recognize their emotional state.

[0781] Server: Receives contract documents and analyzes them using generative AI. It also uses an emotion engine to recognize the user's emotional state and provide appropriate advice.

[0782] Generative AI (Transformers by Hugging Face): Analyzes the contents of contract documents and extracts important information.

[0783] Emotion engine: Software that analyzes the user's facial expressions and voice to recognize their emotional state (examples of libraries used: OpenCV, SpeechRecognition).

[0784] System operation explanation

[0785] The user uploads the contract document via the smartphone's user interface. For example, they select "Lease Agreement.pdf" and press the upload button. The device then sends the contract to the server. The server then loads this PDF into a generative AI system, which analyzes the document. The generative AI system then extracts key points such as the contract period, rent, and payment method, generates an explanatory text, and sends it to the device. The explanatory text might be displayed as, for example, "The contract period is one year, and the monthly rent is 100,000 yen. Payment is due by the end of each month via bank transfer."

[0786] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time to recognize their emotional state. If the user shows confusion or stress, the server will provide additional explanations or advice based on the emotion engine's analysis results, such as "Please also see the conditions for shortening the contract period."

[0787] If a user types "How do I cancel the contract in this case?", the device sends the question to the server. The server passes the question to a generative AI, analyzes the clauses regarding contract cancellation, and generates an answer. For example, it could generate an answer such as "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and provide it to the user's device.

[0788] As a concrete example, consider the case where a user uses this system to understand the "Terms of Use" when using an electronic payment service. When the user uploads "Terms of Use.pdf," the generative AI analyzes the content, extracts important points, and provides an explanatory text. If the user asks verbally, "What should I do in this case?" and the emotion engine detects the user's confusion, the system will provide additional explanation. For example, it will provide additional support such as, "Please also see here: What to do if the Terms of Use are violated."

[0789] Example prompt sentence:

[0790] The user uploads a "Terms of Use.pdf" file. The system analyzes each clause in the contract and provides easy-to-understand explanations of key points. When the user asks aloud, "What should I do in this case?", the emotion engine detects confusion and provides additional explanations.

[0791] How do I cancel my contract?

[0792] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[0793] Step 1:

[0794] The user uploads the contract document via the smartphone's user interface. The user selects "Lease Agreement.pdf" and presses the upload button. This action uploads the contract document.

[0795] Input: Contract documents (PDF format)

[0796] Output: Uploaded contract document

[0797] Step 2:

[0798] The terminal sends the uploaded contract document to the server, where it converts the contract document file into an appropriate format and transfers the data to the server.

[0799] Input: Uploaded contract documents

[0800] Output: Contract document sent to the server (after format conversion)

[0801] Step 3:

[0802] The server receives the contract documents and loads them into generative AI (Transformers by Hugging Face), which analyzes the contents of the contract and extracts key points.

[0803] Input: Contract document sent to the server

[0804] Output: Analysis results with important points extracted

[0805] Step 4:

[0806] The server generates an easy-to-understand explanation based on the analysis results, formats the analysis content in a form that can be explained to the user, and sends it to the device.

[0807] Input: Analysis results

[0808] Output:Description

[0809] Step 5:

[0810] The terminal displays the received explanation to the user via the user interface, and the user reads the explanation to understand the contract details.

[0811] Input:Description

[0812] Output: Description displayed to the user

[0813] Step 6:

[0814] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time, performing facial recognition processing and voice analysis to identify the user's emotional state.

[0815] Input: User's facial expression data and voice data

[0816] Output: Emotional state recognition result

[0817] Step 7:

[0818] If the server detects that the user is confused or stressed based on the results of the emotion engine's recognition, it will provide additional explanations and advice. Specifically, it will generate information such as "Please also see the following: Conditions for shortening the contract period" and send it to the device.

[0819] Input: Emotional state recognition results

[0820] Output: Additional explanation or advice

[0821] Step 8:

[0822] The user enters a question in text form, and the terminal sends the question to the server.

[0823] Input: User's question (text format)

[0824] Output: Question sent to server

[0825] Step 9:

[0826] The server passes the received question to a generative artificial intelligence, which analyzes the relevant section of the contract document and generates an answer.

[0827] Input: The question sent to the server

[0828] Output: The generated answer

[0829] Step 10:

[0830] The server generates an answer, which is sent to the terminal and displayed to the user, who can then confirm the answer and resolve their question.

[0831] Input: Generated Answer

[0832] Output: The answer displayed to the user

[0833] The specific processing unit 290 transmits the result of the specific processing to the smart glasses 214. In the smart glasses 214, the control unit 46A causes the speaker 240 to output the result of the specific processing. The microphone 238 acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

[0834] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[0835] In the above embodiment, an example in which the specific processing is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the smart glasses 214.

[0836] [Third embodiment]

[0837] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.

[0838] 5, the data processing system 310 includes the data processing device 12 and a headset terminal 314. An example of the data processing device 12 is a server.

[0839] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[0840] The headset type terminal 314 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a display 343. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the display 343 are also connected to the bus 52.

[0841] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

[0842] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

[0843] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.

[0844] Fig. 6 shows an example of the main functions of the data processing device 12 and the headset type terminal 314. As shown in Fig. 6, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.

[0845] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

[0846] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[0847] In the headset type terminal 314, a reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[0848] Next, a description will be given of the identification process performed by the identification processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as the "server" and the headset type terminal 314 will be referred to as the "terminal."

[0849] The system of the present invention allows users to easily understand lengthy contract terms and conditions and important information documents when signing a contract, and also provides quick solutions to any questions or problems they may have. This system is realized through the collaboration of the user's device, a server, and generative artificial intelligence (AI).

[0850] Program processing

[0851] 1. Upload the contract documents

[0852] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[0853] 2. Contract document analysis

[0854] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[0855] 3. Description of contents

[0856] Based on the analysis results, the generative AI generates an explanation in a format that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[0857] 4. Resolving questions and problems

[0858] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[0859] Specific examples

[0860] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[0861] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[0862] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[0863] In this way, the system of the present invention is a system that supports users in easily understanding contract documents and quickly resolving any questions they may have.

[0864] The processing flow will be explained below.

[0865] Step 1:

[0866] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file such as "Lease Agreement.pdf" and preparing it for transmission.

[0867] Step 2:

[0868] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[0869] Step 3:

[0870] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[0871] Step 4:

[0872] The server provides the contract document as input to the generative AI, which then begins to analyze the contents of the contract document.

[0873] Step 5:

[0874] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[0875] Step 6:

[0876] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[0877] Step 7:

[0878] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[0879] Step 8:

[0880] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[0881] Step 9:

[0882] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[0883] Step 10:

[0884] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[0885] Step 11:

[0886] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[0887] Step 12:

[0888] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[0889] Step 13:

[0890] The server generates a response and sends it to the device, again in JSON or XML format.

[0891] Step 14:

[0892] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[0893] Example 1

[0894] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[0895] The problem that this invention aims to solve is to provide a means for users to easily understand long and complex contract documents and to quickly resolve questions and problems related to the contract documents. With conventional systems, it takes time to understand the contract documents and responses to questions and problems are often delayed. This allows users to understand the contents of the contract documents with confidence and quickly resolve problems.

[0896] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[0897] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for reading the uploaded electronic documents into an automatic analysis function to analyze their contents, and a means for describing the analyzed contents in an easy-to-understand format, thereby enabling the contents of the electronic documents to be quickly understood and providing appropriate solutions to users' questions and problems.

[0898] "User interface" refers to the means by which users interact with the system, including the screens and operating areas where they upload electronic documents and enter questions.

[0899] "Electronic documents" refer to contracts and other documents stored in digital form and equivalent to traditional paper documents.

[0900] "Automatic analysis function" refers to the function that uses generative artificial intelligence to analyze the contents of electronic documents using machine learning and natural language processing technology and extract important information.

[0901] "Upload" refers to the act of a user transferring an electronic document to a server via a terminal, which is the process of sending data to the system.

[0902] "Generative AI" refers to AI technology that performs detailed contextual analysis and information extraction to provide information in an easy-to-understand format.

[0903] "Analysis results" refers to information such as important points and points of note extracted from electronic documents by the automatic analysis function.

[0904] "Describing" refers to the act of generative artificial intelligence generating text in a format that is easy for users to understand based on the results of analysis.

[0905] A "question" refers to a question or uncertainty a user has about an electronic document, and is a text query entered into the system.

[0906] "Problems" refer to specific difficulties or challenges users face with electronic documents.

[0907] "Solutions" refer to appropriate answers or suggestions to users' questions or problems that are provided based on information analyzed by generative artificial intelligence.

[0908] "Server" refers to a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[0909] "Terminal" refers to a device used by a user, such as a computer or smartphone, that communicates with a server to upload electronic documents and display information.

[0910] The system of the present invention is a support system that enables users to easily understand long and complex contract documents when entering into a contract, and also quickly resolves questions and problems regarding the contract documents. This system is realized through the cooperation of the user's terminal, a server, and generative artificial intelligence (AI).

[0911] Hardware and software used

[0912] The hardware used includes devices such as computers and smartphones used by users, and a server that communicates with these devices. The server includes a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[0913] The software used includes automated analysis capabilities, including generative artificial intelligence (AI), and natural language processing technology. This AI utilizes deep learning models to analyze input digital documents and convert them into user-friendly content. The user interface allows users to easily upload digital documents and view analysis results and answers to their questions.

[0914] Explaining program processing in natural language

[0915] Uploading contract documents

[0916] The user uses their device to select the contract documents and upload them to the server via the device's file selection and submit buttons. During this process, the device sends the files to the server using an HTTP request.

[0917] Contract document analysis

[0918] The server receives the contract documents sent from the device and passes them to an automated analysis function, which uses generative AI to analyze the documents and extract important information such as the contract period, rent, and payment method.

[0919] Description

[0920] Based on the results of the analysis, the generative AI generates an explanation in a format that is easy for the user to understand. The server then sends the generated explanation to the device and displays it to the user through the user interface. For example, information is provided in a specific and easy-to-understand format, such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[0921] Resolving questions and problems

[0922] The user enters questions or problems about the contract in text format and sends the content from the device to the server. The server then passes the questions to a generative AI system, which generates an appropriate answer to the question. The generated answer is then sent to the device and displayed to the user. For example, a specific answer such as "In the event of contract termination, you must give one month's notice in accordance with Article 10 of the contract" is provided.

[0923] Examples and prompts

[0924] For example, when a user selects "Lease Agreement.pdf" on a device and presses the upload button, the device sends the contract to the server. The server receives this file and instructs the generative AI to analyze it, which then extracts important information and sends it to the device.

[0925] Prompt Sentence Examples

[0926] Please tell me how to cancel this contract.

[0927] I'd like to know more about how the security deposit is handled.

[0928] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions they may have.

[0929] The flow of the identification process in the first embodiment will be described with reference to FIG.

[0930] A detailed explanation of the program's processing flow, broken down into steps

[0931] Step 1: Select and upload contract documents

[0932] The user uses their device to click the file selection button, select an electronic document (e.g., lease agreement.pdf), and then presses the send button, causing the device to send the selected file to the server.

[0933] Input: User-selected electronic document

[0934] Output: The file is sent to the server

[0935] Specific operation: The terminal uses an HTTP request to send an electronic document to the server, and the server temporarily stores the received file.

[0936] Step 2: Receiving and storing contract documents

[0937] The server receives the contract documents sent from the terminal and stores them in a dedicated temporary storage area.

[0938] Input: Electronic document sent from the terminal

[0939] Output: Electronic document stored in the server's temporary storage area

[0940] Specific operation: When the server receives an HTTP request, it stores the electronic document in the server's storage.

[0941] Step 3: Requesting analysis from generative AI

[0942] The server passes the received electronic document to an automatic analysis function (generative artificial intelligence) and instructs it to analyze it.

[0943] Input: Temporarily saved electronic document

[0944] Output: Documents are passed to the automated analysis function

[0945] Specific operation: The server sends a document to the generative AI via an API and requests analysis.

[0946] Step 4: Contract analysis

[0947] The automated analysis function analyzes the contents of electronic documents and extracts important information such as contract period, rent, and payment method.

[0948] Input: Electronic document sent from the server

[0949] Output: Extracted information (contract period, rent, payment method, etc.)

[0950] How it works: Generative AI uses natural language processing techniques to analyze documents and identify key points and areas of concern.

[0951] Step 5: Generate descriptions

[0952] Based on the analysis results, generative artificial intelligence generates explanatory text in a form that is easy for users to understand.

[0953] Input: Key information from the parsed contract

[0954] Output: User-friendly instructions

[0955] Specific operation: Generative AI puts the analysis results into words and generates a specific explanation.

[0956] Step 6: Send and display your description

[0957] The server sends the generated explanation to the terminal, which displays it.

[0958] Input: Generated description

[0959] Output: Description displayed on the terminal

[0960] Specific operation: The server sends the description to the terminal via an HTTP response, and the terminal's user interface displays the description.

[0961] Step 7: Enter your question or problem

[0962] The user enters questions or problems about the contract in text format and sends the contents from the terminal to the server.

[0963] Input: The text of the user's question or problem

[0964] Output: The text of the question or problem sent to the server.

[0965] Specific behavior: The device sends the entered text to the server using an HTTP request.

[0966] Step 8: Analyze the question or problem and generate an answer

[0967] The server passes the received questions and problems to the automatic analysis function, requesting analysis and generation of an answer.

[0968] Input: The text of the question or problem sent to the server

[0969] Output: The generated answer

[0970] What it does: The automated analysis function analyzes the text of the question or problem and generates an answer based on the clause information of the relevant contract.

[0971] Step 9: Submit and view your responses

[0972] The server transmits the generated response text to the terminal and displays it to the user through the user interface.

[0973] Input: Generated answer text

[0974] Output: Answer displayed on the terminal

[0975] Specific operation: The server sends the answer to the terminal using an HTTP response, and the terminal displays the answer through its user interface.

[0976] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions through multiple processing steps.

[0977] (Application example 1)

[0978] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[0979] Being able to easily understand contract documents and quickly resolve questions and problems is important, especially in brick-and-mortar stores. However, current systems have problems in that the content of contracts is complex, so many users take time to understand the content and require additional resources to resolve questions. To solve these problems, the present invention provides a system that supports understanding of contract documents through a user interface and quickly resolves questions in brick-and-mortar stores.

[0980] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[0981] In this invention, the server includes a means for uploading contract documents via a user interface, a means for reading the uploaded contract documents into a generative artificial intelligence and analyzing the contents, and a means for explaining the analyzed contents in an easy-to-understand manner, thereby enabling users in physical stores to easily understand the contract contents and quickly resolve any questions they may have.

[0982] A "user interface" is the visual and operational interface through which a user interacts with a system.

[0983] A "contract" is a document that sets out the details of an agreement regarding legal or commercial transactions.

[0984] "Upload" is the act of sending files or data from a local terminal to a server.

[0985] "Generative AI" refers to AI that has the ability to analyze input data and generate new information or answers based on that data.

[0986] "Content analysis" refers to the act of examining the contents of contract documents or data in detail and extracting meaning and important points.

[0987] "Explaining" is the act of conveying analyzed information in a way that is easy for the user to understand.

[0988] A "physical store" is a place of sale or service that exists in a physical location.

[0989] "Questions and problems" refer to points of uncertainty that users have about the contents of contract documents or business transactions, or matters that require resolution.

[0990] "Providing a solution" means presenting a specific answer or method to a user's question or problem.

[0991] A "system" is a collection of multiple components and means that work together to achieve a set of functions.

[0992] "Converting to a format" is the act of adapting given data or documents to a specified format.

[0993] "Important points and points to note" refer to the parts of contract documents and data that are particularly important and require attention.

[0994] The system for implementing this invention is mainly composed of a server, a user terminal, and a generative artificial intelligence (AI). A specific embodiment of this system will be described below.

[0995] System configuration and functions

[0996] 1. User Interface

[0997] The server provides a user interface for users to upload contract documents, which is displayed on the user's terminal and includes a file selection function and a question input field.

[0998] 2. Upload the contract documents

[0999] The user selects the contract document and presses the upload button to send the file from the device to the server. For example, this could be an image of the contract taken with a smartphone or a PDF file.

[1000] 3. Contract document analysis

[1001] The server sends the uploaded contract documents to a generative AI system, which analyzes their contents. The generative AI system reads the contract documents, analyzes their contents, and extracts important points and important points to note. The results of this analysis are presented in a format that is easy for users to understand.

[1002] 4. Presentation of analysis results

[1003] The server sends the analysis results obtained from the generative AI to the user's device. The user interface displays the contract details in an easy-to-understand format. For example, it might say, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[1004] 5. Resolving questions and problems

[1005] The user enters any questions or concerns they have about the contract documents into a text input field and sends it to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the user's device via the server and displayed on the screen. For example, in response to the question, "How do I cancel the contract in this case?", the answer provided might be, "In the case of cancellation, you must give one month's notice in accordance with Article 10 of the contract."

[1006] Hardware and software used

[1007] Hardware: User devices (smartphones, tablets, PCs), servers

[1008] Software: Flask (server-side framework), OpenAI API (generative artificial intelligence), user interface

[1009] Specific examples

[1010] For example, if a user purchases a new appliance at a store and has questions about the warranty, they can take a photo of the contract with their smartphone and upload it to the application. The following is an example of a prompt sent to the generative AI model:

[1011] Parsing prompt after agreement upload:

[1012] Please explain the key points from the following contract:

[1013] Contract details: The purchaser is covered by a one-year product warranty from the date of purchase. The manufacturer, not the purchaser, determines whether repairs are possible.

[1014] Prompts the user when they enter a question:

[1015] Q: What about repairs after the warranty period has expired?

[1016] A: After the warranty period has expired, repairs will be carried out at the expense of the purchaser. Details will follow the repair regulations of each manufacturer.

[1017] This allows users to accurately understand the contract details even when they are in a physical store and quickly resolve any questions they may have.

[1018] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[1019] Step 1:

[1020] The user selects the contract document using the terminal and presses the upload button. This sends the contract document from the terminal to the server. The input is the contract document file, and the output is the file uploaded to the server.

[1021] Step 2:

[1022] The server receives the uploaded contract documents and loads them into the generative AI. The input is the received contract documents, and the output is the data loaded into the generative AI. The server then starts the process of having the AI ​​analyze the contents of the contract documents.

[1023] Step 3:

[1024] Generative AI analyzes the contents of contract documents and extracts important points and points to note. The input is the contents of the contract document, and the output is the analyzed summary information. In this process, the AI ​​breaks down each clause of the contract and generates information in a form that is easy for the user to understand.

[1025] Step 4:

[1026] The server sends the analysis results obtained from the generative AI to the user's device. The input is the analysis results, and the output is the display on the user's device. Here, the user can check the explanation of the contract details on the screen.

[1027] Step 5:

[1028] The user enters any questions or problems they have about the contract documents into the text input field and sends it to the server. The input is the user's questions or problems, and the output is the transmission of the questions to the server.

[1029] Step 6:

[1030] The server passes the user's question to the generative AI, which analyzes it and generates an answer. The input is the user's question, and the output is the answer from the generative AI. The server then has the generative AI re-analyze the relevant part of the contract.

[1031] Step 7:

[1032] The server sends the generated answer to the user's terminal and displays it on the screen. The input is the generated answer, and the output is the sending of the answer to the user's terminal. This allows the user to resolve any questions about the contract.

[1033] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.

[1034] The system of the present invention allows users to easily understand lengthy contract terms and important information documents when entering into a contract, and also provides quick solutions to any questions or problems they may have. Furthermore, by combining this system with an emotion engine that recognizes the user's emotions, the system also has the ability to provide advice and support based on the user's emotional state.

[1035] Program processing

[1036] 1. Upload the contract documents

[1037] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[1038] 2. Contract document analysis

[1039] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[1040] 3. Description of contents

[1041] Based on the analysis results, the generative AI generates an explanation in a form that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[1042] 4. Emotion Recognition by Emotion Engine

[1043] The user interface is equipped with an emotion engine that recognizes the user's emotional state from their facial expressions and voice, and this information is constantly monitored while the user is reading the contract documents.

[1044] 5. Emotional advice and support

[1045] If the emotion engine detects that the user is stressed or confused, the system will provide additional explanations and supplemental information based on the user's emotional state, and will also modify the interface and guide the user accordingly.

[1046] 6. Resolving questions and problems

[1047] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[1048] Specific examples

[1049] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[1050] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[1051] During this time, the emotion engine analyzes the user's facial expressions and voice, and if the user appears confused, the system provides additional explanations such as, "Please also see: Conditions for shortening the contract period."

[1052] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[1053] In this way, the system of the present invention allows the user to easily understand contract documents and quickly resolve problems, while at the same time providing appropriate support based on the user's emotional state using the emotion engine.

[1054] The processing flow will be explained below.

[1055] Step 1:

[1056] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file, such as "Lease Agreement.pdf," and preparing it for transmission.

[1057] Step 2:

[1058] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[1059] Step 3:

[1060] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[1061] Step 4:

[1062] The server loads the contract documents into a generative AI for analysis. The generative AI begins analyzing the contents of the contract documents.

[1063] Step 5:

[1064] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[1065] Step 6:

[1066] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[1067] Step 7:

[1068] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[1069] Step 8:

[1070] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[1071] Step 9:

[1072] The device uses a built-in emotion engine to analyze the user's facial expressions and voice and recognize emotions in real time, detecting stress or confusion.

[1073] Step 10:

[1074] The emotion engine recognizes the user's emotional state and provides appropriate advice and support. For example, if the user is confused, the system displays additional information such as "Please also read the following: Conditions for shortening the contract period."

[1075] Step 11:

[1076] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[1077] Step 12:

[1078] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[1079] Step 13:

[1080] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[1081] Step 14:

[1082] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[1083] Step 15:

[1084] The server generates a response and sends it to the device, again in JSON or XML format.

[1085] Step 16:

[1086] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[1087] In this way, users can better understand the content of contract documents and receive additional information and support through real-time emotion recognition.

[1088] Example 2

[1089] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[1090] Long documents such as contracts and important information explanation documents are difficult for the average user to understand, and it takes a lot of time and effort to understand their contents. Users often have questions or problems regarding the contract contents, and a means to quickly resolve these issues is needed. Furthermore, since support tailored to the user's emotional state is not provided while reading the contract documents, users may feel anxious or stressed. It is necessary to solve these problems.

[1091] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[1092] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for loading the uploaded electronic documents into a generative artificial intelligence (AI) and analyzing their contents, a means for explaining the analyzed contents in an easy-to-understand manner, a means for the AI ​​to provide solutions to the user's questions and problems, and a means for recognizing the user's emotions and providing advice and support based on those emotions. This allows the user to easily understand the contract documents and quickly resolve their questions and problems. Furthermore, providing appropriate support according to the user's emotional state can reduce the user's anxiety and stress.

[1093] "User interface" refers to the screen and input means that allow a user to access a system and perform operations or give instructions.

[1094] "Electronic documents" refer to documents stored in digital format, including PDF, Word, and text files.

[1095] "Generative AI" refers to an AI system that uses natural language processing technology to analyze given data and generate appropriate information and answers.

[1096] "Means of analysis" refers to the processes and algorithms used to analyze the content of electronic documents and extract important information and key points.

[1097] "Means for explaining in an easy-to-understand manner" refers to methods and techniques for presenting analyzed information in a format that is easy for users to understand.

[1098] "Means of providing solutions" refers to the process by which generative artificial intelligence provides appropriate answers or solutions to questions or doubts posed by users.

[1099] "Means of recognizing emotions and providing advice and support based on those emotions" refers to technology that analyzes the user's emotional state from facial expressions, voice, etc., and provides appropriate support and advice based on the results.

[1100] The system of this invention allows users to easily understand contract documents and important information explanations, and quickly resolve any questions or problems they may have. It also has the ability to recognize the user's emotions and provide appropriate support according to their emotional state.

[1101] The system works as follows:

[1102] 1. Upload the contract documents

[1103] - The user selects an electronic document using his / her terminal and presses the upload button. The upload is performed via the terminal's file browser and the selected electronic document is sent to the server.

[1104] 2. Receiving and analyzing contract documents

[1105] - The server loads the uploaded electronic document into a generative AI model. The generative AI used here is a model with advanced natural language processing technology, such as GPT-4. The server loads the electronic document and sends the necessary prompts to the generative AI model. A prompt such as "Please extract the important clauses of this contract" is used.

[1106] 3. Generating and displaying explanatory text

[1107] - The generative AI model analyzes the contents of the electronic document and extracts important points and clauses. The server then generates an easy-to-understand explanation based on the analysis results and displays it to the user through the user interface. For example, the explanation is output in a specific format such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[1108] 4. Emotion Recognition by Emotion Engine

[1109] - The user interface is equipped with an emotion engine (e.g., Microsoft Azure Emotion API) that recognizes the user's emotional state from their facial expressions and voice. This information is constantly monitored while the user is reading the contract document and sent to the server.

[1110] 5. Providing emotionally-based advice and support

[1111] - The server receives information from the emotion engine and provides appropriate advice and support according to the user's emotions. For example, if the user shows a confused expression, additional explanations or supplementary information will be provided. Information will be added in the form of "Please also see: Conditions for shortening the contract period."

[1112] 6. Resolving questions and problems

[1113] - The user enters any questions or concerns about the contract documents in text format into the input field on the device and presses the "Send" button. The entered information is sent from the device to the server. The server passes the information to a generative AI model, which generates an answer based on the contents of the contract. For example, in response to the question, "How do I terminate the contract in this case?", the answer returned is, "In the case of termination, you must give one month's notice in accordance with Article 10 of the contract."

[1114] Prompt Sentence Examples

[1115] 1. Example of prompt when analyzing a contract

[1116] Please briefly explain the contents of the following lease agreement. Please extract the important clauses and key points. "Lease Agreement.pdf"

[1117] 2. Example prompts for providing emotion-based advice

[1118] "The user is confused while reading the lease agreement. Please provide more details regarding the terms of the agreement."

[1119] 3. Example of prompts when generating answers to user questions

[1120] Please generate an answer to the following question based on the contents of the contract: 'How do I terminate the contract in this case?' You must follow Article 10 of the contract.

[1121] In this way, the system of the present invention allows users to easily understand contract documents and quickly resolve any questions or problems they may have, and also utilizes an emotion engine to provide support that is tailored to the user's emotional state.

[1122] The flow of the identification process in the second embodiment will be described with reference to FIG.

[1123] Step 1:

[1124] User uploads contract documents

[1125] Input: The user uses the terminal to select "Lease Agreement.pdf" and presses the upload button.

[1126] Action: The device's file browser is launched and the selected file is sent to the server.

[1127] Output: The uploaded contract documents are saved on the server.

[1128] Step 2:

[1129] The server receives the contract document and begins parsing it.

[1130] Input: Contract document sent from the device (e.g. PDF format)

[1131] How it works: The server stores the received contract document and calls the generative AI model. The server then sends a prompt to the generative AI model, such as "Please extract the important clauses of this contract."

[1132] Output: An instruction to start parsing the contract document and a prompt are passed to the generative AI model.

[1133] Step 3:

[1134] The server sends the analysis results of the contract document to the generative AI model.

[1135] Input: Contract documents and analysis instruction prompts

[1136] How it works: A generative AI model (e.g., GPT-4) reads the contents of a contract and extracts key points and clauses. The server receives the generated analysis results.

[1137] Output: The analysis results from the generative AI model are sent back to the server.

[1138] Step 4:

[1139] The generative AI model generates explanatory text based on the analysis results.

[1140] Input: Analysis results returned from the generative AI model to the server

[1141] How it works: Based on the analysis results, the server sends a prompt to the generative AI model saying, "Please convert the analysis results into an easy-to-understand explanation." The generative AI model then generates an easy-to-understand explanation and returns it to the server.

[1142] Output: A friendly description is generated to display to the user.

[1143] Step 5:

[1144] The emotion engine recognizes and analyzes the user's emotions

[1145] Input: User facial and voice data

[1146] How it works: The emotion engine built into the user interface monitors the user's facial expressions and voice in real time, analyzes their emotional state, and sends the emotional data to the server.

[1147] Output: The user's emotional state data is passed to the server.

[1148] Step 6:

[1149] The server provides emotionally informed advice and support

[1150] Input: User emotion data sent from the emotion engine

[1151] How it works: The server analyzes the emotion data and sends a prompt to the generative AI model saying, "The user is confused, please provide additional information." The generative AI model generates additional explanations and supporting information and sends it back to the server.

[1152] Output: Additional explanatory or supporting information is generated and displayed in the user interface.

[1153] Step 7:

[1154] Users enter their questions or concerns and send them to the server.

[1155] Input: The user enters their question or problem in text format into the device's input field.

[1156] What happens: The user presses the "Send" button, and the entered text is sent from the device to the server.

[1157] Output: Questions and problems entered in the text form are sent to the server.

[1158] Step 8:

[1159] The server passes the question or problem to the generative AI model, which generates an answer.

[1160] Input: Text data of questions or problems sent by users

[1161] How it works: The server sends the received question or problem to the generative AI model, and sends a prompt saying, "Please generate an answer based on the contents of the contract." The generative AI model analyzes the contents of the relevant contract and generates an appropriate answer.

[1162] Output: Answer data from the generative AI model is returned to the server.

[1163] Step 9:

[1164] The server generates a response and sends it to the user's device.

[1165] Input: Answer data returned from the generative AI model to the server

[1166] Operation: The server sends the answer data to the user's device and displays it in the user interface.

[1167] Output: The answer is output and displayed on the user's terminal.

[1168] This allows users to easily understand contract documents and quickly resolve any questions or problems they may have. It also provides appropriate support according to the user's emotional state, reducing anxiety and stress.

[1169] (Application example 2)

[1170] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[1171] When users try to understand contract documents or terms of use, it is extremely difficult for them to accurately grasp the vast amount of information in a short amount of time. Furthermore, the extensive use of legal and technical terms increases the risk of users misunderstanding the content. Furthermore, conventional methods do not provide support tailored to the user's emotional state, often leaving users feeling anxious or confused. A system that can quickly and accurately resolve these issues is needed.

[1172] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.

[1173] In this invention, the server includes means for uploading contract documents via a user interface, means for loading the uploaded contract documents into a generative artificial intelligence and analyzing their contents, means for explaining the analyzed contents in an easy-to-understand manner, means for the generative artificial intelligence to provide solutions to the user's questions and problems, means for analyzing the user's facial expressions and voice to recognize their emotional state, and means for providing additional explanations and advice based on the recognized emotional state. This enables the user to accurately understand the contract documents and terms of use in a short amount of time and grasp the contract contents without feeling anxious or confused.

[1174] "User interface" refers to the screen and operating means that allow a user to interact with a system.

[1175] "Contract Documents" refers to documents that describe the contents of the contract, including those uploaded by the user to the system.

[1176] "Generative AI" refers to AI that analyzes the contents of contract documents and generates important information.

[1177] "Means of analysis" refers to a method of using generative artificial intelligence to analyze and parse the contents of contract documents and extract important information.

[1178] "Means for explanation" refers to a method for displaying the contents of the analyzed contract document in a form that is easy for the user to understand.

[1179] "Means of providing solutions" refers to the way in which generative artificial intelligence presents appropriate solutions to users' questions and problems.

[1180] "Means for analyzing facial expressions and voice" refers to a method for detecting a user's facial expressions and voice and analyzing their emotional state.

[1181] "Means for recognizing emotional states" refers to a method for identifying a user's emotions based on analyzed facial expressions and voice data.

[1182] "Means for providing additional explanations or advice" refers to a method for providing additional information or advice to a user based on the emotional state.

[1183] A system for specifically implementing this invention combines contract document analysis with user emotion recognition to help users understand contracts. The system uploads contract documents via a user interface, analyzes them using generative artificial intelligence, and generates easy-to-understand explanations. It also uses an emotion engine that analyzes the user's facial expressions and voice to provide advice and additional information based on the user's emotional state.

[1184] Hardware and software used

[1185] Smartphone: Used by users to upload contract documents and view analysis results and additional explanations.

[1186] Camera and microphone: Used to capture the user's facial expressions and voice and recognize their emotional state.

[1187] Server: Receives contract documents and analyzes them using generative AI. It also uses an emotion engine to recognize the user's emotional state and provide appropriate advice.

[1188] Generative AI (Transformers by Hugging Face): Analyzes the contents of contract documents and extracts important information.

[1189] Emotion engine: Software that analyzes the user's facial expressions and voice to recognize their emotional state (examples of libraries used: OpenCV, SpeechRecognition).

[1190] System operation explanation

[1191] The user uploads the contract document via the smartphone's user interface. For example, they select "Lease Agreement.pdf" and press the upload button. The device then sends the contract to the server. The server then loads this PDF into a generative AI system, which analyzes the document. The generative AI system then extracts key points such as the contract period, rent, and payment method, generates an explanatory text, and sends it to the device. The explanatory text might be displayed as, for example, "The contract period is one year, and the monthly rent is 100,000 yen. Payment is due by the end of each month via bank transfer."

[1192] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time to recognize their emotional state. If the user shows confusion or stress, the server will provide additional explanations or advice based on the emotion engine's analysis results, such as "Please also see the conditions for shortening the contract period."

[1193] If a user types "How do I cancel the contract in this case?", the device sends the question to the server. The server passes the question to a generative AI, analyzes the clauses regarding contract cancellation, and generates an answer. For example, it could generate an answer such as "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and provide it to the user's device.

[1194] As a concrete example, consider the case where a user uses this system to understand the "Terms of Use" when using an electronic payment service. When the user uploads "Terms of Use.pdf," the generative AI analyzes the content, extracts important points, and provides an explanatory text. If the user asks verbally, "What should I do in this case?" and the emotion engine detects the user's confusion, the system will provide additional explanation. For example, it will provide additional support such as, "Please also see here: What to do if the Terms of Use are violated."

[1195] Example prompt sentence:

[1196] The user uploads a "Terms of Use.pdf" file. The system analyzes each clause in the contract and provides easy-to-understand explanations of key points. When the user asks aloud, "What should I do in this case?", the emotion engine detects confusion and provides additional explanations.

[1197] How do I cancel my contract?

[1198] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[1199] Step 1:

[1200] The user uploads the contract document via the smartphone's user interface. The user selects "Lease Agreement.pdf" and presses the upload button. This action uploads the contract document.

[1201] Input: Contract documents (PDF format)

[1202] Output: Uploaded contract document

[1203] Step 2:

[1204] The terminal sends the uploaded contract document to the server, where it converts the contract document file into an appropriate format and transfers the data to the server.

[1205] Input: Uploaded contract documents

[1206] Output: Contract document sent to the server (after format conversion)

[1207] Step 3:

[1208] The server receives the contract documents and loads them into generative AI (Transformers by Hugging Face), which analyzes the contents of the contract and extracts key points.

[1209] Input: Contract document sent to the server

[1210] Output: Analysis results with important points extracted

[1211] Step 4:

[1212] The server generates an easy-to-understand explanation based on the analysis results, formats the analysis content in a form that can be explained to the user, and sends it to the device.

[1213] Input: Analysis results

[1214] Output:Description

[1215] Step 5:

[1216] The terminal displays the received explanation to the user via the user interface, and the user reads the explanation to understand the contract details.

[1217] Input:Description

[1218] Output: Description displayed to the user

[1219] Step 6:

[1220] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time, performing facial recognition processing and voice analysis to identify the user's emotional state.

[1221] Input: User's facial expression data and voice data

[1222] Output: Emotional state recognition result

[1223] Step 7:

[1224] If the server detects that the user is confused or stressed based on the results of the emotion engine's recognition, it will provide additional explanations and advice. Specifically, it will generate information such as "Please also see the following: Conditions for shortening the contract period" and send it to the device.

[1225] Input: Emotional state recognition results

[1226] Output: Additional explanation or advice

[1227] Step 8:

[1228] The user enters a question in text form, and the terminal sends the question to the server.

[1229] Input: User's question (text format)

[1230] Output: Question sent to server

[1231] Step 9:

[1232] The server passes the received question to a generative artificial intelligence, which analyzes the relevant section of the contract document and generates an answer.

[1233] Input: The question sent to the server

[1234] Output: The generated answer

[1235] Step 10:

[1236] The server generates an answer, which is sent to the terminal and displayed to the user, who can then confirm the answer and resolve their question.

[1237] Input: Generated Answer

[1238] Output: The answer displayed to the user

[1239] The specific processing unit 290 transmits the result of the specific processing to the headset type terminal 314. In the headset type terminal 314, the control unit 46A causes the speaker 240 and the display 343 to output the result of the specific processing. The microphone 238 acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

[1240] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[1241] In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the headset type terminal 314.

[1242] [Fourth embodiment]

[1243] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.

[1244] 7, a data processing system 410 includes a data processing device 12 and a robot 414. An example of the data processing device 12 is a server.

[1245] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[1246] The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a control target 443. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the control target 443 are also connected to the bus 52.

[1247] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

[1248] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

[1249] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.

[1250] The control object 443 includes a display device, LEDs in the eyes, and motors for driving the arms, hands, and feet. The posture and gestures of the robot 414 are controlled by controlling the motors of the arms, hands, and feet. Some of the emotions of the robot 414 can be expressed by controlling these motors. In addition, the facial expressions of the robot 414 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 414.

[1251] Fig. 8 shows an example of the main functions of the data processing device 12 and the robot 414. As shown in Fig. 8, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.

[1252] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

[1253] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[1254] In the robot 414, the processor 46 performs the reception output process. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[1255] Next, a description will be given of the specific processing performed by the specific processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1256] The system of the present invention allows users to easily understand lengthy contract terms and conditions and important information documents when signing a contract, and also provides quick solutions to any questions or problems they may have. This system is realized through the collaboration of the user's device, a server, and generative artificial intelligence (AI).

[1257] Program processing

[1258] 1. Upload the contract documents

[1259] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[1260] 2. Contract document analysis

[1261] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[1262] 3. Description of contents

[1263] Based on the analysis results, the generative AI generates an explanation in a format that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[1264] 4. Resolving questions and problems

[1265] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[1266] Specific examples

[1267] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[1268] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[1269] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[1270] In this way, the system of the present invention is a system that supports users in easily understanding contract documents and quickly resolving any questions they may have.

[1271] The processing flow will be explained below.

[1272] Step 1:

[1273] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file such as "Lease Agreement.pdf" and preparing it for transmission.

[1274] Step 2:

[1275] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[1276] Step 3:

[1277] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[1278] Step 4:

[1279] The server provides the contract document as input to the generative AI, which then begins to analyze the contents of the contract document.

[1280] Step 5:

[1281] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[1282] Step 6:

[1283] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[1284] Step 7:

[1285] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[1286] Step 8:

[1287] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[1288] Step 9:

[1289] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[1290] Step 10:

[1291] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[1292] Step 11:

[1293] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[1294] Step 12:

[1295] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[1296] Step 13:

[1297] The server generates a response and sends it to the device, again in JSON or XML format.

[1298] Step 14:

[1299] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[1300] Example 1

[1301] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1302] The problem that this invention aims to solve is to provide a means for users to easily understand long and complex contract documents and to quickly resolve questions and problems related to the contract documents. With conventional systems, it takes time to understand the contract documents and responses to questions and problems are often delayed. This allows users to understand the contents of the contract documents with confidence and quickly resolve problems.

[1303] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[1304] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for reading the uploaded electronic documents into an automatic analysis function to analyze their contents, and a means for describing the analyzed contents in an easy-to-understand format, thereby enabling the contents of the electronic documents to be quickly understood and providing appropriate solutions to users' questions and problems.

[1305] "User interface" refers to the means by which users interact with the system, including the screens and operating areas where they upload electronic documents and enter questions.

[1306] "Electronic documents" refer to contracts and other documents stored in digital form and equivalent to traditional paper documents.

[1307] "Automatic analysis function" refers to the function that uses generative artificial intelligence to analyze the contents of electronic documents using machine learning and natural language processing technology and extract important information.

[1308] "Upload" refers to the act of a user transferring an electronic document to a server via a terminal, which is the process of sending data to the system.

[1309] "Generative AI" refers to AI technology that performs detailed contextual analysis and information extraction to provide information in an easy-to-understand format.

[1310] "Analysis results" refers to information such as important points and points of note extracted from electronic documents by the automatic analysis function.

[1311] "Describing" refers to the act of generative artificial intelligence generating text in a format that is easy for users to understand based on the results of analysis.

[1312] A "question" refers to a question or uncertainty a user has about an electronic document, and is a text query entered into the system.

[1313] "Problems" refer to specific difficulties or challenges users face with electronic documents.

[1314] "Solutions" refer to appropriate answers or suggestions to users' questions or problems that are provided based on information analyzed by generative artificial intelligence.

[1315] "Server" refers to a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[1316] "Terminal" refers to a device used by a user, such as a computer or smartphone, that communicates with a server to upload electronic documents and display information.

[1317] The system of the present invention is a support system that enables users to easily understand long and complex contract documents when entering into a contract, and also quickly resolves questions and problems regarding the contract documents. This system is realized through the cooperation of the user's terminal, a server, and generative artificial intelligence (AI).

[1318] Hardware and software used

[1319] The hardware used includes devices such as computers and smartphones used by users, and a server that communicates with these devices. The server includes a central processing unit that receives electronic documents, requests analysis, stores the results, and delivers responses to users.

[1320] The software used includes automated analysis capabilities, including generative artificial intelligence (AI), and natural language processing technology. This AI utilizes deep learning models to analyze input digital documents and convert them into user-friendly content. The user interface allows users to easily upload digital documents and view analysis results and answers to their questions.

[1321] Explaining program processing in natural language

[1322] Uploading contract documents

[1323] The user uses their device to select the contract documents and upload them to the server via the device's file selection and submit buttons. During this process, the device sends the files to the server using an HTTP request.

[1324] Contract document analysis

[1325] The server receives the contract documents sent from the device and passes them to an automated analysis function, which uses generative AI to analyze the documents and extract important information such as the contract period, rent, and payment method.

[1326] Description

[1327] Based on the results of the analysis, the generative AI generates an explanation in a format that is easy for the user to understand. The server then sends the generated explanation to the device and displays it to the user through the user interface. For example, information is provided in a specific and easy-to-understand format, such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[1328] Resolving questions and problems

[1329] The user enters questions or problems about the contract in text format and sends the content from the device to the server. The server then passes the questions to a generative AI system, which generates an appropriate answer to the question. The generated answer is then sent to the device and displayed to the user. For example, a specific answer such as "In the event of contract termination, you must give one month's notice in accordance with Article 10 of the contract" is provided.

[1330] Examples and prompts

[1331] For example, when a user selects "Lease Agreement.pdf" on a device and presses the upload button, the device sends the contract to the server. The server receives this file and instructs the generative AI to analyze it, which then extracts important information and sends it to the device.

[1332] Prompt Sentence Examples

[1333] Please tell me how to cancel this contract.

[1334] I'd like to know more about how the security deposit is handled.

[1335] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions they may have.

[1336] The flow of the identification process in the first embodiment will be described with reference to FIG.

[1337] A detailed explanation of the program's processing flow, broken down into steps

[1338] Step 1: Select and upload contract documents

[1339] The user uses their device to click the file selection button, select an electronic document (e.g., lease agreement.pdf), and then presses the send button, causing the device to send the selected file to the server.

[1340] Input: User-selected electronic document

[1341] Output: The file is sent to the server

[1342] Specific operation: The terminal uses an HTTP request to send an electronic document to the server, and the server temporarily stores the received file.

[1343] Step 2: Receiving and storing contract documents

[1344] The server receives the contract documents sent from the terminal and stores them in a dedicated temporary storage area.

[1345] Input: Electronic document sent from the terminal

[1346] Output: Electronic document stored in the server's temporary storage area

[1347] Specific operation: When the server receives an HTTP request, it stores the electronic document in the server's storage.

[1348] Step 3: Requesting analysis from generative AI

[1349] The server passes the received electronic document to an automatic analysis function (generative artificial intelligence) and instructs it to analyze it.

[1350] Input: Temporarily saved electronic document

[1351] Output: Documents are passed to the automated analysis function

[1352] Specific operation: The server sends a document to the generative AI via an API and requests analysis.

[1353] Step 4: Contract analysis

[1354] The automated analysis function analyzes the contents of electronic documents and extracts important information such as contract period, rent, and payment method.

[1355] Input: Electronic document sent from the server

[1356] Output: Extracted information (contract period, rent, payment method, etc.)

[1357] How it works: Generative AI uses natural language processing techniques to analyze documents and identify key points and areas of concern.

[1358] Step 5: Generate descriptions

[1359] Based on the analysis results, generative artificial intelligence generates explanatory text in a form that is easy for users to understand.

[1360] Input: Key information from the parsed contract

[1361] Output: User-friendly instructions

[1362] Specific operation: Generative AI puts the analysis results into words and generates a specific explanation.

[1363] Step 6: Send and display your description

[1364] The server sends the generated explanation to the terminal, which displays it.

[1365] Input: Generated description

[1366] Output: Description displayed on the terminal

[1367] Specific operation: The server sends the description to the terminal via an HTTP response, and the terminal's user interface displays the description.

[1368] Step 7: Enter your question or problem

[1369] The user enters questions or problems about the contract in text format and sends the contents from the terminal to the server.

[1370] Input: The text of the user's question or problem

[1371] Output: The text of the question or problem sent to the server.

[1372] Specific behavior: The device sends the entered text to the server using an HTTP request.

[1373] Step 8: Analyze the question or problem and generate an answer

[1374] The server passes the received questions and problems to the automatic analysis function, requesting analysis and generation of an answer.

[1375] Input: The text of the question or problem sent to the server

[1376] Output: The generated answer

[1377] What it does: The automated analysis function analyzes the text of the question or problem and generates an answer based on the clause information of the relevant contract.

[1378] Step 9: Submit and view your responses

[1379] The server transmits the generated response text to the terminal and displays it to the user through the user interface.

[1380] Input: Generated answer text

[1381] Output: Answer displayed on the terminal

[1382] Specific operation: The server sends the answer to the terminal using an HTTP response, and the terminal displays the answer through its user interface.

[1383] In this way, the system of the present invention is designed to allow users to easily understand contract documents and quickly resolve any questions through multiple processing steps.

[1384] (Application example 1)

[1385] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1386] Being able to easily understand contract documents and quickly resolve questions and problems is important, especially in brick-and-mortar stores. However, current systems have problems in that the content of contracts is complex, so many users take time to understand the content and require additional resources to resolve questions. To solve these problems, the present invention provides a system that supports understanding of contract documents through a user interface and quickly resolves questions in brick-and-mortar stores.

[1387] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[1388] In this invention, the server includes a means for uploading contract documents via a user interface, a means for reading the uploaded contract documents into a generative artificial intelligence and analyzing the contents, and a means for explaining the analyzed contents in an easy-to-understand manner, thereby enabling users in physical stores to easily understand the contract contents and quickly resolve any questions they may have.

[1389] A "user interface" is the visual and operational interface through which a user interacts with a system.

[1390] A "contract" is a document that sets out the details of an agreement regarding legal or commercial transactions.

[1391] "Upload" is the act of sending files or data from a local terminal to a server.

[1392] "Generative AI" refers to AI that has the ability to analyze input data and generate new information or answers based on that data.

[1393] "Content analysis" refers to the act of examining the contents of contract documents or data in detail and extracting meaning and important points.

[1394] "Explaining" is the act of conveying analyzed information in a way that is easy for the user to understand.

[1395] A "physical store" is a place of sale or service that exists in a physical location.

[1396] "Questions and problems" refer to points of uncertainty that users have about the contents of contract documents or business transactions, or matters that require resolution.

[1397] "Providing a solution" means presenting a specific answer or method to a user's question or problem.

[1398] A "system" is a collection of multiple components and means that work together to achieve a set of functions.

[1399] "Converting to a format" is the act of adapting given data or documents to a specified format.

[1400] "Important points and points to note" refer to the parts of contract documents and data that are particularly important and require attention.

[1401] The system for implementing this invention is mainly composed of a server, a user terminal, and a generative artificial intelligence (AI). A specific embodiment of this system will be described below.

[1402] System configuration and functions

[1403] 1. User Interface

[1404] The server provides a user interface for users to upload contract documents, which is displayed on the user's terminal and includes a file selection function and a question input field.

[1405] 2. Upload the contract documents

[1406] The user selects the contract document and presses the upload button to send the file from the device to the server. For example, this could be an image of the contract taken with a smartphone or a PDF file.

[1407] 3. Contract document analysis

[1408] The server sends the uploaded contract documents to a generative AI system, which analyzes their contents. The generative AI system reads the contract documents, analyzes their contents, and extracts important points and important points to note. The results of this analysis are presented in a format that is easy for users to understand.

[1409] 4. Presentation of analysis results

[1410] The server sends the analysis results obtained from the generative AI to the user's device. The user interface displays the contract details in an easy-to-understand format. For example, it might say, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[1411] 5. Resolving questions and problems

[1412] The user enters any questions or concerns they have about the contract documents into a text input field and sends it to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the user's device via the server and displayed on the screen. For example, in response to the question, "How do I cancel the contract in this case?", the answer provided might be, "In the case of cancellation, you must give one month's notice in accordance with Article 10 of the contract."

[1413] Hardware and software used

[1414] Hardware: User devices (smartphones, tablets, PCs), servers

[1415] Software: Flask (server-side framework), OpenAI API (generative artificial intelligence), user interface

[1416] Specific examples

[1417] For example, if a user purchases a new appliance at a store and has questions about the warranty, they can take a photo of the contract with their smartphone and upload it to the application. The following is an example of a prompt sent to the generative AI model:

[1418] Parsing prompt after agreement upload:

[1419] Please explain the key points from the following contract:

[1420] Contract details: The purchaser is covered by a one-year product warranty from the date of purchase. The manufacturer, not the purchaser, determines whether repairs are possible.

[1421] Prompts the user when they enter a question:

[1422] Q: What about repairs after the warranty period has expired?

[1423] A: After the warranty period has expired, repairs will be carried out at the expense of the purchaser. Details will follow the repair regulations of each manufacturer.

[1424] This allows users to accurately understand the contract details even when they are in a physical store and quickly resolve any questions they may have.

[1425] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[1426] Step 1:

[1427] The user selects the contract document using the terminal and presses the upload button. This sends the contract document from the terminal to the server. The input is the contract document file, and the output is the file uploaded to the server.

[1428] Step 2:

[1429] The server receives the uploaded contract documents and loads them into the generative AI. The input is the received contract documents, and the output is the data loaded into the generative AI. The server then starts the process of having the AI ​​analyze the contents of the contract documents.

[1430] Step 3:

[1431] Generative AI analyzes the contents of contract documents and extracts important points and points to note. The input is the contents of the contract document, and the output is the analyzed summary information. In this process, the AI ​​breaks down each clause of the contract and generates information in a form that is easy for the user to understand.

[1432] Step 4:

[1433] The server sends the analysis results obtained from the generative AI to the user's device. The input is the analysis results, and the output is the display on the user's device. Here, the user can check the explanation of the contract details on the screen.

[1434] Step 5:

[1435] The user enters any questions or problems they have about the contract documents into the text input field and sends it to the server. The input is the user's questions or problems, and the output is the transmission of the questions to the server.

[1436] Step 6:

[1437] The server passes the user's question to the generative AI, which analyzes it and generates an answer. The input is the user's question, and the output is the answer from the generative AI. The server then has the generative AI re-analyze the relevant part of the contract.

[1438] Step 7:

[1439] The server sends the generated answer to the user's terminal and displays it on the screen. The input is the generated answer, and the output is the sending of the answer to the user's terminal. This allows the user to resolve any questions about the contract.

[1440] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.

[1441] The system of the present invention allows users to easily understand lengthy contract terms and important information documents when entering into a contract, and also provides quick solutions to any questions or problems they may have. Furthermore, by combining this system with an emotion engine that recognizes the user's emotions, the system also has the ability to provide advice and support based on the user's emotional state.

[1442] Program processing

[1443] 1. Upload the contract documents

[1444] The user uses their device to select and upload the contract documents to the server via file selection and a send button.

[1445] 2. Contract document analysis

[1446] The server loads the received contract documents into a generative AI system, which analyzes their contents. During this analysis, each clause in the contract document is broken down and important points and points to note are extracted.

[1447] 3. Description of contents

[1448] Based on the analysis results, the generative AI generates an explanation in a form that is easy for the user to understand. The server sends this to the device and displays it to the user through the user interface.

[1449] 4. Emotion Recognition by Emotion Engine

[1450] The user interface is equipped with an emotion engine that recognizes the user's emotional state from their facial expressions and voice, and this information is constantly monitored while the user is reading the contract documents.

[1451] 5. Emotional advice and support

[1452] If the emotion engine detects that the user is stressed or confused, the system will provide additional explanations and supplemental information based on the user's emotional state, and will also modify the interface and guide the user accordingly.

[1453] 6. Resolving questions and problems

[1454] The user enters any questions or concerns about contract documents in text format into the input field on the device. The content is sent from the device to the server. The server passes the question to a generative AI, which analyzes it and generates an answer. The generated answer is then sent back to the device via the server and displayed to the user.

[1455] Specific examples

[1456] For example, consider the case where a user wants to upload a "lease agreement." When the user selects "lease agreement.pdf" on the terminal and presses the upload button, the terminal sends the agreement to the server.

[1457] The server receives this PDF and instructs the generative AI to analyze it. The generative AI reads the document and extracts important points such as the contract period, rent, and payment method. For example, it generates a description such as, "The contract period is one year, and the monthly rent is 100,000 yen. Payment should be made by bank transfer by the end of each month."

[1458] During this time, the emotion engine analyzes the user's facial expressions and voice, and if the user appears confused, the system provides additional explanations such as, "Please also see: Conditions for shortening the contract period."

[1459] Next, if the user types "How do I cancel the contract in this case?", the device will send the question to the server. The server will then pass the question to a generative AI, which will analyze the clauses regarding contract cancellation and generate an answer. The answer generated will be something like "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and will be displayed on the user's device.

[1460] In this way, the system of the present invention allows the user to easily understand contract documents and quickly resolve problems, while at the same time providing appropriate support based on the user's emotional state using the emotion engine.

[1461] The processing flow will be explained below.

[1462] Step 1:

[1463] The user selects the contract document on their device and clicks the upload button. This is the operation of selecting a file, such as "Lease Agreement.pdf," and preparing it for transmission.

[1464] Step 2:

[1465] The terminal sends the contract document selected by the user to the server via an HTTP request, and the contract document is uploaded to the server.

[1466] Step 3:

[1467] The server checks the received contract document and converts it to the appropriate format if necessary, for example by OCRing PDF to text.

[1468] Step 4:

[1469] The server loads the contract documents into a generative AI for analysis. The generative AI begins analyzing the contents of the contract documents.

[1470] Step 5:

[1471] Generative AI analyzes the contents of contract documents and extracts important points and points to note, such as the contract period, rent, and payment method.

[1472] Step 6:

[1473] Based on the extracted points, generative AI generates an easy-to-understand explanation for the user, such as "The contract period is one year, and the monthly rent is 100,000 yen."

[1474] Step 7:

[1475] The server sends the generated description to the device. The server sends the description to the device in JSON or XML format.

[1476] Step 8:

[1477] Prepare a user interface to display the description received by the device on the screen. Format the description so that it is easy to understand.

[1478] Step 9:

[1479] The device uses a built-in emotion engine to analyze the user's facial expressions and voice and recognize emotions in real time, detecting stress or confusion.

[1480] Step 10:

[1481] The emotion engine recognizes the user's emotional state and provides appropriate advice and support. For example, if the user is confused, the system displays additional information such as "Please also read the following: Conditions for shortening the contract period."

[1482] Step 11:

[1483] The user enters any questions or concerns about the contract document in text format into the input field. For example, they enter a question such as "How do I cancel the contract?"

[1484] Step 12:

[1485] The device sends the user's input to the server, again using an HTTP request to transfer the question to the server.

[1486] Step 13:

[1487] The server passes the received questions to a generative AI system, which formats them for appropriate processing, such as preprocessing the questions to match them with the relevant sections of the contract.

[1488] Step 14:

[1489] Generative AI analyzes the question and generates a solution or answer based on the corresponding clause in the contract. For example, it generates an answer such as, "In the event of contract termination, notice of termination must be given one month in advance."

[1490] Step 15:

[1491] The server generates a response and sends it to the device, again in JSON or XML format.

[1492] Step 16:

[1493] The terminal displays the received answer on the screen, and allows the user to check the answer via the user interface.

[1494] In this way, users can better understand the content of contract documents and receive additional information and support through real-time emotion recognition.

[1495] Example 2

[1496] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1497] Long documents such as contracts and important information explanation documents are difficult for the average user to understand, and it takes a lot of time and effort to understand their contents. Users often have questions or problems regarding the contract contents, and a means to quickly resolve these issues is needed. Furthermore, since support tailored to the user's emotional state is not provided while reading the contract documents, users may feel anxious or stressed. It is necessary to solve these problems.

[1498] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[1499] In this invention, the server includes a means for uploading electronic documents via a user interface, a means for loading the uploaded electronic documents into a generative artificial intelligence (AI) and analyzing their contents, a means for explaining the analyzed contents in an easy-to-understand manner, a means for the AI ​​to provide solutions to the user's questions and problems, and a means for recognizing the user's emotions and providing advice and support based on those emotions. This allows the user to easily understand the contract documents and quickly resolve their questions and problems. Furthermore, providing appropriate support according to the user's emotional state can reduce the user's anxiety and stress.

[1500] "User interface" refers to the screen and input means that allow a user to access a system and perform operations or give instructions.

[1501] "Electronic documents" refer to documents stored in digital format, including PDF, Word, and text files.

[1502] "Generative AI" refers to an AI system that uses natural language processing technology to analyze given data and generate appropriate information and answers.

[1503] "Means of analysis" refers to the processes and algorithms used to analyze the content of electronic documents and extract important information and key points.

[1504] "Means for explaining in an easy-to-understand manner" refers to methods and techniques for presenting analyzed information in a format that is easy for users to understand.

[1505] "Means of providing solutions" refers to the process by which generative artificial intelligence provides appropriate answers or solutions to questions or doubts posed by users.

[1506] "Means of recognizing emotions and providing advice and support based on those emotions" refers to technology that analyzes the user's emotional state from facial expressions, voice, etc., and provides appropriate support and advice based on the results.

[1507] The system of this invention allows users to easily understand contract documents and important information explanations, and quickly resolve any questions or problems they may have. It also has the ability to recognize the user's emotions and provide appropriate support according to their emotional state.

[1508] The system works as follows:

[1509] 1. Upload the contract documents

[1510] - The user selects an electronic document using his / her terminal and presses the upload button. The upload is performed via the terminal's file browser and the selected electronic document is sent to the server.

[1511] 2. Receiving and analyzing contract documents

[1512] - The server loads the uploaded electronic document into a generative AI model. The generative AI used here is a model with advanced natural language processing technology, such as GPT-4. The server loads the electronic document and sends the necessary prompts to the generative AI model. A prompt such as "Please extract the important clauses of this contract" is used.

[1513] 3. Generating and displaying explanatory text

[1514] - The generative AI model analyzes the contents of the electronic document and extracts important points and clauses. The server then generates an easy-to-understand explanation based on the analysis results and displays it to the user through the user interface. For example, the explanation is output in a specific format such as, "The contract period is one year, and the monthly rent is 100,000 yen."

[1515] 4. Emotion Recognition by Emotion Engine

[1516] - The user interface is equipped with an emotion engine (e.g., Microsoft Azure Emotion API) that recognizes the user's emotional state from their facial expressions and voice. This information is constantly monitored while the user is reading the contract document and sent to the server.

[1517] 5. Providing emotionally-based advice and support

[1518] - The server receives information from the emotion engine and provides appropriate advice and support according to the user's emotions. For example, if the user shows a confused expression, additional explanations or supplementary information will be provided. Information will be added in the form of "Please also see: Conditions for shortening the contract period."

[1519] 6. Resolving questions and problems

[1520] - The user enters any questions or concerns about the contract documents in text format into the input field on the device and presses the "Send" button. The entered information is sent from the device to the server. The server passes the information to a generative AI model, which generates an answer based on the contents of the contract. For example, in response to the question, "How do I terminate the contract in this case?", the answer returned is, "In the case of termination, you must give one month's notice in accordance with Article 10 of the contract."

[1521] Prompt Sentence Examples

[1522] 1. Example of prompt when analyzing a contract

[1523] Please briefly explain the contents of the following lease agreement. Please extract the important clauses and key points. "Lease Agreement.pdf"

[1524] 2. Example prompts for providing emotion-based advice

[1525] "The user is confused while reading the lease agreement. Please provide more details regarding the terms of the agreement."

[1526] 3. Example of prompts when generating answers to user questions

[1527] Please generate an answer to the following question based on the contents of the contract: 'How do I terminate the contract in this case?' You must follow Article 10 of the contract.

[1528] In this way, the system of the present invention allows users to easily understand contract documents and quickly resolve any questions or problems they may have, and also utilizes an emotion engine to provide support that is tailored to the user's emotional state.

[1529] The flow of the identification process in the second embodiment will be described with reference to FIG.

[1530] Step 1:

[1531] User uploads contract documents

[1532] Input: The user uses the terminal to select "Lease Agreement.pdf" and presses the upload button.

[1533] Action: The device's file browser is launched and the selected file is sent to the server.

[1534] Output: The uploaded contract documents are saved on the server.

[1535] Step 2:

[1536] The server receives the contract document and begins parsing it.

[1537] Input: Contract document sent from the device (e.g. PDF format)

[1538] How it works: The server stores the received contract document and calls the generative AI model. The server then sends a prompt to the generative AI model, such as "Please extract the important clauses of this contract."

[1539] Output: An instruction to start parsing the contract document and a prompt are passed to the generative AI model.

[1540] Step 3:

[1541] The server sends the analysis results of the contract document to the generative AI model.

[1542] Input: Contract documents and analysis instruction prompts

[1543] How it works: A generative AI model (e.g., GPT-4) reads the contents of a contract and extracts key points and clauses. The server receives the generated analysis results.

[1544] Output: The analysis results from the generative AI model are sent back to the server.

[1545] Step 4:

[1546] The generative AI model generates explanatory text based on the analysis results.

[1547] Input: Analysis results returned from the generative AI model to the server

[1548] How it works: Based on the analysis results, the server sends a prompt to the generative AI model saying, "Please convert the analysis results into an easy-to-understand explanation." The generative AI model then generates an easy-to-understand explanation and returns it to the server.

[1549] Output: A friendly description is generated to display to the user.

[1550] Step 5:

[1551] The emotion engine recognizes and analyzes the user's emotions

[1552] Input: User facial and voice data

[1553] How it works: The emotion engine built into the user interface monitors the user's facial expressions and voice in real time, analyzes their emotional state, and sends the emotional data to the server.

[1554] Output: The user's emotional state data is passed to the server.

[1555] Step 6:

[1556] The server provides emotionally informed advice and support

[1557] Input: User emotion data sent from the emotion engine

[1558] How it works: The server analyzes the emotion data and sends a prompt to the generative AI model saying, "The user is confused, please provide additional information." The generative AI model generates additional explanations and supporting information and sends it back to the server.

[1559] Output: Additional explanatory or supporting information is generated and displayed in the user interface.

[1560] Step 7:

[1561] Users enter their questions or concerns and send them to the server.

[1562] Input: The user enters their question or problem in text format into the device's input field.

[1563] What happens: The user presses the "Send" button, and the entered text is sent from the device to the server.

[1564] Output: Questions and problems entered in the text form are sent to the server.

[1565] Step 8:

[1566] The server passes the question or problem to the generative AI model, which generates an answer.

[1567] Input: Text data of questions or problems sent by users

[1568] How it works: The server sends the received question or problem to the generative AI model, and sends a prompt saying, "Please generate an answer based on the contents of the contract." The generative AI model analyzes the contents of the relevant contract and generates an appropriate answer.

[1569] Output: Answer data from the generative AI model is returned to the server.

[1570] Step 9:

[1571] The server generates a response and sends it to the user's device.

[1572] Input: Answer data returned from the generative AI model to the server

[1573] Operation: The server sends the answer data to the user's device and displays it in the user interface.

[1574] Output: The answer is output and displayed on the user's terminal.

[1575] This allows users to easily understand contract documents and quickly resolve any questions or problems they may have. It also provides appropriate support according to the user's emotional state, reducing anxiety and stress.

[1576] (Application example 2)

[1577] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1578] When users try to understand contract documents or terms of use, it is extremely difficult for them to accurately grasp the vast amount of information in a short amount of time. Furthermore, the extensive use of legal and technical terms increases the risk of users misunderstanding the content. Furthermore, conventional methods do not provide support tailored to the user's emotional state, often leaving users feeling anxious or confused. A system that can quickly and accurately resolve these issues is needed.

[1579] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.

[1580] In this invention, the server includes means for uploading contract documents via a user interface, means for loading the uploaded contract documents into a generative artificial intelligence and analyzing their contents, means for explaining the analyzed contents in an easy-to-understand manner, means for the generative artificial intelligence to provide solutions to the user's questions and problems, means for analyzing the user's facial expressions and voice to recognize their emotional state, and means for providing additional explanations and advice based on the recognized emotional state. This enables the user to accurately understand the contract documents and terms of use in a short amount of time and grasp the contract contents without feeling anxious or confused.

[1581] "User interface" refers to the screen and operating means that allow a user to interact with a system.

[1582] "Contract Documents" refers to documents that describe the contents of the contract, including those uploaded by the user to the system.

[1583] "Generative AI" refers to AI that analyzes the contents of contract documents and generates important information.

[1584] "Means of analysis" refers to a method of using generative artificial intelligence to analyze and parse the contents of contract documents and extract important information.

[1585] "Means for explanation" refers to a method for displaying the contents of the analyzed contract document in a form that is easy for the user to understand.

[1586] "Means of providing solutions" refers to the way in which generative artificial intelligence presents appropriate solutions to users' questions and problems.

[1587] "Means for analyzing facial expressions and voice" refers to a method for detecting a user's facial expressions and voice and analyzing their emotional state.

[1588] "Means for recognizing emotional states" refers to a method for identifying a user's emotions based on analyzed facial expressions and voice data.

[1589] "Means for providing additional explanations or advice" refers to a method for providing additional information or advice to a user based on the emotional state.

[1590] A system for specifically implementing this invention combines contract document analysis with user emotion recognition to help users understand contracts. The system uploads contract documents via a user interface, analyzes them using generative artificial intelligence, and generates easy-to-understand explanations. It also uses an emotion engine that analyzes the user's facial expressions and voice to provide advice and additional information based on the user's emotional state.

[1591] Hardware and software used

[1592] Smartphone: Used by users to upload contract documents and view analysis results and additional explanations.

[1593] Camera and microphone: Used to capture the user's facial expressions and voice and recognize their emotional state.

[1594] Server: Receives contract documents and analyzes them using generative AI. It also uses an emotion engine to recognize the user's emotional state and provide appropriate advice.

[1595] Generative AI (Transformers by Hugging Face): Analyzes the contents of contract documents and extracts important information.

[1596] Emotion engine: Software that analyzes the user's facial expressions and voice to recognize their emotional state (examples of libraries used: OpenCV, SpeechRecognition).

[1597] System operation explanation

[1598] The user uploads the contract document via the smartphone's user interface. For example, they select "Lease Agreement.pdf" and press the upload button. The device then sends the contract to the server. The server then loads this PDF into a generative AI system, which analyzes the document. The generative AI system then extracts key points such as the contract period, rent, and payment method, generates an explanatory text, and sends it to the device. The explanatory text might be displayed as, for example, "The contract period is one year, and the monthly rent is 100,000 yen. Payment is due by the end of each month via bank transfer."

[1599] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time to recognize their emotional state. If the user shows confusion or stress, the server will provide additional explanations or advice based on the emotion engine's analysis results, such as "Please also see the conditions for shortening the contract period."

[1600] If a user types "How do I cancel the contract in this case?", the device sends the question to the server. The server passes the question to a generative AI, analyzes the clauses regarding contract cancellation, and generates an answer. For example, it could generate an answer such as "In the event of contract cancellation, you must give one month's notice in accordance with Article 10 of the contract," and provide it to the user's device.

[1601] As a concrete example, consider the case where a user uses this system to understand the "Terms of Use" when using an electronic payment service. When the user uploads "Terms of Use.pdf," the generative AI analyzes the content, extracts important points, and provides an explanatory text. If the user asks verbally, "What should I do in this case?" and the emotion engine detects the user's confusion, the system will provide additional explanation. For example, it will provide additional support such as, "Please also see here: What to do if the Terms of Use are violated."

[1602] Example prompt sentence:

[1603] The user uploads a "Terms of Use.pdf" file. The system analyzes each clause in the contract and provides easy-to-understand explanations of key points. When the user asks aloud, "What should I do in this case?", the emotion engine detects confusion and provides additional explanations.

[1604] How do I cancel my contract?

[1605] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[1606] Step 1:

[1607] The user uploads the contract document via the smartphone's user interface. The user selects "Lease Agreement.pdf" and presses the upload button. This action uploads the contract document.

[1608] Input: Contract documents (PDF format)

[1609] Output: Uploaded contract document

[1610] Step 2:

[1611] The terminal sends the uploaded contract document to the server, where it converts the contract document file into an appropriate format and transfers the data to the server.

[1612] Input: Uploaded contract documents

[1613] Output: Contract document sent to the server (after format conversion)

[1614] Step 3:

[1615] The server receives the contract documents and loads them into generative AI (Transformers by Hugging Face), which analyzes the contents of the contract and extracts key points.

[1616] Input: Contract document sent to the server

[1617] Output: Analysis results with important points extracted

[1618] Step 4:

[1619] The server generates an easy-to-understand explanation based on the analysis results, formats the analysis content in a form that can be explained to the user, and sends it to the device.

[1620] Input: Analysis results

[1621] Output:Description

[1622] Step 5:

[1623] The terminal displays the received explanation to the user via the user interface, and the user reads the explanation to understand the contract details.

[1624] Input:Description

[1625] Output: Description displayed to the user

[1626] Step 6:

[1627] Using the device's camera and microphone, the emotion engine analyzes the user's facial expressions and voice in real time, performing facial recognition processing and voice analysis to identify the user's emotional state.

[1628] Input: User's facial expression data and voice data

[1629] Output: Emotional state recognition result

[1630] Step 7:

[1631] If the server detects that the user is confused or stressed based on the results of the emotion engine's recognition, it will provide additional explanations and advice. Specifically, it will generate information such as "Please also see the following: Conditions for shortening the contract period" and send it to the device.

[1632] Input: Emotional state recognition results

[1633] Output: Additional explanation or advice

[1634] Step 8:

[1635] The user enters a question in text form, and the terminal sends the question to the server.

[1636] Input: User's question (text format)

[1637] Output: Question sent to server

[1638] Step 9:

[1639] The server passes the received question to a generative artificial intelligence, which analyzes the relevant section of the contract document and generates an answer.

[1640] Input: The question sent to the server

[1641] Output: The generated answer

[1642] Step 10:

[1643] The server generates an answer, which is sent to the terminal and displayed to the user, who can then confirm the answer and resolve their question.

[1644] Input: Generated Answer

[1645] Output: The answer displayed to the user

[1646] The specific processing unit 290 transmits the result of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the control target 443 to output the result of the specific processing. The microphone 238 acquires voice indicating a user input regarding the result of the specific processing. The control unit 46A transmits voice data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the voice data.

[1647] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[1648] In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the robot 414.

[1649] The emotion identification model 59 as an emotion engine may determine the user's emotion according to a specific mapping. Specifically, the emotion identification model 59 may determine the user's emotion according to an emotion map (see FIG. 9), which is a specific mapping. Similarly, the emotion identification model 59 may determine the robot's emotion, and the identification processing unit 290 may perform identification processing using the robot's emotion.

[1650] FIG. 9 is a diagram illustrating an emotion map 400 on which multiple emotions are mapped. In the emotion map 400, emotions are arranged in concentric circles radiating from the center. Emotions closer to the center of the concentric circles are more primitive. Emotions representing states and actions arising from a state of mind are arranged on the outer edges of the concentric circles. The concept of emotion includes both affect and mental states. Emotions generally generated from reactions occurring in the brain are arranged on the left side of the concentric circles. Emotions generally induced by situational judgment are arranged on the right side of the concentric circles. Emotions generally generated from reactions occurring in the brain and induced by situational judgment are arranged on the upper and lower sides of the concentric circles. Furthermore, the emotion of "pleasure" is arranged on the upper side of the concentric circles, and the emotion of "discomfort" is arranged on the lower side. In this way, in the emotion map 400, multiple emotions are mapped based on the structure by which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.

[1651] These emotions are distributed in the 3 o'clock direction on emotion map 400, and typically fluctuate between relief and anxiety. In the right half of emotion map 400, situational awareness dominates over internal sensations, resulting in a sense of calm.

[1652] The inside of emotion map 400 represents what is going on in the mind, and the outside of emotion map 400 represents behavior, so the further you go outside emotion map 400, the more visible the emotions become (the more they are expressed in behavior).

[1653] Human emotions are based on various balances, such as posture and blood sugar levels. When these balances deviate from the ideal, a state of discomfort is indicated, and when they approach the ideal, a state of pleasure is indicated. Emotions can also be created for robots, automobiles, and motorcycles, based on various balances, such as posture and remaining battery life. When these balances deviate from the ideal, a state of discomfort is indicated, and when they approach the ideal, a state of pleasure is indicated. An emotion map can be generated, for example, based on Dr. Mitsuyoshi's emotion map (Research on Voice Emotion Recognition and Emotional Brain Physiological Signal Analysis Systems, Tokushima University, Doctoral Dissertation: https: / / ci.nii.ac.jp / naid / 500000375379). The left half of the emotion map lists emotions belonging to the "reaction" domain, where sensation is dominant. The right half of the emotion map lists emotions belonging to the "situation" domain, where situational awareness is dominant.

[1654] The emotion map defines two emotions that promote learning. One is a negative emotion on the situation side, around the middle of "repentance" or "reflection." In other words, this occurs when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is a positive emotion on the response side, around "desire." In other words, this occurs when the robot experiences positive feelings such as "I want more" or "I want to know more."

[1655] The emotion identification model 59 inputs user input into a pre-trained neural network, obtains emotion values ​​indicating each emotion shown in the emotion map 400, and determines the user's emotion. This neural network is pre-trained based on multiple pieces of training data that are combinations of user input and emotion values ​​indicating each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in FIG. 10. FIG. 10 shows an example in which multiple emotions, "relieved," "calm," and "reassuring," have similar emotion values.

[1656] The system according to the present disclosure has been described above mainly with respect to the functions of the data processing device 12, but the system according to the present disclosure is not necessarily implemented on a server. The system according to the present disclosure may be implemented as a general information processing system. The present disclosure may be implemented, for example, as a software program running on a personal computer or an application running on a smartphone, etc. The method according to the present disclosure may be provided to users in the form of SaaS (Software as a Service).

[1657] In the above embodiment, an example was given in which the specific processing is performed by one computer 22, but the technology of the present disclosure is not limited to this, and the specific processing may be distributed and performed by a plurality of computers including the computer 22. For example, the data generation model 58 may be provided in an external device of the data processing device 12, and data may be generated in the external device in accordance with input data.

[1658] In the above embodiment, an example in which the specific processing program 56 is stored in the storage 32 has been described, but the technology of the present disclosure is not limited to this. For example, the specific processing program 56 may be stored in a portable, computer-readable, non-transitory storage medium such as a USB (Universal Serial Bus) memory. The specific processing program 56 stored in the non-transitory storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes the specific processing in accordance with the specific processing program 56.

[1659] Alternatively, the specific processing program 56 may be stored in a storage device such as a server connected to the data processing device 12 via the network 54, and the specific processing program 56 may be downloaded and installed on the computer 22 in response to a request from the data processing device 12.

[1660] It is not necessary to store all of the specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store all of the specific processing program 56 in the storage 32; only a portion of the specific processing program 56 may be stored.

[1661] The hardware resource for executing a specific process can be any of the following processors: An example of a processor is a CPU, which is a general-purpose processor that functions as a hardware resource for executing a specific process by executing software, i.e., a program. Another example of a processor is a dedicated electrical circuit, such as an FPGA (Field-Programmable Gate Array), a PLD (Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit), which is a processor with a circuit configuration designed specifically for executing a specific process. Each processor has built-in or connected memory, and each processor uses the memory to execute the specific process.

[1662] The hardware resource that executes the specific processing may be configured with one of these various processors, or may be configured with a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Also, the hardware resource that executes the specific processing may be a single processor.

[1663] As an example of a system configured with a single processor, first, one processor is configured by combining one or more CPUs and software, and this processor functions as a hardware resource that executes a specific process. Second, there is a system that uses a processor that realizes the functions of an entire system including multiple hardware resources that execute a specific process on a single IC chip, as typified by SoC (System-on-a-chip). In this way, a specific process is realized using one or more of the above-mentioned various processors as hardware resources.

[1664] Furthermore, the hardware structure of these various processors can be, more specifically, an electric circuit that combines circuit elements such as semiconductor devices. The specific processing described above is merely an example. Therefore, it goes without saying that unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the invention.

[1665] The above-described description and illustrations are a detailed explanation of the parts related to the technology of the present disclosure and are merely an example of the technology of the present disclosure. For example, the above description of the configuration, functions, actions, and effects is an explanation of an example of the configuration, functions, actions, and effects of the parts related to the technology of the present disclosure. Therefore, it goes without saying that unnecessary parts may be deleted, new elements may be added, or replacements may be made to the above-described description and illustrations within the scope of the gist of the technology of the present disclosure. Furthermore, to avoid confusion and facilitate understanding of the parts related to the technology of the present disclosure, the above-described description and illustrations omit explanations of common technical knowledge that do not require particular explanation to enable the implementation of the technology of the present disclosure.

[1666] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.

[1667] The following is further disclosed regarding the above embodiment.

[1668] (Claim 1)

[1669] means for uploading contract documents via a user interface;

[1670] A means for reading the uploaded contract documents into a generative artificial intelligence and analyzing their contents;

[1671] A means of explaining the analyzed content in an easy-to-understand manner, and

[1672] A means for generative AI to provide solutions to users' questions and problems,

[1673] A system including:

[1674] (Claim 2)

[1675] 10. The system of claim 1, further comprising means for converting the uploaded contract documents into an appropriate format.

[1676] (Claim 3)

[1677] The system of claim 1, further comprising means for the generative artificial intelligence to extract important points and points to note from the contract documents.

[1678] "Example 1"

[1679] (Claim 1)

[1680] means for uploading electronic documents via a user interface;

[1681] A means for reading the uploaded electronic document into an automatic analysis function and analyzing the content thereof;

[1682] A means of describing the analyzed content in an easy-to-understand format;

[1683] Automated analysis provides solutions to user questions and problems,

[1684] means for visually displaying to a user a description generated based on the analysis result of the electronic document;

[1685] means for generating and displaying a response based on a question entered by a user;

[1686] A system including:

[1687] (Claim 2)

[1688] 10. The system of claim 1, further comprising: means for converting the uploaded electronic document into an appropriate format.

[1689] (Claim 3)

[1690] 10. The system of claim 1, wherein the automated analysis function further comprises means for extracting key points or points of interest from the electronic document.

[1691] "Application Example 1"

[1692] (Claim 1)

[1693] means for uploading contract documents via a user interface;

[1694] A means for reading the uploaded contract documents into a generative artificial intelligence and analyzing their contents;

[1695] A means of explaining the analyzed content in an easy-to-understand manner, and

[1696] A means for generative AI to provide solutions to users' questions and problems,

[1697] A means for users to easily understand the contract details and resolve any questions at physical stores,

[1698] A system including:

[1699] (Claim 2)

[1700] 10. The system of claim 1, further comprising means for converting the uploaded contract documents into an appropriate format.

[1701] (Claim 3)

[1702] The system of claim 1, further comprising means for the generative artificial intelligence to extract important points and points to note from the contract documents.

[1703] "Example 2: Combining Emotion Engines"

[1704] (Claim 1)

[1705] means for uploading electronic documents via a user interface;

[1706] A means for reading the uploaded electronic document into a generative artificial intelligence and analyzing the content;

[1707] A means of explaining the analyzed content in an easy-to-understand manner, and

[1708] A means for generative AI to provide solutions to users' questions and problems,

[1709] A means for recognizing a user's emotions and providing advice or support based on those emotions;

[1710] A system including:

[1711] (Claim 2)

[1712] 10. The system of claim 1, further comprising: means for converting the uploaded electronic document into an appropriate format.

[1713] (Claim 3)

[1714] 10. The system of claim 1, further comprising means for the generative artificial intelligence to extract key points and points of interest from the electronic document.

[1715] "Application example 2 when combining emotion engines"

[1716] (Claim 1)

[1717] means for uploading contract documents via a user interface;

[1718] A means for reading the uploaded contract documents into a generative artificial intelligence and analyzing their contents;

[1719] A means of explaining the analyzed content in an easy-to-understand manner, and

[1720] A means for generative AI to provide solutions to users' questions and problems,

[1721] A means for recognizing an emotional state of a user by analyzing the user's facial expressions and voice;

[1722] a means of providing additional explanation or advice based on the perceived emotional state;

[1723] A system including:

[1724] (Claim 2)

[1725] 10. The system of claim 1, further comprising means for converting the uploaded contract documents into an appropriate format.

[1726] (Claim 3)

[1727] The system of claim 1, further comprising means for the generative artificial intelligence to extract important points and points to note from the contract documents. [Explanation of symbols]

[1728] 10, 210, 310, 410 Data Processing Systems 12 Data Processing Device 14 Smart Devices 214 Smart Glasses 314 Headset-type terminal 414 Robot< / url:> < / url:> < / url:> < / url:>

Claims

1. means for uploading contract documents via a user interface; A means for reading the uploaded contract documents into a generative artificial intelligence and analyzing their contents; A means of explaining the analyzed content in an easy-to-understand manner, and A means for generative AI to provide solutions to users' questions and problems, A system including:

2. The system of claim 1 further comprising means for converting the uploaded contract documents into an appropriate format.

3. The system according to claim 1, further comprising means for the generative artificial intelligence to extract important points and points to note from the contract documents.

Citation Information

Patent Citations

  • Persona chatbot control method and system

    JP2022180282A