Information provision device

The system addresses the challenge of providing diverse and accurate chatbot responses by using GPT to generate answers supplemented with web-based content and employing emotion estimation and handover mechanisms, ensuring reliable and understandable interactions.

JP2024155910AInactive Publication Date: 2024-10-31CANVAS SOCIAL INSURANCE LABOR CONSULTANT CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024095334
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing chatbot technologies struggle to provide accurate and understandable information in response to a variety of questions, particularly in specific service fields like labor management, due to limitations in learning and generating diverse responses and supplementary content.

Method used

The system employs GPT to generate answers and integrates web-based diagrams and tables, classifies questions, and includes emotion estimation and handover mechanisms to ensure accurate and easy-to-understand responses, using pre-trained models for labor management and supplementary information from databases.

Benefits of technology

The system provides accurate and easy-to-understand information by generating human-like text supplemented with relevant charts and tables, ensuring timely handovers to human operators when needed, thus enhancing the reliability and comprehensibility of responses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155910000001_ABST
    Figure 2024155910000001_ABST
Patent Text Reader

Abstract

To provide means capable of providing accurate and intelligible information to various questions in a field of a target service.SOLUTION: An information provision device 1 includes a question receiving part 111 configured to receive a question, an answer generating part 114 configured to cause Generative Pre-trained Transformer (GPT) to generate an answer to the question, a diagram, etc. acquisition part 116 configured to acquire a diagram, etc. relating to the question from the Web, and a report generation part 119 configured to generate a report including the answer generated by the answer generation part 114 and the diagram, etc. acquired by the diagram, etc. acquisition part 116.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information providing device. [Background technology]

[0002] Information is provided using chatbots, which are programs that respond to questions from humans. In providing information using chatbots, there is a demand for providing accurate information in response to various questions in the field of services using the chatbots.

[0003] Regarding a chatbot intended to provide accurate information for various questions, Patent Document 1 discloses a system configured in a chatbot that establishes communication with a first user via a first information terminal by exchanging (sending and receiving) information with a first information terminal 1 in a two-way (interactive) and real-time manner, converting the voice uttered by the user into text data by pattern matching using DNN-HMM or the like, generating text data to respond to the user using response patterns learned in advance for the text data and / or response patterns stored in a database, and eliminating errors, uncertain information, etc. from information provided by the user. According to the technology of Patent Document 1, it is possible to eliminate errors and uncertain information from information provided by a user and increase the reliability of the information. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-57049 Summary of the Invention [Problem to be solved by the invention]

[0005] However, the technology of Patent Document 1 merely discloses generating text data to respond to a user using response patterns that have been learned in advance for text data by some method and / or response patterns stored in a database. Therefore, it is unclear whether the technology of Patent Document 1 has learned and stored response patterns for various questions in the field of the target service. Therefore, the technology of Patent Document 1 has room for further improvement in terms of providing a chatbot that can provide accurate information for various questions in the field of the target service.

[0006] The present invention has been made in view of the above circumstances, and its object is to provide a means capable of providing accurate and easy-to-understand information in response to various questions in the field of a target service. [Means for solving the problem]

[0007] As a result of intensive research into solving the above problems, the inventors have found that the above object can be achieved by having GPT generate answers to questions and generating a report that combines the answers with diagrams related to the questions obtained from the Web. The inventors have then completed the present invention. Specifically, the present invention provides the following:

[0008] The present invention provides an information providing device comprising a question receiving unit configured to receive a question, an answer generating unit configured to cause a GPT to generate an answer to the question, a chart etc. acquisition unit configured to acquire charts etc. related to the question from the Web, and a report generating unit configured to generate a report including the answer generated by the answer generating unit and the charts etc. acquired by the chart etc. acquisition unit.

[0009] As a machine learning method for generating answers to questions, there is a method in which questions are classified into groups prepared in advance by machine learning using pattern matching based on a probabilistic method, and answers prepared by humans are output as response patterns for the groups. However, such a method cannot generate answers to questions that cannot be classified into the groups prepared in advance. Therefore, such a method has room for further improvement in terms of providing information for various questions in the field of the target service.

[0010] The information providing device of the present invention generates answers to questions using GPT, which is trained to generate human-like text from a large corpus of text data. Thus, the present invention can generate answers to a variety of questions in the field of the target service.

[0011] Answers to questions become more understandable and accurate when supplemented with diagrams, tables, images, and other figures. However, GPT is a language model that generates human-like text, and is not a language model that generates diagrams and other figures that supplement answers to questions. Therefore, there is room for further improvement in the method that uses only GPT in terms of providing more understandable and accurate information to questions.

[0012] The information providing device of the present invention can obtain charts, etc. related to a question from the Web, and generate a report in which the obtained charts, etc. are attached to the answer generated by GPT. For example, if the field of the target service is a service that provides advice on labor management, there are many accurate charts, etc. on the Web that can supplement the answers to various questions, as exemplified by charts, etc. related to labor management provided by government ministries and agencies. This allows the present invention to provide more understandable and accurate information in response to a question, accompanied by charts, etc. exemplified by figures, tables, images, etc. Effect of the Invention

