Information processing system and information processing method
The described system addresses the challenges of large-scale language model integration and adversarial vulnerabilities by generating prompts to create order data sheets securely, ensuring easy and reliable information input and retrieval.
Patent Information
- Application Number
- PCT/IB2025/053335
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-05
- Filing Date
- 2025-03-31
- Publication Date
- 2025-10-09
AI Technical Summary
The challenge of efficiently incorporating large-scale language models for tasks like accounting and ordering is hindered by data volume and cost, and existing systems are vulnerable to adversarial attacks, making information input and retrieval cumbersome and unreliable.
An information processing system and method utilizing an information terminal, first and second information processing devices, and a database, where prompts are generated to interact with users and a language model to create order data sheets, while segregating configuration information to prevent information leakage and enhance reliability.
Facilitates easy and reliable input of order information, presenting necessary details efficiently and securely, reducing operational complexity and enhancing system convenience.
Smart Images

Figure IB2025053335_09102025_PF_FP_ABST
Abstract
Description
Information processing system and information processing method
[0001] One aspect of the present invention relates to an information processing system and an information processing method.
[0002] Note that one embodiment of the present invention is not limited to the above technical field. The technical field of one embodiment of the invention disclosed in this specification relates to an object, a method, a driving method, or a manufacturing method. Alternatively, one embodiment of the present invention relates to a process, a machine, a manufacture, or a composition of matter.
[0003] In accounting work, account items are used to classify transaction details and prepare financial statements. Patent Document 1 discloses a method for assigning account items after a transaction is completed based on payment details and journal entry rules written on receipts, etc.
[0004] Furthermore, in recent years, there has been active development of language models using neural networks, with large-scale language models (LLMs, hereinafter simply referred to as "language models") attracting particular attention. A large-scale language model is a natural language processing model trained using a large amount of data. A large-scale language model can realize, for example, a dialogue model that responds to user instructions. Non-Patent Document 1 discloses GPT-4 (Generative Pre-trained Transformer 4, registered trademark) as a large-scale language model, and ChatGPT as a dialogue model.
[0005] The use of large-scale language models has significantly improved the capabilities of natural language processing models. However, as language models improve in performance, the amount of data they require tends to become enormous, making it difficult to incorporate and operate language models in-house in terms of equipment and costs. For this reason, in addition to operating one's own language models, one form of language model utilization is to use external services that provide language models.
[0006] JP 2020-16914 A
[0007] Summary of ChatGPT / GPT-4 Research and Perspective Towards the Future of Large Language Models, Yiheng Liu et al. (Submitted on 4 Apr 2023, [online], Internet <URL: https: / / arxiv.org / abs / 2304.01852>
[0008] Not only in accounting work, but also in ordering work, it is necessary to specify account items for the purpose of classifying transaction details. However, there are an extremely large number of account items. In addition, even if the purchase item is the same, different account items must be set depending on the department to which the purchaser belongs, the purpose of use, etc. For this reason, entering order information in ordering work is a heavy burden for users who are not familiar with account items, etc.
[0009] Furthermore, language models are highly useful because they can understand human language, converse with users, summarize information, generate content, and more. However, due to their structure, language models are vulnerable to adversarial attacks. For example, "jailbreaking" is known, in which information that is normally set to be hidden can be output by using specially designed instructions.
[0010] An object of one embodiment of the present invention is to provide an information processing system and an information processing method that allow easy input of order information. Another object is to provide an information processing system and an information processing method that can present information necessary for ordering. Another object is to provide an information processing system and an information processing method that are highly convenient, useful, and reliable. Another object is to provide a novel information processing system and an information processing method.
[0011] Note that the description of these problems does not preclude the existence of other problems. One embodiment of the present invention does not necessarily have to solve all of these problems. Problems other than these can be extracted from the description in the specification, drawings, and claims.
[0012] (1) One aspect of the present invention is an information processing system including an information terminal having an input means and a display means, a first information processing device having a function of generating a first prompt and a second prompt, a second information processing device having a language model, and a database having a data table, wherein the first prompt does not include configuration information of the data table and includes a first instruction sentence input via the input means, information on an order data sheet including order information, and a second instruction sentence indicating to engage in a dialogue with a user, and the second prompt includes configuration information of the data table, the first instruction sentence, information on the order data sheet including order information, and a third instruction sentence indicating to generate SQL, the second information processing device has a function of generating a first response sentence in accordance with the first prompt and a function of generating a second response sentence in accordance with the second prompt, and the first information processing device has a function of obtaining the SQL included in the second response sentence, sending the SQL to a database, and obtaining complementary information that complements the order information from the database.
[0013] In addition, in (1), it is preferable that an order data sheet in which part or all of the order information has been supplemented using the supplemental information is displayed on the display means.
[0014] It is also preferable to perform reinforcement learning using the number of times a first response sentence is generated and the average number of characters in a first response sentence as a reward.It is also preferable to perform reinforcement learning using the number of times a second response sentence is generated and the average number of characters in a second response sentence as a reward.
[0015] The order data sheet includes, for example, order information and requester information. The database functions as, for example, a relational database, and includes, as data tables, for example, an account item table, an order table, and the like.
[0016] (2) Another aspect of the present invention is an information processing method comprising: a step of generating a first prompt including a first instruction statement input via an input means, information on an order data sheet including order information, and a second instruction statement indicating that a dialogue with a user will be conducted, the first prompt not including configuration information of a data table held by a database; a step of generating a second prompt including the first instruction statement, the information on the order data sheet, a third instruction statement indicating that SQL is to be generated, and configuration information of the data table; a step of generating a first response statement in accordance with the first prompt; and a step of generating a second response statement in accordance with the second prompt, the step of acquiring the SQL included in the second response statement; and a step of sending the SQL to a database and acquiring complementary information that complements the order information from the database.
[0017] In addition, it is preferable that the step (2) further comprises a step of displaying on a display means an order data sheet in which part or all of the order information has been supplemented using the supplemental information.
[0018] According to one aspect of the present invention, it is possible to provide an information processing system and an information processing method that allow easy input of order information, or that can present information necessary for ordering, or that is highly convenient, useful, and reliable, or that is a novel information processing system and an information processing method.
[0019] Note that the description of these effects does not preclude the existence of other effects. One embodiment of the present invention does not necessarily have all of these effects. Effects other than these can be extracted from the description in the specification, drawings, and claims.
[0020] FIGS. 1A and 1B are diagrams showing an example of the configuration of an information processing system. FIGS. 2A and 2B are diagrams showing an example of an information terminal. FIGS. 3A and 3B are diagrams showing an example of the configuration of an information processing system. FIGS. 4A and 4B are diagrams showing an example of the configuration of a data table. FIG. 5 is a diagram showing an example of the operation of an information processing device. FIG. 6 is a diagram showing an example of the operation of an information processing device. FIG. 7 is a diagram showing an example of the operation of an information processing device. FIG. 8A is a diagram showing an example of information displayed on a display unit. FIGS. 8B and 8C are diagrams showing an example of a prompt. FIG. 9 is a diagram showing an example of an order data sheet. FIGS. 10A and 10B are diagrams showing an example of information displayed on a display unit. FIGS. 11A and 11B are diagrams showing an example of information displayed on a display unit. FIGS. 12A and 12B are diagrams showing an example of information displayed on a display unit.
[0021] The embodiments will be described in detail with reference to the drawings. However, the present invention is not limited to the following description, and it will be readily understood by those skilled in the art that various changes can be made in form and detail without departing from the spirit and scope of the present invention. Therefore, the present invention should not be interpreted as being limited to the description of the embodiments shown below.
[0022] In the configuration of the invention described below, the same parts or parts having similar functions are denoted by the same reference numerals in different drawings, and repeated explanations thereof will be omitted. Furthermore, when referring to similar functions, the same hatching pattern may be used and no particular reference numeral may be assigned.
[0023] Furthermore, for ease of understanding, the position, size, range, etc. of each component shown in the drawings may not represent the actual position, size, range, etc. Therefore, the disclosed invention is not necessarily limited to the position, size, range, etc. disclosed in the drawings.
[0024] In this specification, the ordinal numbers such as "first" and "second" are used for convenience and do not limit the number of components or the order of the components (for example, the order of processes or the order of stacking). Furthermore, the ordinal numbers assigned to components in one part of this specification may not match the ordinal numbers assigned to components in other parts of this specification or in the claims.
[0025] In this specification, when the same symbol is used for multiple elements, and particularly when it is necessary to distinguish between them, an identification symbol such as “_1”, “[n]”, or “[m, n]” may be added to the symbol.
[0026] In this specification, goods may be either tangible or intangible. For example, intangible goods are sometimes called services. Therefore, the goods described in this specification may sometimes be referred to as services.
[0027] In this embodiment, an information processing system and an information processing method according to one embodiment of the present invention will be described with reference to drawings. Specifically, an information processing system and an information processing method that can be used for accounting work will be described.
[0028] One aspect of the present invention is an information processing system that obtains necessary information from a dialogue with a user and creates an order data sheet required for an order process. Alternatively, another aspect of the present invention is an information processing method that obtains necessary information from a dialogue with a user and creates an order data sheet required for an order process. Note that an order data sheet is a collection of information required for one order.
[0029] <Configuration example of information processing system> Fig. 1A shows a block diagram of an information processing system 10 according to one aspect of the present invention. Fig. 1B shows a specific configuration example of the information processing system 10 according to one aspect of the present invention. Figs. 1A and 1B show, as an example, an information terminal 20, a first information processing device 30, a database 40, and a second information processing device 50. The information terminal 20, the first information processing device 30, the database 40, and the second information processing device 50 are connected to each other via a network 90.
[0030] The information terminal 20 has at least a function of receiving information related to an order from a user and a function of displaying the information related to the order. The information terminal 20 is an information terminal such as a computer used by a user, and can also be called a "client computer."
[0031] 1B illustrates an information terminal 20a that is a desktop computer, an information terminal 20b that is a notebook computer, an information terminal 20c that is a tablet computer, and an information terminal 20d that is a smartphone as examples of the information terminal 20. One or more information terminals 20 can be used in the information processing system 10.
[0032] The information terminal 20 has an input means and a display means. For example, the information terminal 20a shown in Figures 1B and 2A has an information processing unit 21, input means 22, input means 23, and a display device 24. The display device 24 also has a display unit 25. The display unit 25 functions as display means. In the information terminal 20a shown in Figure 2A, the input means 22 is a keyboard, and the input means 23 is a mouse.
[0033] The input means of the information terminal 20 are not limited to a keyboard and a mouse. Various input means such as a trackball, a pen tablet, a digitizer, a touch panel, an eye tracker, a microphone, and a camera can be used as the input means.
[0034] 1B and 2B, the display unit 25 functions as a touch panel, which is an input means. The information terminal 20c also has a microphone 27, which is an input means. For example, an audio signal input via the microphone 27 can be analyzed by an information processing unit 21 (not shown) provided inside the housing 29 and converted into text information or the like. The information terminal 20c also has a camera 28, which is an input means. For example, an image captured by the camera 28 can be analyzed by the information processing unit 21 provided inside the housing 29 and converted into text information or the like.
[0035] 2B has a speaker 26. The display unit 25 and the speaker 26 function as output means of the information terminal 20. The information terminal 20a, the information terminal 20b, etc. may also be provided with a speaker 26, a microphone 27, a camera 28, etc.
[0036] The first information processing device 30 has a function of generating a prompt to be sent to the second information processing device 50 using information input to the information terminal 20. The first information processing device 30 also has a function of connecting to the database 40, a function of reading information from the database 40, and a function of writing information to the database 40. The first information processing device 30 also has a function of supplying the information terminal 20 with information to be displayed on the display unit 25 of the information terminal 20.
[0037] The first information processing device 30 has an input / output unit 31, a calculation unit 32, a memory unit 33, and an auxiliary memory unit 34. The input / output unit 31 has a function of receiving information from the information terminal 20, the database 40, and the second information processing device 50, and a function of supplying information to the information terminal 20, the database 40, and the second information processing device 50.
[0038] The calculation unit 32 has a function of executing calculation processes related to the operation of the information processing system 10. As the calculation unit 32, for example, a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit) can be used.
[0039] The calculation unit 32 may include a microprocessor such as a DSP (Digital Signal Processor). The microprocessor may be implemented by a PLD (Programmable Logic Device) such as an FPGA (Field Programmable Gate Array) or an FPAA (Field Programmable Analog Array). The calculation unit 32 may also include a quantum processor. The calculation unit 32 can perform various data processing and program control by interpreting and executing instructions from various programs using the processor. Programs that can be executed by the processor are stored in at least one of the memory area of the processor and the storage unit 33.
[0040] The storage unit 33 has a function of storing programs and parameters related to the operation of the information processing system 10, and is preferably at least partially rewritable. The storage unit 33 may include one or both of a volatile memory and a non-volatile memory.
[0041] Examples of volatile memories include DRAM (Dynamic Random Access Memory) and SRAM (Static Random Access Memory). Examples of nonvolatile memories include ReRAM (Resistive Random Access Memory, also called resistance change memory), PRAM (Phase change Random Access Memory), FeRAM (Ferroelectric Random Access Memory), MRAM (Magnetoresistive Random Access Memory, also called magnetoresistive memory), and flash memory. The storage unit 33 may include one or both of NOSRAM (registered trademark) and DOSRAM (registered trademark).
[0042] NOSRAM is an abbreviation for "Nonvolatile Oxide Semiconductor Random Access Memory." NOSRAM refers to a memory in which memory cells are two-transistor (2T) or three-transistor (3T) gain cells, and transistors constituting the memory cells are transistors (also referred to as "OS transistors") that use an oxide semiconductor (also referred to simply as "OS"), which is a type of metal oxide, in a semiconductor layer in which a channel is formed.
[0043] An OS transistor has an extremely small leakage current, that is, a current that flows between the source and drain in an off state. NOSRAM can be used as a nonvolatile memory by retaining a charge corresponding to data in a memory cell using its extremely small leakage current characteristic. NOSRAM is particularly suitable for arithmetic processing in which only data read operations are repeated in large quantities because it can read stored data without destroying it (nondestructive read). Since NOSRAM can increase its data capacity by stacking layers, it can be used as a large-scale cache memory, main memory, or storage memory to improve the performance of semiconductor devices.
[0044] DOSRAM is an abbreviation for "Dynamic Oxide Semiconductor Random Access Memory" and refers to RAM with 1T (transistor) 1C (capacitance) type memory cells. DOSRAM is a DRAM formed using OS transistors, and is a memory that temporarily stores information sent from the outside. DOSRAM is a memory that takes advantage of the low leakage current of OS transistors.
[0045] The oxide semiconductor, which is a type of metal oxide, preferably contains indium (In). For example, it preferably contains indium oxide (InOx, where x is a real number greater than 0). When the oxide semiconductor is a metal oxide containing indium, the carrier mobility (electron mobility) of the OS transistor is increased. Furthermore, the oxide semiconductor preferably contains an element M. The element M is preferably at least one of aluminum (Al), gallium (Ga), and tin (Sn). Other elements that can be used for the element M include boron (B), silicon (Si), titanium (Ti), iron (Fe), nickel (Ni), germanium (Ge), yttrium (Y), zirconium (Zr), molybdenum (Mo), lanthanum (La), cerium (Ce), neodymium (Nd), hafnium (Hf), tantalum (Ta), and tungsten (W). However, a combination of two or more of the above elements may be used as the element M. The element M is, for example, an element having a high binding energy with oxygen. For example, it is an element having a higher bond energy with oxygen than indium. Furthermore, the metal oxide in the channel formation region is preferably a metal oxide containing zinc (Zn). A metal oxide containing zinc may be easily crystallized.
[0046] The oxide semiconductor used for a semiconductor layer including a channel formation region of a transistor is not limited to a metal oxide containing indium. For example, a metal oxide containing zinc but not indium, such as zinc tin oxide or gallium tin oxide, a metal oxide containing gallium, or a metal oxide containing tin can be used as the oxide semiconductor.
[0047] The RAM provided in the storage unit 33 may be, for example, a dynamic random access memory (DRAM). A portion of the RAM is allocated as memory space as a working space for the information processing system 10. The operating system, programs, data, etc. stored in the auxiliary storage unit 34 are loaded into the storage unit 33 in part or in whole when the information processing system 10 is running. The application programs, program data, etc. loaded into the storage unit 33 are accessed by the calculation unit 32, and programs are executed, data is rewritten, etc.
[0048] It is preferable to use a storage device that employs a nonvolatile storage element such as a flash memory, MRAM, PRAM, ReRAM, or FeRAM as the auxiliary storage unit 34. Note that, if necessary, a volatile storage element such as a DRAM or SRAM can also be used for the auxiliary storage unit 34.
[0049] Furthermore, the auxiliary storage unit 34 may be a recording media drive such as a hard disk drive (HDD) or a solid state drive (SSD).
[0050] It is also possible to connect a storage device such as an HDD or SSD as a removable recording medium to the first information processing device 30 and use it as the auxiliary storage unit 34. It is also possible to use a media drive for a computer-readable recording medium such as a flash memory, a Blu-ray Disc (registered trademark), a DVD, or a USB memory as the auxiliary storage unit 34.
[0051] The database 40 stores data related to account items, data related to past order performance, and the like. The database 40 functions, for example, as a relational database (RDB). The database 40 has a function for storing, for example, a collection of data related to account items (also referred to as an "account item table") in a tabular format. The database 40 also has a function for storing, for example, a collection of information required for ordering, such as order information (also referred to as an "order table") in a tabular format. The data stored in the database 40 in a tabular format is also collectively referred to as a "data table." The account item table and the order table are each a type of data table. The database 40 operates according to queries (command statements) created in SQL (Structured Query Language) and has a function for searching, extracting, adding, deleting, and formatting data contained in the data table.
[0052] SQL is a type of database language used to manipulate databases, and is classified as a different language from programming languages such as Python (registered trademark), C, and C++. SQL can be used to create databases, and to search, extract, add, delete, and format data contained in the database.
[0053] Furthermore, SQL has been internationally standardized as the standard SQL specification by the International Organization for Standardization (ISO) and can be used in a variety of databases. SQL, which is a database language, is often used in conjunction with a programming language. Specifically, queries created in SQL are often embedded in programs written in a programming language.
[0054] Generally, a query created in SQL may be referred to as "SQL." In this specification and the like, a query created in SQL may also be referred to as "SQL." Therefore, in this specification and the like, "SQL" may be read as "query."
[0055] The database 40 can be provided within the first information processing device 30 (see FIG. 3A). By providing the database 40 within the first information processing device 30, the communication time between the first information processing device 30 and the database 40 can be shortened. In addition, the power consumption required for communication between the first information processing device 30 and the database 40 can be reduced. Therefore, high-speed operation and reduced power consumption of the information processing system 10 can be achieved.
[0056] The order table held by the database 40 can be represented as a table of rows and columns. FIG. 4A shows an order table 150 as an example of an order table. In this embodiment, a set of row-oriented data in the order table 150 is called a record 151. Also, in this embodiment, a set of column-oriented data in the order table 150 is called an item 161. In FIG. 4A, the four items 161 are shown as item 161[1], item 161[2], item 161[3], and item 161[4]. In FIG. 4A, item 161[1] indicates the product number, item 161[2] indicates the product name, item 161[3] indicates the account code, and item 161[4] indicates the purpose. The account code is a code associated with an account and can be composed of, for example, numbers, letters, etc.
[0057] In the order table 150, one record 151 corresponds to an order data sheet used in one transaction. Therefore, one record 151 contains itemized data from one order data sheet. In FIG. 4A , three records 151 used in three transactions are shown as records 151[1], 151[2], and 151[3]. Record 151[1] contains the product number "SOGIM000," the product name "toner," the account code "616," and the purpose "stock replenishment." Record 151[2] contains the product number "HSX00000," the product name "Xe lamp," the account code "456," and the purpose "used in measuring instruments." Record 151[3] contains the product number "FKX01000," the product name "dust mask," the account code "746," and the purpose "preventing dust inhalation."
[0058] The database 40 can have multiple data tables. As an example, FIG. 4B shows three data tables: an account subject table 140, an order table 150, and a customer information table 160. The account subject table 140 is a data table that contains information indicating account subjects according to department, purpose of use, etc., and information indicating the correspondence between account subject codes and account subjects. The customer information table 160 is a data table that contains various information related to customers. By having the database 40 have multiple data tables, various related information can be searched in a short time. This reduces the power consumption of the database 40 related to searches. In other words, high-speed operation and reduced power consumption of the information processing system 10 can be achieved.
[0059] The second information processing device 50 uses artificial intelligence (AI) for at least some of the processing. In this case, it is preferable that the second information processing device 50 particularly uses an artificial neural network (ANN) model. The neural network model is realized by a circuit (hardware) or a program (software).
[0060] In this specification, a neural network model refers to a general model that mimics the neural network of a living organism, determines the connection strength between neurons through learning, and has problem-solving capabilities. A neural network model has an input layer, an intermediate layer (hidden layer), and an output layer.
[0061] In this specification and the like, when describing a neural network model, determining the connection strengths (also called weighting coefficients) between neurons from existing information may be referred to as "learning."
[0062] In this specification and the like, constructing a neural network model using connection strengths obtained by learning and deriving a new conclusion from it may be referred to as "inference."
[0063] The second information processing device 50 also includes a language model configured using the AI. The second information processing device 50 has a function of receiving a prompt and a function of analyzing the prompt and generating a response sentence. For example, the second information processing device 50 has a function of analyzing a prompt supplied from the first information processing device 30 and generating a response sentence corresponding to the prompt. The second information processing device 50 also has a function of analyzing a prompt supplied from the first information processing device 30 via the network 90 and generating SQL required when the first information processing device 30 retrieves information from the database 40.
[0064] The second information processing device 50 can be provided within the first information processing device 30. Also, both the database 40 and the second information processing device 50 can be provided within the first information processing device 30 (see FIG. 3B ). By providing both the database 40 and the second information processing device 50 within the first information processing device 30, the communication time between the first information processing device 30 and the database 40 can be shortened. Also, the communication time between the first information processing device 30 and the second information processing device 50 can be shortened. Also, the power consumption required for communication between the first information processing device 30 and the database 40 can be reduced. Also, the power consumption required for communication between the first information processing device 30 and the second information processing device 50 can be reduced. Therefore, high-speed operation and reduced power consumption of the information processing system 10 can be achieved.
[0065] The network 90 may be, for example, an intranet or an extranet. For example, a PAN (Personal Area Network), a LAN (Local Area Network), a CAN (Campus Area Network), a MAN (Metropolitan Area Network), a WAN (Wide Area Network), or a GAN (Global Area Network) may be used. Furthermore, the network 90 may be, for example, a global network. Specifically, the Internet, which is the foundation of the World Wide Web (WWW), may be used.
[0066] Furthermore, when wireless communication is performed, communication standards such as the fourth generation mobile communication system (4G), fifth generation mobile communication system (5G), and sixth generation mobile communication system (6G), as well as specifications standardized by the IEEE such as Wi-Fi (registered trademark) and Bluetooth (registered trademark), can be used as communication protocols or communication technologies.
[0067] <Example of Information Processing Method> An example of an information processing method according to one aspect of the present invention will be described with reference to the drawings. In this embodiment, an example of an information processing method for creating an order data sheet required for an order operation will be described as an example of an information processing method using the information processing system 10.
[0068] 5 to 7 are flowcharts illustrating an example of an information processing method. In Fig. 5 to 7, the flowcharts are divided into four lanes to make it easier to understand where each process shown in the flowcharts is performed: the information terminal 20, the first information processing device 30, the database 40, and the second information processing device 50.
[0069] First, the user freely inputs instructions for creating an order data sheet into the information terminal 20 (step S103). At this time, it is preferable that the user also input data into the order data sheet to the extent possible.
[0070] 8A shows an example of the display unit 25 in step S104. FIG. 8A shows an example in which a first area 210, a second area 220, and a third area 230 are set on the display unit 25. The first area 210 is an area in which the user can arbitrarily input instructions, responses, etc. In this embodiment, an example is shown in which the instruction "I would like to order one pencil. Please create an order data sheet from the order history." is input in the first area 210. The content input in the first area 210 is sent to the first information processing device 30 by selecting the send button 290.
[0071] The second area 220 is an area where the information processing system 10 displays a response message or the like to the user. The third area 230 shows an order data sheet. In this embodiment, an example is shown in which "G123" is entered in the employee number field shown in the third area 230, "Development Department" is entered in the department field, and "Hando Taro" is entered in the name field. Information can be entered into the first area 210 and the third area 230 using the input means 22, input means 23, etc.
[0072] FIG. 9 shows a detailed example of an order data sheet that can be displayed in the third area 230. The order data sheet 231 includes order information and requester information. The order data sheet 231 shown in FIG. 9 shows an example of order information including items such as product number, product name, order quantity, unit, manufacturer name, business partner, account item, unit price, total, purpose / use, and whether or not a quote is required. Ordering goods requires fulfillment of order information. Note that, depending on the business partner, transaction content, etc., it may not be necessary to fulfill all items included in the order information. The order data sheet 231 shown in FIG. 9 also shows an example of requester information including items such as employee number, department, and name.
[0073] It should be noted that the items included in the order data sheet 231 are not limited to the above items. At least some of the above items can be deleted from the items included in the order data sheet 231, and items other than those listed above can also be included.
[0074] After receiving the instruction statement from the information terminal 20, the first information processing device 30 generates a first prompt and a second prompt (step S104). The first prompt does not include configuration information such as the number of items in the data table or an overview of the items, but includes an instruction statement input via the input means (also referred to as a "first instruction statement" or a "user instruction statement"), an instruction statement indicating a dialogue with the user (also referred to as a "second instruction statement"), and information on an order data sheet including order information. The second prompt includes the configuration information of the data table, the first instruction statement, information on the order data sheet including order information, and an instruction statement indicating the generation of SQL (also referred to as a "third instruction statement").
[0075] 8B shows an example of the first prompt generated by the first information processing device 30 in step S104 as a first prompt 171. In FIG. 8B, the first prompt includes a second instruction statement saying, "You are an order concierge who supports ordering operations. Please obtain all information necessary to complete an order data sheet from the user. Please obtain the information with as few responses as possible without bothering the user. Also, be sure to ask the user appropriate questions during operation," a user instruction statement saying, "I would like to order one pencil, so please create an order data sheet from the order history," and information about the order data sheet including the order information as attached data.
[0076] 8C shows an example of the second prompt generated by the first information processing device 30 in step S104 as a second prompt 172. The second prompt shown in FIG. 8C includes a third instruction statement that reads, "You are an order concierge who supports ordering operations. Once you have obtained the information on the order data sheet, please report the contents of the order data sheet to the first information processing device. Based on the configuration information of the data table, please create SQL to obtain past data that will supplement any deficiencies in the data sheet. If a quote is required for the project but the user does not have one, please create a document to request a quote from the supplier and provide it to the first information processing device."; a user instruction statement that reads, "I would like to order one pencil. Please create an order data sheet from the order history."; and information on the order data sheet including the order information, which is attached data, and configuration information of the data table.
[0077] After generating the first and second prompts, the first information processing device 30 transmits the first and second prompts to the second information processing device 50 having a language model (step S105).
[0078] It is also possible to send a single prompt to the second information processing device 50 instead of dividing it into multiple prompts. However, the single prompt includes information about the database 40, such as configuration information for data tables contained in the database 40. In this case, for example, a command created by a malicious user can easily lead to a "jailbreak" that extracts information that is normally set to be blocked from output. Furthermore, even a command created by a well-intentioned user could unintentionally cause a jailbreak.
[0079] The first prompt 171 is a prompt for the second information processing device 50 to interact with the user. The second prompt 172 is a prompt for the second information processing device 50 to interact with the first information processing device 30. By dividing the prompts into the first prompt and the second prompt and not adding information related to the database 40, such as configuration information of data tables, to the first prompt for interacting with the user, it is possible to prevent information leakage due to jailbreaking, etc. In other words, by not adding information related to confidential information to the first prompt for interacting with the user, it is possible to prevent information leakage due to jailbreaking, etc.
[0080] The second information processing device 50 generates a first response sentence that is a response sentence for the user in accordance with the first prompt 171. The second information processing device 50 also transmits the generated first response sentence to the first information processing device 30 (step S106). The second information processing device 50 also requests the first information processing device 30 to display the first response sentence on the display unit 25 of the information terminal 20.
[0081] For example, the second information processing device 50 transmits a first response sentence such as "I am checking the contents of the order data sheet" to the first information processing device 30 and requests the first information processing device 30 to display the first response sentence on the display unit 25 of the information terminal 20. The first information processing device 30 transmits the received first response sentence to the information terminal 20 (step S107). The information terminal 20 also displays the received first response sentence in the second area 220 of the display unit 25 (step S108, see FIG. 10A).
[0082] The second information processing device 50 also determines whether the order data sheet is complete (step S109). If the order data sheet is not complete, the second information processing device 50 generates a first response sentence, which is a response sentence for the user, and transmits it to the first information processing device 30 (step S110). The second information processing device 50 transmits a first response sentence, for example, "Searching for information necessary for ordering. Please wait," to the first information processing device 30 and requests the first information processing device 30 to display the first response sentence on the display unit 25 of the information terminal 20. The first information processing device 30 transmits the received first response sentence to the information terminal 20 (step S111). The information terminal 20 also displays the received first response sentence in the second area 220 of the display unit 25 (step S112, see FIG. 10B).
[0083] If the first response sentence requires a reply from the user, the process proceeds to step S103 (connector C), otherwise the process proceeds to step S114 (connector B, see FIG. 6).
[0084] In step S114, the second information processing device 50 generates a second response sentence, which is a response sentence for the first information processing device 30, in accordance with the second prompt 172. The second response sentence includes SQL for the first information processing device 30 to obtain information from the database 40, with the aim of completing any missing items in the order information that make up the order data sheet (step S114, see FIG. 6). The second information processing device 50 generates the SQL by inferring information based on the configuration information of the data table included in the second prompt 172, the contents of the entered items in the order data sheet, the order history of the requesting user, the order history of the department to which the requesting user belongs, and the order history of the same or similar products. The second information processing device 50 transmits the generated second response sentence to the first information processing device 30.
[0085] The first information processing device 30 acquires the SQL statement included in the second response and transmits the acquired SQL statement to the database 40 (step S115). The database 40 outputs information according to the SQL statement to the first information processing device 30 (step S116). The acquired information is, for example, supplementary information that supplements at least some of the items on the order data sheet.
[0086] The first information processing device 30 uses the data received from the database 40 to complete the contents of the order data sheet (step S117). For example, the product number field is filled in with "GB683" and the product name field is filled in with "pencil." The completed order data sheet and a first response message prompting the user to confirm the contents of the order data sheet are then displayed on the display unit 25 of the information terminal 20 (step S118). The process then returns to step S103, where the user can confirm and correct the contents of the order data sheet (connector D, see FIG. 5).
[0087] After the user confirms and modifies the contents of the order data sheet in step S103, the first information processing device 30 generates a prompt as necessary (step S104). At this time, the first response sentence generated in the previous step S106 and the information on the updated order data sheet are added to the first prompt 171, and the new first prompt 171 is used. Also, the second response sentence generated in the previous step S14 and the information on the updated order data sheet are added to the second prompt 172, and the new second prompt 172 is used.
[0088] The first information processing device 30 transmits the new first prompt 171 and the new second prompt 172 to the second information processing device 50 (step S105).
[0089] As described above, even if the item being ordered is the same, different account items are set depending on the department to which the user belongs, the purpose of use, etc. Therefore, for example, if no information is entered in the purpose / use field, an account item cannot be set. In such a case, in step S110, the second information processing device 50 generates a first response sentence such as, "The purpose of the order is required to select an account item. Please tell me the purpose of ordering pencils." The second information processing device 50 transmits the first response sentence to the first information processing device 30 and requests the first information processing device 30 to display the first response sentence on the display unit 25 of the information terminal 20. The information terminal 20 displays the received first response sentence in the second area 220 of the display unit 25 and prompts the user to enter information (steps S110 to S112, see FIG. 11A).
[0090] In such a case, since it is necessary to wait for a reply from the user, the process proceeds to step S103 (step S113).
[0091] Thereafter, steps S104 to S109 are executed in the same manner as described above. The second information processing device 50 determines whether the order data sheet is complete (step S109), and if it is determined that the order data sheet is complete, the process proceeds to step S119 (connector A, see FIG. 7).
[0092] In step S119, the second information processing device 50 determines whether or not an estimate is required for the order. For example, if the item being ordered is a subscription item or a catalog item, an estimate may not be required. If an estimate is not required, the process proceeds to step S121. On the other hand, if an estimate is required, the process checks whether or not an estimate is available in step S120, and if an estimate is not available, the process proceeds to step S124 (connector E), and if an estimate is available, the process proceeds to step S121.
[0093] In step S121, the second information processing device 50 generates a first response sentence, which is a response sentence intended for the user, and requests the first information processing device 30 to display the first response sentence on the display unit 25 of the information terminal 20. The first information processing device 30 transmits the first response sentence to the information terminal 20 (step S122). The information terminal 20 then displays the received first response sentence on the display unit 25 (step S123). Here, the second information processing device 50 displays "The order data sheet is complete" as the first response sentence informing the user that the order data sheet has been completed (see FIG. 11B), and the information processing for creating the order data sheet is terminated (connector F, see FIG. 7). The completed order data sheet is then added to the order table 150.
[0094] The completed order data sheet is stored in the memory unit 33 or auxiliary memory unit 34 of the first information processing device 30. The quotation request form can be in any file format, such as txt, docx, xml, or pdf. The destination where the completed order data sheet is saved can also be displayed on the display unit 25.
[0095] If a quotation is required but no quotation is available, the second information processing device 50 generates a document requesting the supplier to prepare a quotation (also referred to as a "quotation request") (step S124). The second information processing device 50 generates a first response message that is a response message for the user (step S125). The second information processing device 50 also transmits the first response message and the quotation request to the first information processing device 30 and requests the first information processing device 30 to display them on the display unit 25 of the information terminal 20.
[0096] The first information processing device 30 transmits the quotation request and the first response to the information terminal 20 (step S126). The information terminal 20 displays the received quotation request and the first response on the display unit 25 (step S127). Fig. 12A shows an example in which "A quotation request has been created" is displayed in the second area 220, and the quotation request is displayed in the third area 230.
[0097] The created quotation request is stored in the memory unit 33 or auxiliary memory unit 34 of the first information processing device 30. The quotation request can be stored in any file format, such as txt, docx, xml, or pdf. The destination where the created quotation request is saved can also be displayed on the display unit 25. FIG. 12B shows an example in which the second area 220 displays "A quotation request has been created and saved in the following folder: ¥¥mitsumori."
[0098] Next, the user checks the quotation request and determines whether to send it to the supplier (step S128). If the quotation request is to be sent to the supplier, the user requests the first information processing device 30 to send it (step S129). The quotation request can be sent by email, fax, SNS, or other methods.
[0099] In this way, an order data sheet can be created. According to an information processing method of one aspect of the present invention, by using a second information processing device 50 having a language model, a user can create an order data sheet in an interactive format. Furthermore, in cases such as when reordering a previously ordered item, the effort of inputting known information can be reduced. According to an information processing method of one aspect of the present invention, input of the order information required to create an order data sheet is made easy, thereby reducing the burden on the user. Furthermore, the time required to create an order data sheet can be shortened. According to an information processing method of one aspect of the present invention, an order data sheet can be created efficiently.
[0100] The second information processing device 50 also has a function of causing the language model to generate a response sentence in accordance with the first prompt 171 and having a dialogue with the user using the response sentence. Through the dialogue with the user, it is possible to obtain missing information and improve the completeness of the order data sheet.
[0101] The second information processing device 50 also has a function of causing the language model to generate SQL statements conforming to the second prompt 172 and passing the SQL statements to the first information processing device 30. The first information processing device 30 can use the SQL statements to obtain information from the database 40 and improve the completeness of the order data sheet.
[0102] As described above, the first prompt 171 is a prompt used by the second information processing device 50 to interact with the user. Also, as described above, the second prompt 172 is a prompt used by the second information processing device 50 to interact with the first information processing device 30 and to generate SQL that the first information processing device 30 passes to the database. By dividing the prompts generated by the first information processing device 30 into the first prompt 171 and the second prompt 172 and not including information related to the database 40, such as configuration information of a data table, in the first prompt 171, it is possible to prevent unintended information related to the database 40 from being mixed into the first response. In other words, by not including information related to confidential information in the first prompt used to interact with the user, it is possible to prevent information leakage due to jailbreaking or the like. According to one aspect of the present invention, a highly reliable information processing system 10 can be provided. According to one aspect of the present invention, a highly reliable information processing method can be provided.
[0103] In addition, by storing the dialogue history between the second information processing device 50 and the user executed in accordance with the first prompt 171 and performing reinforcement learning with rewards such as the number of times the first response sentence is generated until the order data sheet is completed and the average number of characters in the first response sentence, the accuracy of inference of the language model possessed by the second information processing device 50 can be improved.
[0104] Furthermore, the accuracy of inference of the language model can be improved by storing the dialogue history between the second information processing device 50 and the first information processing device 30 executed in accordance with the second prompt 172 and performing reinforcement learning using rewards such as the number of times a second response sentence is generated until the order data sheet is completed and the average number of characters in the second response sentence. By improving the accuracy of inference of the language model, it is possible to further reduce the burden on the user. It is also possible to further shorten the time required to create an order data sheet.
[0105] The number of prompts generated by the first information processing device 30 is not limited to two, and may be three or more. By generating multiple prompts according to the purpose, the accuracy of inference of the language model can be improved.
[0106] 10: Information processing system, 20: Information terminal, 21: Information processing unit, 22: Input means, 23: Input means, 24: Display device, 25: Display unit, 26: Speaker, 27: Microphone, 28: Camera, 29: Housing, 30: First information processing device, 31: Input / output unit, 32: Calculation unit, 33: Memory unit, 34: Auxiliary memory unit, 40: Database, 50: Second information processing device, 90: Network, 140: Account subject table, 150: Order table, 151: Record, 160: Supplier information table, 161: Item, 171: First prompt, 172: Second prompt, 210: First area, 220: Second area, 230: Third area, 231: Order data sheet, 290: Send button, 151[1]: Record, 151[2]: Record, 151[3]: Record, 161[1]: Item Item, 161[2]: Item, 161[3]: Item, 161[4]: Item, 20a: Information terminal, 20b: Information terminal, 20c: Information terminal, 20d: Information terminal, S103: Step, S104: Step, S105: Step, S106: Step, S107: Step, S108: Step, S109: Step, S110: Step, S111: Step, S112: Step, S113: Step, S114: Step, S115: Step, S116: Step, S117: Step, S118: Step, S119: Step, S120: Step, S121: Step, S122: Step, S123: Step, S124: Step, S125: Step, S16: Step, S127: Step, S128: Step, S129: Step
Claims
an information terminal having an input means and a display means; a first information processing device having a function of generating a first prompt and a second prompt; a second information processing device having a language model; a database having a data table; The first prompt: a first instruction sentence that does not include configuration information of the data table and is input via the input means, information of an order data sheet that includes order information, and a second instruction sentence that indicates to have a dialogue with a user; The second prompt: the data table configuration information, the first directive, information on an order data sheet including the order information, and a third directive indicating that SQL is to be generated; The second information processing device generating a first response sentence in accordance with the first prompt; and generating a second response sentence in accordance with the second prompt; The first information processing device Acquire the SQL included in the second response sentence; Send the SQL to the database, having a function of acquiring complementary information that complements the order information from the database; Information processing system. In claim 1, An information processing system having a function of displaying, on the display means, the order data sheet in which part or all of the order information has been supplemented using the supplemental information. In claim 1 or claim 2, An information processing system having a function of performing reinforcement learning using the number of times a first response sentence is generated and the average number of characters in the first response sentence as a reward. In claim 1 or claim 2, An information processing system having a function of performing reinforcement learning using the number of times a second response sentence is generated and the average number of characters in the second response sentence as rewards. In claim 1 or claim 2, The order data sheet includes requestor information. In claim 1 or claim 2, the database functions as a relational database; The information processing system includes an account item table and an order table as the data tables. generating a first prompt including a first instruction sentence input via the input means, information on an order data sheet including order information, and a second instruction sentence indicating that a dialogue with a user is to be conducted, the first prompt not including configuration information of a data table included in the database; generating a second prompt including the first directive, information from the order data sheet, a third directive indicating that SQL is to be generated, and configuration information for the data table; generating a first response sentence in accordance with the first prompt; generating a second response sentence in accordance with the second prompt; acquiring the SQL included in the second response sentence; sending the SQL to a database to obtain complementary information from the database that complements the order information; An information processing method comprising: In claim 7, an information processing method comprising a step of displaying on a display means the order data sheet in which part or all of the order information has been supplemented using the supplemental information;
Citation Information
Patent Citations
Assisted form input
JP2005251205A
Accounting processing system
JP2015064705A
Voice order reception system
JP2018041155A
Slip preparation support device, slip preparation support method, and program
JP2023107980A
Information processing device and program
WO2020234920A1