Automatic response device, automatic response method, automatic response system, and program

The automated response device enhances search accuracy and processing efficiency by selecting and generating answers using a question receiving unit, data database, and data description generation unit to focus on relevant information.

JP2026184963APending Publication Date: 2026-11-27HITACHI IND PROD LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025081690
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing automated response systems include unnecessary data in search targets, leading to decreased search accuracy and increased processing load when generating answers.

Method used

An automated response device that includes a question receiving unit, data database, data description generation unit, and answer generation unit to select and generate answers using highly relevant information.

Benefits of technology

Prevents decreased search accuracy and processing load, enabling faster and more accurate answer generation by focusing on relevant data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026184963000001_ABST
    Figure 2026184963000001_ABST
Patent Text Reader

Abstract

The aim is to enable efficient data processing using highly relevant information, thereby generating faster and more accurate responses. [Solution] The system includes a question reception unit that receives questions from users, a document database that stores materials related to the questions, a document description generation unit that creates document descriptions by extracting key points from the materials stored in the document database, a document selection unit that selects materials necessary for generating answers to questions based on the document descriptions, and an answer generation unit that generates answers using the materials selected by the document selection unit.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates to an automatic response device, an automatic response method, an automatic response system, and a program. BACKGROUND ART

[0002] There has been proposed a device that automatically responds to a user's question using materials such as documents, charts, and videos as information sources. For example, Japanese Patent Laid-Open No. 2024-15704 (Patent Document 1) describes a "search device comprising: an input unit configured to input a query used for searching document data; a model selection unit configured to select a machine learning model corresponding to a specified search target domain from among a plurality of machine learning models generated for each domain of document data and configured to expand the query; a query expansion unit configured to expand the specified query using the selected machine learning model; a search unit configured to search for target document data from among a plurality of document data based on the expanded query, with the document data of the search target domain as a search range; and an output unit configured to output a search result obtained by the search unit". RELATED ART DOCUMENTS PATENT LITERATURE

[0003] Patent Document 1 Japanese Patent Laid-Open No. 2024-15704 SUMMARY OF THE INVENTION PROBLEMS TO BE SOLVED BY THE INVENTION

[0004] In order to answer a user's question, it is necessary to search for and obtain the referenced material from the information source. In Patent Document 1, since all information sources of referenced materials are set as search targets, unnecessary data is included when selecting relevant materials, which may lead to a decrease in search accuracy and an increase in the load of answer generation processing.

[0005] An object of the present invention is to enable efficient data processing using highly relevant information, and to generate answers more quickly and accurately. [Means for solving the problem]

[0006] To solve the above problems, a typical automated response device of the present invention is characterized by comprising: a question receiving unit that receives questions from users; a data database that stores data related to the questions; a data description generation unit that creates data description texts by extracting key points from the data stored in the data database; a data selection unit that selects data necessary for generating an answer to a question based on the data description texts; and an answer generation unit that generates an answer using the data selected by the data selection unit. [Effects of the Invention]

[0007] According to the present invention, it is possible to prevent a decrease in the search accuracy of information sources for answering questions and an increase in the load of the answer generation process, thereby enabling faster and more accurate answer generation.

[0008] Other issues, configurations, and effects not mentioned above will be clarified by the following description of embodiments for carrying out the invention. [Brief explanation of the drawing]

[0009] [Figure 1] This is a diagram showing an example configuration of an automated response system. [Figure 2] This flowchart shows an example of the processing performed by an automated response system. [Figure 3] This figure shows an example of a document description. [Figure 4] This flowchart shows another example of the processing performed by an automated response system. [Figure 5] This is an example of a screen that accepts updates to weight values. [Figure 6] This flowchart shows another example of the processing performed by an automated response system. [Figure 7] This is an example of an initial settings screen for configuring whether or not to accept updates to weight values. [Modes for carrying out the invention]