[0013] The present invention can provide a means capable of providing accurate and easy-to-understand information in response to various questions in the field of a target service. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a block diagram showing an example of the hardware configuration and software configuration of a system S in this embodiment. [Diagram 2] FIG. 2 is a main flowchart showing an example of a preferable flow of the information provision process executed by the information provision device 1 of this embodiment. [Diagram 3] FIG. 3 is a continuation of FIG. [Figure 4] FIG. 4 is a continuation of FIG. [Diagram 5] FIG. 5 is an example of a report generated in the information provision process of this embodiment. [Figure 6] Figure 6 is an example of a report that has been generated to include various information in set proportions. [Figure 7] FIG. 7 is an example of a report that has been generated with different information included in different proportions than in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings.

[0016] 1 is a block diagram showing an example of a hardware configuration and a software configuration of a system S in this embodiment. The information providing system S (system S) is configured to include at least an information providing device 1. The system S is preferably configured to include a terminal T capable of communicating with the information providing device 1 via a network N.

[0017] [Information provision device 1] The information providing device 1 includes at least a control unit 11, a storage unit 12, and a communication unit 13. There is no particular limitation on the type of the information providing device 1. Examples of the type include a server, a cloud server, and the like.

[0018] [Control unit 11] The control unit 11 includes a central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM).

[0019] The control unit 11 cooperates with the storage unit 12 and / or the communication unit 13 as necessary. The control unit 11 then realizes software components of the program of this embodiment executed by the information providing device 1, such as a question receiving unit 111, a feeling estimating unit 112, a handover unit 113, an answer generating unit 114, a reading unit 115, a chart and graph acquiring unit 116, a ratio setting unit 117, an information acquiring unit 118, and a report generating unit 119. The functions provided by each of the software components of the program of this embodiment will be described in the description of a preferred flow of the information providing process, which will be described later.

[0020] [Storage section 12] The storage unit 12 is a device in which data and / or files are stored, and includes a data storage unit such as a hard disk, a semiconductor memory, a recording medium, and a memory card.

[0021] The storage unit 12 may have a mechanism that enables connection via the network N to a storage device or storage system such as a NAS, a SAN, cloud storage, a file server, and / or a distributed file system.

[0022] The memory unit 12 stores programs executed by the microcomputer, received questions, answers to questions, dialogue history, reports on questions, language models (GPT), a labor management information database, the proportion of solutions, notices, and precedents in the reports, a group of specified keywords indicating the degree of emotion, the degree of emotion, information regarding handover to a human operator, a voice recognition model, a voice synthesis model, and the like.

[0023] (Language Model) The language model is not particularly limited as long as it is a Generative Pre-trained Transformer or a language model based thereon. Hereinafter, such a language model is also simply referred to as "GPT". The language model may be stored in the storage unit 12, or may be stored in another server available by communication via the communication unit 13 in order to simplify the configuration of the storage unit 12 of the information providing device 1.

[0024] Specific language models include, for example, ChatGPT, GPT-3, GPT-4 by OpenAI, GPT-J by EleutherAI, etc. Since these language models are trained with a large-scale corpus of text data, the information providing device 1 of the present embodiment can generate answers to various questions in the field of the target service that sound as if written by a human.

[0025] The language model is preferably a GPT that has been pre-trained to generate answers to questions about labor management. In this way, when the field of the target service is a service that provides advice on labor management, the information providing device 1 can provide a means for providing accurate information for various questions in the service. The pre-training referred to here is not particularly limited. Examples of the pre-training include transfer learning and / or fine tuning using a dataset of questions about labor management and answers to the questions.

[0026] However, questions about labor management are often classified into several typical question groups. When the group to which a question belongs can be determined in advance, it is preferable that the language model includes a GPT (group-specific pre-trained GPT) that has been pre-trained on generating answers to questions belonging to each of a plurality of groups prepared in advance. This allows the GPT to provide more accurate information for questions belonging to the corresponding group. In addition, such a GPT can be made lighter than a GPT that generates accurate answers to questions whose groups are not determined.

[0027] The question groups may be, for example, a group of questions about working hours, a group of questions about wages, a group of questions about safety and health, a group of questions about education and training, a group of questions about subsidies, and so on.

[0028] Examples of group-specific pre-trained GPTs include the working-hours pre-trained GPT, which has been pre-trained on answers to questions about working hours, the wages pre-trained GPT, which has been pre-trained on answers to questions about wages, the safety and health pre-trained GPT, which has been pre-trained on answers to questions about safety and health, the education and training pre-trained GPT, which has been pre-trained on answers to questions about education and training, and the subsidy pre-trained GPT, which has been pre-trained on answers to a group of questions about subsidies.

[0029] By storing the wage pre-trained GPT, which has been pre-trained regarding answers to questions about wages, in the memory unit 12, the information providing device 1 can generate answers to questions about wages that suggest appropriate wages based on the size, attributes, etc. of the organization to which the person asking the question belongs.

[0030] By storing the safety and health pre-trained GPT, which has been pre-trained regarding answers to questions about safety and health, in the memory unit 12, the information providing device 1 can generate answers to questions about safety and health that suggest how to use safety and health systems, such as how to apply for sickness allowance in accordance with the current application form.

[0031] By storing the pre-trained GPT for education and training, which has been pre-trained regarding answers to questions about education and training, in the memory unit 12, the information providing device 1 can generate answers to questions about education and training that suggest the adoption of education and training, etc. that is likely to lead to recruitment and retention according to the size, attributes, etc. of the organization to which the questioner belongs.

