Method, information processing device, and program
The method enhances natural language model technologies by using an information processing device to generate prompts and obtain observation and analysis results, addressing the lack of convincing information in existing systems and improving response effectiveness.
Patent Information
- Application Number
- JP2024574635
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-09-25
- Filing Date
- 2024-09-24
- Publication Date
- 2025-05-07
- Estimated Expiration
- 2044-09-24
AI Technical Summary
Existing natural language model technologies, such as those used in chatbots, lack methods for obtaining highly convincing information, particularly in contexts like healthy diabetes life management.
A method involving an information processing device that accepts user inquiries, generates prompts, and inputs them into a language model to obtain observation items, additional observation items, and analysis results, ultimately providing countermeasures based on the inquiry content.
This approach improves the utilization of natural language models by enhancing the likelihood of obtaining necessary information for presenting effective countermeasures, thereby providing more convincing and relevant responses.
Smart Images

Figure 0007672595000001 
Figure 0007672595000002 
Figure 0007672595000003
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to Patent Application No. 2023-161769, filed in Japan on September 25, 2023, the entire disclosure of which is incorporated herein by reference. [Technical field]
[0002] The present disclosure relates to a method, an information processing device, and a program. [Background technology]
[0003] Conventionally, technologies related to natural language models such as chatbots have been known as systems that provide answers to questions from users. For example, Patent Literature 1 discloses a technology that uses a chatbot to provide answers to users in an integrated disease management system for patients, etc. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 7130633 Summary of the Invention [Problem to be solved by the invention]
[0005] The technology in Patent Document 1 is primarily focused on providing advice on healthy diabetic lifestyles, and does not consider a method for acquiring highly persuasive information from a natural language model. In other words, there is room for improvement in the technology for utilizing natural language models.
[0006] In view of the above circumstances, an object of the present disclosure is to improve the technology for utilizing natural language models. [Means for solving the problem]
[0007] (1) A method according to an embodiment of the present disclosure comprises: A method executed by an information processing device, comprising: Accepting inquiries from users; generating a first prompt including the query; inputting the first prompt into a language model to obtain an observation item; Accepting additional observation items related to the inquiry content; generating a second prompt including the observation item, the additional observation item, and the inquiry; presenting a countermeasure corresponding to the content of the inquiry obtained by inputting the second prompt into the language model; and Includes.
[0008] (2) A method according to one embodiment of the present disclosure is the method according to (1), further comprising: generating a third prompt including the observation item, the additional observation item, and the inquiry; inputting the third prompt into the language model to obtain an analysis result; and The second prompt further includes a result of the analysis.
[0009] (3) A method according to one embodiment of the present disclosure is a method according to (1) or (2), comprising: The first prompt includes information about any one of a medication, a physical illness, a mental illness, an environmental factor, and a psychological factor.
[0010] (4) A method according to an embodiment of the present disclosure is a method according to any one of (1) to (3), comprising: the first prompt includes information about one of a medication, a physical illness, and a mental illness; The observation items include information regarding at least one of behavior, condition, complaints from the subject, vital signs, and tests.
[0011] (5) A method according to an embodiment of the present disclosure is a method according to any one of (1) to (4), comprising: the first prompt includes information regarding a psychological factor; The observation items include information regarding at least one of the following: life history, behavioral observation, listening to the person's story, and what you would do if you were in that situation.
[0012] (6) A method according to an embodiment of the present disclosure is a method according to any one of (1) to (5), comprising: The first prompt further includes an index related to the query content.
[0013] (7) A method according to an embodiment of the present disclosure is a method according to any one of (1) to (6), comprising: The inquiry content includes at least one of inquiries regarding eating, falling, excretion, and dementia, The first prompt further includes an index related to the query content.
[0014] (8) A method according to an embodiment of the present disclosure is a method according to any one of (1) to (7), comprising: The second prompt further includes an index relating to any one of the observation item, the additional observation item, and the inquiry content.
[0015] (9) A method according to one embodiment of the present disclosure is a method according to (2), comprising the steps of: The third prompt further includes an index relating to any one of the observation item, the additional observation item, and the inquiry content.
[0016] (10) A method according to an embodiment of the present disclosure is a method according to (9), comprising the steps of: The second prompt further includes an index relating to any one of the observation item, the additional observation item, the inquiry content, and the analysis result.
[0017] (11) An information processing device according to an embodiment of the present disclosure, An information processing device including a control unit, Accepting inquiries from users, generating a first prompt including the query content; inputting the first prompt into a language model to obtain an observation item; Accept additional observation items related to the inquiry, generating a second prompt including the observation item, the additional observation item, and the inquiry content; A countermeasure corresponding to the content of the inquiry obtained by inputting the second prompt into the language model is presented.
[0018] (12) A program according to an embodiment of the present disclosure, On the computer, Accepting inquiries from users; generating a first prompt including the query; inputting the first prompt into a language model to obtain an observation item; Accepting additional observation items related to the inquiry content; generating a second prompt including the observation item, the additional observation item, and the inquiry; presenting a countermeasure corresponding to the content of the inquiry obtained by inputting the second prompt into the language model; and Execute the command. Effect of the Invention
[0019] According to one embodiment of the present disclosure, techniques for leveraging natural language models are improved. [Brief description of the drawings]
[0020] [Figure 1] 1 is a block diagram showing a schematic configuration of a system according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a schematic configuration of a terminal device. [Diagram 3] 1 is a block diagram showing a schematic configuration of an information processing device; [Figure 4]FIG. 2 is a block diagram showing a schematic configuration of a first server. [Diagram 5] FIG. 2 is a block diagram showing a schematic configuration of a second server. [Figure 6] 1 is a flowchart showing a first operation example of the information processing device. [Figure 7] 13 is a flowchart showing a second operation example of the information processing device. [Figure 8] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 9] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 10] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 11] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 12] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 13] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 14] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 15] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 16] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 17] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 18] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 19] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 20]FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. [Figure 21] FIG. 11 is a diagram illustrating an example of a user interface output by a terminal device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Hereinafter, embodiments of the present disclosure will be described.
[0022] (Overview of the embodiment) An overview of a system 1 according to an embodiment of the present disclosure will be described with reference to Fig. 1. The system 1 according to the embodiment of the present disclosure includes a plurality of terminal devices 10, an information processing device 20, a first server 30, and a second server 40. The plurality of terminal devices 10, the information processing device 20, the first server 30, and the second server 40 are communicatively connected to a network 50 including, for example, a mobile communication network and the Internet.
[0023] The multiple terminal devices 10 are any devices used by, for example, care workers, caregivers, care managers, care staff, facility directors, administrators, head office staff, etc. (hereinafter also referred to as users). For example, general-purpose electronic devices such as smartphones, PCs, or tablet terminals, or dedicated electronic devices can be adopted as the terminal devices 10. Note that, although FIG. 1 shows an example in which the system 1 is equipped with three terminal devices 10, this is not limiting. The system 1 may be equipped with less than three terminal devices 10, or may be equipped with four or more terminal devices 10.
[0024] The information processing device 20 is, for example, a server device installed in a data center or the like. For example, the information processing device 20 is a server belonging to a cloud computing system or other computing system. The information processing device 20 is capable of communicating with the terminal device 10 and the like via the network 50. Note that, although an example in which the system 1 includes one information processing device 20 is shown in FIG. 1, this is not limiting. The system 1 may include two or more information processing devices 20.
[0025] The first server 30 is a server device installed in, for example, a data center. The first server 30 is a server belonging to a cloud computing system or other computing system. The first server 30 includes a language model. In this embodiment, the language model includes any dialogue system such as a Large Language Model (LLM) or a chatbot. The language model outputs text corresponding to a prompt based on an input of a prompt, which is an instruction from a user. The first server 30 can communicate with the information processing device 20 and the like via a network 50. For example, the information processing device 20 inputs a prompt into the language model of the first server 30 and obtains an output result corresponding to the prompt. Note that, although an example in which the system 1 includes one first server 30 is shown in FIG. 1, this is not limited thereto. The system 1 may include two or more first servers 30.
[0026] The second server 40 is a server device installed in, for example, a data center. For example, the second server 40 is a server belonging to a cloud computing system or other computing system. The second server 40 has a database (hereinafter also referred to as an index) that consolidates business manuals, guidelines, past inquiries, their analysis results, and countermeasures, etc., related to a specific field such as nursing care. The second server 40 can communicate with the information processing device 20, etc., via the network 50. Note that, although FIG. 1 shows an example in which the system 1 has one second server 40, this is not limiting. The system 1 may have two or more second servers 40.
[0027] First, an overview of this embodiment will be described, and details will be described later. The information processing device 20 receives an inquiry from a user at a nursing care site or the like. The information processing device 20 generates a first prompt including the received inquiry, and inputs the first prompt into a language model to acquire an observation item. The information processing device 20 also receives additional observation items related to the inquiry from the user. The additional observation items are additional observation items necessary to answer the inquiry. The additional observation items are determined based on the observation items acquired by inputting the first prompt into the language model. Specifically, the information processing device 20 determines, as the additional observation items, observation items that are insufficient with only the observation items acquired by inputting the first prompt into the language model.
[0028] When the information processing device 20 receives the acquired additional observation item, it generates a second prompt including the observation item, the additional observation item, and the inquiry content. Then, the information processing device 20 inputs the second prompt into a language model and presents to the user a measure corresponding to the inquiry content.
[0029] Thus, according to this embodiment, when an inquiry from a user at a nursing care site or the like is received, a first prompt is generated first, and the first prompt is input into a language model to acquire observation items. Furthermore, in this embodiment, a second prompt including additional observation items received from the user is generated and the second prompt is input into a language model to present measures according to the inquiry to the user. Therefore, the technology for utilizing natural language models is improved in that the probability of acquiring information necessary for presenting measures is increased.
[0030] Next, each component of the system 1 will be described in detail.
[0031] (Terminal Device Configuration) As shown in FIG. 2, the terminal device 10 includes a control unit 11, a storage unit 12, a communication unit 13, an input unit 14, and an output unit 15.
[0032] The control unit 11 includes at least one processor, at least one dedicated circuit, or a combination of these. The processor is a general-purpose processor such as a central processing unit (CPU) or a graphics processing unit (GPU), or a dedicated processor specialized for a specific process. The dedicated circuit is, for example, a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The control unit 11 executes processes related to the operation of the terminal device 10 while controlling each part of the terminal device 10.
[0033] The storage unit 12 includes at least one semiconductor memory, at least one magnetic memory, at least one optical memory, or a combination of at least two of these. The semiconductor memory is, for example, a random access memory (RAM) or a read only memory (ROM). The RAM is, for example, a static random access memory (SRAM) or a dynamic random access memory (DRAM). The ROM is, for example, an electrically erasable programmable read only memory (EEPROM). The storage unit 12 functions as, for example, a main storage device, an auxiliary storage device, or a cache memory. The storage unit 12 stores data used in the operation of the terminal device 10 and data obtained by the operation of the terminal device 10.
[0034] The communication unit 13 includes at least one external communication interface. The communication interface may be either a wired communication interface or a wireless communication interface. In the case of wired communication, the communication interface is, for example, a LAN (Local Area Network) interface or a USB (Universal Serial Bus). In the case of wireless communication, the communication interface is, for example, an interface compatible with a mobile communication standard such as LTE (Long Term Evolution), 4G (4th generation), or 5G (5th generation), or an interface compatible with short-range wireless communication such as WiFi (registered trademark) or Bluetooth (registered trademark). The communication unit 13 receives data used in the operation of the terminal device 10, and transmits data obtained by the operation of the terminal device 10.
[0035] The input unit 14 includes at least one input interface. The input interface is, for example, a physical key, a capacitive key, a pointing device, or a touch screen integrally provided with a display. The input interface may also be, for example, a microphone that accepts voice input, or a camera that accepts gesture input. The input unit 14 accepts an operation to input data used in the operation of the terminal device 10. The input unit 14 may be connected to the terminal device 10 as an external input device instead of being provided in the terminal device 10. As a connection method, any method such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), or Bluetooth (registered trademark) can be used.
[0036] The output unit 15 includes at least one output interface. The output interface is, for example, a display that outputs information as a video, or a speaker that outputs information as a sound. The display is, for example, a liquid crystal display (LCD) or an organic EL (electro luminescence) display. The output unit 15 displays and outputs data obtained by the operation of the terminal device 10. The output unit 15 may be connected to the terminal device 10 as an external output device instead of being provided in the terminal device 10. As a connection method, any method such as USB, HDMI (registered trademark), or Bluetooth (registered trademark) can be used.
[0037] The functions of the terminal device 10 are realized by executing a program according to this embodiment on a processor corresponding to the terminal device 10. That is, the functions of the terminal device 10 are realized by software. The program causes a computer to execute the operations of the terminal device 10, thereby causing the computer to function as the terminal device 10. That is, the computer functions as the terminal device 10 by executing the operations of the terminal device 10 in accordance with the program.
[0038] In this embodiment, the program can be recorded on a computer-readable recording medium. The computer-readable recording medium includes a non-transitory computer-readable medium, such as a magnetic recording device, an optical disc, a magneto-optical recording medium, or a semiconductor memory. The program is distributed, for example, by selling, transferring, or lending a portable recording medium such as a DVD (digital versatile disc) or a CD-ROM (compact disc read only memory) on which the program is recorded. The program may also be distributed by storing the program in the storage of an external server and transmitting the program from the external server to another computer. The program may also be provided as a program product.
[0039] A part or all of the functions of the terminal device 10 may be realized by a dedicated circuit equivalent to the control unit 11. In other words, a part or all of the functions of the terminal device 10 may be realized by hardware.
[0040] (Configuration of information processing device)
[0041] As shown in FIG. 3, the information processing device 20 includes a control unit 21, a storage unit 22, and a communication unit .
[0042] The control unit 21 includes at least one processor, at least one dedicated circuit, or a combination of these. The processor is a general-purpose processor such as a CPU or a GPU, or a dedicated processor specialized for a specific process. The dedicated circuit is, for example, an FPGA or an ASIC. The control unit 21 executes processes related to the operation of the information processing device 20 while controlling each unit of the information processing device 20.
[0043] The storage unit 22 includes at least one semiconductor memory, at least one magnetic memory, at least one optical memory, or a combination of at least two of these. The semiconductor memory is, for example, a RAM or a ROM. The RAM is, for example, an SRAM or a DRAM. The ROM is, for example, an EEPROM. The storage unit 22 functions as, for example, a main storage device, an auxiliary storage device, or a cache memory. The storage unit 22 stores data used in the operation of the information processing device 20 and data obtained by the operation of the information processing device 20.
[0044] The communication unit 23 includes at least one external communication interface. The communication interface may be either an interface for wired communication or wireless communication. In the case of wired communication, the communication interface is, for example, a LAN interface or a USB. In the case of wireless communication, the communication interface is, for example, an interface compatible with a mobile communication standard such as LTE, 4G, or 5G, or an interface compatible with short-range wireless communication such as WiFi (registered trademark) or Bluetooth (registered trademark). The communication unit 23 receives data used in the operation of the information processing device 20, and transmits data obtained by the operation of the information processing device 20.
[0045] The functions of the information processing device 20 are realized by executing a program according to this embodiment in a processor corresponding to the control unit 21. That is, the functions of the information processing device 20 are realized by software. The program causes a computer to execute the operations of the information processing device 20, thereby causing the computer to function as the information processing device 20. That is, the computer functions as the information processing device 20 by executing the operations of the information processing device 20 in accordance with the program.
[0046] In this embodiment, the computer temporarily stores, for example, a program recorded on a portable recording medium or a program transmitted from a server in a main storage device. Then, the computer reads the program stored in the main storage device with a processor, and executes processing according to the read program with the processor. The computer may read the program directly from the portable recording medium and execute processing according to the program. The computer may execute processing according to the received program each time it receives a program from an external server. The external server may not transmit a program to the computer, but may execute processing by a so-called ASP (application service provider) type service that realizes functions only by execution instructions and result acquisition. Programs include information used for processing by an electronic computer that is equivalent to a program. For example, data that is not a direct instruction to a computer but has a nature that specifies computer processing corresponds to "something equivalent to a program."
[0047] A part or all of the functions of the information processing device 20 may be realized by a dedicated circuit corresponding to the control unit 21. In other words, a part or all of the functions of the information processing device 20 may be realized by hardware.
[0048] (First server configuration)
[0049] As shown in FIG. 4, the first server 30 includes a control unit 31, a storage unit 32, and a communication unit 33.
[0050] The control unit 31 includes at least one processor, at least one dedicated circuit, or a combination of these. The processor is a general-purpose processor such as a CPU or GPU, or a dedicated processor specialized for a specific process. The dedicated circuit is, for example, an FPGA or an ASIC. The control unit 31 executes processes related to the operation of the first server 30 while controlling each unit of the first server 30.
[0051] The storage unit 32 includes at least one semiconductor memory, at least one magnetic memory, at least one optical memory, or a combination of at least two of these. The semiconductor memory is, for example, a RAM or a ROM. The RAM is, for example, an SRAM or a DRAM. The ROM is, for example, an EEPROM. The storage unit 32 functions, for example, as a main storage device, an auxiliary storage device, or a cache memory. The storage unit 32 stores data used in the operation of the first server 30 and data obtained by the operation of the first server 30. For example, the storage unit 32 stores a language model. Also, for example, the language model may be stored in a GPU memory such as a VRAM of a GPU included in the control unit 31. Examples of the GPU memory include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), and other forms of memory known in the art. In an example in which the GPU is configured as a part of another processor, for example, a host processor, the GPU memory can be accessed by a component other than the GPU.
[0052] The communication unit 33 includes at least one external communication interface. The communication interface may be either a wired communication interface or a wireless communication interface. In the case of wired communication, the communication interface is, for example, a LAN interface or a USB. In the case of wireless communication, the communication interface is, for example, an interface compatible with a mobile communication standard such as LTE, 4G, or 5G, or an interface compatible with short-range wireless communication such as WiFi (registered trademark) or Bluetooth (registered trademark). The communication unit 33 receives data used in the operation of the first server 30, and transmits data obtained by the operation of the first server 30.
[0053] The functions of the first server 30 are realized by executing a program according to this embodiment on a processor corresponding to the control unit 31. That is, the functions of the first server 30 are realized by software. The program causes a computer to execute the operations of the first server 30, thereby causing the computer to function as the first server 30. That is, the computer functions as the first server 30 by executing the operations of the first server 30 in accordance with the program.
[0054] A part or all of the functions of the first server 30 may be realized by a dedicated circuit corresponding to the control unit 31. In other words, a part or all of the functions of the first server 30 may be realized by hardware.
[0055] (Second server configuration) As shown in FIG. 5, the second server 40 includes a control unit 41, a storage unit 42, and a communication unit 43.
[0056] The control unit 41 includes at least one processor, at least one dedicated circuit, or a combination of these. The processor is a general-purpose processor such as a CPU or GPU, or a dedicated processor specialized for a specific process. The dedicated circuit is, for example, an FPGA or an ASIC. The control unit 41 executes processes related to the operation of the second server 40 while controlling each part of the second server 40.
[0057] The storage unit 42 includes at least one semiconductor memory, at least one magnetic memory, at least one optical memory, or a combination of at least two of these. The semiconductor memory is, for example, a RAM or a ROM. The RAM is, for example, an SRAM or a DRAM. The ROM is, for example, an EEPROM. The storage unit 42 functions as, for example, a main storage device, an auxiliary storage device, or a cache memory. The storage unit 42 stores data used in the operation of the second server 40 and data obtained by the operation of the second server 40. For example, the storage unit 42 stores an index. The index may be stored in the storage unit 22 of the information processing device 20.
[0058] The communication unit 43 includes at least one external communication interface. The communication interface may be either a wired communication interface or a wireless communication interface. In the case of wired communication, the communication interface is, for example, a LAN interface or a USB. In the case of wireless communication, the communication interface is, for example, an interface compatible with a mobile communication standard such as LTE, 4G, or 5G, or an interface compatible with short-range wireless communication such as WiFi (registered trademark) or Bluetooth (registered trademark). The communication unit 43 receives data used in the operation of the second server 40, and transmits data obtained by the operation of the second server 40.
[0059] The functions of the second server 40 are realized by executing a program according to this embodiment on a processor corresponding to the control unit 41. That is, the functions of the second server 40 are realized by software. The program causes a computer to execute the operations of the second server 40, thereby causing the computer to function as the second server 40. That is, the computer functions as the second server 40 by executing the operations of the second server 40 in accordance with the program.
[0060] A part or all of the functions of the second server 40 may be realized by a dedicated circuit corresponding to the control unit 41. In other words, a part or all of the functions of the second server 40 may be realized by hardware.
[0061] (Operation example 1 of information processing device) An example of the operation of the information processing device 20 according to this embodiment will be described with reference to Fig. 6. Fig. 6 is a flowchart showing an example of a method executed by the information processing device 20 according to this embodiment.
[0062] Step S100: The control unit 21 of the information processing device 20 accepts the inquiry content from the user. Any method can be adopted as a method for accepting the inquiry content from the user. For example, the inquiry content may be acquired by the information processing device 20 via the terminal device 10. In this case, the output unit 15 of the terminal device 10 may prompt the user to input the inquiry content, for example, by outputting a user interface screen related to the acceptance of the inquiry content.
[0063] Step S200: The control unit 21 generates a first prompt including the content of the inquiry. Here, the first prompt may include a predetermined prompt template as appropriate. This allows the language model to output according to the predetermined prompt template.
[0064] Step S300: The control unit 21 inputs the first prompt into the language model to acquire an observation item. Specifically, the control unit 21 transmits the first prompt generated in step S200 to the first server 30 via the communication unit 23, and inputs the first prompt into the language model of the first server 30. The language model outputs an observation item corresponding to the first prompt. The control unit 21 acquires the output observation item from the first server 30 via the communication unit 23.
[0065] Step S400: The control unit 21 accepts additional observation items related to the inquiry content. Any method can be adopted as a method for accepting additional observation items from a user. For example, the additional observation items may be acquired by the information processing device 20 via the terminal device 10. In this case, the output unit 15 of the terminal device 10 may prompt the user to input the additional observation items, for example, by outputting a user interface screen related to the acceptance of the additional observation items.
[0066] Step S500: The control unit 21 generates a second prompt including the observation item, the additional observation item, and the inquiry. Here, the second prompt may include a predetermined prompt template as appropriate. This allows the language model to output according to the predetermined prompt template.
[0067] Step S600: The control unit 21 presents a countermeasure corresponding to the inquiry content obtained by inputting the second prompt into the language model. Specifically, the control unit 21 transmits the second prompt generated in step S500 to the first server 30 via the communication unit 23, and inputs the second prompt into the language model of the first server 30. The language model outputs a countermeasure corresponding to the second prompt. The control unit 21 acquires the output countermeasure from the first server 30 via the communication unit 23. Then, the control unit 21 presents the acquired countermeasure. Any method can be adopted as a method of presenting the acquired countermeasure. For example, the acquired countermeasure may be presented by the information processing device 20 via the terminal device 10. In this case, the output unit 15 of the terminal device 10 outputs a user interface screen including, for example, the content of the acquired countermeasure.
[0068] In this way, according to the operation example 1 of the present embodiment, when an inquiry from a user at a nursing care site or the like is received, a first prompt is generated first, and the first prompt is input into a language model to acquire an observation item. Furthermore, in the operation example 1, a second prompt including an additional observation item received from the user is generated, and the second prompt is input into a language model to present a countermeasure to the user according to the inquiry. Therefore, the natural language model utilization technology is improved in that the probability of acquiring information necessary for presenting a countermeasure is increased.
[0069] (Operation example 2 of information processing device) With reference to Fig. 7, an operation example 2 of the information processing device 20 according to this embodiment will be described. Fig. 7 is a flowchart showing an example of a method executed by the information processing device 20 according to this embodiment. The same operations as those in Fig. 6 are given the same reference numerals. Operation example 2 differs from operation example 1 in that a third prompt is generated and an analysis result is obtained from the language model, and that the second prompt includes the analysis result.
[0070] Step S100: The control unit 21 of the information processing device 20 accepts the inquiry content from the user. Any method can be adopted as a method for accepting the inquiry content from the user. For example, the inquiry content may be acquired by the information processing device 20 via the terminal device 10. In this case, the output unit 15 of the terminal device 10 may prompt the user to input the inquiry content through the input unit 14, for example, by outputting a user interface screen related to the acceptance of the inquiry content.
[0071] Step S200: The control unit 21 generates a first prompt including the content of the inquiry. Here, the first prompt may include a predetermined prompt template as appropriate. This allows the language model to output according to the predetermined prompt template.
[0072] Step S300: The control unit 21 inputs the first prompt into the language model to acquire an observation item. Specifically, the control unit 21 transmits the first prompt generated in step S200 to the first server 30 via the communication unit 23, and inputs the first prompt into the language model of the first server 30. The language model outputs an observation item corresponding to the first prompt. The control unit 21 acquires the output observation item from the first server 30 via the communication unit 23.
[0073] Step S400: The control unit 21 accepts additional observation items related to the inquiry content. Any method can be adopted as a method for accepting additional observation items from a user. For example, the additional observation items may be acquired by the information processing device 20 via the terminal device 10. In this case, the output unit 15 of the terminal device 10 may prompt the user to input the additional observation items through the input unit 14, for example, by outputting a user interface screen related to the acceptance of the additional observation items.
[0074] Step S410: The control unit 21 generates a third prompt including the observation item and the inquiry content. Here, the third prompt may include a predetermined prompt template as appropriate. This allows the language model to output according to the predetermined prompt template.
[0075] Step S420: The control unit 21 inputs the third prompt into the language model and acquires an analysis result. Specifically, the control unit 21 transmits the third prompt generated in step S410 to the first server 30 via the communication unit 23, and inputs the third prompt into the language model of the first server 30. The language model outputs an analysis result corresponding to the third prompt. The control unit 21 acquires the output analysis result from the first server 30 via the communication unit 23.
[0076] Step S510: The control unit 21 generates a second prompt including the observation item, the additional observation item, the inquiry, and the analysis result. Here, the second prompt may include a predetermined prompt template as appropriate. This allows the language model to output according to the predetermined prompt template.
[0077] Step S600: The control unit 21 presents a countermeasure corresponding to the inquiry content obtained by inputting the second prompt into the language model. Specifically, the control unit 21 transmits the second prompt generated in step S500 to the first server 30 via the communication unit 23, and inputs the second prompt into the language model of the first server 30. The language model outputs a countermeasure corresponding to the second prompt. The control unit 21 acquires the output countermeasure from the first server 30 via the communication unit 23. Then, the control unit 21 presents the acquired countermeasure. Any method can be adopted as a method of presenting the acquired countermeasure. For example, the acquired countermeasure may be presented by the information processing device 20 via the terminal device 10. In this case, the output unit 15 of the terminal device 10 outputs a user interface screen including, for example, the content of the acquired countermeasure.
[0078] Thus, according to the operation example 2 of the present embodiment, when an inquiry from a user at a nursing care site or the like is received, a first prompt is generated first, and the first prompt is input into a language model to acquire an observation item. Furthermore, in the operation example 2, a third prompt including an additional observation item received from the user is generated, and the third prompt is input into a language model to acquire an analysis result according to the inquiry. Then, in the operation example 2, a second prompt including an observation item, an additional observation item, the inquiry, and an analysis result is generated, and the second prompt is input into a language model to present a countermeasure according to the inquiry to the user. Therefore, by including the analysis result as information necessary for presenting the countermeasure, a more appropriate countermeasure can be presented.
[0079] (User interface example) Below, examples of user interfaces displayed by the terminal device 10 in the above-mentioned operation example 2 are shown. Figs. 8-11 show examples of user interface screens related to the reception of inquiry contents in step S100. The inquiry contents include a consultation summary, listening information, and the type of consultation contents. The terminal device 10 receives the consultation summary, listening information, and the type of consultation contents through the user interfaces in Figs. 8, 10, and 11, respectively.
[0080] The user interface screen shown in FIG. 8 is a screen for accepting input of a consultation summary. The consultation summary includes the consultation content, information of the care recipient (age, level of care required, residence, etc.), medical history, current illness history, and medication history of the care recipient. The information of the care recipient (age, level of care required, residence, etc.), medical history, current illness history, and medication history of the care recipient may also be referred to as attribute information of the care recipient. As shown in FIG. 8, reference sentence examples may be displayed in each of the fields 81-84 for accepting input of the consultation content, information of the care recipient, medical history, current illness history, and medication history of the care recipient. This makes it easy to understand what kind of sentence should be entered in each field. The user interface screen shown in FIG. 9 is a screen showing a state in which input of the consultation summary has been completed. When a button 85 is selected, the screen transitions to a screen for accepting input of the hearing information.
[0081] The user interface screen shown in FIG. 10 is a screen for accepting input of information obtained through interviews. The information obtained through interviews includes information obtained through interviews from the person in question, information obtained through interviews from related parties, and other information. As in FIG. 8, reference example sentences may be displayed in each of the fields 101-104 in FIG. 10 for accepting input of information obtained through interviews from the person in question, information obtained through interviews from related parties, and other information. When button 105 is selected, the screen transitions to a screen for accepting input of information obtained through interviews. On the other hand, when button 106 is selected, the screen returns to a screen for accepting input of a consultation summary.
[0082] The user interface screen shown in Fig. 11 is a screen for receiving input of the type of consultation content. In the example shown in Fig. 11, the types of consultation content are five types: diet, fall, excretion, dementia, and others. The user interface screen shown in Fig. 11 includes buttons 111-115 corresponding to each of these types. By selecting any of the buttons 111-115, the type of consultation content is selected and a first prompt including the inquiry content is generated.
[0083] In addition, an index related to the type of inquiry content may be referenced according to the type of consultation content. That is, the first prompt may include the index. In other words, the first prompt may further include an index related to the inquiry content. Specifically, the control unit 21 of the information processing device 20 acquires an index related to the type of inquiry content from the second server 40 according to the type of consultation content. The control unit 21 generates the first prompt based on the acquired index. Depending on the type of language model, such as a general-purpose language model, an output with expected accuracy may not be obtained for a prompt including industry-specific technical terms and expressions. Therefore, by having the language model refer to a predetermined index, it is possible to output an answer that is more specific to the consultation content. More specifically, the inquiry content may include at least one of inquiries regarding eating, falling, excretion, and dementia, and the first prompt may further include an index related to the inquiry content. As a result, a desired answer can be obtained even for inquiries in the medical or nursing care field, such as eating, falling, excretion, or dementia. Also, for example, the second prompt may include an index related to at least one of the observation items, the additional observation items, and the inquiry content. This allows the general-purpose language model to refer to a predetermined index, thereby allowing an answer specialized to the consultation content to be output. Furthermore, the third prompt may include an index related to at least one of the observation items, the additional observation items, and the inquiry content. This allows the general-purpose language model to refer to a predetermined index, thereby allowing an answer specialized to the consultation content to be output. Furthermore, when the analysis result is obtained by the third prompt, the second prompt may further include an index related to any of the observation items, the additional observation items, the inquiry content, and the analysis result. A more accurate output can be obtained. Note that, by using an LLM, which is an example of a language model developed for general purposes, the technology according to the present disclosure can be implemented in a nursing care site, etc., without building a new model. In this case, by having the LLM refer to an index including information about the field to be implemented (nursing care field, etc.), an output more optimized for the nursing care field, etc. can be obtained.In addition, the present disclosure does not preclude fine-tuning or transfer learning of a general-purpose language model. For example, even if a language model has been additionally trained, it is possible to obtain a more accurate output by inputting information on a specific index.
[0084] 12 to 14 show examples of user interface screens related to step S300.
[0085] The user interface screen shown in FIG. 12 is a screen showing an intermediate stage in which observation items are acquired after the first prompt is input to the language model. The acquired observation items are controlled based on the above-mentioned predetermined prompt template. The predetermined prompt template may be any one. Here, a case will be described in which the predetermined prompt template is based on a framework for specific problem solving (hereinafter also referred to as PROM). In PROM, the problem solving process is divided into five processes. The five processes are (1) problem identification, (2) understanding of the state, (3) analysis, (4) measures, and (5) evaluation. In PROM, these five processes are executed in the order of (1) to (5). Here, the processes of (2) understanding of the state and (3) analysis are performed from a phenomenologically multifaceted perspective. Specifically, the state is understood or analyzed from the perspective of five factors (5 reasons). The five factors are (1) checking medication, (2) the presence or absence of a physical disease, (3) the presence or absence of a mental disease, (4) environmental factors, and (5) psychological factors. Of these, five items (5 Objects) are observed when assessing or analyzing the condition of (1) medication, (2) the presence or absence of physical illness, and (3) mental illness. The five items are (1) behavior and condition, (2) complaints from the patient, (3) vital signs, (4) simple medical tests, and (5) tests at a medical institution. On the other hand, when assessing or analyzing the condition of (5) psychological factors, three or more items (Mental 3+1) are observed. The three or more items are (1) life history, (2) behavioral observation, (3) listening to the patient, and (4) what I would do if I were in that situation.
[0086] To implement a problem-solving framework based on PROM, for example, the first prompt may include a predetermined template according to PROM. For example, the first prompt may include information on at least one of medication, physical illness, mental illness, environmental factors, and psychological factors. By including this information, an output based on these five factors (5 Reasons) can be obtained from the language model. Also, for example, the first prompt may include information on at least one of behavior, state, complaint from the person, vital signs, and examination. By including this information, these five items (5 Objects) can be output to the language model as observation items. In other words, in this embodiment, when the first prompt includes information on at least one of medication, physical illness, and mental illness, the observation items may include information on at least one of behavior, state, complaint from the person, vital signs, and examination. Also, when the first prompt includes information on mental illness, the observation items may include information on at least one of life history, behavioral observation, listening to the person, and what to do if you were the person. By including this information, it is possible to have the language model output these three or more items (Mental 3+1) as observation items.
[0087] As described above, the user interface screen shown in FIG. 12 is a screen showing the intermediate stage of obtaining observation items. Here, the state is grasped and the observation items are confirmed from the viewpoints of five reasons, namely (1) checking medication, (2) presence or absence of physical illness, (3) presence or absence of mental illness, (4) environmental factors, and (5) psychological factors, and the progress of each is shown by icons 121-129. Icons 121, 126, 127, 128, and 129 indicate that processing by the language model is in progress. On the other hand, icons 122-125 indicate that processing by the language model is completed. When processing of all these items is completed, the observation items corresponding to the first prompt are obtained from the language model, and the screen transitions to the next user interface screen.
[0088] The user interface screens shown in FIG. 13, FIG. 14, and FIG. 15 are screens showing observation items corresponding to the first prompt. The observation items corresponding to the first prompt may be listed for each of the above-mentioned five reasons. The user interface screen shown in FIG. 13 includes observation items related to medication inspection. The tabs 131-135 are selection objects for selecting the observation items to be displayed. The tabs 131-135 correspond to (1) medication inspection, (2) presence or absence of physical illness, (3) presence or absence of mental illness, (4) environmental factors, and (5) psychological factors, respectively. When the tabs 131-135 are selected by the user, the observation items corresponding to each factor are listed. FIG. 13 shows a user interface screen when the tab 131 is selected. As shown in FIG. 13, the user interface screen lists observation items related to medication inspection. The listed information includes the category of the observation item, the item name, a description, and a result of whether or not it is included in the inquiry content. The category of the observation item corresponds to the above-mentioned 5Objects or Mental 3+1. The result of whether or not the observation item is included in the inquiry is indicated by YES (Y) or NO (N). Y indicates that the observation item is included in the inquiry. N indicates that the observation item is not included in the inquiry. Observation items marked with N correspond to the additional observation items described above.
[0089] The user interface screen shown in Fig. 14 is a user interface screen when tab 132 is selected. As shown in Fig. 14, the user interface screen lists observation items related to the presence or absence of physical illness.
[0090] The user interface screen shown in Fig. 15 shows the user interface screen when tab 135 is selected. As shown in Fig. 15, such user interface screen lists observation items related to psychological factors. In the example shown in Fig. 15, the observation items include information on items corresponding to the above-mentioned Mental 3+1, namely, life history, behavioral observation, listening to what the person has to say, and what I would do if I were in that situation.
[0091] In FIG. 13, FIG. 14, or FIG. 15, when the button 136 is selected, the screen transitions to the next screen. On the other hand, when the button 137 is selected, the screen returns to the consultation summary input screen, and the consultation content is corrected. For example, in FIG. 13, FIG. 14, or FIG. 15, if it is confirmed that the observation items are included in the inquiry content, when the button 136 is selected, the screen transitions to the next screen. On the other hand, in FIG. 13, FIG. 14, or FIG. 15, if the observation items are insufficient, the countermeasures may not be presented sufficiently. In this case, a user interface screen that prompts the input of the insufficient observation items (additional observation items) is displayed, and the input of the additional observation items from the user is accepted. Any method can be adopted as the mode of inputting the additional observation items. For example, the user may return to the user interface screen shown in FIG. 8 and re-enter all the information. Alternatively, a user interface screen listing only the additional observation items may be displayed, and the additional observation items may be accepted by the user interface screen.
[0092] Here, information related to advice from a doctor may be input as an additional observation item. The user interface screen shown in FIG. 16 is a screen for accepting input of information related to advice from a doctor. A field 151 is an object into which information related to advice from a doctor can be input. When a button 152 is selected with information related to advice from a doctor input in the field 151, a third prompt is generated including an observation item, an additional observation item, and an inquiry, with the information related to advice from a doctor as an additional observation item. On the other hand, when the button 152 is selected with no information input in the field 151, a third prompt is generated including an observation item and an inquiry.
[0093] 17 to 19 show examples of user interface screens related to step S420.
[0094] The user interface screen shown in FIG. 17 is a screen showing an intermediate stage in which an analysis result is obtained after the third prompt is input to the language model. The analysis result to be obtained is controlled based on the above-mentioned predetermined prompt template. In this embodiment, the third prompt is described as including a predetermined template according to the PROM. In FIG. 17, the analysis is performed from the viewpoints of five reasons, namely (1) checking medication, (2) the presence or absence of physical illness, (3) the presence or absence of mental illness, (4) environmental factors, and (5) psychological factors, and the progress of each is indicated by icons 161-165. Icons 161 and 164 indicate that processing by the language model is in progress. On the other hand, icons 162, 163, and 165 indicate that processing by the language model is completed. When processing of all items is completed, an analysis result corresponding to the third prompt is obtained from the language model, and the screen transitions to the next user interface screen.
[0095] The user interface screens shown in FIG. 18 and FIG. 19 are screens showing analysis results corresponding to the third prompt. The analysis results corresponding to the third prompt may be listed for each of the five reasons described above. The user interface screen shown in FIG. 18 includes analysis results related to a medicine check. Tabs 171-175 are selection objects for selecting the analysis results to be displayed. Tabs 171-175 correspond to (1) medicine check, (2) presence or absence of physical illness, (3) presence or absence of mental illness, (4) environmental factors, and (5) psychological factors, respectively. When tabs 171-175 are selected by the user, analysis results corresponding to each of these factors are listed. FIG. 18 shows a user interface screen when tab 171 is selected. As shown in FIG. 18, the user interface screen lists analysis results related to a medicine check. The listed information includes whether or not the medicine is affected, and the reasons why the medicine is thought to be affected.
[0096] The user interface screen shown in FIG. 19 shows the user interface screen when tab 172 is selected. As shown in FIG. 18, the user interface screen lists analysis results related to the presence or absence of physical illness. The listed information includes the presence or absence of an influence of a physical illness or physical condition, and the reasons why a physical illness or physical condition is thought to have an influence. When button 176 is selected in FIG. 18 or FIG. 19, a second prompt including an observation item, an additional observation item, an inquiry, and an analysis result is generated, and the screen transitions to the next user interface screen shown in FIG. 20.
[0097] 20 and 21 show examples of the user interface screen related to step S600.
[0098] The user interface screen shown in Fig. 20 is a screen showing an intermediate stage in which a measure corresponding to the inquiry content is being acquired after the second prompt is input into the language model. When the processing by the language model is completed, the screen transitions to the user interface screen shown in Fig. 21.
[0099] The user interface screen shown in Fig. 21 is a screen that presents countermeasures according to the content of the inquiry. The presented information includes a target state and countermeasures. In this way, the target state and countermeasures according to the content of the inquiry are specifically shown. As exemplified in Fig. 21, by selecting button 201 or button 202, a new analysis may be started, or a reanalysis with changed consultation content may be performed.
[0100] In the above-described embodiment, the information processing device 20 may be configured or operated to execute a part or all of the present disclosure. For example, the information processing device 20 may be configured or operated to configure a prompt to include a consultation matter related to a care recipient and attribute information of the care recipient, input such a prompt to an LLM, and obtain an answer corresponding to the consultation matter from the LLM. More specifically, information on the care recipient (age, level of care required, residence, etc.), any one of the medical history, current medical history, and drug history of the care recipient, and the consultation matter may be input to the LLM. Furthermore, information on the consultation matter or information other than the attribute information of the care recipient may be included in the prompt as an index and input to the LLM. In addition, although the present disclosure has been described based on the drawings and examples, it should be noted that a person skilled in the art may make various modifications and alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are included in the scope of the present disclosure. For example, the functions included in each component or step can be rearranged so as not to cause logical inconsistency, and multiple components or steps can be combined or divided into one.
[0101] For example, in the above-described embodiment, the configuration and operation of the information processing device 20 may be distributed among a plurality of computers that can communicate with each other. Also, for example, an embodiment in which some or all of the components of the information processing device 20 are provided in the terminal device 10 may be possible. [Explanation of symbols]
[0102] 1 System 10 Terminal Equipment 11 Control section 12 Storage section 13. Communications Department 14 Input section 15 Output section 20 Information processing device 21 Control section 22 Memory section 23 Communications Department 30 First Server 31 Control Unit 32 Storage section 33 Communications Department 40 Second Server 41 Control section 42 Storage section 43 Communications Department 50 Network 81, 82, 83, 84 Fields 85 Button 101, 102, 103, 104 Fields 105 Button 111, 112, 113, 114, 115 buttons 121, 122, 123, 124, 125, 126, 127, 128, 129 Icons Tabs 131, 132, 133, 134, 135 136, 137 Buttons 151 Field 152 Buttons 161, 162, 163, 164, 165 Icons Tabs 171, 172, 173, 174, 175 176 Buttons 201, 202 Buttons
Claims
1. A method executed by an information processing device, comprising: Accepting inquiries from users; generating a first prompt including the query; inputting the first prompt into a language model to obtain an observation item; Accepting additional observation items related to the inquiry content; generating a second prompt including the observation item, the additional observation item, and the inquiry; presenting a countermeasure corresponding to the content of the inquiry obtained by inputting the second prompt into the language model; and The method includes:
2. 10. The method of claim 1 further comprising: generating a third prompt including the observation item, the additional observation item, and the inquiry; inputting the third prompt into the language model to obtain an analysis result; The method, wherein the second prompt further includes a result of the analysis.
3. 2. The method of claim 1 , The method, wherein the first prompt includes information regarding any of a medication, a physical illness, a mental illness, an environmental factor, and a psychological factor.
4. 2. The method of claim 1 , the first prompt includes information about one of a medication, a physical illness, and a mental illness; The method, wherein the observation items include information regarding at least one of behavior, condition, personal complaints, vital signs, and tests.
5. 2. The method of claim 1 , the first prompt includes information regarding a psychological factor; The method, wherein the observation items include information regarding at least one of life history, behavioral observation, listening to the person's story, and what they would do if they were the person.
6. The method of claim 1, further comprising: The method, wherein the first prompt further includes an index related to the query content.
7. The method of claim 1, further comprising: The inquiry content includes at least one of inquiries regarding eating, falling, excretion, and dementia, The method, wherein the first prompt further includes an index related to the query content.
8. The method of claim 1, further comprising: The method of claim 1, wherein the second prompt further includes an index relating to any of the observation item, the additional observation item, and the query content.
9. The method of claim 2, further comprising: The method of claim 1, wherein the third prompt further includes an index relating to any of the observation item, the additional observation item, and the inquiry content.
10. 10. The method of claim 9, further comprising: The method, wherein the second prompt further includes an index relating to any of the observation item, the additional observation item, the inquiry, and the analysis result.
11. An information processing device including a control unit, Accepting inquiries from users, generating a first prompt including the query content; inputting the first prompt into a language model to obtain an observation item; Accept additional observation items related to the inquiry, generating a second prompt including the observation item, the additional observation item, and the inquiry content; The information processing device presents a countermeasure corresponding to the inquiry content obtained by inputting the second prompt into the language model.
12. On the computer, Accepting inquiries from users; generating a first prompt including the query; inputting the first prompt into a language model to obtain an observation item; Accepting additional observation items related to the inquiry content; generating a second prompt including the observation item, the additional observation item, and the inquiry; presenting a countermeasure corresponding to the content of the inquiry obtained by inputting the second prompt into the language model; and A program to execute.
Citation Information
Patent Citations
Medical report generation method and system
CN116779092A
Care management supporting system
JP2000003391A
Integrated Disease Management System
JP7130633B2