[0010] Embodiments of the present invention will be described below with reference to the drawings. In the following description, when describing processing by program, the program and functional parts may be described as the main components, but the main hardware component is the processor, or an information processing device (computer) that includes such a processor. The information processing device executes processing according to the program read into memory, using resources such as memory and communication interfaces as appropriate, through the processor. In addition to a CPU, a GPU (Graphical Processing Unit) or DSP (Digital Signal Processor) may also be used as the processor. Furthermore, the processing to realize the function is not limited to software program processing, but can also be implemented with a dedicated circuit. FPGAs (Field Programmable Gate Arrays), ASICs (Application Specific Integrated Circuits), etc., can be applied as dedicated circuits. [Examples]

[0011] In this embodiment, the automated response system uses a generating AI to reference documents and diagrams, including machine and system instruction manuals and project plans, as information sources to generate answers to user questions. This automated response system retrieves pre-entered user-generated materials using RAG (Retrieval-Augmented Generation) technology, and a large-scale language model (LLM) generates answers to user questions using the information contained in the retrieved materials. Users pre-enter relevant technical documents and other materials to streamline FAQs and troubleshooting for machines, systems, and projects.

[0012] Figure 1 shows an example of the configuration of the automated response system in this embodiment, where the automated response system 1 consists of an automated response device 100, a user device 200, a system management device 300, a cloud server 400, and a network 500 that connects these in a communicative manner.

[0013] The automatic response device 100 includes a communication interface (I / F) 110, a read-only memory (ROM) 120, an arithmetic processing unit (central processing unit (CPU)) 130, a random access memory (RAM) 140, and a management I / F 150. The automatic response device 100 is implemented by an application (AP) server, a personal computer (PC), or the like, communicates with a large language model (LLM) 410 on a cloud server 400, and can execute various processes described later using the LLM 410.

[0014] The communication I / F 110 in the automatic response device 100 has an interface function for communicating with an external device such as a user device 200 or the cloud server 400. For example, the communication I / F 110 transmits and receives a user's question, an answer to the question, a material, and the like between the automatic response device 100, and the user device 200 and the cloud server 400 via a network 500. The network 500 may be wired or wireless, or may be in a direct connection form using a communication cable, near field communication, or the like.

[0015] The ROM 120 stores programs and a database (hereinafter, referred to as a “DB”), and has various data and programs of a database 20 for storing data such as materials and logs, a question answering function unit 30, and a material explanation sentence creation function unit 40. Details of these will be described later.

[0016] The CPU 130 functions as each unit by executing various programs stored in the ROM 120. In the following description, when a process executed by the automatic response device 100 is described as “the automatic response device 100 performs...” without particularly specifying an execution subject thereof, the CPU 130 reads and executes a predetermined program (not shown or shown) stored in the ROM 120 or the like.

[0017] The RAM 140 is used as a work area when the CPU 130 executes the above-described programs, and temporarily holds materials stored in the DB in the ROM 120.

[0018] The management I / F 150 communicates with the system management device 300, and transmits and receives various data between the automatic response device 100 and the system management device 300 via the network 500.

[0019] The user device 200 includes a display device such as a display and an input device such as a keyboard / mouse, and is a terminal used by a user who uses the automatic response system 1 to input questions or materials and check display contents for the user. The system management device 300 includes a display device such as a display and an input device such as a keyboard / mouse, and is a terminal used by a system administrator who manages the automatic response system 100 to input various setting data and perform maintenance. The user and the system administrator in the automatic response system 100 may be the same, and one of the user device 200, the system management device 300, and the communication I / F 110 and the management I / F 150 of the automatic response device 100 may also serve as the other, or they may be the same.

[0020] The cloud server 400 includes an LLM 410, and the automatic response device 100 can access the LLM 52 via the communication I / F 110 and the network 500 to perform various processes. The LLM 410 may be provided by a web service or the like, or may be installed exclusively in the automatic response device 100 or another external device.

[0021] Next, the configuration of the ROM 120 in the automatic response device 100 will be described in detail. Database 20 consists of Document DB 21, Document Description DB 22, and System Log DB 23. Document DB 21 stores documents entered from the user device 200 via the communication I / F 110. The documents stored here are those related to (or potentially related to) questions asked by the user to the automated response system 100, such as various manuals, specifications, and business plans for equipment and systems the user is involved with. When storing documents, a user-specific document ID is set for user identification.