[0032] By storing the subsidy pre-trained GPT, which has been pre-trained regarding answers to a group of questions regarding subsidies, in the memory unit 12, the information providing device 1 can generate answers to questions about subsidies, grants, etc. that suggest the use of subsidies, etc. according to the size, attributes, etc. of the organization to which the questioner who asked the question belongs.

[0033] The language model may be a lightweight language model that uses an already trained language model and is "distilled" to produce a lighter language model. This allows the information providing device 1 to provide information quickly with lighter processing. In particular, by using a language model that has been "distilled" after pre-learning on generating answers to questions about labor management, the information providing device 1 can prevent the time from a question to a response from becoming longer due to pre-learning.

[0034] (Labor management information database) The labor management information database (database) stores information related to labor management. The stored information preferably includes reports on labor management, solutions to questions about labor management, notices from administrative agencies about labor management, and legal precedents about labor management, which are information that can be added to reports on questions about labor management to supplement the reports.

[0035] The stored information preferably includes information obtained from the World Wide Web (Web) so that the content can be confirmed by the questioner. The stored information preferably is information that is periodically obtained from the Web by crawling or the like so that the information reflects the latest knowledge. The stored information preferably includes information whose content has been confirmed by a human so that the information is guaranteed to be accurate. The stored information preferably includes information that has been associated with the question by a human so that the information can be appropriately associated with the question.

[0036] (Specified keywords) The designated keyword group is made up of one or more designated keywords associated with the degree of emotion of the questioner. Examples of the designated keywords include keywords associated with the degree of emotion that takes a positive value, such as "you don't understand," "unkind," "cold," "impossible," and "unreasonable," and keywords associated with the degree of emotion that takes a negative value, such as "thank you," "I see," "gratitude," and "I get it." By storing the designated keyword group in the memory unit 12, the information providing device 1 can estimate the degree of emotion of the questioner who sent the question, based on the designated keywords included in the question.

[0037] (Speech recognition model) The voice recognition model is not particularly limited as long as it is a model that can convert the form of a question (question data) from voice to text. The voice recognition model includes, for example, a model related to acoustic analysis, an acoustic model, a language model, and the like.

[0038] By including a model related to acoustic analysis in the voice recognition model, the information providing device 1 can examine the features (frequency and volume) of the voice constituting the question, and extract and convert it into data that is easy to handle in the acoustic model.

[0039] By including an acoustic model in the voice recognition model, the information providing device 1 can compare the feature amount digitized in the acoustic analysis with the data of the pre-trained acoustic model, and extract phonemes, which are the smallest units of sound waves.

[0040] By including a language model in the speech recognition model, the information providing device 1 can convert the extracted phonemes into accurate text data. In order to improve the recognition accuracy, the speech recognition model is preferably a model using a neural network, such as the speech recognition model Whisper by OpenAI.

[0041] (Speech synthesis model) The voice synthesis model is not particularly limited as long as it is a model that can convert text data such as an answer generated by the answer generating unit 114 into a voice that reads out the text data. The voice synthesis model may be, for example, a rule-based voice synthesis model, a waveform concatenation type voice synthesis model, a statistical parametric voice synthesis model, or the like.

[0042] Among them, the voice synthesis model is preferably a statistical parametric voice synthesis model exemplified by hidden Markov model voice synthesis and neural network voice synthesis, which allows the information providing device 1 to perform voice synthesis with higher expressiveness and more naturalness than the hidden Markov model.

[0043] By storing the voice recognition model and the voice synthesis model in the storage unit 12, the information providing device 1 can provide accurate information for various questions in the field of the target service through voice dialogue. In particular, by storing the voice recognition model and the voice synthesis model of statistical parametric voice synthesis in the storage unit 12, the information providing device 1 can provide accurate information for various questions in the field of the target service through natural voice dialogue like when interacting with a human.

[0044] [Communications Section 13] The communication unit 13 is not particularly limited as long as it connects the information providing device 1 to the network N and enables communication with the terminal T, etc. Examples of the communication unit 13 include a wireless device compatible with a mobile phone network, a device connectable to a wireless LAN, and a network card compatible with the Ethernet standard.

[0045] [Network N] The type of the network N is not particularly limited as long as it enables communication between the information providing device 1 and the terminal T. The type of the network N is, for example, the Internet, a mobile phone network, a wireless LAN, or the like.

[0046] [Terminal T] The terminal T is, for example, a personal computer, a laptop computer, a smartphone, a tablet terminal, etc. The terminal T can execute a process of displaying information provided by the information providing device 1, a process of providing a user's input via a user interface to the information providing device 1, and the like.

[0047] [Main Flowchart of Information Provision Processing] Fig. 2 is a main flow chart showing an example of a preferable flow of the information provision processing executed by the information provision device 1 of this embodiment. Fig. 3 is a diagram continuing from Fig. 2. Fig. 4 is a diagram continuing from Fig. 3. Hereinafter, an example of a preferable flow of the information provision processing executed by the information provision device 1 of this embodiment will be described with reference to Figs. 2 to 4.

[0048] First, the control unit 11 executes the question receiving unit 111 in cooperation with the storage unit 12 and the communication unit 13. Then, the control unit 11 executes the processes related to the question receiving unit 111, that is, steps S1 to S3.

[0049] [Step S1: Receiving a question] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of receiving a question from the terminal T or the like (step S1, question receiving step). The control unit 11 moves the process to step S2. The form of the question that can be received in the question receiving step includes a text form.

