system
A system using generative AI to select and generate tools and scripts from natural language inputs addresses the inefficiencies in data analysis and automation, enhancing productivity by automating tasks without specialized knowledge.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2026-03-06
AI Technical Summary
Modern companies and organizations face inefficiencies in data analysis and automation tasks due to the variety of tools available, requiring users to acquire specialized skills, which hinders productivity and digital transformation.
A system that receives user inputs in natural language, utilizes generative artificial intelligence to select optimal tools and generate specific procedures or scripts, enabling users to perform complex automation and data analysis without requiring specialized knowledge.
Enables users to efficiently automate and analyze data by providing tailored tools and scripts, reducing the burden of skill acquisition and improving operational efficiency.
Smart Images

Figure 2026038005000001_ABST
Abstract
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] Modern companies and organizations have a wide variety of tools to support data analysis and automation tasks. This increases the time and effort required for users to acquire skills for each tool, resulting in a decline in productivity. In particular, users who are not familiar with a particular tool have difficulty selecting the optimal method for achieving their goals. This hinders efficient business operations and hinders the progress of digital transformation. [Means for solving the problem]
[0005] To solve the above-mentioned problems, the present invention provides a system that receives a user's desired result in natural language, selects optimal tools and technical means using generative artificial intelligence, and generates and provides specific procedures or scripts. Specifically, the system includes a means for receiving input from the user, a means for analyzing the input data using generative artificial intelligence and selecting optimal tools, a means for generating specific procedures or scripts based on the selected tools and technical means, and a means for providing the generated procedures or scripts to the user. This configuration allows users to easily execute the optimal method tailored to their purpose without requiring specialized knowledge of individual tools.
[0006] "User" refers to an individual or organization that uses the System to achieve a purpose.
[0007] "What you want to achieve" refers to the goals and objectives that the user inputs into the system.
[0008] "Natural language" refers to language used by humans on a daily basis, not a specific programming language or technical terminology.
[0009] "Generative AI" refers to AI that has the ability to analyze input data and select and generate the most appropriate tools and technical means.
[0010] "Tools" refers to software or applications used to achieve a specific purpose.
[0011] "Technical means" refers to technical methods or procedures used to perform a specific task.
[0012] A "procedure" refers to specific steps or methods for achieving a particular purpose.
[0013] A "script" is a set of instructions or code written to automate a specific task.
[0014] "Providing" refers to the act of presenting or distributing the generated procedure or script to a user.
[0015] The term "system" refers to a comprehensive combination of hardware and software for realizing the above means. [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 present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users, enabling them to perform complex automation and data analysis even if they do not have specific skills.
[0038] System Overview
[0039] This system mainly consists of the following means: obtaining user input, selecting tools using a generation AI, generating scripts, and providing the generated scripts to users.
[0040] 1. Obtaining user input (terminal)
[0041] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is captured by the device and sent to the server.
[0042] 2. Tool selection (server)
[0043] The server passes the purpose sent by the user to the generation AI for analysis. The generation AI selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generation AI determines that "Excel VBA and Python are optimal."
[0044] 3. Generating scripts (server)
[0045] The server then uses the selected tools and technical means to generate specific procedures and scripts using the AI. The generated procedures and scripts are designed to provide the most efficient method for the user's purpose.
[0046] 4. View the generated output (terminal)
[0047] The terminal displays the generated procedures and scripts obtained from the server to the user, who can then follow the procedures to achieve their goal.
[0048] Specific Examples
[0049] Example: Extracting and analyzing data from an Excel column
[0050] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[0051] 2. Server: The user input is passed to the generation AI for analysis. The generation AI decides to "extract the data using Excel VBA and analyze it using Python."
[0052] 3. Server: Generate specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[0053] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[0054] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. Each method of the invention works in conjunction with each other to quickly and accurately meet user requirements.
[0055] The processing flow will be explained below.
[0056] Step 1:
[0057] The terminal starts up and asks the user, "Please tell us what you want to achieve." The user enters their goal in natural language and presses the Enter key. The terminal captures the user's input and stores it in the variable user_goal.
[0058] Step 2:
[0059] The device sends user_goal to the server. The server receives this input and sends an analysis request to the generation AI. The server uses the generation AI's API to form a request to analyze user_goal.
[0060] Step 3:
[0061] The server receives the response from the Generator AI. The Generator AI selects the optimal tools and technical means (e.g., "Excel VBA" and "Python") based on the user's goals and returns the results to the server. The server analyzes this and stores the list of tools in the variable tools.
[0062] Step 4:
[0063] The server sends a request to the AI generator again based on the user_goal and tools, asking it to generate specific steps and scripts. The AI generator generates the optimal steps and scripts based on the combination of tools and returns the results to the server.
[0064] Step 5:
[0065] The server receives the response from the generated AI and stores detailed instructions or a script (for example, Excel VBA macro code or Python pandas script) in the variable script. The server then sends the script to the terminal.
[0066] Step 6:
[0067] The terminal receives the script and displays it to the user, who then follows the displayed steps or script to perform the task, thereby enabling the user to achieve their goal efficiently.
[0068] Example 1
[0069] 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."
[0070] In the past, if a user did not have specific skills or knowledge, it was difficult to perform complex data analysis or automation tasks. This meant that the process of selecting and executing tools and scripts on their own took a great deal of time and effort. Furthermore, selecting the appropriate tools and optimal scripts in this process itself required specialized knowledge, which hindered the user experience.
[0071] 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.
[0072] In this invention, the server includes means for receiving a user's desired result in natural language, means for transmitting the received natural language input to the server, means for the server to pass the input data to a generative AI model for analysis and select optimal tools and technical means, means for the server to generate specific procedures or scripts based on the selected tools and technical means, and means for transmitting the generated procedures or scripts from the server to a terminal and providing them to the user. This enables the user to automatically and efficiently use optimal tools and scripts even if they do not have specific skills or expertise.
[0073] "User" refers to an individual or organization that intends to achieve a specific purpose using this system.
[0074] "Natural language" refers to a language used in everyday life, including programming languages and specialized command languages, and is used by humans in normal conversation.
[0075] A "server" refers to a computer system that receives requests from users over a network, processes them, and returns the results.
[0076] A "terminal" refers to an input device such as a computer or smart device that is directly operated by a user and can communicate with a server.
[0077] A "generative AI model" refers to an algorithm or system that uses artificial intelligence to analyze user requirements and select the most appropriate tools and technical means.
[0078] "Tools" refers to software or technical means for achieving a user's objectives.
[0079] "Technological means" refers to techniques, methods, or processes used to achieve a specific purpose.
[0080] A "script" refers to program code or instructions created to achieve a specific purpose.
[0081] "Specific steps" refer to a series of steps that a user must follow to achieve a goal.
[0082] "Parsing" refers to the process by which a generative AI model understands a user's natural language input and deciphers its intent.
[0083] "Transmit" refers to the act of transferring data from one device to another device or system.
[0084] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users. This system is configured to enable users to easily perform complex automation and data analysis, even if they do not have specific skills or expertise.
[0085] System configuration
[0086] This system mainly consists of the following hardware and software:
[0087] Hardware: Devices that users directly operate (computers, smartphones, tablets, etc.), and servers that can communicate with these devices
[0088] Software: Generative AI model running on the server, user interface (UI) on the device
[0089] Program processing
[0090] The program of this system executes the following processing step by step.
[0091] 1. Obtaining user input (terminal)
[0092] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs what they want to achieve in everyday language, and the input is captured by the device and sent to the server.
[0093] 2. Tool selection (server)
[0094] The server passes the objectives sent by the user to the generative AI model for analysis. The generative AI model selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generative AI model determines that "Excel VBA and Python are optimal."
[0095] 3. Generating scripts (server)
[0096] The server then uses the selected tools and technical means to have the generative AI model generate specific procedures and scripts, which are designed to provide the most efficient way for the user to achieve their goals.
[0097] 4. View the generated output (terminal)
[0098] The terminal displays the generated instructions and scripts obtained from the server to the user, who can then follow the instructions and execute the steps to achieve their goal.
[0099] Specific Examples
[0100] A specific example will be described below.
[0101] Example: Extracting and analyzing data from an Excel column
[0102] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[0103] 2. Server: The user input is passed to the generative AI model for analysis. The generative AI model determines to "extract the data using Excel VBA and analyze it using Python."
[0104] 3. Server: Generates specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[0105] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[0106] Example prompt sentence:
[0107] "I want to extract data from a specific column in Excel and analyze it using Python."
[0108] "I want to scrape data from websites and generate reports."
[0109] This system allows users to easily perform advanced data processing and automation even if they do not have specialized knowledge, and serves to reduce the burden on users by simplifying complex tasks.
[0110] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0111] Step 1:
[0112] Getting user input (terminal)
[0113] Input: The device prompts the user to enter what they want to accomplish in natural language.
[0114] What happens: The device asks the user, "What kind of data processing and analysis would you like to perform?"
[0115] User Action: User types, "I want to extract and analyze data from a specific column in Excel."
[0116] Output: User input is logged to the terminal.
[0117] Step 2:
[0118] Sending data to the server (terminal)
[0119] Input: Data entered by the user about what they want to achieve.
[0120] What happens: The device gets the user's input and sends that data to the server.
[0121] Output: User input data sent from the device to the server (e.g., sent in JSON format).
[0122] Step 3:
[0123] Selection of tools and technical measures (server)
[0124] Input: User input data sent from the terminal.
[0125] Specific operation: The server passes the received user input data to the generative AI model for analysis.
[0126] How the generative AI model works: The generative AI model analyzes the user's natural language input and selects the most appropriate tools and technical solutions.
[0127] Example: A generative AI model receives input such as "I want to analyze data using Excel," and determines that "Excel VBA and Python are optimal."
[0128] Output: The tools selected by the generative AI model (e.g. Excel VBA and Python).
[0129] Step 4:
[0130] Generate specific scripts (server)
[0131] Input: The tools and technical means selected by the generative AI model.
[0132] Specific actions: The server again asks the generative AI model to generate specific procedures and scripts based on the selected tools and technical means.
[0133] How a generative AI model works: A generative AI model creates specific program code and procedures.
[0134] Example: Data extraction code is generated using Excel VBA and analysis code is generated using Python pandas.
[0135] Output: The specific script generated (e.g. Excel VBA and Python code).
[0136] Step 5:
[0137] View the generated output (terminal)
[0138] Input: Generated instructions or scripts retrieved from the server.
[0139] What it does: The device retrieves the generated instructions or script from the server and displays it to the user.
[0140] User Action: The user reviews the displayed script and runs it as instructed.
[0141] Example: Paste Excel VBA code into Excel to run a macro, then run the generated Python script in your Python environment.
[0142] Output: Data processing results based on the script executed by the user (e.g. data extraction and analysis results).
[0143] These steps allow users to automatically and efficiently utilize the best tools and scripts without requiring specific skills or expertise.
[0144] (Application example 1)
[0145] 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."
[0146] Modern logistics centers involve a wide variety of complexly intertwined tasks, requiring efficient management. However, for general staff to efficiently carry out these tasks, specialized skills and knowledge are required. Furthermore, existing systems lack the functionality to automatically generate optimal procedures and scripts for each task, limiting the improvement of work efficiency. There is a need to solve these issues and significantly improve the operational efficiency of logistics centers.
[0147] 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.
[0148] In this invention, the server includes means for receiving a user's desired goal in natural language, means for analyzing the received input data using generative artificial intelligence and selecting optimal tools and technical means, means for generating specific procedures or scripts based on the selected tools and technical means, means for providing the generated procedures or scripts to the user, and means for generating and providing scripts for specific tasks for logistics management. This enables logistics center staff to perform their work efficiently even if they do not have specialized skills or knowledge.
[0149] A "user" is a person who provides input to a system to accomplish a specific purpose or task.
[0150] "Natural language" is a form of language used by humans on a daily basis that can be converted into a machine-parseable form.
[0151] "Generative AI" refers to artificial intelligence techniques used to analyze human input in natural language and generate appropriate tools and procedures.
[0152] A "tool" is an application or program used to accomplish a specific task or purpose.
[0153] "Technical means" refers to the specific techniques or methods required to achieve a task or purpose.
[0154] A "procedure or script" is a specific set of operating instructions or program code for performing a particular task.
[0155] "Logistics management" is a management method for efficiently carrying out tasks such as inventory management, packing, and shipping preparation at a logistics center.
[0156] A "task" refers to a specific job or work, and is the subject of generating procedures and scripts for executing the job.
[0157] This invention is a system for automating and streamlining complex tasks in a logistics center, even if the user does not have specific skills. The system has a function that receives tasks input from the user in natural language and automatically generates and provides optimal tools and scripts based on the input.
[0158] System Program
[0159] The system mainly consists of the following hardware and software:
[0160] 1. Hardware:
[0161] Smartphone: A device that allows users to input tasks in natural language.
[0162] Server: A central device that runs the generative AI model, selects tools, and generates scripts.
[0163] 2. Software:
[0164] OpenAI (registered trademark) API: Provides a generative AI model to analyze user input and generate optimal scripts.
[0165] Pandas (Python library): A data analysis tool used to run the created scripts.
[0166] Explanation of data processing and data calculation
[0167] 1. Getting user input:
[0168] Using a smartphone, the user inputs a task in natural language, such as "I want to check the quantity of a specific item from the inventory list." This input is sent to the server via the application.
[0169] 2. Tool selection:
[0170] The server uses generative artificial intelligence (e.g., OpenAI models) to analyze user input. Based on the analysis, it selects the most appropriate tools (e.g., Python and Pandas). This selection varies depending on the nature of the task.
[0171] 3. Generate the script:
[0172] After selecting a tool, specific procedures and scripts are generated, including Python code to check the stock quantity of a specific product, automating tasks that would otherwise be performed manually by the user.
[0173] 4. Provide the generated script:
[0174] The generated script is provided to the user through a smartphone application, and the user can execute the script to efficiently complete the desired task.
[0175] Specific examples
[0176] For example, if a user types "I want to check the quantity of a specific item from the inventory list," the following script will be generated:
[0177] An example of a generated script:
[0178] python
[0179] import pandas as pd
[0180] df = pd.read_csv('inventory_list.csv')
[0181] product_name = 'Specific product'
[0182] quantity = df[df['Product Name'] == product_name]['Quantity'].sum()
[0183] print(f"{product_name} stock quantity: {quantity}")
[0184] Example prompt for a generative AI model:
[0185] Generate a script to check the quantity of a specific item from the inventory list at the distribution center.
[0186] This allows logistics center staff to efficiently manage inventory and other tasks without requiring specialized skills.
[0187] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0188] Step 1:
[0189] Getting user input
[0190] The user launches a smartphone application and inputs the specific task they wish to accomplish in natural language (e.g., "I want to check the quantity of a specific product from the inventory list"). The input data is sent from the device to the server. The input at this stage is the task information entered by the user in natural language, and the output is the task information sent directly to the server.
[0191] Step 2:
[0192] Tool Selection
[0193] The server passes the received user input data to a generative AI model (e.g., an OpenAI model) for analysis. The generative AI model analyzes the input data and selects the optimal tools and technological means to execute the task. For example, if the task is "check the quantity of a specific item in the inventory list," Python and Pandas will be selected. The input here is task information in the user's natural language, and the output is a list of selected tools and technological means.
[0194] Step 3:
[0195] Generate scripts
[0196] Based on the selected tools and technical means, the server requests the generative AI model to generate specific procedures and scripts. The generative AI model uses the selected tools to generate a script that reliably accomplishes the specified task. For example, a script is generated using Python code to extract the quantity of a specific product from an inventory list. The input here is a list of selected tools and technical means, and the output is a specific script to execute the task.
[0197] Step 4:
[0198] Providing generated scripts
[0199] The server sends the generated script to the terminal. The terminal displays this script to the user and provides an interface for the user to execute it. The user can use the provided script to perform the desired task. For example, the user could run the generated Python script to check the stock quantity of a particular product. The input at this stage is the generated script, and the output is the provided script in a user-executable format.
[0200] 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.
[0201] The present invention relates to a system that automatically generates optimal tools and scripts based on goals and objectives entered by a user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable complex automation and data analysis even if the user does not have specific skills. Specific examples are shown below.
[0202] System Overview
[0203] This system mainly consists of the following means: obtaining user input, analyzing emotions using an emotion engine, selecting tools using generative AI, generating scripts, and providing the generated scripts to users.
[0204] 1. Obtaining user input (terminal)
[0205] When the device starts up, it displays a prompt to the user, asking them to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is acquired by the device and sent to the server. At this time, the emotion engine analyzes the user's emotions as they input, and this data is also sent to the server at the same time.
[0206] 2. Emotion analysis using emotion engine (terminal)
[0207] The device uses an emotion engine to analyze the user's facial expressions and tone of voice in real time when inputting information, thereby determining the user's emotional state (e.g., stress or confusion).
[0208] 3. Tool selection (server)
[0209] The server passes the objectives sent by the user to the generation AI for analysis. The generation AI selects the most appropriate tools and technical means (e.g., "Excel VBA" and "Python") based on the received input data and returns the results to the server. The server analyzes this and stores the list of tools in the variable "tools." It also adjusts the difficulty and level of detail of the generated steps based on the user's emotional data.
[0210] 4. Generating scripts (server)
[0211] The server then requests the AI to generate specific procedures and scripts based on the selected tools and technical means. The AI then generates optimal procedures and scripts based on the combination of tools and the user's emotional state, and returns the results to the server.
[0212] 5. View the generated output (terminal)
[0213] The device retrieves generated instructions or scripts from the server and displays them to the user. The user can then follow the instructions to achieve their goal. The steps or scripts displayed are adjusted according to the user's emotional state; for example, if the user is confused, more detailed instructions are provided.
[0214] Specific Examples
[0215] Example: Extracting and analyzing data from an Excel column
[0216] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel." The emotion engine analyzes the user's facial expression and tone of voice and detects that the user is a little confused.
[0217] 2. Server: The user's input and emotional data are passed to the generation AI for analysis. The generation AI determines that the data should be extracted using Excel VBA and analyzed using Python. It also generates detailed instructions taking into account the user's confusion.
[0218] 3. Server: Based on the selected tools (Excel VBA and Python) and the user's emotional state, a specific and detailed script is generated. For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated with detailed explanations.
[0219] 4. Terminal: The generated script is displayed to the user along with detailed instructions so that the user can perform the task and achieve the goal.
[0220] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. It also takes into account the user's emotional state to improve the user experience and reduce stress and confusion. Each aspect of the invention works together to quickly and accurately meet user requirements.
[0221] The processing flow will be explained below.
[0222] Step 1:
[0223] The device starts up and asks the user, "Please enter what you want to achieve." The user enters their goal in everyday language (for example, "I want to extract and analyze data from a specific column in Excel") and presses the Enter key. The device obtains this user input, user_goal, and the emotion engine analyzes the user's facial expression and tone of voice when they are typing, and also obtains the user's emotional data, user_emotion. This data is sent to the server.
[0224] Step 2:
[0225] The server receives the user_goal and user_emotion and sends an analysis request to the AI generator. The AI generator is asked to analyze the user's input data and select the optimal tools and technical means. This request includes the user's goal as well as their emotion data.
[0226] Step 3:
[0227] The generation AI analyzes the user's goals and emotional data and selects the optimal tools and technical means (e.g., "Excel VBA" and "Python"). The generation AI returns the analysis results to the server. The server receives the results and stores the list of selected tools in the variable tools.
[0228] Step 4:
[0229] The server again requests the generation AI to generate specific steps and a script based on the user_goal and tools. The generation AI generates the optimal steps and script based on the received user goal, selected tools, and emotional data. For example, if the user is confused, it is configured to provide more detailed steps. The generation AI returns the generated script to the server.
[0230] Step 5:
[0231] The server receives the response from the generated AI and stores the generated procedure or script (for example, Excel VBA macro code or Python pandas code) in the variable script. The server sends this script to the terminal.
[0232] Step 6:
[0233] The device receives the script and displays it to the user. The user then follows the detailed instructions and script displayed on the device to perform the necessary tasks. During this process, the device uses its emotion engine to analyze the user's reactions in real time and adjusts the interface or provides additional guidance as needed, allowing the user to achieve their goals efficiently.
[0234] Example 2
[0235] 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."
[0236] Conventional systems have difficulty performing complex automation and data analysis unless the user has specific skills or knowledge. Furthermore, they often leave users confused or stressed because they do not take into account the user's emotional state. There is a need for a system that can solve these problems and improve the user experience based on the user's knowledge and emotions.
[0237] The specific processing by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes means for receiving what the user wants to achieve in natural language, means for analyzing the user's emotional state using an emotion analysis engine, means for analyzing the received input data and emotional data using generative artificial intelligence and selecting optimal means and technical means, means for generating specific procedures or scripts based on the selected means and technical means, and means for adjusting the generated procedures or scripts according to the user's emotional state and providing them to the user. This enables users to efficiently perform automation and data analysis while receiving support according to their emotional state, even if they do not have specific skills.
[0238] A "user" is someone who operates the system to achieve their goals.
[0239] "Natural language" is a language used by humans in everyday life, not formal program code or technical terminology.
[0240] An "emotion analysis engine" is a technology or module for analyzing a user's emotional state from facial expressions, tone of voice, etc.
[0241] "Generative AI" is an AI model that analyzes user input and emotional data, selects the most appropriate means and technical solutions, and generates procedures and scripts.
[0242] A "means" is a method or device that the system uses to achieve a particular function.
[0243] "Technological means" are techniques or tools used to achieve a specific purpose.
[0244] A "procedure" refers to a sequence of processes or steps to achieve a user's goal.
[0245] A "script" is programming code written to perform a specific task or automated process.
[0246] A "prompt" is a message displayed to prompt the user for input.
[0247] A "server" is a computer system that receives, analyzes, and processes user input data.
[0248] A "terminal" is a device through which a user interacts with the system.
[0249] The present invention relates to a system that automatically generates optimal tools and scripts based on the goals and objectives entered by the user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable users to perform complex automation and data analysis even if they do not have specific skills.
[0250] System configuration
[0251] This system is implemented mainly using the following hardware and software.
[0252] 1. Terminal: A device through which the user interacts with the system and captures the user's input data and emotional state.
[0253] 2. Server: Analyzes user input data and emotional data to generate optimal methods and scripts.
[0254] 3. Sentiment Analysis Engine: A module for analyzing the user's emotional state.
[0255] 4. Generative AI model: An artificial intelligence model that generates optimal actions and scripts based on user input and emotional data.
[0256] Data processing and calculation
[0257] 1. Acquiring user input: When the device starts up, it prompts the user to "enter in natural language what you want to achieve." If the user enters, "I want to extract and analyze data from a specific column in Excel," the device acquires this input, analyzes the input and the user's facial expressions and voice using an emotion analysis engine, and sends the results to the server.
[0258] 2. Emotion analysis: The device's emotion analysis engine analyzes the user's facial expressions and tone of voice when typing to determine their emotional state (e.g., confusion). The emotion data is sent to the server along with the input data.
[0259] 3. Tool selection: The server passes the user's input and emotion data to the generative AI model, which then selects the optimal method and technology. The generative AI model then selects the optimal technical method, such as "extracting data using Excel VBA and analyzing it with Python."
[0260] 4. Script generation: The server requests the generative AI model to generate a specific script. The generative AI model generates detailed instructions and scripts in response to a prompt such as, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated.
[0261] 5. Displaying the generated output: The terminal receives the generated script and instructions from the server and displays them to the user. For users who are confused, particularly detailed steps and explanations are displayed. The user follows these instructions and works their way through the process to achieve their goal.
[0262] Specific examples
[0263] For example, if a user types, "I want to extract and analyze data from a specific column in Excel," the following steps will be performed:
[0264] 1. The device captures the user's input, and the emotion analysis engine analyzes it and detects that the user is confused.
[0265] 2. The server passes the input data and emotion data to the generative AI model, and decides to "extract the data using Excel VBA and analyze it using Python."
[0266] 3. The server sends a prompt to the generated AI model saying, "Generate a specific script to extract data using Excel VBA and analyze it using Python."
[0267] 4. The generative AI model generates detailed Excel VBA data extraction code and Python pandas data analysis code.
[0268] 5. The terminal displays the generated script with detailed instructions to the user, who then follows the instructions to perform the task.
[0269] By using the system of the present invention, users can efficiently perform automation and data analysis without having to have specific skills, and convenience is improved by responding to the user's emotional state.
[0270] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0271] Step 1:
[0272] Getting user input (terminal)
[0273] When a user starts up the device, it displays a prompt asking them to "enter what they want to achieve in natural language." If the user types, "I want to extract and analyze data from a specific column in Excel," the device captures this input data and temporarily stores it in its internal memory. The emotion analysis engine then analyzes the user's facial expressions and tone of voice in real time to obtain emotional data. The input and emotional data are then sent to the server.
[0274] Input: The goal entered by the user in natural language (e.g., "I want to extract and analyze data from specific columns in Excel").
[0275] Output: User input data and analyzed emotion data (e.g., confusion)
[0276] Step 2:
[0277] Sentiment analysis (device)
[0278] The device's emotion analysis engine analyzes the user's facial expressions and voice tone. For example, it observes changes in facial expressions and voice tone to determine whether the user is confused. The analysis result is represented by the label "confused" and added to the input data. This data is then sent to the server.
[0279] Input: facial expressions and tone of voice when the user types
[0280] Output: Parsed emotion data (e.g., confusion)
[0281] Step 3:
[0282] Tool selection (server)
[0283] The server receives input data and emotion data sent by the user. The server passes this data to the generative AI model, which instructs it to select the optimal method and technical solution. The generative AI model generates suggestions such as "Extract data using Excel VBA and analyze it using Python."
[0284] Input: User input data and analyzed emotion data
[0285] Output: List of optimal methods and technologies (e.g. Excel VBA and Python)
[0286] Step 4:
[0287] Script generation (server)
[0288] Based on the selected means and technical means, the server requests the generative AI model to generate a specific script. For example, it sends a prompt to the generative AI model saying, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." The generative AI model then generates detailed instructions and scripts (e.g., data extraction code using Excel VBA, data analysis code using Python pandas) and returns them to the server.
[0289] Input: Selected tools and technologies (e.g. Excel VBA and Python)
[0290] Output: Generated specific instructions and scripts
[0291] Step 5:
[0292] View the generated output (terminal)
[0293] The terminal receives the generated instructions and scripts from the server and displays them to the user. For example, if the user is confused, an explanation containing particularly detailed instructions is displayed. The user can follow the displayed steps to proceed with the task.
[0294] Input: Generated specific steps and scripts
[0295] Output: Detailed instructions and scripts that are displayed to the user
[0296] This process allows users to efficiently perform automation and data analysis without specialized knowledge, while receiving assistance based on their emotional state.
[0297] (Application example 2)
[0298] 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."
[0299] Conventional systems have faced many difficulties when performing automation and data analysis, which require complex operations and knowledge. Furthermore, these systems are unable to respond to the user's emotional state, resulting in a poor user experience. Virtual stores, in particular, are required to respond quickly and accurately to customer requests, but conventional systems have had difficulty achieving this.
[0300] 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.
[0301] In this invention, the server includes: means for receiving a user's desired action in natural language; means including an emotion analysis engine for analyzing the user's emotional state; means for analyzing the received input data and emotional data using generative artificial intelligence and selecting the most appropriate tools and technical means; and means for displaying the procedure or script generated by the smart device and providing additional information as needed. This allows users to generate complex procedures or scripts without specific expertise and receive prompt and accurate support in the virtual store. Furthermore, adjustments based on the user's emotional state can improve the user experience.
[0302] "Natural language" refers to the human language that users use on a daily basis and that is input into the system as voice or text.
[0303] An "emotion analysis engine" is software or a device that has the function of analyzing a user's facial expressions, tone of voice, etc. in real time to determine their emotional state.
[0304] "Generative AI" refers to machine learning models and algorithms that generate appropriate procedures and scripts based on user input and emotional data.
[0305] "Tools" refers to software or programming libraries used to automate a particular task.
[0306] "Technical means" refers to specific operating methods and procedures using tools.
[0307] A "script" refers to a series of commands or code that automates a particular task.
[0308] "Smart device" refers to an electronic device that can connect to the Internet and display and operate information through a user interface.
[0309] A "virtual store" refers to a virtual trading location set up on the Internet, rather than a physical store.
[0310] "User interface" refers to the screens and input means through which a user interacts with a system or device.
[0311] "User experience" refers to the overall experience and satisfaction a user has when using a system or device.
[0312] This invention is a system for constructing a customer support assistant system in a virtual store and providing optimal product information and coupons based on the customer's input and emotional state. Specific examples and methods are described below.
[0313] Overall system overview
[0314] 1. Getting user input:
[0315] The terminal is a smart device (such as smart glasses) that receives voice input from the customer, who then expresses their request in natural language and converts the speech into text.
[0316] 2. Sentiment Analysis Engine:
[0317] The device captures the customer's facial expressions and voice tone in real time and analyzes their emotional state using an emotion analysis engine (e.g., an open-source emotion recognition model). The analysis results are stored as data within the device.
[0318] 3. Selection of tools and technical measures:
[0319] Based on the received natural language input data and emotion data, the server uses generative artificial intelligence (e.g., OpenAI's API) to select the optimal tools and technical means.
[0320] 4. Generate the script:
[0321] The server requests the AI to generate specific procedures and scripts based on the selected tools and technical means. The generated scripts include, for example, product information and coupon generation methods according to customer requests.
[0322] 5. Display of results (user provided):
[0323] The terminal retrieves generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. The displayed information is adjusted based on the customer's emotional state (for example, if the customer is excited, special campaign information is displayed).
[0324] Specific processing content of the program
[0325] Hardware:
[0326] Smart glasses: Accept customer voice input and capture facial expressions and tone of voice.
[0327] Server: Responsible for data analysis and generating AI.
[0328] software:
[0329] Sentiment Analysis Engine: An open-source emotion recognition model for analyzing customers' emotional states in real time.
[0330] Generative AI: Uses OpenAI's API to generate instructions and scripts based on natural language input and emotion data.
[0331] Examples of concrete examples and prompts
[0332] A specific scenario could involve the following steps:
[0333] Example: A customer speaks to smart glasses and asks, "Tell me today's recommended products." The system analyzes the customer's facial expression and recognizes that they are excited. It then generates a script containing appropriate product information and a coupon for that day only, and displays it on the smart glasses' display.
[0334] Example prompt sentence:
[0335] "The user types, 'What are your recommended products for today?' The user is emotionally excited. Please suggest what kind of response should be provided in a virtual store."
[0336] In this way, the virtual store assistant system can provide appropriate product information and coupons based on the user's input and emotional state.
[0337] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0338] Step 1:
[0339] Getting User Input
[0340] The user speaks to a smart device (such as smart glasses) and expresses their request in natural language. For example, they can say, "Tell me today's recommended products." The device then converts this speech into text data.
[0341] Input: Voice input (customer request)
[0342] Output: Text data (natural language requests)
[0343] Step 2:
[0344] Emotion analysis engine analyzes emotional states
[0345] The device captures the customer's facial expressions and tone of voice in real time and uses an emotion analysis engine to analyze the customer's emotional state. This process determines whether the customer is "excited," for example.
[0346] Input: Customer's facial expression and voice tone (capture data)
[0347] Output: Emotion data (e.g., "excited")
[0348] Step 3:
[0349] Server's selection of tools and technical measures
[0350] The server passes the received natural language input data and emotion data to the AI generator, which then selects the optimal tools and technological means. At this point, the AI generator selects appropriate technologies and tools, such as Excel VBA and Python.
[0351] Input: Text data (natural language requests), emotion data
[0352] Output: List of tools and technical measures
[0353] Step 4:
[0354] Generative AI script generation
[0355] The server requests the AI generator to generate specific procedures and scripts based on the selected tools and technical means. The AI generator generates appropriate procedures and scripts, such as "How to obtain product information using Python" and "How to issue limited coupons."
[0356] Input: List of tools and technical measures, text data, sentiment data
[0357] Output: Specific steps or scripts
[0358] Step 5:
[0359] Providing and displaying generated results
[0360] The terminal retrieves the generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. If the customer is excited, it may also present special campaign information.
[0361] Input: Specific instructions or scripts
[0362] Output: Information displayed on the customer's smart device (product information, coupons, campaign information)
[0363] For example:
[0364] 1. The user types, "What are your recommended products today?"
[0365] 2. The device analyzes the customer's facial expressions and tone of voice to detect when the user is excited.
[0366] 3. The server has the generation AI analyze how to provide product introductions and coupons to excited users.
[0367] 4. Generative AI generates detailed instructions and scripts.
[0368] 5. The terminal displays the generated instructions and scripts on the smart device. The terminal also displays information about special campaigns to the customer.
[0369] 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.
[0370] 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.
[0371] 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.
[0372] [Second embodiment]
[0373] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0374] 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.
[0375] 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).
[0376] 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.
[0377] 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.
[0378] 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).
[0379] 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.
[0380] 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.
[0381] 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.
[0382] 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.
[0383] 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.
[0384] 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."
[0385] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users, enabling them to perform complex automation and data analysis even if they do not have specific skills.
[0386] System Overview
[0387] This system mainly consists of the following means: obtaining user input, selecting tools using a generation AI, generating scripts, and providing the generated scripts to users.
[0388] 1. Obtaining user input (terminal)
[0389] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is captured by the device and sent to the server.
[0390] 2. Tool selection (server)
[0391] The server passes the purpose sent by the user to the generation AI for analysis. The generation AI selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generation AI determines that "Excel VBA and Python are optimal."
[0392] 3. Generating scripts (server)
[0393] The server then uses the selected tools and technical means to generate specific procedures and scripts using the AI. The generated procedures and scripts are designed to provide the most efficient method for the user's purpose.
[0394] 4. View the generated output (terminal)
[0395] The terminal displays the generated procedures and scripts obtained from the server to the user, who can then follow the procedures to achieve their goal.
[0396] Specific Examples
[0397] Example: Extracting and analyzing data from an Excel column
[0398] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[0399] 2. Server: The user input is passed to the generation AI for analysis. The generation AI decides to "extract the data using Excel VBA and analyze it using Python."
[0400] 3. Server: Generate specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[0401] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[0402] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. Each method of the invention works in conjunction with each other to quickly and accurately meet user requirements.
[0403] The processing flow will be explained below.
[0404] Step 1:
[0405] The terminal starts up and asks the user, "Please tell us what you want to achieve." The user enters their goal in natural language and presses the Enter key. The terminal captures the user's input and stores it in the variable user_goal.
[0406] Step 2:
[0407] The device sends user_goal to the server. The server receives this input and sends an analysis request to the generation AI. The server uses the generation AI's API to form a request to analyze user_goal.
[0408] Step 3:
[0409] The server receives the response from the Generator AI. The Generator AI selects the optimal tools and technical means (e.g., "Excel VBA" and "Python") based on the user's goals and returns the results to the server. The server analyzes this and stores the list of tools in the variable tools.
[0410] Step 4:
[0411] The server sends a request to the AI generator again based on the user_goal and tools, asking it to generate specific steps and scripts. The AI generator generates the optimal steps and scripts based on the combination of tools and returns the results to the server.
[0412] Step 5:
[0413] The server receives the response from the generated AI and stores detailed instructions or a script (for example, Excel VBA macro code or Python pandas script) in the variable script. The server then sends the script to the terminal.
[0414] Step 6:
[0415] The terminal receives the script and displays it to the user, who then follows the displayed steps or script to perform the task, thereby enabling the user to achieve their goal efficiently.
[0416] Example 1
[0417] 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."
[0418] In the past, if a user did not have specific skills or knowledge, it was difficult to perform complex data analysis or automation tasks. This meant that the process of selecting and executing tools and scripts on their own took a great deal of time and effort. Furthermore, selecting the appropriate tools and optimal scripts in this process itself required specialized knowledge, which hindered the user experience.
[0419] 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.
[0420] In this invention, the server includes means for receiving a user's desired result in natural language, means for transmitting the received natural language input to the server, means for the server to pass the input data to a generative AI model for analysis and select optimal tools and technical means, means for the server to generate specific procedures or scripts based on the selected tools and technical means, and means for transmitting the generated procedures or scripts from the server to a terminal and providing them to the user. This enables the user to automatically and efficiently use optimal tools and scripts even if they do not have specific skills or expertise.
[0421] "User" refers to an individual or organization that intends to achieve a specific purpose using this system.
[0422] "Natural language" refers to a language used in everyday life, including programming languages and specialized command languages, and is used by humans in normal conversation.
[0423] A "server" refers to a computer system that receives requests from users over a network, processes them, and returns the results.
[0424] A "terminal" refers to an input device such as a computer or smart device that is directly operated by a user and can communicate with a server.
[0425] A "generative AI model" refers to an algorithm or system that uses artificial intelligence to analyze user requirements and select the most appropriate tools and technical means.
[0426] "Tools" refers to software or technical means for achieving a user's objectives.
[0427] "Technological means" refers to techniques, methods, or processes used to achieve a specific purpose.
[0428] A "script" refers to program code or instructions created to achieve a specific purpose.
[0429] "Specific steps" refer to a series of steps that a user must follow to achieve a goal.
[0430] "Parsing" refers to the process by which a generative AI model understands a user's natural language input and deciphers its intent.
[0431] "Transmit" refers to the act of transferring data from one device to another device or system.
[0432] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users. This system is configured to enable users to easily perform complex automation and data analysis, even if they do not have specific skills or expertise.
[0433] System configuration
[0434] This system mainly consists of the following hardware and software:
[0435] Hardware: Devices that users directly operate (computers, smartphones, tablets, etc.), and servers that can communicate with these devices
[0436] Software: Generative AI model running on the server, user interface (UI) on the device
[0437] Program processing
[0438] The program of this system executes the following processing step by step.
[0439] 1. Obtaining user input (terminal)
[0440] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs what they want to achieve in everyday language, and the input is captured by the device and sent to the server.
[0441] 2. Tool selection (server)
[0442] The server passes the objectives sent by the user to the generative AI model for analysis. The generative AI model selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generative AI model determines that "Excel VBA and Python are optimal."
[0443] 3. Generating scripts (server)
[0444] The server then uses the selected tools and technical means to have the generative AI model generate specific procedures and scripts, which are designed to provide the most efficient way for the user to achieve their goals.
[0445] 4. View the generated output (terminal)
[0446] The terminal displays the generated instructions and scripts obtained from the server to the user, who can then follow the instructions and execute the steps to achieve their goal.
[0447] Specific Examples
[0448] A specific example will be described below.
[0449] Example: Extracting and analyzing data from an Excel column
[0450] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[0451] 2. Server: The user input is passed to the generative AI model for analysis. The generative AI model determines to "extract the data using Excel VBA and analyze it using Python."
[0452] 3. Server: Generates specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[0453] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[0454] Example prompt sentence:
[0455] "I want to extract data from a specific column in Excel and analyze it using Python."
[0456] "I want to scrape data from websites and generate reports."
[0457] This system allows users to easily perform advanced data processing and automation even if they do not have specialized knowledge, and serves to reduce the burden on users by simplifying complex tasks.
[0458] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0459] Step 1:
[0460] Getting user input (terminal)
[0461] Input: The device prompts the user to enter what they want to accomplish in natural language.
[0462] What happens: The device asks the user, "What kind of data processing and analysis would you like to perform?"
[0463] User Action: User types, "I want to extract and analyze data from a specific column in Excel."
[0464] Output: User input is logged to the terminal.
[0465] Step 2:
[0466] Sending data to the server (terminal)
[0467] Input: Data entered by the user about what they want to achieve.
[0468] What happens: The device gets the user's input and sends that data to the server.
[0469] Output: User input data sent from the device to the server (e.g., sent in JSON format).
[0470] Step 3:
[0471] Selection of tools and technical measures (server)
[0472] Input: User input data sent from the terminal.
[0473] Specific operation: The server passes the received user input data to the generative AI model for analysis.
[0474] How the generative AI model works: The generative AI model analyzes the user's natural language input and selects the most appropriate tools and technical solutions.
[0475] Example: A generative AI model receives input such as "I want to analyze data using Excel," and determines that "Excel VBA and Python are optimal."
[0476] Output: The tools selected by the generative AI model (e.g. Excel VBA and Python).
[0477] Step 4:
[0478] Generate specific scripts (server)
[0479] Input: The tools and technical means selected by the generative AI model.
[0480] Specific actions: The server again asks the generative AI model to generate specific procedures and scripts based on the selected tools and technical means.
[0481] How a generative AI model works: A generative AI model creates specific program code and procedures.
[0482] Example: Data extraction code is generated using Excel VBA and analysis code is generated using Python pandas.
[0483] Output: The specific script generated (e.g. Excel VBA and Python code).
[0484] Step 5:
[0485] View the generated output (terminal)
[0486] Input: Generated instructions or scripts retrieved from the server.
[0487] What it does: The device retrieves the generated instructions or script from the server and displays it to the user.
[0488] User Action: The user reviews the displayed script and runs it as instructed.
[0489] Example: Paste Excel VBA code into Excel to run a macro, then run the generated Python script in your Python environment.
[0490] Output: Data processing results based on the script executed by the user (e.g. data extraction and analysis results).
[0491] These steps allow users to automatically and efficiently utilize the best tools and scripts without requiring specific skills or expertise.
[0492] (Application example 1)
[0493] 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."
[0494] Modern logistics centers involve a wide variety of complexly intertwined tasks, requiring efficient management. However, for general staff to efficiently carry out these tasks, specialized skills and knowledge are required. Furthermore, existing systems lack the functionality to automatically generate optimal procedures and scripts for each task, limiting the improvement of work efficiency. There is a need to solve these issues and significantly improve the operational efficiency of logistics centers.
[0495] 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.
[0496] In this invention, the server includes means for receiving a user's desired goal in natural language, means for analyzing the received input data using generative artificial intelligence and selecting optimal tools and technical means, means for generating specific procedures or scripts based on the selected tools and technical means, means for providing the generated procedures or scripts to the user, and means for generating and providing scripts for specific tasks for logistics management. This enables logistics center staff to perform their work efficiently even if they do not have specialized skills or knowledge.
[0497] A "user" is a person who provides input to a system to accomplish a specific purpose or task.
[0498] "Natural language" is a form of language used by humans on a daily basis that can be converted into a machine-parseable form.
[0499] "Generative AI" refers to artificial intelligence techniques used to analyze human input in natural language and generate appropriate tools and procedures.
[0500] A "tool" is an application or program used to accomplish a specific task or purpose.
[0501] "Technical means" refers to the specific techniques or methods required to achieve a task or purpose.
[0502] A "procedure or script" is a specific set of operating instructions or program code for performing a particular task.
[0503] "Logistics management" is a management method for efficiently carrying out tasks such as inventory management, packing, and shipping preparation at a logistics center.
[0504] A "task" refers to a specific job or work, and is the subject of generating procedures and scripts for executing the job.
[0505] This invention is a system for automating and streamlining complex tasks in a logistics center, even if the user does not have specific skills. The system has a function that receives tasks input from the user in natural language and automatically generates and provides optimal tools and scripts based on the input.
[0506] System Program
[0507] The system mainly consists of the following hardware and software:
[0508] 1. Hardware:
[0509] Smartphone: A device that allows users to input tasks in natural language.
[0510] Server: A central device that runs the generative AI model, selects tools, and generates scripts.
[0511] 2. Software:
[0512] OpenAI API: Provides a generative AI model to analyze user input and generate optimal scripts.
[0513] Pandas (Python library): A data analysis tool used to run the created scripts.
[0514] Explanation of data processing and data calculation
[0515] 1. Getting user input:
[0516] Using a smartphone, the user inputs a task in natural language, such as "I want to check the quantity of a specific item from the inventory list." This input is sent to the server via the application.
[0517] 2. Tool selection:
[0518] The server uses generative artificial intelligence (e.g., OpenAI models) to analyze user input. Based on the analysis, it selects the most appropriate tools (e.g., Python and Pandas). This selection varies depending on the nature of the task.
[0519] 3. Generate the script:
[0520] After selecting a tool, specific procedures and scripts are generated, including Python code to check the stock quantity of a specific product, automating tasks that would otherwise be performed manually by the user.
[0521] 4. Provide the generated script:
[0522] The generated script is provided to the user through a smartphone application, and the user can execute the script to efficiently complete the desired task.
[0523] Specific examples
[0524] For example, if a user types "I want to check the quantity of a specific item from the inventory list," the following script will be generated:
[0525] An example of a generated script:
[0526] python
[0527] import pandas as pd
[0528] df = pd.read_csv('inventory_list.csv')
[0529] product_name = 'Specific product'
[0530] quantity = df[df['Product Name'] == product_name]['Quantity'].sum()
[0531] print(f"{product_name} stock quantity: {quantity}")
[0532] Example prompt for a generative AI model:
[0533] Generate a script to check the quantity of a specific item from the inventory list at the distribution center.
[0534] This allows logistics center staff to efficiently manage inventory and other tasks without requiring specialized skills.
[0535] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0536] Step 1:
[0537] Getting user input
[0538] The user launches a smartphone application and inputs the specific task they wish to accomplish in natural language (e.g., "I want to check the quantity of a specific product from the inventory list"). The input data is sent from the device to the server. The input at this stage is the task information entered by the user in natural language, and the output is the task information sent directly to the server.
[0539] Step 2:
[0540] Tool Selection
[0541] The server passes the received user input data to a generative AI model (e.g., an OpenAI model) for analysis. The generative AI model analyzes the input data and selects the optimal tools and technological means to execute the task. For example, if the task is "check the quantity of a specific item in the inventory list," Python and Pandas will be selected. The input here is task information in the user's natural language, and the output is a list of selected tools and technological means.
[0542] Step 3:
[0543] Generate scripts
[0544] Based on the selected tools and technical means, the server requests the generative AI model to generate specific procedures and scripts. The generative AI model uses the selected tools to generate a script that reliably accomplishes the specified task. For example, a script is generated using Python code to extract the quantity of a specific product from an inventory list. The input here is a list of selected tools and technical means, and the output is a specific script to execute the task.
[0545] Step 4:
[0546] Providing generated scripts
[0547] The server sends the generated script to the terminal. The terminal displays this script to the user and provides an interface for the user to execute it. The user can use the provided script to perform the desired task. For example, the user could run the generated Python script to check the stock quantity of a particular product. The input at this stage is the generated script, and the output is the provided script in a user-executable format.
[0548] 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.
[0549] The present invention relates to a system that automatically generates optimal tools and scripts based on goals and objectives entered by a user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable complex automation and data analysis even if the user does not have specific skills. Specific examples are shown below.
[0550] System Overview
[0551] This system mainly consists of the following means: obtaining user input, analyzing emotions using an emotion engine, selecting tools using generative AI, generating scripts, and providing the generated scripts to users.
[0552] 1. Obtaining user input (terminal)
[0553] When the device starts up, it displays a prompt to the user, asking them to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is acquired by the device and sent to the server. At this time, the emotion engine analyzes the user's emotions as they input, and this data is also sent to the server at the same time.
[0554] 2. Emotion analysis using emotion engine (terminal)
[0555] The device uses an emotion engine to analyze the user's facial expressions and tone of voice in real time when inputting information, thereby determining the user's emotional state (e.g., stress or confusion).
[0556] 3. Tool selection (server)
[0557] The server passes the objectives sent by the user to the generation AI for analysis. The generation AI selects the most appropriate tools and technical means (e.g., "Excel VBA" and "Python") based on the received input data and returns the results to the server. The server analyzes this and stores the list of tools in the variable "tools." It also adjusts the difficulty and level of detail of the generated steps based on the user's emotional data.
[0558] 4. Generating scripts (server)
[0559] The server then requests the AI to generate specific procedures and scripts based on the selected tools and technical means. The AI then generates optimal procedures and scripts based on the combination of tools and the user's emotional state, and returns the results to the server.
[0560] 5. View the generated output (terminal)
[0561] The device retrieves generated instructions or scripts from the server and displays them to the user. The user can then follow the instructions to achieve their goal. The steps or scripts displayed are adjusted according to the user's emotional state; for example, if the user is confused, more detailed instructions are provided.
[0562] Specific Examples
[0563] Example: Extracting and analyzing data from an Excel column
[0564] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel." The emotion engine analyzes the user's facial expression and tone of voice and detects that the user is a little confused.
[0565] 2. Server: The user's input and emotional data are passed to the generation AI for analysis. The generation AI determines that the data should be extracted using Excel VBA and analyzed using Python. It also generates detailed instructions taking into account the user's confusion.
[0566] 3. Server: Based on the selected tools (Excel VBA and Python) and the user's emotional state, a specific and detailed script is generated. For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated with detailed explanations.
[0567] 4. Terminal: The generated script is displayed to the user along with detailed instructions so that the user can perform the task and achieve the goal.
[0568] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. It also takes into account the user's emotional state to improve the user experience and reduce stress and confusion. Each aspect of the invention works together to quickly and accurately meet user requirements.
[0569] The processing flow will be explained below.
[0570] Step 1:
[0571] The device starts up and asks the user, "Please enter what you want to achieve." The user enters their goal in everyday language (for example, "I want to extract and analyze data from a specific column in Excel") and presses the Enter key. The device obtains this user input, user_goal, and the emotion engine analyzes the user's facial expression and tone of voice when they are typing, and also obtains the user's emotional data, user_emotion. This data is sent to the server.
[0572] Step 2:
[0573] The server receives the user_goal and user_emotion and sends an analysis request to the AI generator. The AI generator is asked to analyze the user's input data and select the optimal tools and technical means. This request includes the user's goal as well as their emotion data.
[0574] Step 3:
[0575] The generation AI analyzes the user's goals and emotional data and selects the optimal tools and technical means (e.g., "Excel VBA" and "Python"). The generation AI returns the analysis results to the server. The server receives the results and stores the list of selected tools in the variable tools.
[0576] Step 4:
[0577] The server again requests the generation AI to generate specific steps and a script based on the user_goal and tools. The generation AI generates the optimal steps and script based on the received user goal, selected tools, and emotional data. For example, if the user is confused, it is configured to provide more detailed steps. The generation AI returns the generated script to the server.
[0578] Step 5:
[0579] The server receives the response from the generated AI and stores the generated procedure or script (for example, Excel VBA macro code or Python pandas code) in the variable script. The server sends this script to the terminal.
[0580] Step 6:
[0581] The device receives the script and displays it to the user. The user then follows the detailed instructions and script displayed on the device to perform the necessary tasks. During this process, the device uses its emotion engine to analyze the user's reactions in real time and adjusts the interface or provides additional guidance as needed, allowing the user to achieve their goals efficiently.
[0582] Example 2
[0583] 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."
[0584] Conventional systems have difficulty performing complex automation and data analysis unless the user has specific skills or knowledge. Furthermore, they often leave users confused or stressed because they do not take into account the user's emotional state. There is a need for a system that can solve these problems and improve the user experience based on the user's knowledge and emotions.
[0585] The specific processing by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes means for receiving what the user wants to achieve in natural language, means for analyzing the user's emotional state using an emotion analysis engine, means for analyzing the received input data and emotional data using generative artificial intelligence and selecting optimal means and technical means, means for generating specific procedures or scripts based on the selected means and technical means, and means for adjusting the generated procedures or scripts according to the user's emotional state and providing them to the user. This enables users to efficiently perform automation and data analysis while receiving support according to their emotional state, even if they do not have specific skills.
[0586] A "user" is someone who operates the system to achieve their goals.
[0587] "Natural language" is a language used by humans in everyday life, not formal program code or technical terminology.
[0588] An "emotion analysis engine" is a technology or module for analyzing a user's emotional state from facial expressions, tone of voice, etc.
[0589] "Generative AI" is an AI model that analyzes user input and emotional data, selects the most appropriate means and technical solutions, and generates procedures and scripts.
[0590] A "means" is a method or device that the system uses to achieve a particular function.
[0591] "Technological means" are techniques or tools used to achieve a specific purpose.
[0592] A "procedure" refers to a sequence of processes or steps to achieve a user's goal.
[0593] A "script" is programming code written to perform a specific task or automated process.
[0594] A "prompt" is a message displayed to prompt the user for input.
[0595] A "server" is a computer system that receives, analyzes, and processes user input data.
[0596] A "terminal" is a device through which a user interacts with the system.
[0597] The present invention relates to a system that automatically generates optimal tools and scripts based on the goals and objectives entered by the user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable users to perform complex automation and data analysis even if they do not have specific skills.
[0598] System configuration
[0599] This system is implemented mainly using the following hardware and software.
[0600] 1. Terminal: A device through which the user interacts with the system and captures the user's input data and emotional state.
[0601] 2. Server: Analyzes user input data and emotional data to generate optimal methods and scripts.
[0602] 3. Sentiment Analysis Engine: A module for analyzing the user's emotional state.
[0603] 4. Generative AI model: An artificial intelligence model that generates optimal actions and scripts based on user input and emotional data.
[0604] Data processing and calculation
[0605] 1. Acquiring user input: When the device starts up, it prompts the user to "enter in natural language what you want to achieve." If the user enters, "I want to extract and analyze data from a specific column in Excel," the device acquires this input, analyzes the input and the user's facial expressions and voice using an emotion analysis engine, and sends the results to the server.
[0606] 2. Emotion analysis: The device's emotion analysis engine analyzes the user's facial expressions and tone of voice when typing to determine their emotional state (e.g., confusion). The emotion data is sent to the server along with the input data.
[0607] 3. Tool selection: The server passes the user's input and emotion data to the generative AI model, which then selects the optimal method and technology. The generative AI model then selects the optimal technical method, such as "extracting data using Excel VBA and analyzing it with Python."
[0608] 4. Script generation: The server requests the generative AI model to generate a specific script. The generative AI model generates detailed instructions and scripts in response to a prompt such as, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated.
[0609] 5. Displaying the generated output: The terminal receives the generated script and instructions from the server and displays them to the user. For users who are confused, particularly detailed steps and explanations are displayed. The user follows these instructions and works their way through the process to achieve their goal.
[0610] Specific examples
[0611] For example, if a user types, "I want to extract and analyze data from a specific column in Excel," the following steps will be performed:
[0612] 1. The device captures the user's input, and the emotion analysis engine analyzes it and detects that the user is confused.
[0613] 2. The server passes the input data and emotion data to the generative AI model, and decides to "extract the data using Excel VBA and analyze it using Python."
[0614] 3. The server sends a prompt to the generated AI model saying, "Generate a specific script to extract data using Excel VBA and analyze it using Python."
[0615] 4. The generative AI model generates detailed Excel VBA data extraction code and Python pandas data analysis code.
[0616] 5. The terminal displays the generated script with detailed instructions to the user, who then follows the instructions to perform the task.
[0617] By using the system of the present invention, users can efficiently perform automation and data analysis without having to have specific skills, and convenience is improved by responding to the user's emotional state.
[0618] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0619] Step 1:
[0620] Getting user input (terminal)
[0621] When a user starts up the device, it displays a prompt asking them to "enter what they want to achieve in natural language." If the user types, "I want to extract and analyze data from a specific column in Excel," the device captures this input data and temporarily stores it in its internal memory. The emotion analysis engine then analyzes the user's facial expressions and tone of voice in real time to obtain emotional data. The input and emotional data are then sent to the server.
[0622] Input: The goal entered by the user in natural language (e.g., "I want to extract and analyze data from specific columns in Excel").
[0623] Output: User input data and analyzed emotion data (e.g., confusion)
[0624] Step 2:
[0625] Sentiment analysis (device)
[0626] The device's emotion analysis engine analyzes the user's facial expressions and voice tone. For example, it observes changes in facial expressions and voice tone to determine whether the user is confused. The analysis result is represented by the label "confused" and added to the input data. This data is then sent to the server.
[0627] Input: facial expressions and tone of voice when the user types
[0628] Output: Parsed emotion data (e.g., confusion)
[0629] Step 3:
[0630] Tool selection (server)
[0631] The server receives input data and emotion data sent by the user. The server passes this data to the generative AI model, which instructs it to select the optimal method and technical solution. The generative AI model generates suggestions such as "Extract data using Excel VBA and analyze it using Python."
[0632] Input: User input data and analyzed emotion data
[0633] Output: List of optimal methods and technologies (e.g. Excel VBA and Python)
[0634] Step 4:
[0635] Script generation (server)
[0636] Based on the selected means and technical means, the server requests the generative AI model to generate a specific script. For example, it sends a prompt to the generative AI model saying, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." The generative AI model then generates detailed instructions and scripts (e.g., data extraction code using Excel VBA, data analysis code using Python pandas) and returns them to the server.
[0637] Input: Selected tools and technologies (e.g. Excel VBA and Python)
[0638] Output: Generated specific instructions and scripts
[0639] Step 5:
[0640] View the generated output (terminal)
[0641] The terminal receives the generated instructions and scripts from the server and displays them to the user. For example, if the user is confused, an explanation containing particularly detailed instructions is displayed. The user can follow the displayed steps to proceed with the task.
[0642] Input: Generated specific steps and scripts
[0643] Output: Detailed instructions and scripts that are displayed to the user
[0644] This process allows users to efficiently perform automation and data analysis without specialized knowledge, while receiving assistance based on their emotional state.
[0645] (Application example 2)
[0646] 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."
[0647] Conventional systems have faced many difficulties when performing automation and data analysis, which require complex operations and knowledge. Furthermore, these systems are unable to respond to the user's emotional state, resulting in a poor user experience. Virtual stores, in particular, are required to respond quickly and accurately to customer requests, but conventional systems have had difficulty achieving this.
[0648] 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.
[0649] In this invention, the server includes: means for receiving a user's desired action in natural language; means including an emotion analysis engine for analyzing the user's emotional state; means for analyzing the received input data and emotional data using generative artificial intelligence and selecting the most appropriate tools and technical means; and means for displaying the procedure or script generated by the smart device and providing additional information as needed. This allows users to generate complex procedures or scripts without specific expertise and receive prompt and accurate support in the virtual store. Furthermore, adjustments based on the user's emotional state can improve the user experience.
[0650] "Natural language" refers to the human language that users use on a daily basis and that is input into the system as voice or text.
[0651] An "emotion analysis engine" is software or a device that has the function of analyzing a user's facial expressions, tone of voice, etc. in real time to determine their emotional state.
[0652] "Generative AI" refers to machine learning models and algorithms that generate appropriate procedures and scripts based on user input and emotional data.
[0653] "Tools" refers to software or programming libraries used to automate a particular task.
[0654] "Technical means" refers to specific operating methods and procedures using tools.
[0655] A "script" refers to a series of commands or code that automates a particular task.
[0656] "Smart device" refers to an electronic device that can connect to the Internet and display and operate information through a user interface.
[0657] A "virtual store" refers to a virtual trading location set up on the Internet, rather than a physical store.
[0658] "User interface" refers to the screens and input means through which a user interacts with a system or device.
[0659] "User experience" refers to the overall experience and satisfaction a user has when using a system or device.
[0660] This invention is a system for constructing a customer support assistant system in a virtual store and providing optimal product information and coupons based on the customer's input and emotional state. Specific examples and methods are described below.
[0661] Overall system overview
[0662] 1. Getting user input:
[0663] The terminal is a smart device (such as smart glasses) that receives voice input from the customer, who then expresses their request in natural language and converts the speech into text.
[0664] 2. Sentiment Analysis Engine:
[0665] The device captures the customer's facial expressions and voice tone in real time and analyzes their emotional state using an emotion analysis engine (e.g., an open-source emotion recognition model). The analysis results are stored as data within the device.
[0666] 3. Selection of tools and technical measures:
[0667] Based on the received natural language input data and emotion data, the server uses generative artificial intelligence (e.g., OpenAI's API) to select the optimal tools and technical means.
[0668] 4. Generate the script:
[0669] The server requests the AI to generate specific procedures and scripts based on the selected tools and technical means. The generated scripts include, for example, product information and coupon generation methods according to customer requests.
[0670] 5. Display of results (user provided):
[0671] The terminal retrieves generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. The displayed information is adjusted based on the customer's emotional state (for example, if the customer is excited, special campaign information is displayed).
[0672] Specific processing content of the program
[0673] Hardware:
[0674] Smart glasses: Accept customer voice input and capture facial expressions and tone of voice.
[0675] Server: Responsible for data analysis and generating AI.
[0676] software:
[0677] Sentiment Analysis Engine: An open-source emotion recognition model for analyzing customers' emotional states in real time.
[0678] Generative AI: Uses OpenAI's API to generate instructions and scripts based on natural language input and emotion data.
[0679] Examples of concrete examples and prompts
[0680] A specific scenario could involve the following steps:
[0681] Example: A customer speaks to smart glasses and asks, "Tell me today's recommended products." The system analyzes the customer's facial expression and recognizes that they are excited. It then generates a script containing appropriate product information and a coupon for that day only, and displays it on the smart glasses' display.
[0682] Example prompt sentence:
[0683] "The user types, 'What are your recommended products for today?' The user is emotionally excited. Please suggest what kind of response should be provided in a virtual store."
[0684] In this way, the virtual store assistant system can provide appropriate product information and coupons based on the user's input and emotional state.
[0685] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0686] Step 1:
[0687] Getting User Input
[0688] The user speaks to a smart device (such as smart glasses) and expresses their request in natural language. For example, they can say, "Tell me today's recommended products." The device then converts this speech into text data.
[0689] Input: Voice input (customer request)
[0690] Output: Text data (natural language requests)
[0691] Step 2:
[0692] Emotion analysis engine analyzes emotional states
[0693] The device captures the customer's facial expressions and tone of voice in real time and uses an emotion analysis engine to analyze the customer's emotional state. This process determines whether the customer is "excited," for example.
[0694] Input: Customer's facial expression and voice tone (capture data)
[0695] Output: Emotion data (e.g., "excited")
[0696] Step 3:
[0697] Server's selection of tools and technical measures
[0698] The server passes the received natural language input data and emotion data to the AI generator, which then selects the optimal tools and technological means. At this point, the AI generator selects appropriate technologies and tools, such as Excel VBA and Python.
[0699] Input: Text data (natural language requests), emotion data
[0700] Output: List of tools and technical measures
[0701] Step 4:
[0702] Generative AI script generation
[0703] The server requests the AI generator to generate specific procedures and scripts based on the selected tools and technical means. The AI generator generates appropriate procedures and scripts, such as "How to obtain product information using Python" and "How to issue limited coupons."
[0704] Input: List of tools and technical measures, text data, sentiment data
[0705] Output: Specific steps or scripts
[0706] Step 5:
[0707] Providing and displaying generated results
[0708] The terminal retrieves the generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. If the customer is excited, it may also present special campaign information.
[0709] Input: Specific instructions or scripts
[0710] Output: Information displayed on the customer's smart device (product information, coupons, campaign information)
[0711] For example:
[0712] 1. The user types, "What are your recommended products today?"
[0713] 2. The device analyzes the customer's facial expressions and tone of voice to detect when the user is excited.
[0714] 3. The server has the generation AI analyze how to provide product introductions and coupons to excited users.
[0715] 4. Generative AI generates detailed instructions and scripts.
[0716] 5. The terminal displays the generated instructions and scripts on the smart device. The terminal also displays information about special campaigns to the customer.
[0717] 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.
[0718] 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.
[0719] 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.
[0720] [Third embodiment]
[0721] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[0722] 5, the data processing system 310 includes the data processing device 12 and a headset type terminal 314. An example of the data processing device 12 is a server.
[0723] 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).
[0724] 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.
[0725] 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.
[0726] 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).
[0727] 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.
[0728] 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.
[0729] 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.
[0730] 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.
[0731] 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.
[0732] 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."
[0733] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users, enabling them to perform complex automation and data analysis even if they do not have specific skills.
[0734] System Overview
[0735] This system mainly consists of the following means: obtaining user input, selecting tools using a generation AI, generating scripts, and providing the generated scripts to users.
[0736] 1. Obtaining user input (terminal)
[0737] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is captured by the device and sent to the server.
[0738] 2. Tool selection (server)
[0739] The server passes the purpose sent by the user to the generating AI for analysis. The generating AI selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generating AI determines that "Excel VBA and Python are optimal."
[0740] 3. Generating scripts (server)
[0741] The server then uses the selected tools and technical means to generate specific procedures and scripts using the AI. The generated procedures and scripts are designed to provide the most efficient method for the user's purpose.
[0742] 4. View the generated output (terminal)
[0743] The terminal displays the generated procedures and scripts obtained from the server to the user, who can then follow the procedures to achieve their goal.
[0744] Specific Examples
[0745] Example: Extracting and analyzing data from an Excel column
[0746] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[0747] 2. Server: The user input is passed to the generation AI for analysis. The generation AI decides to "extract the data using Excel VBA and analyze it using Python."
[0748] 3. Server: Generates specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[0749] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[0750] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. Each method of the invention works in conjunction with each other to quickly and accurately meet user requirements.
[0751] The processing flow will be explained below.
[0752] Step 1:
[0753] The terminal starts up and asks the user, "Please enter what you want to achieve." The user enters their goal in natural language and presses the Enter key. The terminal captures the user's input and stores it in the variable user_goal.
[0754] Step 2:
[0755] The device sends user_goal to the server. The server receives this input and sends an analysis request to the generation AI. The server uses the generation AI's API to form a request to analyze user_goal.
[0756] Step 3:
[0757] The server receives the response from the Generator AI. The Generator AI selects the most appropriate tools and technical means (e.g., "Excel VBA" and "Python") based on the user's goals and returns the results to the server. The server analyzes this and stores the list of tools in the variable tools.
[0758] Step 4:
[0759] The server sends a request to the AI generator again based on the user_goal and tools, asking it to generate specific steps and scripts. The AI generator generates optimal steps and scripts based on the combination of tools and returns the results to the server.
[0760] Step 5:
[0761] The server receives the response from the generated AI and stores detailed instructions or a script (for example, Excel VBA macro code or Python pandas script) in the variable script. The server then sends the script to the terminal.
[0762] Step 6:
[0763] The terminal receives the script and displays it to the user, who then follows the displayed steps or script to perform the task, thereby enabling the user to achieve their goal efficiently.
[0764] Example 1
[0765] 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."
[0766] In the past, if a user did not have specific skills or knowledge, it was difficult to perform complex data analysis or automation tasks. This meant that the process of selecting and executing tools and scripts on their own took a great deal of time and effort. Furthermore, selecting the appropriate tools and optimal scripts in this process itself required specialized knowledge, which hindered the user experience.
[0767] 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.
[0768] In this invention, the server includes means for receiving a user's desired result in natural language, means for transmitting the received natural language input to the server, means for the server to pass the input data to a generative AI model for analysis and select optimal tools and technical means, means for the server to generate specific procedures or scripts based on the selected tools and technical means, and means for transmitting the generated procedures or scripts from the server to a terminal and providing them to the user. This enables the user to automatically and efficiently use optimal tools and scripts even if they do not have specific skills or expertise.
[0769] "User" refers to an individual or organization that intends to achieve a specific purpose using this system.
[0770] "Natural language" refers to a language used in everyday life, including programming languages and specialized command languages, and is used by humans in normal conversation.
[0771] A "server" refers to a computer system that receives requests from users over a network, processes them, and returns the results.
[0772] A "terminal" refers to an input device such as a computer or smart device that is directly operated by a user and can communicate with a server.
[0773] A "generative AI model" refers to an algorithm or system that uses artificial intelligence to analyze user requirements and select the most appropriate tools and technical means.
[0774] "Tools" refers to software or technical means for achieving a user's objectives.
[0775] "Technical means" refers to techniques, methods or processes used to achieve a specific purpose.
[0776] A "script" refers to program code or instructions created to achieve a specific purpose.
[0777] "Specific steps" refer to a series of steps that a user must follow to achieve a goal.
[0778] "Parsing" refers to the process by which a generative AI model understands a user's natural language input and deciphers its intent.
[0779] "Transmit" refers to the act of transferring data from one device to another device or system.
[0780] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users. This system is configured to enable users to easily perform complex automation and data analysis, even if they do not have specific skills or expertise.
[0781] System configuration
[0782] This system mainly consists of the following hardware and software:
[0783] Hardware: Devices that users directly operate (computers, smartphones, tablets, etc.), and servers that can communicate with these devices
[0784] Software: Generative AI model running on the server, user interface (UI) on the device
[0785] Program processing
[0786] The program of this system executes the following processing step by step.
[0787] 1. Obtaining user input (terminal)
[0788] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs what they want to achieve in everyday language, and the input is captured by the device and sent to the server.
[0789] 2. Tool selection (server)
[0790] The server passes the objectives sent by the user to the generative AI model for analysis. The generative AI model selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generative AI model determines that "Excel VBA and Python are optimal."
[0791] 3. Generating scripts (server)
[0792] The server then uses the selected tools and technical means to have the generative AI model generate specific procedures and scripts, which are designed to provide the most efficient way for the user to achieve their goals.
[0793] 4. View the generated output (terminal)
[0794] The terminal displays the generated instructions and scripts obtained from the server to the user, who can then follow the instructions and execute the steps to achieve their goal.
[0795] Specific Examples
[0796] A specific example will be described below.
[0797] Example: Extracting and analyzing data from an Excel column
[0798] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[0799] 2. Server: The user input is passed to the generative AI model for analysis. The generative AI model determines to "extract the data using Excel VBA and analyze it using Python."
[0800] 3. Server: Generates specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[0801] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[0802] Example prompt sentence:
[0803] "I want to extract data from a specific column in Excel and analyze it using Python."
[0804] "I want to scrape data from websites and generate reports."
[0805] This system allows users to easily perform advanced data processing and automation even if they do not have specialized knowledge, and serves to reduce the burden on users by simplifying complex tasks.
[0806] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0807] Step 1:
[0808] Getting user input (terminal)
[0809] Input: The device prompts the user to enter what they want to accomplish in natural language.
[0810] What happens: The device asks the user, "What kind of data processing and analysis would you like to perform?"
[0811] User Action: User types, "I want to extract and analyze data from a specific column in Excel."
[0812] Output: User input is logged to the terminal.
[0813] Step 2:
[0814] Sending data to the server (terminal)
[0815] Input: Data entered by the user about what they want to achieve.
[0816] What happens: The device gets the user's input and sends that data to the server.
[0817] Output: User input data sent from the device to the server (e.g., sent in JSON format).
[0818] Step 3:
[0819] Selection of tools and technical measures (server)
[0820] Input: User input data sent from the terminal.
[0821] Specific operation: The server passes the received user input data to the generative AI model for analysis.
[0822] How the generative AI model works: The generative AI model analyzes the user's natural language input and selects the most appropriate tools and technical solutions.
[0823] Example: A generative AI model receives input such as "I want to analyze data using Excel," and determines that "Excel VBA and Python are optimal."
[0824] Output: The tools selected by the generative AI model (e.g. Excel VBA and Python).
[0825] Step 4:
[0826] Generate specific scripts (server)
[0827] Input: The tools and technical means selected by the generative AI model.
[0828] Specific actions: The server again asks the generative AI model to generate specific procedures and scripts based on the selected tools and technical means.
[0829] How a generative AI model works: A generative AI model creates specific program code and procedures.
[0830] Example: Data extraction code is generated using Excel VBA and analysis code is generated using Python pandas.
[0831] Output: The specific script generated (e.g. Excel VBA and Python code).
[0832] Step 5:
[0833] View the generated output (terminal)
[0834] Input: Generated instructions or scripts retrieved from the server.
[0835] What it does: The device retrieves the generated instructions or script from the server and displays it to the user.
[0836] User Action: The user reviews the displayed script and runs it as instructed.
[0837] Example: Paste Excel VBA code into Excel to run a macro, then run the generated Python script in your Python environment.
[0838] Output: Data processing results based on the script executed by the user (e.g. data extraction and analysis results).
[0839] These steps allow users to automatically and efficiently utilize the best tools and scripts, without requiring specific skills or expertise.
[0840] (Application example 1)
[0841] 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."
[0842] Modern logistics centers involve a wide variety of complexly intertwined tasks, requiring efficient management. However, for general staff to efficiently carry out these tasks, specialized skills and knowledge are required. Furthermore, existing systems lack the functionality to automatically generate optimal procedures and scripts for each task, limiting the improvement of work efficiency. There is a need to solve these issues and significantly improve the operational efficiency of logistics centers.
[0843] 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.
[0844] In this invention, the server includes means for receiving a user's desired goal in natural language, means for analyzing the received input data using generative artificial intelligence and selecting optimal tools and technical means, means for generating specific procedures or scripts based on the selected tools and technical means, means for providing the generated procedures or scripts to the user, and means for generating and providing scripts for specific tasks for logistics management. This enables logistics center staff to perform their work efficiently even if they do not have specialized skills or knowledge.
[0845] A "user" is a person who provides input to a system to accomplish a specific purpose or task.
[0846] "Natural language" is a form of language used by humans on a daily basis that can be converted into a machine-parseable form.
[0847] "Generative AI" refers to artificial intelligence techniques used to analyze human input in natural language and generate appropriate tools and procedures.
[0848] A "tool" is an application or program used to accomplish a specific task or purpose.
[0849] "Technical means" refers to the specific techniques or methods required to achieve a task or purpose.
[0850] A "procedure or script" is a specific set of operating instructions or program code for performing a particular task.
[0851] "Logistics management" is a management method for efficiently carrying out tasks such as inventory management, packing, and shipping preparation at a logistics center.
[0852] A "task" refers to a specific job or work, and is the subject of generating procedures and scripts for executing the job.
[0853] This invention is a system for automating and streamlining complex tasks in a logistics center, even if the user does not have specific skills. The system has a function that receives tasks input from the user in natural language and automatically generates and provides optimal tools and scripts based on the input.
[0854] System Program
[0855] The system mainly consists of the following hardware and software:
[0856] 1. Hardware:
[0857] Smartphone: A device that allows users to input tasks in natural language.
[0858] Server: A central device that runs the generative AI model, selects tools, and generates scripts.
[0859] 2. Software:
[0860] OpenAI API: Provides a generative AI model to analyze user input and generate optimal scripts.
[0861] Pandas (Python library): A data analysis tool used to run the created scripts.
[0862] Explanation of data processing and data calculation
[0863] 1. Getting user input:
[0864] Using a smartphone, the user inputs a task in natural language, such as "I want to check the quantity of a specific item from the inventory list." This input is sent to the server via the application.
[0865] 2. Tool selection:
[0866] The server uses generative artificial intelligence (e.g., OpenAI models) to analyze the user's input. Based on the analysis, it selects the most appropriate tools (e.g., Python and Pandas). This selection varies depending on the nature of the task.
[0867] 3. Generate the script:
[0868] After selecting a tool, specific procedures and scripts are generated, including Python code to check the stock quantity of a specific product, automating tasks that would otherwise be performed manually by the user.
[0869] 4. Provide the generated script:
[0870] The generated script is provided to the user through a smartphone application, and the user can execute the script to efficiently complete the desired task.
[0871] Specific examples
[0872] For example, if a user types "I want to check the quantity of a specific item from the inventory list," the following script will be generated:
[0873] An example of a generated script:
[0874] python
[0875] import pandas as pd
[0876] df = pd.read_csv('inventory_list.csv')
[0877] product_name = 'Specific product'
[0878] quantity = df[df['Product Name'] == product_name]['Quantity'].sum()
[0879] print(f"{product_name} stock quantity: {quantity}")
[0880] Example prompt for a generative AI model:
[0881] Generate a script to check the quantity of a specific item from the inventory list at the distribution center.
[0882] This allows logistics center staff to efficiently manage inventory and other tasks without requiring specialized skills.
[0883] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0884] Step 1:
[0885] Getting user input
[0886] The user launches a smartphone application and inputs the specific task they wish to accomplish in natural language (e.g., "I want to check the quantity of a specific product from the inventory list"). The input data is sent from the device to the server. The input at this stage is the task information entered by the user in natural language, and the output is the task information sent directly to the server.
[0887] Step 2:
[0888] Tool Selection
[0889] The server passes the received user input data to a generative AI model (e.g., an OpenAI model) for analysis. The generative AI model analyzes the input data and selects the optimal tools and technological means to execute the task. For example, if the task is "check the quantity of a specific item in the inventory list," Python and Pandas will be selected. The input here is task information in the user's natural language, and the output is a list of selected tools and technological means.
[0890] Step 3:
[0891] Generate scripts
[0892] Based on the selected tools and technical means, the server requests the generative AI model to generate specific procedures and scripts. The generative AI model uses the selected tools to generate a script that reliably accomplishes the specified task. For example, a script is generated using Python code to extract the quantity of a specific product from an inventory list. The input here is a list of selected tools and technical means, and the output is a specific script to execute the task.
[0893] Step 4:
[0894] Providing generated scripts
[0895] The server sends the generated script to the terminal. The terminal displays this script to the user and provides an interface for the user to execute it. The user can use the provided script to perform the desired task. For example, the user could run the generated Python script to check the stock quantity of a particular product. The input at this stage is the generated script, and the output is the provided script in a user-executable format.
[0896] 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.
[0897] The present invention relates to a system that automatically generates optimal tools and scripts based on goals and objectives entered by a user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable complex automation and data analysis even if the user does not have specific skills. Specific examples are shown below.
[0898] System Overview
[0899] This system mainly consists of the following means: obtaining user input, analyzing emotions using an emotion engine, selecting tools using generative AI, generating scripts, and providing the generated scripts to users.
[0900] 1. Obtaining user input (terminal)
[0901] When the device starts up, it displays a prompt to the user, asking them to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is acquired by the device and sent to the server. At this time, the emotion engine analyzes the user's emotions as they input, and this data is also sent to the server at the same time.
[0902] 2. Emotion analysis using emotion engine (terminal)
[0903] The device uses an emotion engine to analyze the user's facial expressions and tone of voice in real time when inputting information, thereby determining the user's emotional state (e.g., stress or confusion).
[0904] 3. Tool selection (server)
[0905] The server passes the objectives sent by the user to the generation AI for analysis. The generation AI selects the most appropriate tools and technical means (e.g., "Excel VBA" and "Python") based on the received input data and returns the results to the server. The server analyzes this and stores the list of tools in the variable "tools." It also adjusts the difficulty and level of detail of the generated steps based on the user's emotional data.
[0906] 4. Generating scripts (server)
[0907] The server again requests the generation AI to generate specific procedures and scripts based on the selected tools and technical means. The generation AI generates optimal procedures and scripts based on the combination of tools and the user's emotional state, and returns the results to the server.
[0908] 5. View the generated output (terminal)
[0909] The device retrieves generated instructions or scripts from the server and displays them to the user. The user can then follow the instructions to achieve their goal. The steps or scripts displayed are adjusted according to the user's emotional state; for example, if the user is confused, more detailed instructions are provided.
[0910] Specific Examples
[0911] Example: Extracting and analyzing data from an Excel column
[0912] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel." The emotion engine analyzes the user's facial expression and tone of voice and detects that the user is a little confused.
[0913] 2. Server: The user's input and emotional data are passed to the generation AI for analysis. The generation AI determines that the data should be extracted using Excel VBA and analyzed using Python. It also generates detailed instructions taking into account the user's confusion.
[0914] 3. Server: Based on the selected tools (Excel VBA and Python) and the user's emotional state, a specific and detailed script is generated. For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated with detailed explanations.
[0915] 4. Terminal: The generated script is displayed to the user along with detailed instructions so that the user can perform the task and achieve the goal.
[0916] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. It also takes into account the user's emotional state to improve the user experience and reduce stress and confusion. Each aspect of the invention works together to quickly and accurately meet user requirements.
[0917] The processing flow will be explained below.
[0918] Step 1:
[0919] The device starts up and asks the user, "Please enter what you want to achieve." The user enters their goal in everyday language (for example, "I want to extract and analyze data from a specific column in Excel") and presses the Enter key. The device obtains this user input, user_goal, and the emotion engine analyzes the user's facial expression and tone of voice when they are typing, and also obtains the user's emotional data, user_emotion. This data is sent to the server.
[0920] Step 2:
[0921] The server receives the user_goal and user_emotion and sends an analysis request to the AI generator. The AI generator is asked to analyze the user's input data and select the optimal tools and technical means. This request includes the user's goal as well as their emotion data.
[0922] Step 3:
[0923] The generation AI analyzes the user's goals and emotional data and selects the optimal tools and technical means (e.g., "Excel VBA" and "Python"). The generation AI returns the analysis results to the server. The server receives the results and stores the list of selected tools in the variable tools.
[0924] Step 4:
[0925] The server again requests the generation AI to generate specific steps and a script based on the user_goal and tools. The generation AI generates the optimal steps and script based on the received user goal, selected tools, and emotional data. For example, if the user is confused, it is configured to provide more detailed steps. The generation AI returns the generated script to the server.
[0926] Step 5:
[0927] The server receives the response from the generated AI and stores the generated procedure or script (for example, Excel VBA macro code or Python pandas code) in the variable script. The server sends this script to the terminal.
[0928] Step 6:
[0929] The device receives the script and displays it to the user. The user then follows the detailed instructions and script displayed on the device to perform the necessary tasks. During this process, the device uses its emotion engine to analyze the user's reactions in real time and adjusts the interface or provides additional guidance as needed, allowing the user to achieve their goals efficiently.
[0930] Example 2
[0931] 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."
[0932] Conventional systems have difficulty performing complex automation and data analysis unless the user has specific skills or knowledge. Furthermore, they often leave users confused or stressed because they do not take into account the user's emotional state. There is a need for a system that can solve these problems and improve the user experience based on the user's knowledge and emotions.
[0933] The specific processing by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes means for receiving what the user wants to achieve in natural language, means for analyzing the user's emotional state using an emotion analysis engine, means for analyzing the received input data and emotional data using generative artificial intelligence and selecting optimal means and technical means, means for generating specific procedures or scripts based on the selected means and technical means, and means for adjusting the generated procedures or scripts according to the user's emotional state and providing them to the user. This enables users to efficiently perform automation and data analysis while receiving support according to their emotional state, even if they do not have specific skills.
[0934] A "user" is someone who operates the system to achieve their goals.
[0935] "Natural language" is a language used by humans in everyday life, not formal program code or technical terminology.
[0936] An "emotion analysis engine" is a technology or module for analyzing a user's emotional state from facial expressions, tone of voice, etc.
[0937] "Generative AI" is an AI model that analyzes user input and emotional data, selects the most appropriate means and technical solutions, and generates procedures and scripts.
[0938] A "means" is a method or device that the system uses to achieve a particular function.
[0939] "Technological means" are techniques or tools used to achieve a specific purpose.
[0940] A "procedure" refers to a sequence of processes or steps to achieve a user's goal.
[0941] A "script" is programming code written to perform a specific task or automated process.
[0942] A "prompt" is a message displayed to prompt the user for input.
[0943] A "server" is a computer system that receives, analyzes, and processes user input data.
[0944] A "terminal" is a device through which a user interacts with the system.
[0945] The present invention relates to a system that automatically generates optimal tools and scripts based on the goals and objectives entered by the user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable users to perform complex automation and data analysis even if they do not have specific skills.
[0946] System configuration
[0947] This system is implemented mainly using the following hardware and software.
[0948] 1. Terminal: A device through which the user interacts with the system and captures the user's input data and emotional state.
[0949] 2. Server: Analyzes user input data and emotional data to generate optimal methods and scripts.
[0950] 3. Sentiment Analysis Engine: A module for analyzing the user's emotional state.
[0951] 4. Generative AI model: An artificial intelligence model that generates optimal actions and scripts based on user input and emotional data.
[0952] Data processing and calculation
[0953] 1. Acquiring user input: When the device starts up, it prompts the user to "enter in natural language what you want to achieve." If the user enters, "I want to extract and analyze data from a specific column in Excel," the device acquires this input, analyzes the input and the user's facial expressions and voice using an emotion analysis engine, and sends the results to the server.
[0954] 2. Emotion analysis: The device's emotion analysis engine analyzes the user's facial expressions and tone of voice when typing to determine their emotional state (e.g., confusion). The emotion data is sent to the server along with the input data.
[0955] 3. Tool selection: The server passes the user's input and emotion data to the generative AI model, which then selects the optimal method and technology. The generative AI model then selects the optimal technical method, such as "extracting data using Excel VBA and analyzing it with Python."
[0956] 4. Script generation: The server requests the generative AI model to generate a specific script. The generative AI model generates detailed instructions and scripts in response to a prompt such as, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated.
[0957] 5. Displaying the generated output: The terminal receives the generated script and instructions from the server and displays them to the user. For users who are confused, particularly detailed steps and explanations are displayed. The user follows these instructions and works their way through the process to achieve their goal.
[0958] Specific examples
[0959] For example, if a user types, "I want to extract and analyze data from a specific column in Excel," the following steps will be performed:
[0960] 1. The device captures the user's input, and the emotion analysis engine analyzes it and detects that the user is confused.
[0961] 2. The server passes the input data and emotion data to the generative AI model, and decides to "extract the data using Excel VBA and analyze it using Python."
[0962] 3. The server sends a prompt to the generated AI model saying, "Generate a specific script to extract data using Excel VBA and analyze it using Python."
[0963] 4. The generative AI model generates detailed Excel VBA data extraction code and Python pandas data analysis code.
[0964] 5. The terminal displays the generated script with detailed instructions to the user, who then follows the instructions to perform the task.
[0965] By using the system of the present invention, users can efficiently perform automation and data analysis without having to have specific skills, and convenience is improved by responding to the user's emotional state.
[0966] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0967] Step 1:
[0968] Getting user input (terminal)
[0969] When a user starts up the device, it displays a prompt asking them to "enter what they want to achieve in natural language." If the user types, "I want to extract and analyze data from a specific column in Excel," the device captures this input data and temporarily stores it in its internal memory. The emotion analysis engine then analyzes the user's facial expressions and tone of voice in real time to obtain emotional data. The input and emotional data are then sent to the server.
[0970] Input: The goal entered by the user in natural language (e.g., "I want to extract and analyze data from specific columns in Excel").
[0971] Output: User input data and analyzed emotion data (e.g., confusion)
[0972] Step 2:
[0973] Sentiment analysis (device)
[0974] The device's emotion analysis engine analyzes the user's facial expressions and voice tone. For example, it observes changes in facial expressions and voice tone to determine whether the user is confused. The analysis result is represented by the label "confused" and added to the input data. This data is then sent to the server.
[0975] Input: facial expressions and tone of voice when the user types
[0976] Output: Parsed emotion data (e.g., confusion)
[0977] Step 3:
[0978] Tool selection (server)
[0979] The server receives input data and emotion data sent by the user. The server passes this data to the generative AI model, which instructs it to select the optimal method and technical solution. The generative AI model generates suggestions such as "Extract data using Excel VBA and analyze it using Python."
[0980] Input: User input data and analyzed emotion data
[0981] Output: List of optimal methods and technologies (e.g. Excel VBA and Python)
[0982] Step 4:
[0983] Script generation (server)
[0984] Based on the selected means and technical means, the server requests the generative AI model to generate a specific script. For example, it sends a prompt to the generative AI model saying, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." The generative AI model then generates detailed instructions and scripts (e.g., data extraction code using Excel VBA, data analysis code using Python pandas) and returns them to the server.
[0985] Input: Selected tools and technologies (e.g. Excel VBA and Python)
[0986] Output: Generated specific instructions and scripts
[0987] Step 5:
[0988] View the generated output (terminal)
[0989] The terminal receives the generated instructions and scripts from the server and displays them to the user. For example, if the user is confused, an explanation containing particularly detailed instructions is displayed. The user can follow the displayed steps to proceed with the task.
[0990] Input: Generated specific steps and scripts
[0991] Output: Detailed instructions and scripts that are displayed to the user
[0992] This process allows users to efficiently perform automation and data analysis without specialized knowledge, while receiving assistance based on their emotional state.
[0993] (Application example 2)
[0994] 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."
[0995] Conventional systems have faced many difficulties when performing automation and data analysis, which require complex operations and knowledge. Furthermore, these systems are unable to respond to the user's emotional state, resulting in a poor user experience. Virtual stores, in particular, are required to respond quickly and accurately to customer requests, but conventional systems have had difficulty achieving this.
[0996] 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.
[0997] In this invention, the server includes: means for receiving a user's desired action in natural language; means including an emotion analysis engine for analyzing the user's emotional state; means for analyzing the received input data and emotional data using generative artificial intelligence and selecting the most appropriate tools and technical means; and means for displaying the procedure or script generated by the smart device and providing additional information as needed. This allows users to generate complex procedures or scripts without specific expertise and receive prompt and accurate support in the virtual store. Furthermore, adjustments based on the user's emotional state can improve the user experience.
[0998] "Natural language" refers to the human language that users use on a daily basis and that is input into the system as voice or text.
[0999] An "emotion analysis engine" is software or a device that has the function of analyzing a user's facial expressions, tone of voice, etc. in real time to determine their emotional state.
[1000] "Generative AI" refers to machine learning models and algorithms that generate appropriate procedures and scripts based on user input and emotional data.
[1001] "Tools" refers to software or programming libraries used to automate a particular task.
[1002] "Technical means" refers to specific operating methods and procedures using tools.
[1003] A "script" refers to a series of commands or code that automates a particular task.
[1004] "Smart device" refers to an electronic device that can connect to the Internet and display and operate information through a user interface.
[1005] A "virtual store" refers to a virtual trading location set up on the Internet, rather than a physical store.
[1006] "User interface" refers to the screens and input means through which a user interacts with a system or device.
[1007] "User experience" refers to the overall experience and satisfaction a user has when using a system or device.
[1008] This invention is a system for constructing a customer support assistant system in a virtual store and providing optimal product information and coupons based on the customer's input and emotional state. Specific examples and methods are described below.
[1009] Overall system overview
[1010] 1. Getting user input:
[1011] The terminal is a smart device (such as smart glasses) that receives voice input from the customer, who then expresses their request in natural language and converts the speech into text.
[1012] 2. Sentiment Analysis Engine:
[1013] The device captures the customer's facial expressions and voice tone in real time and analyzes their emotional state using an emotion analysis engine (e.g., an open-source emotion recognition model). The analysis results are stored as data within the device.
[1014] 3. Selection of tools and technical measures:
[1015] Based on the received natural language input data and emotion data, the server uses generative artificial intelligence (e.g., OpenAI's API) to select the optimal tools and technical means.
[1016] 4. Generate the script:
[1017] The server requests the AI to generate specific procedures and scripts based on the selected tools and technical means. The generated scripts include, for example, product information and coupon generation methods according to customer requests.
[1018] 5. Display of results (user provided):
[1019] The terminal retrieves generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. The displayed information is adjusted based on the customer's emotional state (for example, if the customer is excited, special campaign information is displayed).
[1020] Specific processing content of the program
[1021] Hardware:
[1022] Smart glasses: Accept customer voice input and capture facial expressions and tone of voice.
[1023] Server: Responsible for data analysis and generating AI.
[1024] software:
[1025] Sentiment Analysis Engine: An open-source emotion recognition model for analyzing customers' emotional states in real time.
[1026] Generative AI: Uses OpenAI's API to generate instructions and scripts based on natural language input and emotion data.
[1027] Examples of concrete examples and prompts
[1028] A specific scenario could involve the following steps:
[1029] Example: A customer speaks to smart glasses and asks, "Tell me today's recommended products." The system analyzes the customer's facial expression and recognizes that they are excited. It then generates a script containing appropriate product information and a coupon for that day only, and displays it on the smart glasses' display.
[1030] Example prompt sentence:
[1031] "The user types, 'What are your recommended products for today?' The user is emotionally excited. Please suggest what kind of response should be provided in a virtual store."
[1032] In this way, the virtual store assistant system can provide appropriate product information and coupons based on the user's input and emotional state.
[1033] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1034] Step 1:
[1035] Getting User Input
[1036] The user speaks to a smart device (such as smart glasses) and expresses their request in natural language. For example, they can say, "Tell me today's recommended products." The device then converts this speech into text data.
[1037] Input: Voice input (customer request)
[1038] Output: Text data (natural language requests)
[1039] Step 2:
[1040] Emotion analysis engine analyzes emotional states
[1041] The device captures the customer's facial expressions and tone of voice in real time and uses an emotion analysis engine to analyze the customer's emotional state. This process determines whether the customer is "excited," for example.
[1042] Input: Customer's facial expression and voice tone (capture data)
[1043] Output: Emotion data (e.g., "excited")
[1044] Step 3:
[1045] Server's selection of tools and technical measures
[1046] The server passes the received natural language input data and emotion data to the AI generator, which then selects the optimal tools and technological means. At this point, the AI generator selects appropriate technologies and tools, such as Excel VBA and Python.
[1047] Input: Text data (natural language requests), emotion data
[1048] Output: List of tools and technical measures
[1049] Step 4:
[1050] Generative AI script generation
[1051] The server requests the AI generator to generate specific procedures and scripts based on the selected tools and technical means. The AI generator generates appropriate procedures and scripts, such as "How to obtain product information using Python" and "How to issue limited coupons."
[1052] Input: List of tools and technical measures, text data, sentiment data
[1053] Output: Specific steps or scripts
[1054] Step 5:
[1055] Providing and displaying generated results
[1056] The terminal retrieves the generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. If the customer is excited, it may also present special campaign information.
[1057] Input: Specific instructions or scripts
[1058] Output: Information displayed on the customer's smart device (product information, coupons, campaign information)
[1059] For example:
[1060] 1. The user types, "What are your recommended products today?"
[1061] 2. The device analyzes the customer's facial expressions and tone of voice to detect when the user is excited.
[1062] 3. The server has the generation AI analyze how to provide product introductions and coupons to excited users.
[1063] 4. Generative AI generates detailed instructions and scripts.
[1064] 5. The terminal displays the generated instructions and scripts on the smart device. The terminal also displays information about special campaigns to the customer.
[1065] 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.
[1066] 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.
[1067] 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.
[1068] [Fourth embodiment]
[1069] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.
[1070] 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.
[1071] 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).
[1072] 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.
[1073] 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.
[1074] 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).
[1075] 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.
[1076] 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.
[1077] 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.
[1078] 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.
[1079] 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.
[1080] 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.
[1081] 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."
[1082] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users, enabling them to perform complex automation and data analysis even if they do not have specific skills.
[1083] System Overview
[1084] This system mainly consists of the following means: obtaining user input, selecting tools using a generation AI, generating scripts, and providing the generated scripts to users.
[1085] 1. Obtaining user input (terminal)
[1086] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is captured by the device and sent to the server.
[1087] 2. Tool selection (server)
[1088] The server passes the purpose sent by the user to the generating AI for analysis. The generating AI selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generating AI determines that "Excel VBA and Python are optimal."
[1089] 3. Generating scripts (server)
[1090] The server then uses the selected tools and technical means to generate specific procedures and scripts using the AI. The generated procedures and scripts are designed to provide the most efficient method for the user's purpose.
[1091] 4. View the generated output (terminal)
[1092] The terminal displays the generated procedures and scripts obtained from the server to the user, who can then follow the procedures to achieve their goal.
[1093] Specific Examples
[1094] Example: Extracting and analyzing data from an Excel column
[1095] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[1096] 2. Server: The user input is passed to the generation AI for analysis. The generation AI decides to "extract the data using Excel VBA and analyze it using Python."
[1097] 3. Server: Generates specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[1098] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[1099] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. Each method of the invention works in conjunction with each other to quickly and accurately meet user requirements.
[1100] The processing flow will be explained below.
[1101] Step 1:
[1102] The terminal starts up and asks the user, "Please enter what you want to achieve." The user enters their goal in natural language and presses the Enter key. The terminal captures the user's input and stores it in the variable user_goal.
[1103] Step 2:
[1104] The device sends user_goal to the server. The server receives this input and sends an analysis request to the generation AI. The server uses the generation AI's API to form a request to analyze user_goal.
[1105] Step 3:
[1106] The server receives the response from the Generator AI. The Generator AI selects the most appropriate tools and technical means (e.g., "Excel VBA" and "Python") based on the user's goals and returns the results to the server. The server analyzes this and stores the list of tools in the variable tools.
[1107] Step 4:
[1108] The server sends a request to the AI generator again based on the user_goal and tools, asking it to generate specific steps and scripts. The AI generator generates optimal steps and scripts based on the combination of tools and returns the results to the server.
[1109] Step 5:
[1110] The server receives the response from the generated AI and stores detailed instructions or a script (for example, Excel VBA macro code or Python pandas script) in the variable script. The server then sends the script to the terminal.
[1111] Step 6:
[1112] The terminal receives the script and displays it to the user, who then follows the displayed steps or script to perform the task, thereby enabling the user to achieve their goal efficiently.
[1113] Example 1
[1114] 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."
[1115] In the past, if a user did not have specific skills or knowledge, it was difficult to perform complex data analysis or automation tasks. This meant that the process of selecting and executing tools and scripts on their own took a great deal of time and effort. Furthermore, selecting the appropriate tools and optimal scripts in this process itself required specialized knowledge, which hindered the user experience.
[1116] 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.
[1117] In this invention, the server includes means for receiving a user's desired result in natural language, means for transmitting the received natural language input to the server, means for the server to pass the input data to a generative AI model for analysis and select optimal tools and technical means, means for the server to generate specific procedures or scripts based on the selected tools and technical means, and means for transmitting the generated procedures or scripts from the server to a terminal and providing them to the user. This enables the user to automatically and efficiently use optimal tools and scripts even if they do not have specific skills or expertise.
[1118] "User" refers to an individual or organization that intends to achieve a specific purpose using this system.
[1119] "Natural language" refers to a language used in everyday life, including programming languages and specialized command languages, and is used by humans in normal conversation.
[1120] A "server" refers to a computer system that receives requests from users over a network, processes them, and returns the results.
[1121] A "terminal" refers to an input device such as a computer or smart device that is directly operated by a user and can communicate with a server.
[1122] A "generative AI model" refers to an algorithm or system that uses artificial intelligence to analyze user requirements and select the most appropriate tools and technical means.
[1123] "Tools" refers to software or technical means for achieving a user's objectives.
[1124] "Technical means" refers to techniques, methods or processes used to achieve a specific purpose.
[1125] A "script" refers to program code or instructions created to achieve a specific purpose.
[1126] "Specific steps" refer to a series of steps that a user must follow to achieve a goal.
[1127] "Parsing" refers to the process by which a generative AI model understands a user's natural language input and deciphers its intent.
[1128] "Transmit" refers to the act of transferring data from one device to another device or system.
[1129] The present invention relates to a system that automatically generates optimal tools and scripts based on user input and provides them to users. This system is configured to enable users to easily perform complex automation and data analysis, even if they do not have specific skills or expertise.
[1130] System configuration
[1131] This system mainly consists of the following hardware and software:
[1132] Hardware: Devices that users directly operate (computers, smartphones, tablets, etc.), and servers that can communicate with these devices
[1133] Software: Generative AI model running on the server, user interface (UI) on the device
[1134] Program processing
[1135] The program of this system executes the following processing step by step.
[1136] 1. Obtaining user input (terminal)
[1137] When the device starts up, it prompts the user to input what they want to achieve in natural language. The user inputs what they want to achieve in everyday language, and the input is captured by the device and sent to the server.
[1138] 2. Tool selection (server)
[1139] The server passes the objectives sent by the user to the generative AI model for analysis. The generative AI model selects the optimal tools and technical means based on the input data it receives. For example, in response to the input "I want to analyze data using Excel," the generative AI model determines that "Excel VBA and Python are optimal."
[1140] 3. Generating scripts (server)
[1141] The server then uses the selected tools and technical means to have the generative AI model generate specific procedures and scripts, which are designed to provide the most efficient way for the user to achieve their goals.
[1142] 4. View the generated output (terminal)
[1143] The terminal displays the generated instructions and scripts obtained from the server to the user, who can then follow the instructions and execute the steps to achieve their goal.
[1144] Specific Examples
[1145] A specific example will be described below.
[1146] Example: Extracting and analyzing data from an Excel column
[1147] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel."
[1148] 2. Server: The user input is passed to the generative AI model for analysis. The generative AI model determines to "extract the data using Excel VBA and analyze it using Python."
[1149] 3. Server: Generates specific scripts based on the selected tools (Excel VBA and Python). For example, data extraction code using Excel VBA and analysis code using Python pandas are generated.
[1150] 4. Terminal: The generated script is displayed to the user, who can then execute it to achieve the goal.
[1151] Example prompt sentence:
[1152] "I want to extract data from a specific column in Excel and analyze it using Python."
[1153] "I want to scrape data from websites and generate reports."
[1154] This system allows users to easily perform advanced data processing and automation even if they do not have specialized knowledge, and serves to reduce the burden on users by simplifying complex tasks.
[1155] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1156] Step 1:
[1157] Getting user input (terminal)
[1158] Input: The device prompts the user to enter what they want to accomplish in natural language.
[1159] What happens: The device asks the user, "What kind of data processing and analysis would you like to perform?"
[1160] User Action: User types, "I want to extract and analyze data from a specific column in Excel."
[1161] Output: User input is logged to the terminal.
[1162] Step 2:
[1163] Sending data to the server (terminal)
[1164] Input: Data entered by the user about what they want to achieve.
[1165] What happens: The device gets the user's input and sends that data to the server.
[1166] Output: User input data sent from the device to the server (e.g., sent in JSON format).
[1167] Step 3:
[1168] Selection of tools and technical measures (server)
[1169] Input: User input data sent from the terminal.
[1170] Specific operation: The server passes the received user input data to the generative AI model for analysis.
[1171] How the generative AI model works: The generative AI model analyzes the user's natural language input and selects the most appropriate tools and technical solutions.
[1172] Example: A generative AI model receives input such as "I want to analyze data using Excel," and determines that "Excel VBA and Python are optimal."
[1173] Output: The tools selected by the generative AI model (e.g. Excel VBA and Python).
[1174] Step 4:
[1175] Generate specific scripts (server)
[1176] Input: The tools and technical means selected by the generative AI model.
[1177] Specific actions: The server again asks the generative AI model to generate specific procedures and scripts based on the selected tools and technical means.
[1178] How a generative AI model works: A generative AI model creates specific program code and procedures.
[1179] Example: Data extraction code is generated using Excel VBA and analysis code is generated using Python pandas.
[1180] Output: The specific script generated (e.g. Excel VBA and Python code).
[1181] Step 5:
[1182] View the generated output (terminal)
[1183] Input: Generated instructions or scripts retrieved from the server.
[1184] What it does: The device retrieves the generated instructions or script from the server and displays it to the user.
[1185] User Action: The user reviews the displayed script and runs it as instructed.
[1186] Example: Paste Excel VBA code into Excel to run a macro, then run the generated Python script in your Python environment.
[1187] Output: Data processing results based on the script executed by the user (e.g. data extraction and analysis results).
[1188] These steps allow users to automatically and efficiently utilize the best tools and scripts, without requiring specific skills or expertise.
[1189] (Application example 1)
[1190] 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."
[1191] Modern logistics centers involve a wide variety of complexly intertwined tasks, requiring efficient management. However, for general staff to efficiently carry out these tasks, specialized skills and knowledge are required. Furthermore, existing systems lack the functionality to automatically generate optimal procedures and scripts for each task, limiting the improvement of work efficiency. There is a need to solve these issues and significantly improve the operational efficiency of logistics centers.
[1192] 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.
[1193] In this invention, the server includes means for receiving a user's desired goal in natural language, means for analyzing the received input data using generative artificial intelligence and selecting optimal tools and technical means, means for generating specific procedures or scripts based on the selected tools and technical means, means for providing the generated procedures or scripts to the user, and means for generating and providing scripts for specific tasks for logistics management. This enables logistics center staff to perform their work efficiently even if they do not have specialized skills or knowledge.
[1194] A "user" is a person who provides input to a system to accomplish a specific purpose or task.
[1195] "Natural language" is a form of language used by humans on a daily basis that can be converted into a machine-parseable form.
[1196] "Generative AI" refers to artificial intelligence techniques used to analyze human input in natural language and generate appropriate tools and procedures.
[1197] A "tool" is an application or program used to accomplish a specific task or purpose.
[1198] "Technical means" refers to the specific techniques or methods required to achieve a task or purpose.
[1199] A "procedure or script" is a specific set of operating instructions or program code for performing a particular task.
[1200] "Logistics management" is a management method for efficiently carrying out tasks such as inventory management, packing, and shipping preparation at a logistics center.
[1201] A "task" refers to a specific job or work, and is the subject of generating procedures and scripts for executing the job.
[1202] This invention is a system for automating and streamlining complex tasks in a logistics center, even if the user does not have specific skills. The system has a function that receives tasks input from the user in natural language and automatically generates and provides optimal tools and scripts based on the input.
[1203] System Program
[1204] The system mainly consists of the following hardware and software:
[1205] 1. Hardware:
[1206] Smartphone: A device that allows users to input tasks in natural language.
[1207] Server: A central device that runs the generative AI model, selects tools, and generates scripts.
[1208] 2. Software:
[1209] OpenAI API: Provides a generative AI model to analyze user input and generate optimal scripts.
[1210] Pandas (Python library): A data analysis tool used to run the created scripts.
[1211] Explanation of data processing and data calculation
[1212] 1. Getting user input:
[1213] Using a smartphone, the user inputs a task in natural language, such as "I want to check the quantity of a specific item from the inventory list." This input is sent to the server via the application.
[1214] 2. Tool selection:
[1215] The server uses generative artificial intelligence (e.g., OpenAI models) to analyze the user's input. Based on the analysis, it selects the most appropriate tools (e.g., Python and Pandas). This selection varies depending on the nature of the task.
[1216] 3. Generate the script:
[1217] After selecting a tool, specific procedures and scripts are generated, including Python code to check the stock quantity of a specific product, automating tasks that would otherwise be performed manually by the user.
[1218] 4. Provide the generated script:
[1219] The generated script is provided to the user through a smartphone application, and the user can execute the script to efficiently complete the desired task.
[1220] Specific examples
[1221] For example, if a user types "I want to check the quantity of a specific item from the inventory list," the following script will be generated:
[1222] An example of a generated script:
[1223] python
[1224] import pandas as pd
[1225] df = pd.read_csv('inventory_list.csv')
[1226] product_name = 'Specific product'
[1227] quantity = df[df['Product Name'] == product_name]['Quantity'].sum()
[1228] print(f"{product_name} stock quantity: {quantity}")
[1229] Example prompt for a generative AI model:
[1230] Generate a script to check the quantity of a specific item from the inventory list at the distribution center.
[1231] This allows logistics center staff to efficiently manage inventory and other tasks without requiring specialized skills.
[1232] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1233] Step 1:
[1234] Getting user input
[1235] The user launches a smartphone application and inputs the specific task they wish to accomplish in natural language (e.g., "I want to check the quantity of a specific product from the inventory list"). The input data is sent from the device to the server. The input at this stage is the task information entered by the user in natural language, and the output is the task information sent directly to the server.
[1236] Step 2:
[1237] Tool Selection
[1238] The server passes the received user input data to a generative AI model (e.g., an OpenAI model) for analysis. The generative AI model analyzes the input data and selects the optimal tools and technological means to execute the task. For example, if the task is "check the quantity of a specific item in the inventory list," Python and Pandas will be selected. The input here is task information in the user's natural language, and the output is a list of selected tools and technological means.
[1239] Step 3:
[1240] Generate scripts
[1241] Based on the selected tools and technical means, the server requests the generative AI model to generate specific procedures and scripts. The generative AI model uses the selected tools to generate a script that reliably accomplishes the specified task. For example, a script is generated using Python code to extract the quantity of a specific product from an inventory list. The input here is a list of selected tools and technical means, and the output is a specific script to execute the task.
[1242] Step 4:
[1243] Providing generated scripts
[1244] The server sends the generated script to the terminal. The terminal displays this script to the user and provides an interface for the user to execute it. The user can use the provided script to perform the desired task. For example, the user could run the generated Python script to check the stock quantity of a particular product. The input at this stage is the generated script, and the output is the provided script in a user-executable format.
[1245] 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.
[1246] The present invention relates to a system that automatically generates optimal tools and scripts based on goals and objectives entered by a user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable complex automation and data analysis even if the user does not have specific skills. Specific examples are shown below.
[1247] System Overview
[1248] This system mainly consists of the following means: obtaining user input, analyzing emotions using an emotion engine, selecting tools using generative AI, generating scripts, and providing the generated scripts to users.
[1249] 1. Obtaining user input (terminal)
[1250] When the device starts up, it displays a prompt to the user, asking them to input what they want to achieve in natural language. The user inputs their goal in everyday language, and the input is acquired by the device and sent to the server. At this time, the emotion engine analyzes the user's emotions as they input, and this data is also sent to the server at the same time.
[1251] 2. Emotion analysis using emotion engine (terminal)
[1252] The device uses an emotion engine to analyze the user's facial expressions and tone of voice in real time when inputting information, thereby determining the user's emotional state (e.g., stress or confusion).
[1253] 3. Tool selection (server)
[1254] The server passes the objectives sent by the user to the generation AI for analysis. The generation AI selects the most appropriate tools and technical means (e.g., "Excel VBA" and "Python") based on the received input data and returns the results to the server. The server analyzes this and stores the list of tools in the variable "tools." It also adjusts the difficulty and level of detail of the generated steps based on the user's emotional data.
[1255] 4. Generating scripts (server)
[1256] The server again requests the generation AI to generate specific procedures and scripts based on the selected tools and technical means. The generation AI generates optimal procedures and scripts based on the combination of tools and the user's emotional state, and returns the results to the server.
[1257] 5. View the generated output (terminal)
[1258] The device retrieves generated instructions or scripts from the server and displays them to the user. The user can then follow the instructions to achieve their goal. The steps or scripts displayed are adjusted according to the user's emotional state; for example, if the user is confused, more detailed instructions are provided.
[1259] Specific Examples
[1260] Example: Extracting and analyzing data from an Excel column
[1261] 1. Terminal: The user types, "I want to extract and analyze data from a specific column in Excel." The emotion engine analyzes the user's facial expression and tone of voice and detects that the user is a little confused.
[1262] 2. Server: The user's input and emotional data are passed to the generation AI for analysis. The generation AI determines that the data should be extracted using Excel VBA and analyzed using Python. It also generates detailed instructions taking into account the user's confusion.
[1263] 3. Server: Based on the selected tools (Excel VBA and Python) and the user's emotional state, a specific and detailed script is generated. For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated with detailed explanations.
[1264] 4. Terminal: The generated script is displayed to the user along with detailed instructions so that the user can perform the task and achieve the goal.
[1265] This system allows users to efficiently automate and analyze data without having specialized knowledge of specific tools. It also takes into account the user's emotional state to improve the user experience and reduce stress and confusion. Each aspect of the invention works together to quickly and accurately meet user requirements.
[1266] The processing flow will be explained below.
[1267] Step 1:
[1268] The device starts up and asks the user, "Please enter what you want to achieve." The user enters their goal in everyday language (for example, "I want to extract and analyze data from a specific column in Excel") and presses the Enter key. The device obtains this user input, user_goal, and the emotion engine analyzes the user's facial expression and tone of voice when they are typing, and also obtains the user's emotional data, user_emotion. This data is sent to the server.
[1269] Step 2:
[1270] The server receives the user_goal and user_emotion and sends an analysis request to the AI generator. The AI generator is asked to analyze the user's input data and select the optimal tools and technical means. This request includes the user's goal as well as their emotion data.
[1271] Step 3:
[1272] The generation AI analyzes the user's goals and emotional data and selects the optimal tools and technical means (e.g., "Excel VBA" and "Python"). The generation AI returns the analysis results to the server. The server receives the results and stores the list of selected tools in the variable tools.
[1273] Step 4:
[1274] The server again requests the generation AI to generate specific steps and a script based on the user_goal and tools. The generation AI generates the optimal steps and script based on the received user goal, selected tools, and emotional data. For example, if the user is confused, it is configured to provide more detailed steps. The generation AI returns the generated script to the server.
[1275] Step 5:
[1276] The server receives the response from the generated AI and stores the generated procedure or script (for example, Excel VBA macro code or Python pandas code) in the variable script. The server sends this script to the terminal.
[1277] Step 6:
[1278] The device receives the script and displays it to the user. The user then follows the detailed instructions and script displayed on the device to perform the necessary tasks. During this process, the device uses its emotion engine to analyze the user's reactions in real time and adjusts the interface or provides additional guidance as needed, allowing the user to achieve their goals efficiently.
[1279] Example 2
[1280] 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."
[1281] Conventional systems have difficulty performing complex automation and data analysis unless the user has specific skills or knowledge. Furthermore, they often leave users confused or stressed because they do not take into account the user's emotional state. There is a need for a system that can solve these problems and improve the user experience based on the user's knowledge and emotions.
[1282] The specific processing by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes means for receiving what the user wants to achieve in natural language, means for analyzing the user's emotional state using an emotion analysis engine, means for analyzing the received input data and emotional data using generative artificial intelligence and selecting optimal means and technical means, means for generating specific procedures or scripts based on the selected means and technical means, and means for adjusting the generated procedures or scripts according to the user's emotional state and providing them to the user. This enables users to efficiently perform automation and data analysis while receiving support according to their emotional state, even if they do not have specific skills.
[1283] A "user" is someone who operates the system to achieve their goals.
[1284] "Natural language" is a language used by humans in everyday life, not formal program code or technical terminology.
[1285] An "emotion analysis engine" is a technology or module for analyzing a user's emotional state from facial expressions, tone of voice, etc.
[1286] "Generative AI" is an AI model that analyzes user input and emotional data, selects the most appropriate means and technical solutions, and generates procedures and scripts.
[1287] A "means" is a method or device that the system uses to achieve a particular function.
[1288] "Technical means" are techniques or tools used to achieve a specific purpose.
[1289] A "procedure" refers to a sequence of processes or steps to achieve a user's goal.
[1290] A "script" is programming code written to perform a specific task or automated process.
[1291] A "prompt" is a message displayed to prompt the user for input.
[1292] A "server" is a computer system that receives, analyzes, and processes user input data.
[1293] A "terminal" is a device through which a user interacts with the system.
[1294] The present invention relates to a system that automatically generates optimal tools and scripts based on the goals and objectives entered by the user in natural language, and further recognizes the user's emotions and responds accordingly. This system is configured to enable users to perform complex automation and data analysis even if they do not have specific skills.
[1295] System configuration
[1296] This system is implemented mainly using the following hardware and software.
[1297] 1. Terminal: A device through which the user interacts with the system and captures the user's input data and emotional state.
[1298] 2. Server: Analyzes user input data and emotional data to generate optimal methods and scripts.
[1299] 3. Sentiment Analysis Engine: A module for analyzing the user's emotional state.
[1300] 4. Generative AI model: An artificial intelligence model that generates optimal actions and scripts based on user input and emotional data.
[1301] Data processing and calculation
[1302] 1. Acquiring user input: When the device starts up, it prompts the user to "enter in natural language what you want to achieve." If the user enters, "I want to extract and analyze data from a specific column in Excel," the device acquires this input, analyzes the input and the user's facial expressions and voice using an emotion analysis engine, and sends the results to the server.
[1303] 2. Emotion analysis: The device's emotion analysis engine analyzes the user's facial expressions and tone of voice when typing to determine their emotional state (e.g., confusion). The emotion data is sent to the server along with the input data.
[1304] 3. Tool selection: The server passes the user's input and emotion data to the generative AI model, which then selects the optimal method and technology. The generative AI model then selects the optimal technical method, such as "extracting data using Excel VBA and analyzing it with Python."
[1305] 4. Script generation: The server requests the generative AI model to generate a specific script. The generative AI model generates detailed instructions and scripts in response to a prompt such as, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." For example, data extraction code using Excel VBA and data analysis code using Python pandas are generated.
[1306] 5. Displaying the generated output: The terminal receives the generated script and instructions from the server and displays them to the user. For users who are confused, particularly detailed instructions and explanations are displayed. The user follows these instructions and works their way through the process to achieve their goal.
[1307] Specific examples
[1308] For example, if a user types, "I want to extract and analyze data from a specific column in Excel," the following steps will be performed:
[1309] 1. The device captures the user's input, and the emotion analysis engine analyzes it and detects that the user is confused.
[1310] 2. The server passes the input data and emotion data to the generative AI model, and decides to "extract the data using Excel VBA and analyze it using Python."
[1311] 3. The server sends a prompt to the generated AI model saying, "Generate a specific script to extract data using Excel VBA and analyze it using Python."
[1312] 4. The generative AI model generates detailed Excel VBA data extraction code and Python pandas data analysis code.
[1313] 5. The terminal displays the generated script with detailed instructions to the user, who then follows the instructions to perform the task.
[1314] By using the system of the present invention, users can efficiently perform automation and data analysis without having to have specific skills, and convenience is improved by responding to the user's emotional state.
[1315] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1316] Step 1:
[1317] Getting user input (terminal)
[1318] When a user starts up the device, it displays a prompt asking them to "enter what they want to achieve in natural language." If the user types, "I want to extract and analyze data from a specific column in Excel," the device captures this input data and temporarily stores it in its internal memory. The emotion analysis engine then analyzes the user's facial expressions and tone of voice in real time to obtain emotional data. The input and emotional data are then sent to the server.
[1319] Input: The goal entered by the user in natural language (e.g., "I want to extract and analyze data from specific columns in Excel").
[1320] Output: User input data and analyzed emotion data (e.g., confusion)
[1321] Step 2:
[1322] Sentiment analysis (device)
[1323] The device's emotion analysis engine analyzes the user's facial expressions and voice tone. For example, it observes changes in facial expressions and voice tone to determine whether the user is confused. The analysis result is represented by the label "confused" and added to the input data. This data is then sent to the server.
[1324] Input: facial expressions and tone of voice when the user types
[1325] Output: Parsed emotion data (e.g., confusion)
[1326] Step 3:
[1327] Tool selection (server)
[1328] The server receives input data and emotion data sent by the user. The server passes this data to the generative AI model, which instructs it to select the optimal method and technical solution. The generative AI model generates suggestions such as "Extract data using Excel VBA and analyze it using Python."
[1329] Input: User input data and analyzed emotion data
[1330] Output: List of optimal methods and technologies (e.g. Excel VBA and Python)
[1331] Step 4:
[1332] Script generation (server)
[1333] Based on the selected means and technical means, the server requests the generative AI model to generate a specific script. For example, it sends a prompt to the generative AI model saying, "Please generate a specific script to extract data using Excel VBA and analyze it using Python." The generative AI model then generates detailed instructions and scripts (e.g., data extraction code using Excel VBA, data analysis code using Python pandas) and returns them to the server.
[1334] Input: Selected tools and technologies (e.g. Excel VBA and Python)
[1335] Output: Generated specific instructions and scripts
[1336] Step 5:
[1337] View the generated output (terminal)
[1338] The terminal receives the generated instructions and scripts from the server and displays them to the user. For example, if the user is confused, an explanation containing particularly detailed instructions is displayed. The user can follow the displayed steps to proceed with the task.
[1339] Input: Generated specific steps and scripts
[1340] Output: Detailed instructions and scripts that are displayed to the user
[1341] This process allows users to efficiently perform automation and data analysis without specialized knowledge, while receiving assistance based on their emotional state.
[1342] (Application example 2)
[1343] 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."
[1344] Conventional systems have faced many difficulties when performing automation and data analysis, which require complex operations and knowledge. Furthermore, these systems are unable to respond to the user's emotional state, resulting in a poor user experience. Virtual stores, in particular, are required to respond quickly and accurately to customer requests, but conventional systems have had difficulty achieving this.
[1345] 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.
[1346] In this invention, the server includes: means for receiving a user's desired action in natural language; means including an emotion analysis engine for analyzing the user's emotional state; means for analyzing the received input data and emotional data using generative artificial intelligence and selecting the most appropriate tools and technical means; and means for displaying the procedure or script generated by the smart device and providing additional information as needed. This allows users to generate complex procedures or scripts without specific expertise and receive prompt and accurate support in the virtual store. Furthermore, adjustments based on the user's emotional state can improve the user experience.
[1347] "Natural language" refers to the human language that users use on a daily basis and that is input into the system as voice or text.
[1348] An "emotion analysis engine" is software or a device that has the function of analyzing a user's facial expressions, tone of voice, etc. in real time to determine their emotional state.
[1349] "Generative AI" refers to machine learning models and algorithms that generate appropriate procedures and scripts based on user input and emotional data.
[1350] "Tools" refers to software or programming libraries used to automate a particular task.
[1351] "Technical means" refers to specific operating methods and procedures using tools.
[1352] A "script" refers to a series of commands or code that automates a particular task.
[1353] "Smart device" refers to an electronic device that can connect to the Internet and display and operate information through a user interface.
[1354] A "virtual store" refers to a virtual trading location set up on the Internet, rather than a physical store.
[1355] "User interface" refers to the screens and input means through which a user interacts with a system or device.
[1356] "User experience" refers to the overall experience and satisfaction a user has when using a system or device.
[1357] This invention is a system for constructing a customer support assistant system in a virtual store and providing optimal product information and coupons based on the customer's input and emotional state. Specific examples and methods are described below.
[1358] Overall system overview
[1359] 1. Getting user input:
[1360] The terminal is a smart device (such as smart glasses) that receives voice input from the customer, who then expresses their request in natural language and converts the speech into text.
[1361] 2. Sentiment Analysis Engine:
[1362] The device captures the customer's facial expressions and voice tone in real time and analyzes their emotional state using an emotion analysis engine (e.g., an open-source emotion recognition model). The analysis results are stored as data within the device.
[1363] 3. Selection of tools and technical measures:
[1364] Based on the received natural language input data and emotion data, the server uses generative artificial intelligence (e.g., OpenAI's API) to select the optimal tools and technical means.
[1365] 4. Generate the script:
[1366] The server requests the AI to generate specific procedures and scripts based on the selected tools and technical means. The generated scripts include, for example, product information and coupon generation methods according to customer requests.
[1367] 5. Display of results (user provided):
[1368] The terminal retrieves generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. The displayed information is adjusted based on the customer's emotional state (for example, if the customer is excited, special campaign information is displayed).
[1369] Specific processing contents of the program
[1370] Hardware:
[1371] Smart glasses: Accept customer voice input and capture facial expressions and tone of voice.
[1372] Server: Responsible for data analysis and generating AI.
[1373] software:
[1374] Sentiment Analysis Engine: An open-source emotion recognition model for analyzing customers' emotional states in real time.
[1375] Generative AI: Uses OpenAI's API to generate instructions and scripts based on natural language input and emotion data.
[1376] Examples of concrete examples and prompts
[1377] A specific scenario could involve the following steps:
[1378] Example: A customer speaks to smart glasses and says, "Tell me today's recommended products." The system analyzes the customer's facial expression and recognizes that they are excited. It then generates a script containing appropriate product information and a coupon for that day only, and displays it on the smart glasses' display.
[1379] Example prompt sentence:
[1380] "The user types, 'What are your recommended products for today?' The user is emotionally excited. Please suggest what kind of response should be provided in a virtual store."
[1381] In this way, the virtual store assistant system can provide appropriate product information and coupons based on the user's input and emotional state.
[1382] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1383] Step 1:
[1384] Getting User Input
[1385] The user speaks to a smart device (such as smart glasses) and expresses their request in natural language. For example, they can say, "Tell me today's recommended products." The device then converts this speech into text data.
[1386] Input: Voice input (customer request)
[1387] Output: Text data (natural language requests)
[1388] Step 2:
[1389] Emotion analysis engine analyzes emotional states
[1390] The device captures the customer's facial expressions and tone of voice in real time and uses an emotion analysis engine to analyze the customer's emotional state. This process determines whether the customer is "excited," for example.
[1391] Input: Customer's facial expression and voice tone (capture data)
[1392] Output: Emotion data (e.g., "excited")
[1393] Step 3:
[1394] Server's selection of tools and technical measures
[1395] The server passes the received natural language input data and emotion data to the AI generator, which then selects the optimal tools and technological means. At this point, the AI generator selects appropriate technologies and tools, such as Excel VBA and Python.
[1396] Input: Text data (natural language requests), emotion data
[1397] Output: List of tools and technical measures
[1398] Step 4:
[1399] Generative AI script generation
[1400] The server requests the AI generator to generate specific procedures and scripts based on the selected tools and technical means. The AI generator generates appropriate procedures and scripts, such as "How to obtain product information using Python" and "How to issue limited coupons."
[1401] Input: List of tools and technical measures, text data, sentiment data
[1402] Output: Specific steps or scripts
[1403] Step 5:
[1404] Providing and displaying generated results
[1405] The terminal retrieves the generated instructions and scripts from the server and displays them on the smart device along with detailed explanations. If the customer is excited, it may also present special campaign information.
[1406] Input: Specific instructions or scripts
[1407] Output: Information displayed on the customer's smart device (product information, coupons, campaign information)
[1408] For example:
[1409] 1. The user types, "What are your recommended products today?"
[1410] 2. The device analyzes the customer's facial expressions and tone of voice to detect when the user is excited.
[1411] 3. The server has the generating AI analyze how to provide product introductions and coupons to excited users.
[1412] 4. Generative AI generates detailed instructions and scripts.
[1413] 5. The terminal displays the generated instructions and scripts on the smart device. The terminal also displays information about special campaigns to the customer.
[1414] 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.
[1415] 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.
[1416] 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.
[1417] 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.
[1418] 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.
[1419] 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.
[1420] 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).
[1421] 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.
[1422] 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."
[1423] 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.
[1424] 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).
[1425] 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.
[1426] 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.
[1427] 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.
[1428] 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.
[1429] 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.
[1430] 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.
[1431] 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.
[1432] 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.
[1433] 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.
[1434] 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.
[1435] The following is further disclosed regarding the above embodiment.
[1436] (Claim 1)
[1437] A way to receive what users want to achieve in natural language,
[1438] means for analyzing the received input data using generative artificial intelligence and selecting the most appropriate tools and technical means;
[1439] A means of generating specific procedures or scripts based on the selected tools and technical means;
[1440] a means for providing the generated procedure or script to the user;
[1441] A system including:
[1442] (Claim 2)
[1443] 2. The system of claim 1, wherein the generative artificial intelligence combines multiple tools and technical means to generate a procedure or script that corresponds to what the user wants to achieve.
[1444] (Claim 3)
[1445] 2. The system of claim 1, wherein the generated procedure or script includes specific programming code or a method for executing the same.
[1446] "Example 1"
[1447] (Claim 1)
[1448] A way to receive what users want to achieve in natural language,
[1449] means for transmitting the received natural language input to a server;
[1450] The server passes the input data to the generative AI model for analysis and selects the most appropriate tools and technical means;
[1451] The server generates specific instructions or scripts based on the selected tools and technical means;
[1452] a means for transmitting the generated procedure or script from the server to the terminal for providing to the user;
[1453] A system including:
[1454] (Claim 2)
[1455] 2. The system of claim 1, wherein the generative artificial intelligence combines multiple tools and technical means to generate a procedure or script that corresponds to what the user wants to achieve.
[1456] (Claim 3)
[1457] 2. The system of claim 1, wherein the generated procedure or script includes specific programming code or a method for executing the same.
[1458] "Application Example 1"
[1459] (Claim 1)
[1460] A way to receive what users want to achieve in natural language,
[1461] means for analyzing the received input data using generative artificial intelligence and selecting the most appropriate tools and technical means;
[1462] A means of generating specific procedures or scripts based on the selected tools and technical means;
[1463] a means for providing the generated procedure or script to the user;
[1464] means for generating and providing task-specific scripts for logistics management;
[1465] A system including:
[1466] (Claim 2)
[1467] 2. The system of claim 1, wherein the generative artificial intelligence combines multiple tools and technical means to generate a procedure or script that corresponds to what the user wants to achieve.
[1468] (Claim 3)
[1469] 2. The system of claim 1, wherein the generated procedure or script includes specific programming code or a method for executing the same, and contributes to improving the efficiency of a specific business operation.
[1470] "Example 2: Combining Emotion Engines"
[1471] (Claim 1)
[1472] A way to receive what users want to achieve in natural language,
[1473] means for analyzing the emotional state of a user using an emotion analysis engine;
[1474] A means for analyzing the received input data and emotion data using a generative artificial intelligence and selecting the most appropriate means and technical means;
[1475] A means for generating specific procedures or scripts based on the selected means and technical means;
[1476] a means for adjusting the generated instructions or scripts according to the emotional state of the user and providing them to the user;
[1477] A system including:
[1478] (Claim 2)
[1479] 2. The system of claim 1, wherein the generating artificial intelligence combines multiple means and technical means to generate a procedure or script that corresponds to what the user wants to achieve.
[1480] (Claim 3)
[1481] 2. The system of claim 1, wherein the generated procedure or script includes specific programming code or a method for executing the same.
[1482] "Application example 2 when combining emotion engines"
[1483] (Claim 1)
[1484] A way to receive what users want to achieve in natural language,
[1485] means including an emotion analysis engine for analyzing an emotional state of a user;
[1486] A means for analyzing the received input data and emotion data using generative artificial intelligence and selecting the most appropriate tools and technical means;
[1487] A means of generating specific procedures or scripts based on the selected tools and technical means;
[1488] a means for providing the generated instructions or scripts to the user to take appropriate action depending on the emotional state;
[1489] a means for displaying the procedure or script generated by the smart device and providing additional information as needed;
[1490] A system including:
[1491] (Claim 2)
[1492] The system of claim 1, wherein the generative artificial intelligence combines multiple tools and technical means to generate a procedure or script that corresponds to what the user wants to achieve and adjusts its content based on the user's emotional state.
[1493] (Claim 3)
[1494] 2. The system of claim 1, wherein the generated procedure or script includes specific programming code or a method for executing the same, and further includes explanations and additional instructions tailored to the user's emotional state. [Explanation of symbols]
[1495] 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. A way to receive what users want to achieve in natural language, means for analyzing the received input data using generative artificial intelligence and selecting the most appropriate tools and technical means; A means of generating specific procedures or scripts based on the selected tools and technical means; a means for providing the generated procedure or script to the user; A system including:
2. 2. The system of claim 1, wherein the generative artificial intelligence combines a plurality of tools and technical means to generate a procedure or script corresponding to what the user wants to achieve.
3. 10. The system of claim 1, wherein the generated procedure or script comprises specific programming code or a method for executing the same.
Citation Information
Patent Citations
Persona chatbot control method and system
JP2022180282A