[0022] The document description database 22 stores the document descriptions created by the document description creation function unit 40, which will be described later. The stored document descriptions are referenced when the document selection unit 32, which will be described later, determines which document to use.

[0023] The system log DB23 records various operations of the automatic response device 100. This allows users to view past question and answer history and provide feedback to the various functions of the question answering function unit 30.

[0024] The question answering function unit 30 is a program that has the function of searching for materials using RAG technology and generating answers using LLM410 in response to questions from the user, and is composed of a question receiving unit 31, a material selection unit 32, a material acquisition unit 33, and an answer generation unit 34.

[0025] The question reception unit 31 uses the LLM410 on the cloud server 400 to determine whether or not a document search is necessary for questions sent from users via the communication I / F110.

[0026] The document selection unit 32 uses the LLM 410 to refer to the document description and determines (selects) the most suitable document for generating an answer from the documents stored in the document DB 21.

[0027] The data acquisition unit 33 retrieves the data selected by the data selection unit 32 from the data database 21 and sends it to the response generation unit 34.

[0028] The answer generation unit 34 uses the LLM410 to generate answers to questions based on data acquired by RAG technology. The answer generation unit 34 also transmits the generated answers to the user device 200 via the communication I / F110.

[0029] The document description creation function unit 40 is a program that creates document descriptions used when the document selection unit 32 performs a document search, and includes a document description generation unit 41. Here, a document description refers to a description of the content of a document, created by extracting key points from the document. The document description generation unit 41 uses the LLM 410 to refer to the document DB 21 and create a document description, which is then stored in the document description DB 22.

[0030] Next, the processing of the automatic response device 100 will be explained using the flowchart shown in Figure 2. Step S100: The automated response device 100 determines whether the document database 21 needs to be updated. For example, the document database 21 needs to be updated when a user starts the automated response device 100 for the first time, or when there are updates to the document content. That is, if a system update occurs shortly after a user starts using the system, it is possible that a new system instruction manual will be added. In this case, the automated response device 100 may display a screen on the user device 200's display screen, etc., to ask the user whether an update is necessary, and accept the user's decision on whether an update is necessary. If an update is necessary (YES), the process proceeds to step S102; otherwise, it proceeds to step S110.

[0031] Step S102: If it is determined in step S100 that an update is necessary, the automated response device 100 displays a screen on the user device 200's display screen prompting the user to input the update data, and accepts the input of the data from the user. The user inputs the data using the user device 200. The update data input from the user device 200 is input to the automated response device 100 via the communication I / F 110. The automated response device 100 itself may also identify and acquire the updated data.

[0032] Step S104: The update data entered from the user device 200 is input to the automatic response device 100 via the communication interface 110, and the automatic response device 100 stores and registers the entered update data in the data database 21.

[0033] Step S106: The document description generation unit 41 refers to the documents stored in the document DB 21 and creates document descriptions using the LLM 410. The document descriptions are output as a file containing a list of document names 301 and document summaries 302, as shown in Figure 3, for example. The document summary 302 may be in the form of a list of keywords extracted from the document. In addition, an identification ID (user ID 303) is set for each user's file, and by separating the DB for each user ID 303, contamination of documents between users is prevented.

[0034] Step S108: The document description generation unit 41 stores the document description created in step S106 into the document description DB 22.

[0035] Step S110: If it is determined in step S100 that updating the data database DB21 is unnecessary, or if the processing in step S108 is completed, the automated response device 100 displays a screen prompting the user to enter a question on the display screen of the user device 200, and the user enters a question.

[0036] Step S112: The communication interface 110 forwards the question entered in step S110 to the question reception unit 31.

[0037] Step S114: The question receiving unit 31 uses the LLM 52 to determine, based on the content of the input question, whether or not the materials stored in the material DB 21 are needed as a source of information for generating the answer. Since some user questions may not require referencing materials stored in the material DB 21, in this case (NO), the process proceeds to step S120. The question receiving unit 31 sends the user's question to the answer generation unit 34, skipping the reference to the materials. This reduces the need to refer to unnecessary materials and shortens the time required to provide an answer. If it is determined that referencing materials is necessary (YES), the process proceeds to step S116.