[0050] In order to enable the information providing device 1 to provide accurate information for various questions in the field of the target service by voice dialogue, the form of the question that can be received in the question receiving step preferably includes a voice form. In this case, the management process preferably includes the processes of steps S2 to S3.

[0051] [Step S2: Determine whether the question is in the form of voice] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of determining whether the question received in step S1 is in the form of voice (step S2, question form determination step). If it is determined that the question is in the form of voice, the control unit 11 moves the process to step S3. If it is not determined that the question is in the form of voice, the control unit 11 moves the process to step S4.

[0052] [Step S3: Convert the question into text format] The control unit 11, in cooperation with the storage unit 12, executes a process of converting the question form determined to be a voice form in step S2 into a text form using a voice recognition model stored in the storage unit 12 (step S3, voice recognition step). The control unit 11 moves the process to step S4.

[0053] After receiving the question, it is preferable that the control unit 11 executes the feeling deduction unit 112 and the handover unit 113 in cooperation with the storage unit 12 and the communication unit 13. At this time, the control unit 11 executes the process of step S4 which is the process related to the feeling deduction unit 112 and the process of steps S5 to S6 which are the processes related to the handover unit 113.

[0054] When a dialogue is conducted using an answer generated by GPT, the generated answer looks as if it was written by a human, so there is a concern that the user who asked the question may become emotional, as when dealing with a human. By executing the processes from step S4 to step S6, the information providing device 1 can hand over the response to the questioner who has become emotional and is difficult to handle using the program of this embodiment to a human operator.

[0055] In the following steps S4 to S6, the handover caused by the degree of emotion exceeding a threshold is described, but the reason for transitioning to the handover step is not limited to the degree of emotion. The reason may be, for example, that the answer generated by GPT contains a phrase indicating that the intention of the question cannot be understood, or that the question contains a phrase encouraging an answer that violates public order and morals.

[0056] Since GPT tries to generate answers to various questions, there is a concern that if GPT cannot generate an accurate answer, it may generate an inaccurate answer. The information providing device 1 configured to transition to a handover step based on the determination that the answer contains a phrase or the like indicating that the intent of the question cannot be understood can prevent such an answer from being generated.

[0057] Since GPT can generate answers to a variety of questions, there is a concern that it may generate answers that tarnish the reputation of the provider of the information providing device 1, for example, by asking questions that encourage answers that go against public order and morals. The information providing device 1 that is configured to transition to a handover step based on the determination that a question contains a phrase that encourages an answer that goes against public order and morals can prevent such answers from being generated.

[0058] [Step S4: Estimate the degree of the questioner's emotion] The control unit 11, in cooperation with the storage unit 12, executes a process of estimating the degree of emotion of the questioner who sent the question, based on the specified keyword included in the question received in step S1 (step S4, emotion estimation step). The control unit 11 moves the process to step S5.

[0059] The "designated keyword" in the emotion estimation step refers to each of the designated keywords included in the designated keyword group stored in the storage unit 12. This step includes, for example, a procedure of estimating that the sum of values ​​obtained by multiplying the number of designated keywords included in the designated keyword group included in the question by the degree of emotion associated with the designated keyword corresponds to the degree of emotion of the questioner.

[0060] [Step S5: Determine whether the emotion level exceeds the threshold] The control unit 11, in cooperation with the storage unit 12, executes a process of determining whether the degree of emotion estimated in step S4 exceeds a threshold that requires operator intervention (step S5, emotion threshold excess determination step). If it is determined that the degree is exceeded, the control unit 11 moves the process to step S6. If it is not determined that the degree is exceeded, the control unit 11 moves the process to step S7. The threshold is not particularly limited, and may be, for example, a value designated by an administrator of the system S, etc.

[0061] [Step S6: Handover to a human operator] The control unit 11, in cooperation with the storage unit 12, executes a process of handing over the dialogue regarding the question received in step S1 to a human operator (step S6, handover step). The control unit 11 ends the information provision process and returns the process to step S1.

[0062] The handover method in the handover step is not particularly limited. Examples of the handover method include automatic transition to a chat with a human operator, presentation of the human operator's contact information (email address, URL, phone number, etc.), etc. In order to smoothly perform the handover, it is preferable that the handover step includes notification of the history of the question (e.g., a series of questions and answers, etc.).

[0063] Next, the control unit 11 executes the answer generation unit 114 in cooperation with the storage unit 12 and the communication unit 13. Then, the control unit 11 executes the process related to the answer generation unit 114, that is, step S7.

[0064] [Step S7: Generate answers to questions] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of causing the GPT stored in the storage unit 12 to generate an answer to the question received in step S1 (step S7, answer generation step). The control unit 11 moves the process to step S8.

[0065] To prevent processing from becoming too large, the answer generation step is preferably a procedure in which an upper limit is set on the number of tokens in answer generation (e.g., 4096 tokens). A "token" is a processing unit equivalent to a character, word, etc. in GPT. The number of tokens in answer generation is the sum of the number of tokens in the history, the number of tokens in the question, and the number of tokens in the answer. This allows the information providing device 1 of this embodiment to prevent processing from becoming too large in answer generation and provide information more quickly.

[0066] Incidentally, when an upper limit is set on the number of tokens in answer generation, the number of tokens in the answer may be limited. This may result in an answer that does not include sufficient information as an answer to the question. In order to generate an answer that includes sufficient information as an answer to the question, the answer generation step preferably includes a procedure of classifying questions into groups prepared in advance. The procedure of classifying questions is not particularly limited. The procedure may be a procedure using an RPA in which a procedure for classifying questions is recorded, or a procedure using a GPT that has been pre-trained on classifying questions.

[0067] Since the answer generation step includes a procedure for classifying the question, the information providing device 1 can cause the group-specific pre-trained GPT to generate an answer to the question as a downstream task after classification. At this time, the information providing device 1 can generate the answer excluding the information on the above-mentioned classification, which is a prerequisite for generation in the group-specific pre-trained GPT and is information that does not need to be transmitted to the GPT via history. Therefore, the information providing device 1 that executes the answer generation step including the above-mentioned procedure can generate an answer that includes sufficient information as an answer to a question, even if an upper limit is set on the number of tokens in answer generation.

[0068] Furthermore, since the answer generation step includes a procedure for classifying questions, the information providing device 1 can cause a group-specific pre-trained GPT that is lighter in weight than when an answer is generated by a GPT that generates answers to questions whose groups are not yet determined, to generate more accurate answers.

[0069] The answer generating step preferably includes a procedure for generating an answer that prompts the questioner to supplement the question when the question does not contain enough information to generate an accurate answer, thereby enabling the information providing device 1 to generate a more accurate answer based on the original question and the supplemental information from the questioner prompted by such an answer.

[0070] The answer generation step preferably includes, when it is determined that the question received in step S1 is a question about the labor management of a company or other organization, a procedure for acquiring organizational information provided by the organization by the information acquisition unit 118. The organizational information is not particularly limited, and includes, for example, basic information about labor management exemplified by the work regulations of the organization, the employment contract used in the organization, the payroll ledger of the organization, the time card of the organization, the size and industry of the organization, etc.

[0071] As a result, in the answer generation step, the information providing device 1 can execute a procedure of having the GPT generate an answer to the question by including the organization information in the history after the organization information is acquired. Then, the information providing device 1 can generate and provide a more accurate answer by the GPT based on the basic information on labor management provided by the organization.

[0072] The answer generating step preferably includes a procedure of generating an answer structure for a question by GPT and further generating answer elements included in the structure by GPT. This allows the information providing device 1 to generate an answer with a length that exceeds the upper limit of the number of tokens even if an upper limit is set for the number of tokens in answer generation.

[0073] It is preferable that the control unit 11 cooperates with the storage unit 12 and the communication unit 13 to execute the reading unit 115. At this time, the control unit 11 executes the process of step S8 which is the process related to the reading unit 115. This enables the information providing device 1 to provide accurate information for various questions in the field of the target service through voice dialogue.

[0074] [Step S8: Read out the answer] The control unit 11 cooperates with the storage unit 12 to execute a process of reading out the answer generated in step S7 by voice (step S8, reading step). The control unit 11 moves the process to step S9.

[0075] The procedure for reading out in the reading step is not particularly limited, and may be a procedure using a conventional voice synthesis technique. The procedure preferably includes a procedure using a voice synthesis model of parametric voice synthesis. This allows the information providing device 1 to perform voice synthesis that is more expressive and natural than a hidden Markov model. The procedure preferably includes a procedure using neural network voice synthesis, which is more expressive and natural than hidden Markov model voice synthesis.

[0076] When an answer is generated by the GPT, the control unit 11, in cooperation with the memory unit 12 and the communication unit 13, executes the process of step S9 in which it is determined whether further dialogue is required before generating a report for the question. When providing information such as answers to questions about labor management, there are times when dialogue is more important than a report that includes charts and graphs. By executing the process of step S9, the information providing device 1 can prevent interrupting the dialogue by presenting a report in situations where dialogue is important.

[0077] [Step S9: Determine if further interaction is required] The control unit 11 cooperates with the storage unit 12 to execute a process of determining whether further dialogue is required (step S9, dialogue continuation determination step). If it is determined that further dialogue is required, the control unit 11 stores the dialogue history in the storage unit 12 and moves the process to step S1. If it is not determined that further dialogue is required, the control unit 11 moves the process to step S10. The dialogue continuation determination step is not particularly limited. This step includes a procedure of determining that further dialogue is required, for example, when the generation of a report is not instructed and / or suggested, when a response prompting the user to supplement the question is generated in step S7, etc.

[0078] After the answer to the question is generated, the control unit 11 executes the chart, etc. acquisition unit 116 in cooperation with the storage unit 12 and the communication unit 13. Then, the control unit 11 executes the processes related to the chart, etc. acquisition unit 116, from step S10 to step S11.

[0079] Answers to questions become more understandable and accurate when supplemented with diagrams, tables, images, and other figures. However, GPT is a language model that generates human-like text, and is not a language model that generates diagrams and other figures that supplement answers to questions. Therefore, there is room for further improvement in the method that uses only GPT in terms of providing more understandable and accurate information to questions.

[0080] By executing the process related to the chart / diagram acquisition unit 116, the information providing device 1 of this embodiment can acquire charts / diagrams related to the question from the Web and generate a report in which the acquired charts / diagrams are attached to the answer generated by GPT. For example, if the target service field is a service that provides advice on labor management, there are many accurate charts / diagrams on the Web that can supplement answers to various questions, such as charts / diagrams related to labor management provided by government ministries and agencies. This makes it possible for the present invention to provide more understandable and accurate information in response to questions, which is accompanied by charts / diagrams exemplified by figures, tables, images, and the like.

[0081] [Step S10: Generate search phrases] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of generating a search phrase for searching for charts and the like on the Web based on the question received in step S1 (step S10, search phrase generation step). The control unit 11 moves the process to step S11.

[0082] The search phrase generation step is not particularly limited. For example, the step may be a procedure using an RPA in which a procedure for generating search phrases is recorded, or a procedure using a GPT that has been pre-trained on generating search phrases.

[0083] [Step S11: Obtain charts, tables, etc. from the web] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of acquiring, from the Web, charts and the like related to the question received in step S1, using the search phrase generated in step S10 (step S11, chart and the like acquisition step). The control unit 11 then proceeds to step S12.

[0084] It is preferable that the control unit 11 cooperates with the storage unit 12 and the communication unit 13 to execute the ratio setting unit 117 and the information acquisition unit 118. At this time, the control unit 11 executes the process of step S12 which is the process related to the ratio setting unit 117, and the process of steps S13 to S14 which are the process related to the information acquisition unit 118.

[0085] [Step S12: Set the percentage of each type of information in the report] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of setting the ratio of various pieces of information acquired by the information acquisition unit 118 in a report to be generated later by the report generation unit 119 (step S12, ratio setting step). The control unit 11 moves the process to step S13.

[0086] The ratio setting step is not particularly limited. For example, the step may be a procedure based on the requester's designation, a procedure using an RPA in which procedures for setting the ratios of various pieces of information are recorded, or a procedure using a GPT that has been pre-trained on setting the ratios of various pieces of information from history. As a procedure based on the requester's designation, for example, a procedure in which a user is presented with five levels of ratios prepared in advance and allowed to select the ratio of various pieces of information from the five levels is given.

[0087] In the ratio setting step, it is preferable to set a ratio for each type of information according to a range indicated by a lower limit and an upper limit of the ratio of the information included therein, etc. In this way, even if the amount of each type of information obtained, such as the answers generated and the charts obtained, cannot be precisely controlled, the information providing device 1 can generate a report that includes solutions, notices, and precedents at the ratio indicated in the range set in the ratio setting step.

[0088] An organization may have different expected tendencies in answers to questions about labor management depending on the nature of the organization, exemplified by business scale, business content, location, etc. Therefore, the ratio setting step preferably includes a procedure of classifying the organization into one of a plurality of groups prepared in advance according to its nature using the organization information provided by the organization shown in step S7, and setting a ratio associated with the group.

[0089] The ratio setting step preferably includes a procedure for setting the ratio of solutions corresponding to the labor management-related issues included in the report, the ratio of notices from government agencies and the like related to the issues, and the ratio of court precedents related to the issues. This allows the information providing device 1 to appropriately set the ratio of solutions, notices, and issues included depending on the nature of the organization to which the questioner belongs.

[0090] [Step S13: Determine whether various information needs to be acquired] The control unit 11, in cooperation with the storage unit 12, executes a process of determining whether it is necessary to acquire the various pieces of information whose ratios were set in step S12 (step S13, acquisition necessity determination step). If it is determined that it is necessary, the control unit 11 moves the process to step S14. If it is not determined that it is necessary, the control unit 11 moves the process to step S16. The acquisition necessity determination step is not particularly limited, and may include, for example, a procedure of determining that it is necessary to acquire the various pieces of information if any of the ratios of the various pieces of information set in step S12 is not 0.

[0091] [Step S14: Acquire various information] The control unit 11, in cooperation with the storage unit 12, executes a process of acquiring the various pieces of information determined to be required to be acquired in step S13 from the labor management information database stored in the storage unit 12 (step S14, information acquisition step). The control unit 11 shifts the process to step S15.

[0092] The information acquired in the information acquisition step preferably includes solutions to questions about labor management, notices from administrative agencies about labor management, and / or legal precedents about labor management based on the determination in step S13. This allows the information providing device 1 to generate a report accompanied by various information such as solutions, notices, legal precedents, etc., which are stored in the labor management information database and whose contents have been confirmed by a human and which are associated with questions.

[0093] The control unit 11 cooperates with the storage unit 12 and the communication unit 13 to execute the report generation unit 119. Then, the control unit 11 executes the processes related to the report generation unit 119, that is, steps S15 to S16.

[0094] [Step S15: Generate a report with charts, graphs, and other information] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of generating a report in which the answer generated in step S7 is accompanied by the charts and the like acquired in step S11 and the various information acquired in step S14 (step S15, various information-attached report generation step). The control unit 11 ends the information provision process and returns the process to step S1.

[0095] The report generated in the various information-attached report generation step (various information-attached report) includes a predetermined ratio of the charts, etc. acquired in step S11. Here, "including a predetermined ratio" refers to, for example, that the ratio of the area of ​​the various information-attached report that the charts, etc. occupy is within a preset ratio range.

[0096] The report with various information includes the solutions, notices, and precedents acquired in step S14 at a ratio set in step S12 (a ratio set by the ratio setting unit 117). "Include at a ratio" here means that, for example, the ratio of the area, number of characters, etc. of the various information is included within the range of the ratio set in step S12. The report with various information will be described in more detail later with reference to Figs. 6 and 7.

[0097] The information providing device 1 can provide accurate and easy-to-understand information including various information related to questions (solution proposals, notices, precedents, etc.) by generating various information-attached reports that include various information at a set ratio in addition to charts, etc. Since the various information is information that is pre-stored in the labor management information database, the information providing device 1 can provide more accurate information that is periodically acquired from the Web by crawling, etc., and is available for users to check, and the content of which is checked by a human and appropriately associated with a question, etc.

[0098] [Step S16: Generate a report with charts, graphs, etc.] The control unit 11, in cooperation with the storage unit 12 and the communication unit 13, executes a process of generating a report in which the answer generated in step S7 is accompanied by the charts and the like acquired in step S11 (step S16, report generation step). The control unit 11 ends the information provision process and returns the process to step S1.

[0099] The report (answer report) generated in the report generation step includes the charts and the like acquired in step S11 at a predetermined ratio. Here, "including at a predetermined ratio" means, for example, that the ratio of the area of ​​the answer report that the charts and the like occupy is within a range of a preset ratio. The answer report will be described in more detail later with reference to FIG. 5.

[0100] The information providing device 1 can provide accurate and easy-to-understand information for various questions in the field of the target service by generating a report with various information including charts and the like at a predetermined ratio.

[0101] [Survey Step] It is preferable that the information provision process includes a questionnaire step of obtaining the questioner's evaluation of the dialogue consisting of a question to the information provision device 1 and a response from the information provision device 1, and storing the evaluation in the memory unit 12, for use in additional learning of the GPT, the history provision step described below, etc.

[0102] As a result, the information providing device 1 can use the questioner's evaluation, exemplified by whether or not the questioner felt that the dialogue contributed to solving the problem asked about, whether or not the questioner felt that the dialogue was emotionally in tune with the questioner's feelings, whether or not the questioner would prefer dialogue with a human operator, etc., in additional learning of the GPT, a history providing step described later, etc. As a result, the information providing device 1 can be improved so as to be able to more accurately determine the timing to hand over to a human operator.

[0103] [History provision step] The information provision process preferably includes a history provision step of providing a history including one or more of various information such as questions, answers, charts, etc., transmitted and received by the information provision device 1 to an expert in the field of the target service. This enables the expert to use the contents and trends of the history to improve advice according to the nature of the questioner and the organization to which the questioner belongs.

[0104] As a result, for example, if the service field in question is one that provides advice on labor management, a labor management expert such as a social insurance labor consultant can provide the organization with advice to improve work efficiency, such as establishing rules, based on a history that includes the content of the question, the trend of the questions, and the size, industry, and location of the organization to which the questioner belongs.

[0105] [Information update step] The information provision process preferably includes an information updating step of crawling predetermined crawling target sites, exemplified by websites publishing notices from administrative agencies, websites publishing court precedents, etc., and performing additional training of the GPT using the published notices, precedents, etc. This enables the information provision device 1 to prevent generating answers that were previously accurate but have become inaccurate due to notices, precedents, etc., exemplified by systems that have become outdated due to amendments, operations that have been shown to be inappropriate by precedents, etc.

[0106] <Usage example> An example of how the information providing device 1 is used will be described below.

[0107] [Submit a question] First, a user who uses the information providing device 1 via a terminal T transmits a question about the labor management of an organization (for example, a text or spoken voice data such as "I would like to improve the time recorder") to the information providing device 1. The information providing device 1 receives the transmitted question.

[0108] [Answer Generation] The information providing device 1 classifies the received question using a GPT that has been pre-trained on classifying questions, and obtains a classification result that the question is a question about working hours. Then, the information providing device 1 generates an answer to the received question using a working-hour pre-trained GPT that has been pre-trained on working hours.

[0109] [Request for additional information] Here, since the question is ambiguous, "I want to improve the time recorder," the working-hours pre-trained GPT generates an answer, "What aspects would you like to improve in order to improve the time recorder? Please tell me the details," in order to narrow down the intent of the question. Then, the information providing device 1 reads out this answer using a voice synthesis model. In response to the answer read out on the terminal T, the user transmits supplementary information, such as, "Ah, so what I'm saying is that I want to improve the time recorder to make attendance management more efficient."

[0110] [Request for organization information] Here, since the nature of the organization to which the user belongs and the current status of attendance management in the organization are unknown, the working hour pre-trained GPT generates a response to confirm the current status, saying, "Could you please provide us with materials about your company? Also, please tell us the current status of attendance management." In response to this response, the user provides the information providing device 1 with materials related to the size and industry of the organization and the time cards used in the organization. The information providing device 1 receives the provided information and generates a response by including the information in its history.

[0111] [Generating Reports] The information providing device 1 includes the dialogue consisting of the questions and answers up to this point and the provided information in the history, and causes the working time pre-trained GPT to generate an answer to the question. The information providing device 1 also generates a search phrase "attendance management" from the question (and supplementary information), and acquires charts and the like related to "attendance management" from the web. The information providing device 1 then generates a report including the generated answers and the acquired charts and the like.

[0112] Fig. 5 is an example of a report generated in the information provision process of this embodiment. The first report R1 shown in Fig. 5 includes answers generated by GPT (first title R1T "Proposal for Improving the Efficiency of Attendance Management" and first generated text R1G showing a specific method for improving the efficiency of attendance management), and charts and the like acquired from the Web (first charts and the like R1F including a pie chart of the results of a questionnaire on attendance management and a table summarizing the current situation, issues, solutions, and advantages of attendance management).

[0113] By generating the first report R1 through the above-described procedure, the information providing device 1 can provide a report that clearly shows accurate information for a variety of questions in the field of the target service (service providing advice on labor management).

[0114] [Report containing various information] The following is an example of a report generated by the information providing device 1 including the ratio setting unit 117 and the information acquiring unit 118.

[0115] FIG. 6 is an example of a report generated so that various information is included at a set ratio. In generating the second report R2 shown in FIG. 6, the ratio setting unit 117 sets the ratio of solutions and notices to 10-30% and the ratio of precedents to 0% based on the judgment regarding the nature of the user. Therefore, unlike the first report R1, the second report R2 includes a second solution R2S (titled "Solution, etc." and showing the name and URL of an attendance management tool) and a second notice R2N (titled "Related notices, etc." and showing notices by the Small and Medium Enterprise Agency and their URLs), each of which is about 20%. The second solution R2S and the second notice R2N are various information acquired from the database of this embodiment. Like the first report R1, the second report R2 includes answers generated by GPT (the second title R2T, "Proposals for improving the efficiency of attendance management," and the second generated text R2G, which shows specific methods for improving the efficiency of attendance management) and charts and other charts obtained from the Web (the second charts and charts R2F, which includes a pie chart of the results of the questionnaire on attendance management and a table summarizing the current situation, challenges, solutions, and advantages of attendance management).

[0116] FIG. 7 is an example of a report generated so that various information is included at a different ratio from that in FIG. 6. In generating the third report R3 shown in FIG. 7, the ratio setting unit 117 sets the ratio of solutions included to 10-30% based on the judgment regarding the nature of the user, and sets the ratio of notices and precedents included to 0%. Therefore, unlike both the first report R1 and the second report R2, the third report R3 includes a third solution proposal R3S (titled "Solution proposal, etc." and showing the name and URL of the attendance management tool) that accounts for about 20% of the report, but does not include notices, etc. The third solution proposal R3S is various information acquired from the database of this embodiment. Like the first report R1 and the second report R2, the third report R3 includes answers generated by the GPT (the third title R3T, "Proposals for improving the efficiency of attendance management," and the third generated text R3G, which shows specific methods for improving the efficiency of attendance management) and charts, etc. obtained from the Web (the third charts, etc. R3F, which includes a pie chart of the results of the questionnaire on attendance management and a table summarizing the current situation, challenges, solutions, and advantages of attendance management).

[0117] In this way, the information providing device 1 equipped with the ratio setting unit 117 and the information acquiring unit 118 generates a report that includes various information in a predetermined ratio tailored to the user, and can provide a report that presents accurate information in response to various questions in the field of the target service in an even easier-to-understand manner.

[0118] It should be noted that within the scope of the concept of the present invention, a person skilled in the art may come up with various modifications and alterations. It is understood that such modifications and alterations fall within the scope of the present invention. For example, even if a person skilled in the art appropriately adds, deletes, or modifies the design of the above-described embodiment, or adds, omits, or modifies the conditions of a process, these modifications and alterations are included in the scope of the present invention as long as they include the gist of the present invention. [Explanation of symbols]

[0119] S System 1 Information provision device 11 Control section 111 Question Reception Department 112 Emotion estimation part 113 Handover Department 114 Answer generation part 115 Reading section 116 Charts and Tables Acquisition Department 117 Ratio setting section 118 Information Acquisition Department 119 Report Generation Unit 12 Storage section 13. Communications Department N Network T-Terminal

Claims

1. A question receiver configured to receive a question; an answer generator configured to cause the GPT to generate an answer to the question; a diagram etc. acquisition unit configured to acquire diagrams etc. related to the question from the Web; a report generating unit configured to generate a report including the answer generated by the answer generating unit and the charts and the like acquired by the chart and the like acquiring unit; An information providing device comprising:

2. An information acquisition unit configured to acquire various information related to the question, the information acquisition unit is configured to acquire organizational information provided by a company or other organization when the question is a question about labor management of the organization, the answer generation unit is configured to generate an answer to the question regarding labor management based on the organizational information when the organizational information is acquired; 2. The information providing device according to claim 1.

3. a ratio setting unit configured to set a ratio of each type of information in a report generated by the report generating unit based on the question, The information acquisition unit is configured to acquire various information related to the question from information related to labor management stored in a database, The information on labor management stored in the database includes solutions to questions about labor management, notices from administrative agencies about labor management, and precedents about labor management; The ratio setting unit is configured to set a ratio for each of the solution, the notice, and the precedent; The report generation unit is configured to generate a report including the solution, the notice, and the precedent at a ratio set by the ratio setting unit.

3. The information providing device according to claim 2.

4. The information providing device according to claim 2, wherein the answer generation unit is configured to classify the question into one of a plurality of groups prepared in advance, and to cause a GPT that has been pre-trained regarding answer generation to questions belonging to the classified group to generate an answer to the question.

5. an emotion estimation unit configured to estimate an emotion level of a questioner who sent the question based on a specified keyword included in the question; a handover unit configured to hand over the dialogue to a human operator when the degree of emotion exceeds a threshold that requires operator intervention; The information providing device according to claim 1 , further comprising:

6. a reading unit configured to read the answer aloud, The question receiving unit is configured to convert a question in a voice form into a text form when the question receiving unit receives the question in a voice form.

2. The information providing device according to claim 1.

Citation Information

Patent Citations

  • Matching system

    JP2021057049A