[0038] Step S116: The document selection unit 32 uses the LLM410 to search for the documents necessary for the answer based on the document description generated by the document description generation function unit 13. This makes the search more efficient when the document selection unit 32 searches for documents compared to searching by directly referring to the documents.

[0039] Step S118: The data acquisition unit 33 acquires the data selected in step S116 from the data database 21 and sends it to the response generation unit 34.

[0040] Step S120: The answer generation unit 34 uses the LLM 410 to generate an answer using the data acquired in step S118. The generated answer, along with the question entered in step 110, is stored in the system log DB 23. This allows the user to view past question and answer history and provide feedback to each function unit (31-34) of the question answer function unit 4.

[0041] Step S122: The communication interface 110 sends the answer generated in step S120 to the user device 200, and the user device 200 displays the answer on its display screen, making it viewable by the user.

[0042] As described above, according to this embodiment, the data entered by the user is stored in the data database 21, and the data description creation function unit 40 generates a summarized data description, thereby assisting the question answering function unit 30 in searching for data. This makes it possible for the data selection unit 32 to efficiently search using the data description without directly referring to long data containing unnecessary information.

[0043] In other words, when the entire document database 21 was used as the search target, irrelevant information was included when searching for relevant information, resulting in problems such as decreased search accuracy and increased load on the response generation process. According to this embodiment, by utilizing the document description, it becomes possible to perform efficient searches that extract only highly relevant information, and unnecessary data processing can be reduced. As a result, the processing speed of search and response generation in the question answering function unit 30 is improved, enabling the provision of faster and more accurate answers.

[0044] Furthermore, in this embodiment, information contamination between users is prevented by managing materials for each user and assigning an identifying user ID when storing them in the material description DB22. This makes it possible to provide optimized answers to each user without mixing information from different users. For example, if the information is a manual for a non-mass-produced product, not only will the materials differ among users, but the materials may also contain confidential information of the users. In such cases, the confidential information of users and the interests derived therefrom can be kept secret.

[0045] Thus, according to this embodiment, a mechanism is provided for efficiently searching and utilizing materials stored in the data DB21, and it is possible to achieve stability in question answering processing and a reduction in response time. [Examples]

[0046] The automated response device 100 in this embodiment assigns weights according to the characteristics of each document, assigns larger document descriptions to important documents, and limits the overall size of document descriptions to a certain range, thereby suppressing the decrease in search accuracy and response speed, as well as the decrease in processing stability, that occurs in LLM410 when processing a massive amount of documents.

[0047] Specifically, the document description generation unit 41 refers to each document stored in the document database 21 and sets weight values ​​based on characteristics such as document size, importance of content, and frequency of reference.

[0048] Subsequently, the document description generation unit 41 refers to each document stored in the document DB 21 and the weight value set for each document, and creates a document description with a level of detail corresponding to the magnitude of the weight value. In other words, the weight value can be said to indicate the priority of the document. This improves the information density of the descriptions that the question answering function unit 30 searches, and enhances the accuracy of the search performed by the document selection unit 32.

[0049] Furthermore, the document description generation unit 41 includes a function to apply a total size limit to the entire set of descriptions. This size limit suppresses the increase in the amount of descriptions, ensuring the stability of processing in LLM410 and the efficiency of the search process. This size limit may be set for each document or as the sum of all document descriptions.

[0050] Next, the automatic response device 100 in this embodiment will be described with reference to Figures 1, 2, and 4. The overall configuration is the same as in Embodiment 1 shown in Figure 1, so the explanation will be omitted. In this embodiment, the difference is that in the processing flow shown in Figure 2, the processing in step S106 is replaced by steps S1061 to S1602 shown in Figure 4.

[0051] Step S1061: In the document description generation unit 41, preprocessing is performed to set weight values ​​for each document, reflecting the characteristics of each document stored in the document DB 21. As an example of weight value setting, one method is to assign a weight value on a 5-point scale from 1 to 5 according to the number of pages in each document. For example, if the number of pages in a document is 0 to 20, a weight value of 1 is assigned, and if it is 21 to 40 pages, a weight value of 2 is assigned. Similarly, if it is 41 to 60 pages, a weight value of 3 is assigned, and if it is 61 to 80 pages, a weight value of 4 is assigned. For documents with more than 80 pages, a weight value of 5 is uniformly assigned. Another method is to assign weights on a chapter or paragraph basis.

[0052] Alternatively, a material weight value that reflects the selection frequency (reference frequency) in the material selection unit 32 may be set. As a result, it becomes possible to allocate more size to the explanatory text of materials that are frequently referenced in response to user inquiries. This is achieved by recording the user inquiries and the reference history of each material in the automatic response device 1 in the system log DB 23, and the material explanatory text generation unit 41 reflecting the reference history in the system log DB 23 in the weight setting. This mechanism improves the accuracy of selecting information with high reference frequency in the material selection unit 32.

[0053] Furthermore, the document description generation unit 41 may set document weight values ​​that reflect both the size and reference frequency of each document. In other words, the document weight values ​​may be set using the sum or average of both.

[0054] Step S1602: Subsequently, the document description generation unit 41 uses the LLM 410 to refer to the documents stored in the document DB 21 and the document weight values ​​set in step S1061, and creates document descriptions. This description creation is performed within the limits that satisfy the pre-set size restrictions for document descriptions based on the document weight values. For example, if the document weight value is "1", the size limit for the document description is "200 characters or less", and if the document weight value is "3", the size limit for the document description is "500 characters or less", and so on.

[0055] Thus, according to this embodiment, by optimizing the overall size of the document descriptions while considering the importance of each document, it is possible to improve the search accuracy and response speed in LLM410. [Examples]

[0056] In the aforementioned Embodiment 2, the document description generation unit 41 set weight values ​​based on the characteristics of each document stored in the document DB 21. In this embodiment, however, when the document description generation unit 41 sets the weight values ​​of the documents, it accepts dynamic adjustments (updates) of the weight values ​​by the user (or system administrator), thereby enabling more appropriate information selection. Specifically, as shown in the processing flow in Figure 6, a processing step (steps S106A to S106D) for the user to adjust the weight values ​​is added between steps S1061 and S1602 in the processing flow in Figure 4 described in Embodiment 2.

[0057] Step S106A: The document description generation unit 41 checks whether the weight values ​​set in step S1061 (Figure 4) are configured to accept manual updates, for example, on the initial settings screen shown in Figure 7. If the setting to accept updates is enabled (YES), the unit proceeds to step S106B; otherwise, it proceeds to step S1062 (Figure 4).

[0058] Step S106B: The document description generation unit 41 displays a screen to the user device 2, for example, to accept updates to the weight values. Figure 5 shows an example of a weight value update screen 60 that accepts updates to the weight values, and it basically includes a user ID display unit 61, an information display unit 62, and a document description creation button 63.

[0059] The User ID display unit 61 displays the ID of the customer user. The Information display unit 62 displays various information necessary for the user to adjust the material weight values, and displays the material name, material content such as the main text and summary, and material size such as the number of pages and characters for each material obtained from the material DB 21. Furthermore, the Information display unit 62 displays the weight values ​​generated by the material description generation unit 41, and also has an input space for the user to modify / enter the weight values, as well as a space to display the size of the material description (number of characters and token amount) when a material description is created based on the displayed parameters.

[0060] The document description creation button 63 is pressed when the user decides to create a document description, thereby instructing the document description creation unit 41 to begin the document description creation process. Furthermore, when the user wishes to refer to the contents of the document, they can view each page of the document by pressing the button 64 shown in Figure 5. Additionally, by pressing the delete button 65 shown in Figure 5, the automated response device 1 can delete documents or pages deemed unnecessary when answering user questions. This deletion operation allows for the allocation of more space to other, more necessary documents or pages, provided that the total size of the document description is predetermined.

[0061] Step S106C: The user checks the screen shown in Figure 5 and modifies the weight values ​​generated by the document description generation unit 41 as necessary.

[0062] Step S106D: When the user presses the document description creation button 63, the process transitions to step S1062 (Figure 4), where the document description generation unit 41 uses the LLM 410 to create a document description based on the modified weight values. In addition, if the update function was not enabled in step S106A, the document description generation unit 41 creates a document description based on the weight values ​​it has set itself (unmodified).

[0063] In this embodiment, the user who manually updates the weight values ​​may be the system administrator of the automatic response system 1 (automatic response device 100). The system administrator is expected to be the designer of the machinery or system used by the user, the maintenance engineer, or the user themselves. The system administrator evaluates the appropriate selection of materials in response to the user's questions in the material selection unit 32 while using or operating the automatic response system 1. Based on the evaluation results, the system administrator adjusts the set weight values ​​as appropriate. This adjustment makes it possible to reflect the intentions of the user and related parties in the materials selected by the material selection unit 32.

[0064] For example, if the system administrator is an engineer, adjusting the weight values ​​to make it easier to select the necessary maintenance documents can ensure user safety and reduce the workload on the engineer.

[0065] Furthermore, as explained in Example 2, the frequency of reference of materials in the material selection unit 32 is recorded in the system log DB 23, and this reference frequency is displayed along with the weight value update screen 60 in Figure 5, allowing the system administrator to use the reference frequency as a reference when determining the weight values. [Explanation of Symbols]

[0066] 1: Automated response system 100: Automated response system 110: Communication Interface 120:ROM 130:CPU 140:RAM 150: Management Interface 200: User Devices 300: System management device 400: Cloud Server 410:LLM 500: Network 110: Communication Interface 120:ROM 130:CPU 140:RAM 150: Management Interface

Claims

1. A question reception desk that accepts questions from users, A database containing materials related to the aforementioned question, A document description generation unit creates a document description by extracting key points from the documents stored in the aforementioned document database, A material selection unit that selects materials necessary for generating the answer to the aforementioned question based on the material description text, A response generation unit that generates the response using the materials selected by the material selection unit, An automatic response device characterized by having the following features.

2. An automatic response device according to claim 1, An automated response device characterized in that the aforementioned document description generation unit, document selection unit, and response generation unit each perform their respective processing using a large-scale language model.

3. An automatic response device according to claim 2, The aforementioned document description generation unit is characterized by setting a weight value indicating the priority of the document and generating a document description with a level of detail corresponding to that weight value.

4. An automatic response device according to claim 3, The aforementioned document description generation unit is characterized by generating a document description that satisfies the number of characters corresponding to the weight value.

5. An automatic response device according to claim 3, The aforementioned document description generation unit is characterized by setting the weight value according to the size of the document.

6. An automatic response device according to claim 3, The automatic response device is characterized in that the document description generation unit sets the weight values ​​that reflect the frequency of reference in the document selection unit.

7. An automatic response device according to claim 3, The document description generation unit is characterized by setting the weight value according to the size of the document and the frequency of reference in the document selection unit.

8. An automatic response device according to claim 3, The aforementioned document description generation unit accepts adjustments to the set weight values ​​and generates a document description with a level of detail corresponding to the adjusted weight values, making it an automated response device.

9. An automatic response method in an automatic response device, The aforementioned automated response device includes a question receiving unit, a data database, a data description generation unit, a data selection unit, and an answer generation unit. The aforementioned question reception unit receives questions from users, The aforementioned data database stores materials related to the aforementioned question, The aforementioned document description generation unit creates a document description by extracting key points from the documents stored in the document database. The aforementioned material selection unit selects the materials necessary for generating the answer to the question based on the material description text, The response generation unit generates the response using the materials selected by the material selection unit. An automated response method characterized by the following:

10. The automatic response device according to claim 2, A user device on which a user using the aforementioned automated response system inputs and receives information, A system management device that is maintained by the system administrator who manages the aforementioned automatic response device, A cloud server having the aforementioned large-scale language model, A network that enables communication between the automatic response device, the user device, the system management device, and the cloud server, An automated response system characterized by having the following features.

11. Computers, A program for causing the automatic response device to function as described in claim 1.

Citation Information

Patent Citations

  • Search device, search method, computer program and model generation device

    JP2024015704A